Do not raise "inexact" from generic round (bug 15479).
[glibc.git] / ChangeLog
blobae458354703079c1c3f3229e0e38ea7d2e4b1bbf
1 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #15479]
4         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
5         (__round): Do not force "inexact" exception.
6         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
7         variable.
8         (__round): Do not force "inexact" exception.
9         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
10         (__roundf): Do not force "inexact" exception.
11         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
12         (__roundl): Do not force "inexact" exception.
13         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
14         (__roundl): Do not force "inexact" exception.
15         * math/libm-test.inc (round_test_data): Do not allow spurious
16         "inexact" exceptions.
18         [BZ #15479]
19         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
20         exception in comment.
21         (huge): Remove variable.
22         (__floor): Do not force "inexact" exception.
23         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
24         "inexact" exception in comment.
25         (huge): Remove variable.
26         (__floor): Do not force "inexact" exception.
27         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
28         exception in comment.
29         (huge): Remove variable.
30         (__floorf): Do not force "inexact" exception.
31         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
32         exception in comment.
33         (huge): Remove variable.
34         (__floorl): Do not force "inexact" exception.
36         [BZ #15479]
37         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
38         exception in comment.
39         (huge): Remove variable.
40         (__ceil): Do not force "inexact" exception.
41         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
42         "inexact" exception in comment.
43         (huge): Remove variable.
44         (__ceil): Do not force "inexact" exception.
45         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
46         (__ceilf): Do not force "inexact" exception.
47         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
48         exception in comment.
49         (huge): Remove variable.
50         (__ceill): Do not force "inexact" exception.
52 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
54         * config.h.in (BIND_NOW): New.
55         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
56         * configure: Regenerated.
57         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
58         indirect branch via the GOT slot.
60 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
62         [BZ #19765]
63         * sysdeps/s390/mempcpy.S: New File.
64         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
65         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
66         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
67         Add mempcpy variants.
68         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
69         (memcpy): Adjust to be usable from mempcpy entry point.
70         (__memcpy_mvcle): Likewise.
71         * sysdeps/s390/s390-64/memcpy.S: Likewise.
72         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
73         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
74         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
75         (__memcpy_z10): Likewise.
76         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
78 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
80         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
81         Remove __GI_ symbol.
82         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
83         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
84         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
85         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
86         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
87         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
89 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
91         * sysdeps/s390/s390-64/memcpy.S (memcpy):
92         Use cghi instead of chi to compare 64bit value.
94 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
96         * sysdeps/s390/s390-32/memcpy.S (memcpy):
97         Jump to 1MB check before executing mvc-loop.
99 2016-05-24  Florian Weimer  <fweimer@redhat.com>
101         [BZ #6527]
102         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
103         unconditionally.
104         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
106 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
108         * stdlib/tst-strtod6.c (do_test): Use new type generic
109         invocation of the test function.
110         (test): Refactor into ...
111         (TEST_STRTOD): New macro base function.
113 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
115         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
116         (TEST_STRTOD): New macro.
117         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
119 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
121         * stdlib/tst-strtod6.c (do_test): Use new type generic
122         invocation of the test function.
123         (test): Refactor into ...
124         (TEST_STRTOD): New macro base function.
126 2016-05-23  Florian Weimer  <fweimer@redhat.com>
128         CVE-2016-4429
129         [BZ #20112]
130         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
131         payload.
133 2016-05-23  Florian Weimer  <fweimer@redhat.com>
135         [BZ #20111]
136         * bits/sockaddr.h (_SS_SIZE): Define.
137         * bits/socket.h (_SS_SIZE): Remove.
138         (_SS_PADSIZE): Adjust to account for all padding.
139         (struct sockaddr_storage): Update comment.  Avoid implicit
140         padding.
141         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
142         (_SS_PADSIZE): Adjust to account for all padding.
143         (struct sockaddr_storage): Update comment.  Avoid implicit
144         padding.
145         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
146         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
147         (_SS_PADSIZE): Adjust to account for all padding.
148         (struct sockaddr_storage): Update comment.  Avoid implicit
149         padding.
150         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
151         __SS_SIZE is 126 in this version.
152         * inet/tst-sockaddr.c: New file.
153         * inet/Makefile (tests): Add tst-sockaddr.c
154         (tst-sockaddr.c): Compile with non-strict aliasing.
156 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
158         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
159         [XPG3 || XPG4].
160         (NL_ARGMAX): Also expect for [XPG3].
161         (NL_LANGMAX): Likewise.
162         (NL_MSGMAX): Likewise.
163         (NL_NMAX): Likewise.
164         (NL_SETMAX): Likewise.
165         (NL_TEXTMAX): Likewise.
166         (NZERO): Likewise.
167         (TMP_MAX): Likewise.
168         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
169         variable.
171         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
172         (PF_MAX): Update value.
173         (AF_KCM): New macro.
174         (SOL_NETBEUI): Likewise.
175         (SOL_LLC): Likewise.
176         (SOL_DCCP): Likewise.
177         (SOL_NETLINK): Likewise.
178         (SOL_TIPC): Likewise.
179         (SOL_RXRPC): Likewise.
180         (SOL_PPPOL2TP): Likewise.
181         (SOL_BLUETOOTH): Likewise.
182         (SOL_PNPIPE): Likewise.
183         (SOL_RDS): Likewise.
184         (SOL_IUCV): Likewise.
185         (SOL_CAIF): Likewise.
186         (SOL_ALG): Likewise.
187         (SOL_NFC): Likewise.
188         (SOL_KCM): Likewise.
189         (MSG_BATCH): New enum value and macro.
191 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
193         [BZ #18185]
194         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
195         sharing L2 cache to 2 for Knights Landing.
197 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
199         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
200         (FTW_DP): Do not expect for [XPG3 || XPG4].
201         (FTW_SL): Do not expect for [XPG3].
202         (FTW_SLN): Likewise.
203         (FTW_PHYS): Likewise.
204         (FTW_MOUNT): Likewise.
205         (FTW_DEPTH): Likewise.
206         (FTW_CHDIR): Likewise.
207         (nftw): Likewise.
208         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
209         variable.
211 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
213         * manual/errno.texi: Fix various typos & grammar errors.
215 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
217         * manual/intro.texi: Fix duplicated typo.
219 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
221         [BZ #13304]
222         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
223         <float.h>, <math_private.h> and <stdlib.h>.
224         (add_split): New function.
225         (mul_split): Likewise.
226         (ext_val): New typedef.
227         (store_ext_val): New function.
228         (mul_ext_val): New function.
229         (compare): New function.
230         (add_split_ext): New function.
231         (__fmal): After checking for Inf, NaN and zero, compute result as
232         an exact sum of scaled double values in round-to-nearest before
233         adding those up and adjusting for other rounding modes.
234         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
235         tests of fma.
236         * math/auto-libm-test-out: Regenerated.
238 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
240         [BZ #20119]
241         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
242         processor level type mask for CPUID with EAX == 11.
244 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
246         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
247         logical threads if the HTT bit is 0.
248         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
249         (index_cpu_HTT): Likewise.
250         (reg_HTT): Likewise.
252 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
254         [BZ #20115]
255         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
256         Remove alignments on jump targets.
258 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
260         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
261         (getpwent): Likewise.
262         (setpwent): Likewise.
263         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
264         variable.
266         * conform/data/search.h-data (insque): Do not expect for [XPG3].
267         (remque): Likewise.
268         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
269         variable.
271 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
273         * math/libm-test.inc: Update comment not to refer to signs of NaNs
274         not being tested.
276 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
278         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
279         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
280         call.
281         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
282         (__condvar_cleanup1): Likewise.
284 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
286         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
287         New
288         (__pthread_unwind): Renamed to ...
289         (PTHREAD_UNWIND): This.
290         (__pthread_enable_asynccancel): Replace
291         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
293 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
295         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
296         (CLONE_NEWCGROUP): New macro.
298         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
299         (Q_GETNEXTQUOTA): New macro.
301 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
303         [BZ #19907]
304         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
305         buffer updated by the previous run.
306         * string/test-memcpy.c (do_one_test): Likewise.
307         * benchtests/bench-memmove.c (do_one_test): Add a comment.
308         * string/test-memmove.c (do_one_test): Likewise.
310 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
312         [BZ #20094]
313         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
314         not [__USE_XOPEN].
315         (unlockpt): Likewise.
316         (ptsname): Likewise.
317         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
318         variable.
320         [BZ #20076]
321         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
322         instead of [__USE_UNIX98].
323         (S_ISSOCK): Likewise.
324         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
325         variable.
327         [BZ #20074]
328         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
329         [__USE_POSIX].
330         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
331         variable.
333         [BZ #20051]
334         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
335         (ttyslot): Do not declare.
336         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
337         (ttyslot): New prototype.
338         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
339         variable.
340         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
342 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
344         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
346 2016-05-13  Florian Weimer  <fweimer@redhat.com>
348         Fix race condition in tst-mallocfork2, use fewer resources.
349         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
350         to current process group.
351         (signal_sender): Yield in the non-sleeping case.
353 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
355         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
356         (ecvt): Likewise.
357         (fcvt): Likewise.
358         (gcvt): Likewise.
359         (getsubopt): Likewise.
360         (grantpt): Likewise.
361         (initstate): Likewise.
362         (l64a): Likewise.
363         (mktemp): Likewise.
364         (mkstemp): Likewise.
365         (ptsname): Likewise.
366         (random): Likewise.
367         (realpath): Likewise.
368         (setstate): Likewise.
369         (srandom): Likewise.
370         (ttyslot): Likewise.
371         (unlockpt): Likewise.
372         (valloc): Likewise.
374         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
375         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
376         variable.
378 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
380         [BZ #20072]
381         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
382         init_cpu_features only if SHARED is defined.
383         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
385 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
387         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
388         non-inclusive caches on Intel processors.
390 2016-05-13  Florian Weimer  <fweimer@redhat.com>
392         * malloc/malloc.c (dumped_main_arena_start)
393         (dumped_main_arena_end): New variables.
394         (DUMPED_MAIN_ARENA_CHUNK): New macro.
395         (do_check_chunk): Skip dumped fake mmapped chunks.
396         (munmap_chunk): Likewise.
397         (__libc_free): Do not adjust statistics for fake mmapped chunks.
398         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
399         mmapped chunks.
400         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
401         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
402         and dumped_main_arena_end to cover the dumped heap.
404 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
406         * conform/data/time.h-data (getdate_err): Do not expect for
407         [XPG3].
408         (getdate): Likewise.
409         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
410         variable.
412         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
413         (F_ULOCK): Likewise.
414         (F_TEST): Likewise.
415         (F_TLOCK): Likewise.
416         (useconds_t): Likewise.
417         (intptr_t): Do not expect for [XPG3] or [XPG4].
418         (brk): Do not expect for [XPG3]
419         (fchown): Likewise.
420         (fchdir): Likewise.
421         (ftruncate): Likewise.
422         (getdtablesize): Likewise.
423         (gethostid): Likewise.
424         (getpagesize): Likewise.
425         (getpgid): Likewise.
426         (getsid): Likewise.
427         (getwd): Likewise.
428         (lchown): Likewise.
429         (lockf): Likewise.
430         (readlink): Likewise.
431         (sbrk): Likewise.
432         (setpgrp): Likewise.
433         (setregid): Likewise.
434         (setreuid): Likewise.
435         (symlink): Likewise.
436         (sync): Likewise.
437         (truncate): Likewise.
438         (ualarm): Likewise.
439         (usleep): Likewise.
440         (vfork): Likewise.
441         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
442         variable.
444         [BZ #20054]
445         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
446         not [__USE_UNIX98].
447         * conform/data/unistd.h-data (gethostname): Do not expect for
448         [XPG3].
450         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
451         [!POSIX] (S_IFBLK): Likewise.
452         [!POSIX] (S_IFCHR): Likewise.
453         [!POSIX] (S_IFIFO): Likewise.
454         [!POSIX] (S_IFREG): Likewise.
455         [!POSIX] (S_IFDIR): Likewise.
456         [!POSIX] (S_IFLNK): Likewise.
457         [!POSIX] (S_IFSOCK): Likewise.
458         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
459         variable.
460         (test-xfail-XPG4/fcntl.h/conform): Likewise.
462 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
464         * sysdeps/aarch64/memset.S (__memset):
465         Rewrite of optimized memset.
467 2016-05-12  Florian Weimer  <fweimer@redhat.com>
469         [BZ #19703]
470         Partially async-signal-safe fork for single-threaded processes.
471         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
472         variable.  Do not acquire and reset/release malloc and libio locks
473         in single-threaded processes.
474         * malloc/tst-mallocfork2.c: New file.
475         * malloc/Makefile (tests): Add it.
477 2016-05-12  Florian Weimer  <fweimer@redhat.com>
479         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
480         argument.  Use scratch buffer instead of extend_alloca.
481         (gethosts): Use scratch buffer instead of extend_alloca.
482         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
483         extend_alloca.
484         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
486 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
488         [BZ #20055]
489         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
490         instead of [__USE_UNIX98].
491         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
492         [__USE_UNIX98].
493         * conform/data/termios.h-data (tcgetsid): Do not expect for
494         [XPG3].
495         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
496         variable.
497         (test-xfail-XPG4/termios.h/conform): Likewise.
499 2016-05-11  Florian Weimer  <fweimer@redhat.com>
501         Do not use mcheck in localedef.
502         * locale/programs/localedef.c (turn_on_mcheck)
503         (__malloc_initialize_hook): Remove.
505 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
507         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
508         * sysdeps/s390/s390-64/Makefile: Likewise.
510 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
512         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
513         Remove ifunc-defines.sym.
514         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
515         Likewise.
516         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
517         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
518         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
519         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
520         rtld-global-offsets.sym.
521         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
522         * sysdeps/x86/cpu-features-offsets.sym: This.
523         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
524         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
526 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
528         [BZ #20073]
529         * io/sys/stat.h (fchmod): Declare for
530         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
531         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
532         variable.
534         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
535         [XPG3] (S_IFSOCK): Likewise.
536         [XPG3] (S_ISVTX): Likewise.
537         [XPG3] (S_ISLNK): Likewise.
538         [XPG3] (S_ISSOCK): Likewise.
539         [XPG3] (fchmod): Likewise.
540         [XPG3] (lstat): Likewise.
541         [XPG3] (mknod): Likewise.
543         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
544         [XPG3].  Expect type long and XFAIL for [XPG4].
545         (st_blocks): Likewise.
547         [BZ #20044]
548         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
549         (pthread_atfork): New prototype.
550         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
551         variable.
553         [BZ #20043]
554         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
555         prototype.
557 2016-05-10  Florian Weimer  <fweimer@redhat.com>
559         [BZ #20017]
560         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
561         gmtime.
563 2016-05-10  Florian Weimer  <fweimer@redhat.com>
565         [BZ #19994]
566         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
567         flag in _res.options.
569 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
571         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
572         [XPG3 || XPG4].
573         (blksize_t): Likewise.
574         (clockid_t): Likewise.
575         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
576         variable.
577         (test-xfail-XPG4/sys/types.h/conform): Likewise.
579 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
581         * sysdeps/unix/sysv/linux/s390/init-first.c:
582         Add VDSO_SYMBOL(getcpu).
583         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
584         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
585         Add VDSO_SYMBOL(getcpu).
586         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
587         New define HAVE_GETCPU_VSYSCALL.
588         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
590 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
592         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
593         instead of <sysdeps/x86_64/cacheinfo.c>.
594         * sysdeps/x86_64/cacheinfo.c: Moved to ...
595         * sysdeps/x86/cacheinfo.c: Here.
597 2016-05-04  Florian Weimer  <fweimer@redhat.com>
599         * malloc/malloc-internal.h: Adjust header file guard.
601 2016-05-04  Florian Weimer  <fweimer@redhat.com>
603         [BZ #19787]
604         * inet/getnameinfo.c (check_sprintf_result): New function.
605         (CHECKED_SNPRINTF): New macro.
606         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
607         to the host buffer.
608         (gni_host_local): Use checked_copy to copy the host name.
609         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
610         (gni_serv_local): Use checked_copy to copy the service name.
611         (getnameinfo): Remove unnecessary truncation of result buffers.
613 2016-05-04  Florian Weimer  <fweimer@redhat.com>
615         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
616         in case of inet_ntop failure.
618 2016-05-04  Florian Weimer  <fweimer@redhat.com>
620         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
621         avoid long lines.
622         (gni_host_inet_numeric): Likewise.  Reduce scope of local
623         variables.
624         (gni_host_inet, gni_host_local): Add comment.
625         (gni_host): Add comment.  Use temporary to avoid long lines.
627 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
629         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
630         registers specifiers where general purpose registers specifiers should
631         have been used.
633 2016-05-04  Florian Weimer  <fweimer@redhat.com>
635         [BZ #19779]
636         CVE-2016-1234
637         Avoid copying names of directory entries.
638         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
639         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
640         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
641         (struct readdir_result): New type.
642         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
643         (GL_READDIR): New macros.
644         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
645         (convert_dirent, convert_dirent64): New functions.
646         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
647         convert_dirent64.  Adjust references to the readdir result.
648         * sysdeps/unix/sysv/linux/i386/glob64.c:
649         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
650         * posix/bug-glob2.c (LONG_NAME): Define.
651         (filesystem): Add LONG_NAME.
652         (my_DIR): Increase the size of room_for_dirent.
654 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
656         [BZ #20041]
657         * misc/sys/select.h (__need_timespec): Only define if
658         [__USE_XOPEN2K].
659         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
660         variable.
661         (test-xfail-XPG4/utmpx.h/conform): Likewise.
662         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
663         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
665 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
666             Segher Boessenkool  <segher@gcc.gnu.org>
668         [BZ #20004]
669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
670         (__novec_swapcontext): Add missing load.
672 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
674         [BZ #20023]
675         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
676         <time.h>.
677         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
678         variable.
679         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
681 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
684         flags CLONE_VM compare.
686 2016-05-02  Florian Weimer  <fweimer@redhat.com>
688         [BZ #20031]
689         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
690         completely empty.
692 2016-05-02  Florian Weimer  <fweimer@redhat.com>
694         [BZ #19573]
695         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
696         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
697         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
698         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
699         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
700         (hesiod_free_list): Mark as hidden.
701         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
702         res_set, res_get.
703         * hesiod/hesiod.c: Remove unnecessary forward declarations.
704         (init, __hesiod_res_get, __hesiod_res_set): Remove.
705         (hesiod_init): Remove obsolete res_ninit call.
706         (hesiod_end): Do not free resolver state.  Do not invoke callback.
707         (hesiod_bind): Do not call init.
708         (get_txt_records): Use res_mkquery, res_send instead of
709         res_nmkquery, res_nsend.
710         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
711         instead of _nss_hesiod_init.
712         (_nss_hesiod_initgroups_dyn): Likewise.
713         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
714         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
715         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
717 2016-05-02  Florian Weimer  <fweimer@redhat.com>
719         * hesiod/hesiod_p.h (DEF_RHS): Remove.
720         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
722 2016-05-02  Florian Weimer  <fweimer@redhat.com>
724         * hesiod/hesiod.h: Remove RCS keyword.
725         * hesiod/hesiod_p.h: Likewise.
727         * hesiod/hesiod.c: Likewise.
729 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
731         [BZ #12450]
732         * locale/iso-639.def: Add Samogitian/sgs.
734 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
736         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
738         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
740 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
741             Carlos O'Donell  <carlos@redhat.com>
743         [BZ #19072]
744         * grp/Makefile (headers): Add grp-merge.h
745         (routines): Add grp-merge.
746         * grp/getgrgid_r.c: Include grp-merge.h.
747         (DEEPCOPY_FN): Define.
748         (MERGE_FN): Define.
749         * grp/getgrname_r.c: Include grp-merge.h.
750         (DEEPCOPY_FN): Define.
751         (MERGE_FN): Define.
752         * grp/grp-merge.c: New file.
753         * grp/grp-merge.h: New file.
754         * include/grp-merge.h: New file.
755         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
756         __copy_grp@GLIBC_PRIVATE.
757         * manual/nss.texi (Actions in the NSS configuration): Describe
758         return, continue, and merge.
759         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
760         (DEEPCOPY_FN): Define.
761         (MERGE_FN): Define.
762         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
763         (DEEPCOPY_FN): Define.
764         (MERGE_FN): Define.
765         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
766         [!MERGE_FN]: Define __merge_einval.
767         (CHECK_MERGE): Define.
768         (REENTRANT_NAME): Process merge if do_merge is true.
769         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
770         (__nss_getent_r): Likewise.
771         * nss/nsswitch.c (nss_parse_service_list): Likewise.
772         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
774 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
776         [BZ #20012]
777         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
778         length to calculate the buffer to read.
779         (fmemopen_write): Set the buffer position based on bytes written.
780         (fmemopen_seek): Return EINVAL for invalid whence modes.
782         [BZ #19957]
783         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
784         tst-getpid2.
785         (test): Add tst-clone2.
786         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
787         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
788         pid/tid fields for CLONE_VM.
789         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
790         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
791         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
792         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
793         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
794         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
795         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
796         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
798         Likewise.
799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
800         Likewise.
801         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
802         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
803         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
804         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
805         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
806         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
807         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
808         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
810 2016-04-29  Florian Weimer  <fweimer@redhat.com>
812         [BZ #19642]
813         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
814         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
815         (gni_serv_local, gni_serv): New functions extracted from
816         getnameinfo.
817         (getnameinfo): Call gni_host and gni_serv to perform the
818         processing.  Always free scratch buffer.
820 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
822         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
823         remaining bytes in the dest string, with zeros.
825 2016-04-29  Florian Weimer  <fweimer@redhat.com>
827         [BZ #20010]
828         CVE-2016-3706
829         * sysdeps/posix/getaddrinfo.c
830         (convert_hostent_to_gaih_addrtuple): New function.
831         (gethosts): Call convert_hostent_to_gaih_addrtuple.
832         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
833         AF_INET data.
835 2016-04-29  Florian Weimer  <fweimer@redhat.com>
837         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
838         callback function gl_readdir.
839         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
840         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
841         (glob_in_dir): Remove len.  Use strdup instead of malloc and
842         memcpy to copy the name.
843         * manual/pattern.texi (Calling Glob): Document requirements for
844         implementations of the gl_readdir callback function.
845         * manual/examples/mkdirent.c: New example.
846         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
847         per the manual guidance.
848         * posix/tst-gnuglob.c (my_readdir): Likewise.
850 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
852         [BZ #20014]
853         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
854         not [__USE_POSIX].
855         (getchar_unlocked): Likewise.
856         (putc_unlocked): Likewise.
857         (putchar_unlocked): Likewise.
858         (flockfile): Likewise.
859         (ftrylockfile): Likewise.
860         (funlockfile): Likewise.
861         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
862         variable.
863         (test-xfail-XPG4/stdio.h/conform): Likewise.
865         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
866         Expect constant.
867         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
868         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
869         variable.
870         (test-xfail-XPG4/langinfo.h/conform): Likewise.
871         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
873         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
874         [__USE_LARGEFILE64] (off64_t): Likewise.
875         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
876         variable.
878 2016-04-28  Florian Weimer  <fweimer@redhat.com>
880         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
882 2016-04-28  Florian Weimer  <fweimer@redhat.com>
884         * resolv/inet_addr.c: Reindent preprocessor conditionals.
885         * resolv/res_init.c: Likewise.
886         * resolv/res_mkquery.c: Likewise.
888 2016-04-28  Florian Weimer  <fweimer@redhat.com>
890         * resolv/res_init.c (isascii): Do not define.  Use definition in
891         <ctype.h>.
892         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
893         (LOG_AUTH): Remove.
894         (SPRINTF): Remove, adjust caller.
895         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
897 2016-04-28  Florian Weimer  <fweimer@redhat.com>
899         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
900         SUNSECURITY conditional.
901         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
903 2016-04-28  Florian Weimer  <fweimer@redhat.com>
905         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
906         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
907         Remove BSD-related preprocessor conditionals.
908         * conf/portability.h: Remove.
910 2016-04-28  Florian Weimer  <fweimer@redhat.com>
912         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
913         * resolv/res_data.c: Likewise.
915 2016-04-28  Florian Weimer  <fweimer@redhat.com>
917         * resolv/res_comp.c: Remove code conditional on __ultrix__.
918         * resolv/res_data.c: Remove code conditional on ultrix.
920 2016-04-28  Florian Weimer  <fweimer@redhat.com>
922         * resolv/res_init.c (RFC1535): Do not define.  Remove
923         RFC1535 preprocessor conditionals.
924         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
925         because there configuration options which make the resolver
926         behavior different.
928 2016-04-28  Florian Weimer  <fweimer@redhat.com>
930         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
931         RESOLVSORT preprocessor conditionals.
932         * resolv/nss_dns/dns-host.c: Likewise.
933         * resolv/res_init.c: Likewise.
935 2016-04-28  Florian Weimer  <fweimer@redhat.com>
937         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
938         is never defined.
940 2016-04-28  Florian Weimer  <fweimer@redhat.com>
942         * inet/inet_lnaof.c: Remove SCSS keyword.
943         * inet/inet_mkadr.c: Likewise.
944         * inet/inet_net.c: Likewise.
945         * inet/inet_netof.c: Likewise.
946         * inet/rcmd.c: Likewise.
947         * inet/rexec.c: Likewise.
948         * inet/ruserpass.c: Likewise.
950 2016-04-28  Florian Weimer  <fweimer@redhat.com>
952         * resolv/inet_addr.c: Remove _LIBC conditionals.
953         * resolv/res_data.c: Likewise.
954         * resolv/res_init.c: Likewise.
955         * resolv/res_mkquery.c: Likewise.
956         * resolv/res_libc.c: Update comment.
957         * resolv/README: Update.
959 2016-04-28  Florian Weimer  <fweimer@redhat.com>
961         * resolv/gethnamaddr.c: Remove SCSS keyword.
962         * resolv/herror.c: Likewise.
963         * resolv/inet_addr.c: Likewise.
964         * resolv/inet_net_ntop.c: Likewise.
965         * resolv/inet_net_pton.c: Likewise.
966         * resolv/inet_neta.c: Likewise.
967         * resolv/inet_ntop.c: Likewise.
968         * resolv/inet_pton.c: Likewise.
969         * resolv/ns_date.c: Remove RCS keyword.
970         * resolv/ns_name.c: Likewise.
971         * resolv/ns_netint.c: Likewise.
972         * resolv/ns_parse.c: Likewise.
973         * resolv/ns_print.c: Likewise.
974         * resolv/ns_samedomain.c: Likewise.
975         * resolv/ns_ttl.c: Likewise.
976         * resolv/nsap_addr.c: Likewise.
977         * resolv/res_comp.c: Remove SCSS and RCS keyword.
978         * resolv/res_data.c: Remove RCS keyword.
979         * resolv/res_debug.c: Remove SCSS and RCS keyword.
980         * resolv/res_init.c: Likewise.
981         * resolv/res_mkquery.c: Likewise.
982         * resolv/res_query.c: Likewise.
983         * resolv/res_send.c: Likewise.
985 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
987         * conform/data/stdio.h-data (fdopen): Expect also for
988         [XPG3 || XPG4].
990         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
991         (fseeko): Likewise.
992         (ftello): Likewise.
993         (ftrylockfile): Likewise.
994         (funlockfile): Likewise.
995         (getc_unlocked): Likewise.
996         (getchar_unlocked): Likewise.
997         (putc_unlocked): Likewise.
998         (putchar_unlocked): Likewise.
1000 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1002         [BZ #19868]
1003         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
1004         DNS packet syntax checks (which were not needed before).  Skip
1005         over non-PTR records.
1007 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1009         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
1010         definition.  Include <stddef.h> instead.
1012 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1014         [BZ #19831]
1015         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
1016         function.
1017         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
1018         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
1020 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1022         [BZ #19862]
1023         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
1024         (getanswer_r): Do not call syslog.
1025         (gaih_getanswer_slice): Likewise.
1026         * resolv/gethnamaddr.c (AskedForGot): Remove.
1027         (getanswer): Do not call syslog.
1028         (gethostbyaddr): Likewise.
1030 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
1032         * conform/data/signal.h-data (union sigval): Expect also if
1033         [XOPEN2K].
1034         (struct sigevent): Likewise.
1035         (SIGEV_NONE): Likewise.
1036         (SIGEV_SIGNAL): Likewise.
1037         (SIGEV_THREAD): Likewise.
1038         (SIGRTMIN): Likewise.
1039         (SIGRTMAX): Likewise.
1040         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
1041         variable.
1042         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1044 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1046         [BZ #19830]
1047         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
1048         (gaih_getanswer_slice): Likewise.
1049         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
1050         Also check for availability of RR metadata.
1052 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1054         [BZ #19825]
1055         * resolv/res_send.c (send_vc): Remove early *resplen2
1056         initialization.  Set *resplen2 on socket error.  Call
1057         close_and_return_error for other errors.
1059 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1061         * sysdeps/unix/sysv/linux/netiucv/iucv.h
1062         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
1063         (SCM_IUCV_TRGCLS): New define.
1065 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1067         [BZ #20005]
1068         * libio/fmemopen.c (fmemopen_write): Update internal position after
1069         write.
1070         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
1071         * stdio-common/tst-fmemopen4.c: New file..
1073 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
1075         [BZ #19996]
1076         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
1077         not [__USE_XOPEN2K].
1078         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
1079         variable.
1081         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
1082         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
1083         variable.
1085         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
1086         [__USE_XOPEN2K8].
1087         [__USE_LARGEFILE64] (off64_t): Likewise.
1088         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
1089         variable.
1091 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
1093         [BZ #19989]
1094         * libio/stdio.h (cuserid): Do not declare if
1095         [__USE_XOPEN2K && !__USE_GNU].
1096         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
1097         variable.
1099 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1101         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1102         (sysdep_routines): Add P8 and PPC64 strcspn targets.
1103         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1104         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
1105         ifunc'ed strcspn.
1106         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
1107         [EALIGN]: Removed.
1108         [END]: Likewise
1109         [STRSPN]: Define instead of the above to control symbol name.
1110         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
1111         New file.
1112         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
1113         Likewise.
1114         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
1115         Likewise.
1116         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
1117         Likewise.
1118         * sysdeps/powerpc/powerpc64/power8/strspn.S:
1119         [INITIAL_MASK]: New macro.
1120         [STRCSPN]: Likewise.
1121         [UPDATE_MASK]: Likewise.
1122         [USE_AS_STRCSPN]: Lisewise.
1124 2016-04-25  Florian Weimer  <fweimer@redhat.com>
1126         [BZ #19931]
1127         * stdio-common/tst-vfprintf-width-prec.c: New file.
1128         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
1129         (tests-special): Add tst-vfprintf-width-prec-mem.out.
1130         (generated): Add mtrace-related files.
1131         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
1132         (tst-%-mem.out): New pattern rule, replaces
1133         tst-printf-bz18872-mem.out.
1134         * stdio-common/vfprintf.c (vfprintf): When handling a precision
1135         specifier, deallocate any previously allocated work buffer.
1137 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
1139         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
1140         Add nop before __startcontext, add explaining comments.
1142 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
1144         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
1145         any more. Notably since IPV6_PKTINFO has been reintroduced with a
1146         completely different API.
1148         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
1149         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
1150         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
1151         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
1152         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
1153         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
1154         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
1155         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
1156         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
1157         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
1159 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
1161         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
1163 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
1165         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
1166         when it is the default of 0.
1168 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1170         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
1171         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1172         (sysdep_routines): Add new strcasestr targets.
1173         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1174         (__libc_ifunc_impl_list): Likewise.
1175         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
1176         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
1177         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
1178         * sysdeps/powerpc/powerpc64/power8/Makefile:
1179         New file to add strcasestr-ppc64 to sysdep_routines.
1180         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
1181         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
1183 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
1185         * benchtests/Makefile (wcsmbs-benchset): Include only for
1186         native builds and runs.
1187         (LOCALES): Likewise.
1188         (bench-build): Build timing-type here instead of the bench
1189         target.  Generate locale only for native builds.
1190         * benchtests/README: Add note for cross-building.
1192         * benchtests/Makefile (bench-clean): Clean up extra-objs.
1194         * benchtests/README: Update README to include instructions on
1195         using bench-build.
1197         * Makefile.in (bench-build): New target.
1198         * Rules (PHONY): Add bench-build target.
1199         * benchtests/Makefile (bench): Depend on bench-build.
1200         (bench-build): New target.
1202 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1204         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
1205         profil_reply_port.
1206         (profile_waiter): Do not initialize profil_reply_port.
1207         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
1208         frequency instead of tick length in us.
1210 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
1212         [BZ #18712]
1213         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
1214         (__old_mempcpy_small): Likewise.
1215         (__old_strcpy_small): Likewise.
1216         (__old_stpcpy_small): Likewise.
1217         (__old_strpbrk_c2): Fix compat symbol name.
1218         (__old_strpbrk_c3): Likewise.
1219         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
1220         (__mempcpy_small): Remove.
1221         (__strcpy_small): Remove.
1222         (__stpcpy_small): Remove.
1224 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
1226         [BZ #19400]
1227         * locale/iso-639.def: Add the Talossan/tzl language.
1229 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
1231         [BZ #16983]
1232         * locale/programs/ld-address.c (address_finish): Update postal_fmt
1233         comment.  Add "ln" to strchr check on postal_fmt.
1235 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
1237         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
1238         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
1239         tel_dom_fmt.
1241 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1243         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1244         (sysdep_routines): Added __strlen_power8.
1245         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
1246         __strlen_power8 entry.
1247         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
1248         Implementation for POWER8.
1249         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
1250         for __strlen_power8.
1251         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
1252         Implementation for POWER8.
1254 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
1256         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
1258 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
1260         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
1261         Goldmont and Airmont processors.
1263 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
1265         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
1266         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
1267         (__STRING2_SMALL_GET32): Remove.
1268         (memset): Remove.
1269         (__memset_1): Remove.
1270         (__memset_gc): Remove.
1271         (__mempcpy): Remove.
1272         (mempcpy): Remove.
1273         (__mempcpy_args): Remove.
1274         (strchr): Remove.
1275         (strcpy): Remove.
1276         (strcpy_args): Remove.
1277         (__stpcpy_args): Remove.
1278         (__strcmp_cc): Remove.
1279         (__strcmp_gc): Remove.
1280         (strstr): Remove.
1282 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
1284         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
1285         * nis/nis_call.c (nis_server_cache_add): Likewise.
1287 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1289         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
1291 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1293         * malloc/arena.c (__malloc_fork_lock_parent)
1294         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
1295         internal_function attribute.
1297 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
1299         * stdio-common/printf_fp.c (__printf_fp_l):
1300         Rename ___printf_fp_l to __printf_fp_l and
1301         remove strong alias. Use libc_hidden_def instead
1302         of ldbl_hidden_def macro.
1304 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1306         Remove malloc hooks from fork handler.  They are no longer needed
1307         because malloc runs right before fork, and no malloc calls from
1308         other fork handlers are not possible anymore.
1309         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
1310         declarations.
1311         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
1312         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
1313         (atfork_recursive_cntr): Remove.
1314         (__malloc_fork_lock_parent): Do not override malloc hooks and
1315         thread_arena.
1316         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
1317         thread_arena.
1318         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
1319         thread_arena instead of save_arena.
1321 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1323         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
1324         (thread_atfork, thread_atfork_static): Remove.
1325         * sysdeps/mach/hurd/malloc-machine.h:
1326         (thread_atfork, thread_atfork_static): Remove.
1328 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1330         [BZ #19431]
1331         Run the malloc fork handler as late as possible to avoid deadlocks.
1332         * malloc/malloc-internal.h: New file.
1333         * malloc/malloc.c: Include it.
1334         * malloc/arena.c (ATFORK_MEM): Remove.
1335         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
1336         Update comment.
1337         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
1338         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
1339         Remove outdated comment.
1340         (ptmalloc_init): Do not call thread_atfork.  Remove
1341         thread_atfork_static.
1342         * malloc/tst-malloc-fork-deadlock.c: New file.
1343         * Makefile (tests): Add tst-malloc-fork-deadlock.
1344         (tst-malloc-fork-deadlock): Link against libpthread.
1345         * manual/memory.texi (Aligned Memory Blocks): Update safety
1346         annotation comments.
1347         * sysdeps/nptl/fork.c (__libc_fork): Call
1348         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
1349         __malloc_fork_unlock_child.
1350         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
1352 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1354         [BZ #19613]
1355         Remove union wait.
1356         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
1357         (w_stopsig, w_stopval): Remove.
1358         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
1359         stat_loc argument.
1360         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
1361         (__WAIT_STATUS_DEFN): Remove.
1362         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
1363         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
1364         (wait, wait3, wait4): Use int * for the stat_loc argument.
1365         * posix/wait.c (__wait): Likewise.
1366         * posix/wait3.c (__wait3): Likewise.
1367         * posix/wait4.c (__wait4): Likewise.
1368         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
1369         (__WAIT_STATUS_DEFN): Remove.
1370         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
1371         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
1372         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
1373         argument.
1374         * sysdeps/posix/wait.c (__libc_wait): Likewise.
1375         * sysdeps/posix/wait3.c (__wait3): Likewise.
1376         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
1377         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
1378         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
1379         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
1380         stat_loc argument.
1381         * manual/process.texi (BSD Wait Functions): Remove union wait.
1383 2016-04-13  Andreas Schwab  <schwab@suse.de>
1385         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
1386         (test-extras): Add tst-tlsalign-vars.
1387         * math/Makefile: Wrap long lines.
1388         (libm-vec-test-wrappers): Define.
1389         (test-extras): Add $(libm-vec-test-wrappers).
1390         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
1391         * nss/Makefile (extra-test-objs): Add nss_test1.os.
1392         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
1393         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
1394         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
1395         (extra-test-objs): Add corresponding objects.
1397 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
1399         [BZ #19928]
1400         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
1401         New.
1402         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
1403         times of shared cache size.
1404         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
1405         (VMOVNT): New.
1406         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
1407         (VMOVNT): Likewise.
1408         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
1409         (VMOVNT): Likewise.
1410         (VMOVU): Changed to movups for smaller code sizes.
1411         (VMOVA): Changed to movaps for smaller code sizes.
1412         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
1413         comments.
1414         (PREFETCH): New.
1415         (PREFETCH_SIZE): Likewise.
1416         (PREFETCHED_LOAD_SIZE): Likewise.
1417         (PREFETCH_ONE_SET): Likewise.
1418         Rewrite to use forward and backward loops, which move 4 vector
1419         registers at a time, to support overlapping addresses and use
1420         non temporal store if size is above the threshold and there is
1421         no overlap between destination and source.
1423 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
1425         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
1426         Include dl-vdso.
1427         * sysdeps/unix/sysv/linux/mips/Versions: Add
1428         __vdso_clock_gettime.
1429         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
1430         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
1431         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
1432         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
1433         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
1434         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
1435         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
1436         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
1437         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
1439 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1441         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
1442         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
1443         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1444         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1445         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1446         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1449         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
1450         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
1451         syscalls generation.
1452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1453         [__NR_pwrite64] (__NR_write): Remove define.
1454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1455         [__NR_pwrite64] (__NR_write): Remove define.
1456         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
1457         Remove define.
1458         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
1459         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
1460         Remove define.
1461         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
1462         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
1463         Linux implementation as base.
1464         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1466         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
1467         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
1468         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1469         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
1471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1472         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
1473         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
1474         syscall generation.
1475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1476         [__NR_pread64] (__NR_pread): Remove define.
1477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1478         [__NR_pread64] (__NR_pread): Likewise.
1479         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
1480         define.
1481         (__libc_pread): Use SYSCALL_LL macro on offset argument.
1482         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
1483         Remove define.
1484         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
1485         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
1486         Linux implementation as base.
1487         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1488         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1489         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1491         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
1492         definition.
1493         (__ALIGNMENT_COUNT): Likewise.
1494         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
1495         (__ALIGNMENT_COUNT): Likewise.
1496         (SYSCALL_LL): New define.
1497         (SYSCALL_LL64): Likewise.
1498         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
1499         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
1500         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
1501         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
1503         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1504         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
1505         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1506         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
1507         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1508         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
1510 2016-04-11  Florian Weimer  <fweimer@redhat.com>
1512         [BZ #19865]
1513         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
1514         original buffer before retry.
1516 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1518         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
1519         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
1520         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
1521         GLRO(dl_auxv) list.
1522         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
1523         including <ldsodefs.h>.
1524         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
1526 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
1528         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
1529         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
1530         $(CPPFLAGS).
1532 2016-04-09  Khem Raj  <raj.khem@gmail.com>
1534         [BZ #17950]
1535         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
1536         Add -mfpmath=387.
1538 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
1540         * sysdeps/i386/configure.ac: Change == to = when calling test.
1541         * sysdeps/x86_64/configure.ac: Likewise.
1542         * sysdeps/i386/configure: Regenerated.
1543         * sysdeps/x86_64/configure: Likewise.
1545 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
1547         [BZ #16137]
1548         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
1549         * benchtests/bench-strcoll.c (input_files): Likewise.
1550         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
1551         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
1552         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
1554 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
1556         [BZ #19929]
1557         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
1558         [__USE_XOPEN2K8 && !__USE_GNU].
1559         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
1560         variable.
1562         [BZ #19925]
1563         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
1564         define if [!__USE_MISC && __USE_XOPEN2K].
1565         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
1566         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
1567         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
1568         Likewise.
1569         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
1570         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
1571         variable.
1572         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1574 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1576         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1577         (sysdep_routines): Add new strspn targets.
1578         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1579         (__libc_ifunc_impl_list): Add strspn.
1580         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
1581         New file.
1582         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
1583         Likewise.
1584         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
1585         Likewise.
1586         * sysdeps/powerpc/powerpc64/power8/strspn.S:
1587         Likewise.
1589 2016-04-07  Florian Weimer  <fweimer@redhat.com>
1591         * misc/hsearch_r.c: Include <limits.h>.
1593 2016-04-07  Florian Weimer  <fweimer@redhat.com>
1595         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
1597 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
1599         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1600         (MEMCPY_SYMBOL): New.
1601         (MEMPCPY_SYMBOL): Likewise.
1602         (MEMMOVE_CHK_SYMBOL): Likewise.
1603         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
1604         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
1605         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
1606         Provide alias for memcpy in libc.a and ld.so.
1608 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
1610         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1611         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
1612         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
1613         Disabled fro now.
1614         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
1615         symbols.  Properly check USE_MULTIARCH on __memset symbols.
1617 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
1619         * benchtests/Makefile (string-benchset): Add memcpy-large,
1620         memmove-large and memset-large.
1621         * benchtests/bench-memcpy-large.c: New file.
1622         * benchtests/bench-memmove-large.c: Likewise.
1623         * benchtests/bench-memmove-large.c: Likewise.
1624         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
1626 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
1628         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
1629         32-bit displacement to avoid long nop between instructions.
1631 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
1633         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
1634         a comment on VMOVU and VMOVA.
1636 2016-04-04  Florian Weimer  <fweimer@redhat.com>
1638         [BZ #19633]
1639         Use specified locale for number formatting in strfmon_l.
1640         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
1641         (__nl_lookup_word): New inline functions.
1642         * include/printf.h (__print_fp_l): Declare.
1643         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
1644         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
1645         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
1646         (___printf_fp): New function.
1647         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
1648         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
1649         * stdlib/tst-strfmon_l.c (do_test): New test.
1650         * stdlib/Makefile (tests): Add kt.
1651         (LOCALES): Build additional locales.
1652         (tst-strfmon_l.out): Require locales.
1654 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
1656         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
1657         if not in libc.
1658         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
1659         Likewise.
1660         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
1661         Likewise.
1662         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
1663         Likewise.
1665 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
1667         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1668         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
1669         with unaligned_erms.
1670         (__memmove_erms): Skip if source == destination.
1671         (__memmove_unaligned_erms): Don't check source == destination
1672         first.
1674 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
1676         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
1677         bit_arch_Fast_Copy_Backward for Intel Core proessors.
1679 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1681         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
1682         * string/strspn.c (strspn): Likewise.
1684 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
1686         * benchtests/bench-memset.c (do_test): Support 64-byte
1687         alignment.
1688         (test_main): Test 64-byte alignment.
1690 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
1692         * benchtests/bench-memmove.c (test_main): Test 64-byte
1693         alignment.
1695 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
1697         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
1699 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1701         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
1702         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
1703         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
1705         * string/strpbrk.c (strpbrk): Rewrite function.
1706         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
1707         (__strpbrk_c2): Likewise.
1708         (__strpbrk_c3): Likewise.
1709         * string/string-inlines.c
1710         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
1711         Likewise.
1712         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
1713         Likewise.
1715         * string/strspn.c (strcspn): Rewrite function.
1716         * string/bits/string2.h (strspn): Use __builtin_strcspn.
1717         (__strspn_c1): Remove inline function.
1718         (__strspn_c2): Likewise.
1719         (__strspn_c3): Likewise.
1720         * string/string-inlines.c
1721         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
1722         compatibility symbol.
1723         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
1724         Likewise.
1725         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
1726         Likewise.
1727         * string/string-inlines.c: Include generic version.
1729 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
1730             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1732         * string/Version (libc): Add GLIBC_2.24.
1733         * string/strcspn.c (strcspn): Rewrite function.
1734         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
1735         (__strcspn_c1): Remove inline function.
1736         (__strcspn_c2): Likewise.
1737         (__strcspn_c3): Likewise.
1738         * string/string-inline.c
1739         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
1740         compatibility symbol.
1741         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
1742         Likewise.
1743         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
1744         Likewise.
1745         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
1747 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1749         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
1750         Use ahi instead of aghi to adjust stack pointer.
1752 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1754         [BZ #19853]
1755         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
1756         TEST to take significant digits as second parameter.
1757         [TEST]: Redefine in terms of TEST_N taking 30
1758         significant digits.
1759         (do_test): Add test case to demonstrate precision
1760         failure in the ldbl-128ibm printf.
1761         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
1762         (__mpn_extract_long_double): Carry 7 extra intermediate
1763         bits of precision to aide computing difference when
1764         signs differ.
1766 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
1768         [BZ #19881]
1769         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1770         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
1771         memset-avx512-unaligned-erms.
1772         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1773         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
1774         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
1775         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
1776         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
1777         __memset_sse2_unaligned_erms, __memset_erms,
1778         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
1779         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
1780         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
1781         file.
1782         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
1783         Likewise.
1784         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
1785         Likewise.
1786         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
1787         Likewise.
1789 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
1791         [BZ #19776]
1792         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1793         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
1794         memmove-avx512-unaligned-erms.
1795         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1796         (__libc_ifunc_impl_list): Test
1797         __memmove_chk_avx512_unaligned_2,
1798         __memmove_chk_avx512_unaligned_erms,
1799         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
1800         __memmove_chk_sse2_unaligned_2,
1801         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
1802         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
1803         __memmove_avx512_unaligned_erms, __memmove_erms,
1804         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
1805         __memcpy_chk_avx512_unaligned_2,
1806         __memcpy_chk_avx512_unaligned_erms,
1807         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
1808         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
1809         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
1810         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
1811         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
1812         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
1813         __mempcpy_chk_avx512_unaligned_erms,
1814         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
1815         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
1816         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
1817         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
1818         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
1819         __mempcpy_erms.
1820         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
1821         file.
1822         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
1823         Likwise.
1824         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
1825         Likwise.
1826         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1827         Likwise.
1829 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1831         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
1832         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
1833         (La_s390_64_regs): Likewise.
1834         (La_s390_32_retval): Append vector register lrv_v24.
1835         (La_s390_64_retval): Likeweise.
1836         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
1837         Handle extended structs La_s390_32_regs and La_s390_32_retval.
1838         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
1839         Handle extended structs La_s390_64_regs and La_s390_64_retval.
1841 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1843         [BZ #19916]
1844         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
1845         to create a non-vector/vector version for _dl_runtime_resolve and
1846         _dl_runtime_profile. Move implementation to ...
1847         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
1848         (_dl_runtime_resolve) Save and restore fpr/vrs.
1849         (_dl_runtime_profile) Save and restore vrs and fix some issues
1850         if _dl_call_pltexit is called.
1851         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
1852         Choose the correct resolver function if running on a machine with vx.
1853         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
1854         to create a non-vector/vector version for _dl_runtime_resolve and
1855         _dl_runtime_profile. Move implementation to ...
1856         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
1857         (_dl_runtime_resolve) Save and restore fpr/vrs.
1858         (_dl_runtime_profile) Save and restore vrs and fix some issues
1859         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
1860         Choose the correct resolver function if running on a machine with vx.
1862 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1864         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
1866 2016-03-31  Florian Weimer  <fweimer@redhat.com>
1868         [BZ #19509]
1869         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
1870         skip_map != NULL.
1871         * elf/tst-dlsym-error.c: New file.
1872         * elf/Makefile (tests): Add tst-dlsym-error.
1873         (tst-dlsym-error): Link against libdl.
1875 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
1877         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1878         (__ASSUME_FUTIMESAT): Remove macro.
1879         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
1881 2016-03-29  Florian Weimer  <fweimer@redhat.com>
1883         [BZ #19879]
1884         CVE-2016-3075
1885         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
1886         copy name.
1888 2016-03-29  Florian Weimer  <fweimer@redhat.com>
1890         [BZ #19837]
1891         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
1892         error if parse_line fails.
1894 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
1896         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
1897         (index_cpu_ERMS): Likewise.
1898         (reg_ERMS): Likewise.
1900 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
1902         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
1903         PER_LINUX_FDPIC): Add.
1905 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
1907         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1908         memcpy-avx512-no-vzeroupper.
1909         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
1910         to ...
1911         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
1912         (MEMCPY): Don't define.
1913         (MEMCPY_CHK): Likewise.
1914         (MEMPCPY): Likewise.
1915         (MEMPCPY_CHK): Likewise.
1916         (MEMPCPY_CHK): Renamed to ...
1917         (__mempcpy_chk_avx512_no_vzeroupper): This.
1918         (MEMPCPY_CHK): Renamed to ...
1919         (__mempcpy_chk_avx512_no_vzeroupper): This.
1920         (MEMCPY_CHK): Renamed to ...
1921         (__memmove_chk_avx512_no_vzeroupper): This.
1922         (MEMCPY): Renamed to ...
1923         (__memmove_avx512_no_vzeroupper): This.
1924         (__memcpy_avx512_no_vzeroupper): New alias.
1925         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
1927 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
1929         [BZ #18858]
1930         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1931         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
1932         and mempcpy-avx512-no-vzeroupper.
1933         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
1934         New.
1935         (MEMPCPY): Likewise.
1936         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
1937         (MEMPCPY_CHK): New.
1938         (MEMPCPY): Likewise.
1939         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
1940         (MEMPCPY): Likewise.
1941         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
1942         (MEMPCPY): Likewise.
1943         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
1944         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
1945         Likewise.
1946         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
1947         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
1949 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
1950              Amit Pawar  <Amit.Pawar@amd.com>
1952         [BZ #19583]
1953         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1954         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
1955         processors.  Set Fast_Copy_Backward for AMD Excavator
1956         processors.
1957         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
1958         New.
1959         (index_arch_Fast_Unaligned_Copy): Likewise.
1960         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
1961         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
1963 2016-03-25  Florian Weimer  <fweimer@redhat.com>
1965         [BZ #19791]
1966         * resolv/res_send.c (close_and_return_error): New function.
1967         (send_dg): Initialize *resplen2 after reopen failure.  Call
1968         close_and_return_error for error returns.  On error paths without
1969         __res_iclose, initialze *resplen2 explicitly.  Update comment for
1970         successful return.
1972 2016-03-25  Florian Weimer  <fweimer@redhat.com>
1974         [BZ# 19860]
1975         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
1976         zero if the compiler does not provide the AVX512F bit.
1978 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
1980         [BZ #19848]
1981         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
1982         from 8 to 4.
1983         (__ieee754_powl): Compare integer exponent against 4 not 8.
1984         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
1985         from 8 to 4.
1986         (__ieee754_powl): Compare integer exponent against 4 not 8.
1987         * math/auto-libm-test-in: Add more tests of pow.
1988         * math/auto-libm-test-out: Regenerated.
1989         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
1990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1992 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
1994         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
1995         Make code unconditional.
1996         [!__NR_utimensat]: Remove conditional code.
1997         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
1998         Make code unconditional.
1999         [!__NR_utimensat]: Remove conditional code.
2000         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
2001         Make code unconditional.
2002         [!__NR_utimensat]: Remove conditional code.
2004 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
2006         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
2007         Make code unconditional.
2009 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
2011         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
2012         call-clobbered %eax on retry path.
2013         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
2015 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2017         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
2018         Don't set %rcx twice before "rep movsb".
2020 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2022         [BZ #19583]
2023         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
2024         inline.  Check family before setting family, model and
2025         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
2026         bits here.
2027         (init_cpu_features): Replace HAS_CPU_FEATURE and
2028         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
2029         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
2030         for Intel processors with usable AVX2.  Call get_common_indeces
2031         for other processors with family == NULL.
2032         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
2033         (CPU_FEATURES_ARCH_P): Likewise.
2034         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
2035         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
2037 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2039         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
2040         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
2041         $(shared-thread-library) instead of hardcoding the path to libpthread.
2043 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
2045         * sysdeps/unix/sysv/linux/kernel-features.h
2046         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
2047         * sysdeps/unix/sysv/linux/getdents.c
2048         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
2049         [!have_no_getdents64_defined]: Likewise.
2050         (__GETDENTS): Remove __have_no_getdents64 conditional.
2052 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
2054         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
2055         Remove macro.
2056         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
2057         <kernel-features.h>.
2058         (signalfd) [__NR_signalfd4]: Make code unconditional.
2059         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
2061 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2063         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
2064         style.
2066 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
2068         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
2069         (__pthread_enable_asynccancel): Use JUMPTARGET to call
2070         __pthread_unwind.
2071         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
2072         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
2073         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
2074         (__condvar_cleanup1): Likewise.
2076 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
2078         [BZ #19822]
2079         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
2080         move it to the final $@ location.
2082 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2084         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
2085         access where posix_spawn success and pid argument is null.
2086         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
2087         success case.
2089 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
2091         * sysdeps/mach/hurd/i386/c++-types.data: New file.
2093         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
2095         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
2096         and __fcntl.
2097         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
2098         __fcntl only.
2099         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
2100         adding attribute_hidden to __open and __fcntl.
2102         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
2103         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
2104         depend on libc-modules.h,
2105         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
2107 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
2109         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
2110         Remove macro.
2111         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
2112         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
2113         entry.
2115         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
2116         Remove macro.
2117         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
2118         include <kernel-features.h>.
2119         [!__ASSUME_FALLOCATE]: Remove conditional code.
2120         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
2122 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2124         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
2125         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
2126         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
2127         (_ZGVdN4v_cos_avx2): Likewise.
2128         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
2129         (_ZGVdN4v_cos): Likewise.
2130         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
2131         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
2132         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
2133         (_ZGVdN4v_exp_avx2): Likewise.
2134         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
2135         (_ZGVdN4v_exp): Likewise.
2136         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
2137         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
2138         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
2139         (_ZGVdN4v_log_avx2): Likewise.
2140         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
2141         (_ZGVdN4v_log): Likewise.
2142         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
2143         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
2144         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
2145         (_ZGVdN4vv_pow_avx2): Likewise.
2146         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
2147         (_ZGVdN4vv_pow): Likewise.
2148         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
2149         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
2150         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
2151         (_ZGVdN4v_sin_avx2): Likewise.
2152         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
2153         (_ZGVdN4v_sin): Likewise.
2154         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
2155         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
2156         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
2157         (_ZGVdN4vvv_sincos_avx2): Likewise.
2158         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
2159         (_ZGVdN4vvv_sincos): Likewise.
2160         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
2161         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
2162         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
2163         (_ZGVbN4v_cosf_sse4): Likewise.
2164         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
2165         (_ZGVdN8v_cosf_avx2): Likewise.
2166         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
2167         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
2168         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
2169         (_ZGVbN4v_expf_sse4): Likewise.
2170         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
2171         (_ZGVdN8v_expf_avx2): Likewise.
2172         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
2173         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
2174         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
2175         (_ZGVbN4v_logf_sse4): Likewise.
2176         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
2177         (_ZGVdN8v_logf_avx2): Likewise.
2178         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
2179         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
2180         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
2181         (_ZGVbN4vv_powf_sse4): Likewise.
2182         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
2183         (_ZGVdN8vv_powf_avx2): Likewise.
2184         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2185         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
2186         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2187         (_ZGVbN4vvv_sincosf_sse4): Likewise.
2188         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2189         (_ZGVdN8vvv_sincosf_avx2): Likewise.
2190         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
2191         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
2192         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
2193         (_ZGVbN4v_sinf_sse4): Likewise.
2194         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
2195         (_ZGVdN8v_sinf_avx2): Likewise.
2196         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
2197         Use JUMPTARGET to call callee.
2198         (WRAPPER_IMPL_SSE2_ff): Likewise.
2199         (WRAPPER_IMPL_SSE2_fFF): Likewise.
2200         (WRAPPER_IMPL_AVX): Likewise.
2201         (WRAPPER_IMPL_AVX_ff): Likewise.
2202         (WRAPPER_IMPL_AVX_fFF): Likewise.
2203         (WRAPPER_IMPL_AVX512): Likewise.
2204         (WRAPPER_IMPL_AVX512_ff): Likewise.
2205         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
2206         Likewise.
2207         (WRAPPER_IMPL_SSE2_ff): Likewise.
2208         (WRAPPER_IMPL_SSE2_fFF): Likewise.
2209         (WRAPPER_IMPL_AVX): Likewise.
2210         (WRAPPER_IMPL_AVX_ff): Likewise.
2211         (WRAPPER_IMPL_AVX_fFF): Likewise.
2212         (WRAPPER_IMPL_AVX512): Likewise.
2213         (WRAPPER_IMPL_AVX512_ff): Likewise.
2214         (WRAPPER_IMPL_AVX512_fFF): Likewise.
2216 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2218         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
2219         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
2220         qualifier.
2221         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
2222         internal_function qualifiers.
2224 2016-03-15  Carlos O'Donell <carlos@redhat.com>
2226         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
2227         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
2228         * math/atest-exp.c (exp_mpn): Mark chk unused.
2229         * math/atest-exp2.c (exp_mpn): Likwise.
2230         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
2231         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
2233 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
2235         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
2236         Remove macro.
2237         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
2238         <kernel-features.h>.
2239         [__NR_ppoll]: Make code unconditional.
2240         [!__ASSUME_PPOLL]: Remove conditional code.
2242         * sysdeps/unix/sysv/linux/kernel-features.h
2243         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
2244         (__ASSUME_ACCEPT4): Likewise.
2245         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2246         Define.
2247         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
2248         Likewise.
2249         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2250         Likewise.
2251         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
2252         Likewise.
2253         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
2254         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
2255         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2256         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2257         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2258         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2259         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2260         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2261         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2262         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2263         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2264         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2265         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2266         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2267         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2268         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2269         Likewise.
2270         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2271         Likewise.
2272         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2273         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2274         0x040300].
2275         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2276         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2277         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2278         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2279         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
2280         0x030300].
2281         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
2282         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2283         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2284         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2285         0x040300].
2286         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2287         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2288         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2289         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2290         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2291         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2292         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
2293         0x030300].
2294         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2295         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2296         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2297         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2298         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2299         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2300         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2301         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2302         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2303         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2304         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2305         0x040300].
2306         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2307         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2308         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2309         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2310         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2311         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2312         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2313         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2314         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2315         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2316         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2317         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2318         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2319         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2320         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
2321         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2322         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2323         Likewise.
2324         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2325         Likewise.
2327 2016-03-15  Andreas Schwab  <schwab@suse.de>
2329         [BZ #19257]
2330         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
2331         statp->_u._ext.nscount as loop count.
2333 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
2335         * math/test-signgam-finite-c99.c: Also #undef
2336         __LIBC_INTERNAL_MATH_INLINES.
2337         * math/test-signgam-main.c: Likewise.
2339 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
2341         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
2342         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
2343         (MADV_FREE): Likewise.
2344         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
2345         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
2346         EPOLLEXCLUSIVE.
2348 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
2350         * timezone/README: Remove mention of checktab.awk. Mention wiki
2351         SharedSourceFiles.
2353 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
2355         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
2356         WUNTRACED.
2358 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2360         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
2361         order to match the type of p when calling atomic_exchange_acq().
2363 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2365         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
2366         cfi_offset calls.
2367         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
2368         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
2369         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
2370         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
2371         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
2373 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
2375         * timezone/checktab.awk: Removed.
2377 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
2379         * manual/math.texi (Errors in Math Functions): Document relaxed
2380         accuracy goals for IBM long double.
2381         * math/libm-test.inc (test_exceptions): Always allow spurious
2382         "underflow" and "inexact" exceptions for IBM long double.
2384 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
2386         [BZ #19762]
2387         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
2388         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
2389         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2390         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
2391         (bit_arch_*): This for feature array.
2392         (bit_*): Renamed to ...
2393         (bit_cpu_*): This for cpu array.
2394         (index_*): Renamed to ...
2395         (index_arch_*): This for feature array.
2396         (index_*): Renamed to ...
2397         (index_cpu_*): This for cpu array.
2398         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
2399         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
2400         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
2401         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
2402         bit_##name with index_cpu_##name and bit_cpu_##name.
2403         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
2404         bit_##name with index_arch_##name and bit_arch_##name.
2406 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
2408         [BZ #19792]
2409         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
2410         Terminate FDE before return label.
2412 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
2414         [BZ #19790]
2415         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
2416         (rintl): Define as macro.
2417         [USE_AS_NEARBYINTL] (__rintl): Likewise.
2418         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
2419         of fesetround.  Ensure results are evaluated before end of scope.
2420         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
2421         USE_AS_NEARBYINTL and include s_rintl.c.
2422         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
2423         Disable exception traps in new environment.
2424         (libc_feholdsetround_ppc_ctx): Likewise.
2426 2016-03-08  Roland McGrath  <roland@hack.frob.com>
2428         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
2429         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
2430         (tst_audit10_aux) [__AVX512F__]: ... here.
2432 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
2434         * include/sys/auxv.h: New file.
2436 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
2438         [BZ #19759]
2439         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
2441 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2443         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
2444         operand modifier.
2445         (feclearexcept): Likewise.
2447 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2449         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
2450         to reflect the entire 32-bit HWCAP.
2451         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
2452         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
2454 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
2456         [BZ #19783]
2457         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
2458         $(test-via-rtld-prefix).
2459         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
2461 2016-03-08  Florian Weimer  <fweimer@redhat.com>
2463         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
2464         union wait.  Report any non-zero exit status as error.
2466 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2468         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
2469         configured with --enable-hardcoded-path-in-tests.
2471 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
2473         [BZ #19677]
2474         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
2475         (__ieee754_remainderl): Put zero low parts in canonical form.
2476         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
2477         file.  Based on
2478         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
2479         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
2480         with wrapper round test-fmodrem-ldbl-128ibm.c.
2481         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
2482         file.
2483         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
2484         Likewise.
2485         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
2486         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
2488 2016-03-07  Florian Weimer  <fweimer@redhat.com>
2490         [BZ #19610]
2491         * elf/ldconfig.c (opt_link): Update comment.
2492         (options): Update help string for option -X.
2493         (search_dir): Unlink stale symbolic link only if updating symbolic
2494         links.
2495         * elf/tst-ldconfig-X.sh: New file.
2496         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
2497         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
2499 2016-03-07  Andreas Schwab  <schwab@suse.de>
2501         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
2502         needed arguments.
2504 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
2506         [BZ #15333]
2507         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
2508         to lstat64.
2510 2016-03-07  Florian Weimer  <fweimer@redhat.com>
2512         * libio/filedoalloc.c (isatty): Remove.
2513         (local_isatty): Add comment.  Call __isatty directly.
2514         (_IO_file_doallocate): Update comment.  Assume _LIBC.
2515         * libio/wfiledoalloc.c (isatty): Remove.
2516         (_IO_wfile_doallocate): Update comment.
2518 2016-03-07  Florian Weimer  <fweimer@redhat.com>
2520         [BZ #19269]
2521         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
2522         tst-audit4-aux.o.
2523         (tst-audit10): Depend on tst-audit10-aux.o.
2524         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
2525         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
2526         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
2527         instead of inline AVX code.
2528         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
2529         instead of inline AVX512 code.
2530         * sysdeps/x86_64/tst-audit4-aux.c: New file
2531         * sysdeps/x86_64/tst-audit10-aux.c: New file
2533         [BZ #19648]
2534         * test-skeleton.c (main): Do not set RLIMIT_DATA.
2536 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2538         [BZ #14750]
2539         [BZ #10354]
2540         [BZ #18433]
2541         * include/sched.h (__clone): Add hidden prototype.
2542         (__clone2): Likewise.
2543         * include/unistd.h (__dup): Likewise.
2544         * posix/Makefile (tests): Add tst-spawn2.
2545         * posix/tst-spawn2.c: New file.
2546         * sysdeps/posix/dup.c (__dup): Add hidden definition.
2547         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
2548         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
2549         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
2550         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
2551         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
2552         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
2553         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
2554         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
2555         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
2556         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
2557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
2558         Likewise.
2559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2560         Likewise.
2561         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
2562         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
2563         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
2564         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
2565         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
2566         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
2567         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
2568         * sysdeps/unix/sysv/linux/nptl-signals.h
2569         (____nptl_is_internal_signal): New function.
2570         * sysdeps/unix/sysv/linux/spawni.c: New file.
2572         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
2573         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
2574         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
2575         * posix/tst-execvp2.c (do_test): Likewise.
2576         * posix/tst-execvp3.c (do_test): Likewise.
2577         * posix/tst-execvp4.c (do_test): Likewise.
2578         * posix/tst-execvpe1.c: New file.
2579         * posix/tst-execvpe2.c: Likewise.
2580         * posix/tst-execvpe3.c: Likewise.
2581         * posix/tst-execvpe4.c: Likewise.
2582         * posix/tst-execvpe5.c: Likewise.
2583         * posix/tst-execvpe6.c: Likewise.
2585         [BZ #19534]
2586         * posix/execl.c (execl): Remove dynamic memory allocation.
2587         * posix/execle.c (execle): Likewise.
2588         * posix/execlp.c (execlp): Likewise.
2590 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
2592         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
2593         Replace .text with .text.avx512.
2594         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
2595         Likewise.
2597 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
2599         * sysdeps/generic/libnsl.abilist: New file.
2600         * sysdeps/generic/libutil.abilist: New file.
2602 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
2604         [BZ #19762]
2605         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
2606         HAS_ARCH_FEATURE with Fast_Rep_String.
2607         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
2608         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
2609         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
2610         Likewise.
2611         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
2612         Likewise.
2613         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
2614         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
2615         Likewise.
2616         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
2617         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
2618         Likewise.
2620 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
2622         [BZ #19745]
2623         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
2624         with *%rax in call.
2626 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
2628         [BZ #19745]
2629         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
2630         with *__libc_start_main@GOTPCREL(%rip) in call.
2632 2016-03-04  Roland McGrath  <roland@hack.frob.com>
2634         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
2635         inside conditional for nonempty $(CXX).
2637         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
2638         nonempty.
2640         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
2641         to test for empty $(CXX) rather than $(CXX) of "no".
2643 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
2645         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
2647 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
2648             H.J. Lu  <hongjiu.lu@intel.com>
2650         [BZ #18880]
2651         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
2652         instead of Slow_BSF, and also check for Fast_Copy_Backward to
2653         enable __memcpy_ssse3_back.
2655 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
2657         [BZ #19758]
2658         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
2659         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
2661 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
2663         [BZ #19490]
2664         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
2665         (__fentry__): Likewise.
2667 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
2669         * gmon/Makefile (noprof): Add $(sysdep_noprof).
2670         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
2672 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
2674         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
2675         __mcount_internal directly.
2676         (C_LABEL(__fentry__)): Likewise.
2677         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
2678         directly.
2680 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
2682         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2683         (__start_context): Call __setcontext directly.
2685 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
2687         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2688         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2689         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
2690         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
2691         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2692         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2693         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
2694         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2695         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2696         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
2697         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
2698         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
2699         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2700         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2701         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2702         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2703         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
2704         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2705         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2706         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
2707         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
2708         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2709         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2710         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
2711         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
2712         Remove conditional code.
2713         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2714         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
2715         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2716         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2717         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
2718         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2719         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
2720         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2721         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2722         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2723         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2724         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2726 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
2728         * NEWS (2.23): Fix typo in bug 19048 text.
2730 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
2732         [BZ #14259]
2733         * Makeconfig: Rename msgcatdir to localedir.
2734         Rename inst_msgcatdir to inst_localedir.
2735         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
2736         * config.make.in: Add localedir.
2737         * elf/Makefile ($(objpfx)sotruss): Use localedir.
2738         (ldd-rewrite): Likewise.
2739         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
2740         (install-others): Use inst_localedir.
2741         (CPPFLAGS): Use localedir.
2742         * locale/Makefile (locale-CPPFLAGS): Likewise.
2743         * po/Makefile (mo-installed): Use inst_localedir.
2745         [BZ #19575]
2746         * localedata/charmaps/GB18030: Update comments regarding PAU to
2747         non-PUA mappings.
2749 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
2751         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
2752         test for header.
2753         * sysdeps/unix/sysv/linux/configure: Regenerated.
2754         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
2755         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
2756         Remove conditional code.
2757         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
2759         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2760         Define to 3.2.0.
2761         (arch_minimum_kernel): Likewise.
2762         * sysdeps/unix/sysv/linux/configure: Regenerated.
2763         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
2764         Define to 2.6.32.
2765         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
2766         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
2767         (arch_minimum_kernel): Define to 2.6.32.
2768         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
2769         * README: Document Linux 3.2 requirement.
2770         * manual/install.texi (Linux): Document Linux 3.2 headers
2771         requirement.
2772         * INSTALL: Regenerated.
2774 2016-02-24  Andreas Schwab  <schwab@suse.de>
2776         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
2777         if !NO_LONG_DOUBLE.
2779 2016-02-22  Roland McGrath  <roland@hack.frob.com>
2781         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
2782         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
2784 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
2786         [BZ #19512]
2787         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
2789 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
2791         * posix/tst-dir.c: Include libc-internal.h.
2793 2016-02-20  Florian Weimer  <fweimer@redhat.com>
2795         [BZ #19056]
2796         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
2797         * manual/filesys.texi (Reading/Closing Directory): Mention
2798         deprecaion.
2799         * posix/tst-dir.c (main): Disable deprecation warning in test.
2801 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
2803         [BZ #19679]
2804         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
2805         Renamed to ...
2806         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
2807         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
2808         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
2809         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
2810         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
2811         * sysdeps/x86_64/dl-trampoline.h
2812         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
2813         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
2815 2016-02-19  Mark Wielaard  <mjw@redhat.com>
2817         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
2819 2016-02-19  Mark Wielaard  <mjw@redhat.com>
2821         * elf/elf.h (R_386_GOT32X): New.
2822         (R_386_NUM): Update.
2823         (R_X86_64_GOTPCRELX: New.
2824         (R_X86_64_REX_GOTPCRELX): New.
2825         (R_X86_64_NUM): Update.
2827 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
2829         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
2831 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
2833         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
2834         assign attr->stackaddr to it, and adjust it down when
2835         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
2836         [_STACK_GROWS_UP]: Delete assert.
2837         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
2838         Implement stack grows up logic.
2839         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
2840         stack grows up logic.
2842 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2844         * NEWS: Update with 2.24 template.
2846 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
2848         [BZ #19678]
2849         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2850         Ensure +0.0 is returned when taking the next value below the least
2851         positive value.
2853 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2855         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
2856         available.  Do not define NO_THREADS.
2857         * malloc/malloc.c: Do not check NO_THREADS.
2858         * malloc/arena.c: Likewise.
2860 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2862         * malloc/malloc.c (__libc_mallinfo): Update comment.
2863         (struct malloc_par): Remove max_total_mem member, it was always 0.
2864         (int_mallinfo): Store 0 into usmblks (no functional change).
2865         * malloc/hooks.c (struct malloc_state): Document that
2866         max_total_mem is always 0.
2867         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
2868         always 0.
2869         * manual/memory.texi (Statistics of Malloc): Likewise.
2871 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2873         * malloc/malloc.c (sysmalloc): Do not update arena_max.
2874         * malloc/arena.c (arena_max): Remove.
2875         (heap_trim, _int_new_arena): Do not update arena_max.
2877 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2879         * resolv/res_init.c (res_ninit): Update comment.
2881 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2883         [BZ #19505]
2884         * posix/spawn_int.h: Add headers and include guard.
2885         (__spawn_valid_fd): New function.
2886         * posix/spawn_faction_addopen.c
2887         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
2888         * posix/spawn_faction_addclose.c
2889         (posix_spawn_file_actions_addclose): Likewise.
2890         * posix/spawn_faction_adddup2.c
2891         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
2892         second file descriptor.
2893         * posix/spawn_valid_fd.c: New file.
2894         * posix/tst-posix_spawn-fd.c: New file.
2895         * posix/Makefile (routines): Add spawn_valid_fd.
2896         (tests): Add tst-posix_spawn-fd.
2898 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2900         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
2901         (do_test): Limit the number of arenas, so that we can use fewer
2902         outer threads.  Limit timeout to 3 seconds, in preparation for a
2903         larger TIMEOUT value.
2905 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
2907         [BZ #19674]
2908         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
2909         sign in overflowing and underflowing results when overflow or
2910         underflow is detected early.  Include sign in result before rather
2911         than after scaling.
2913         [BZ #19603]
2914         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
2915         (__ieee754_remainderl): Adjust sign of integer version of low part
2916         when taking absolute value of high part.
2917         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2918         * math/libm-test.inc (remainder_test_data): Add another test.
2919         (remquo_test_data): Likewise.
2921 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
2923         [BZ #19602]
2924         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
2925         equal high parts and both low parts zero specially.
2926         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
2927         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
2928         Add test-fmodl-ldbl-128ibm.
2930         [BZ #19595]
2931         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
2932         common logic for all cases of shifting subnormal results.  Do not
2933         insert sign bit in shifted mantissa.  Always pass -1023 as biased
2934         exponent to ldbl_insert_mantissa in subnormal case.
2936         [BZ #19594]
2937         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
2938         on high and low parts then adjust result and use
2939         ldbl_canonicalize_int if needed.
2941         [BZ #19593]
2942         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
2943         on high part and __floor or __ceil on low part then use
2944         ldbl_canonicalize_int if needed.
2946         [BZ #19592]
2947         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
2948         high and low parts then use ldbl_canonicalize_int if needed.
2950         [BZ #17899]
2951         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
2952         New function.
2953         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
2954         on high and low parts then use ldbl_canonicalize_int if needed.
2956 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2958         * configure: Regenerated.
2960         * po/libc.pot: Regenerated.
2962         * po/be.po: Updated translation.
2963         * po/bg.po: Likewise.
2964         * po/ca.po: Likewise.
2965         * po/cs.po: Likewise.
2966         * po/da.po: Likewise.
2967         * po/el.po: Likewise.
2968         * po/eo.po: Likewise.
2969         * po/es.po: Likewise.
2970         * po/fi.po: Likewise.
2971         * po/fr.po: Likewise.
2972         * po/gl.po: Likewise.
2973         * po/hr.po: Likewise.
2974         * po/hu.po: Likewise.
2975         * po/ia.po: Likewise.
2976         * po/id.po: Likewise.
2977         * po/it.po: Likewise.
2978         * po/ja.po: Likewise.
2979         * po/lt.po: Likewise.
2980         * po/nb.po: Likewise.
2981         * po/nl.po: Likewise.
2982         * po/pt_BR.po: Likewise.
2983         * po/rw.po: Likewise.
2984         * po/sk.po: Likewise.
2985         * po/sl.po: Likewise.
2986         * po/sv.po: Likewise.
2987         * po/tr.po: Likewise.
2988         * po/zh_CN.po: Likewise.
2989         * po/zh_TW.po: Likewise.
2991         * version.h (RELEAES): Set to "development".
2992         (VERSION): Set to 2.23.90.
2994         * version.h (RELEASE): Set to "stable".
2995         (VERSION): Set to 2.23.
2996         * include/feature.h (__GLIBC_MINOR__): Set to 23.
2998         * NEWS: Updated fixed bugs.
3000 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
3001             Wilco Dijkstra  <wdijkstr@arm.com>
3003         [BZ #19462]
3004         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
3005         (_STRING_INLINE_unaligned): This.
3006         * include/string.h: Include <string_private.h>.
3007         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
3008         _STRING_INLINE_unaligned.
3009         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
3010         (_STRING_INLINE_unaligned): New.
3011         * sysdeps/aarch64/string_private.h: New file.
3012         * sysdeps/generic/string_private.h: Likewise.
3013         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
3014         * sysdeps/s390/string_private.h: Likewise.
3015         * sysdeps/x86/string_private.h: Likewise.
3016         * sysdeps/m68k/m680x0/m68020/bits/string.h
3017         (_STRING_ARCH_unaligned): Renamed to ...
3018         (_STRING_INLINE_unaligned): This.
3019         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
3020         to ...
3021         (_STRING_INLINE_unaligned): This.
3022         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
3023         to ...
3024         (_STRING_INLINE_unaligned): This.
3025         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
3026         to ...
3027         (_STRING_INLINE_unaligned): This.
3029 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3030             H.J. Lu  <hongjiu.lu@intel.com>
3032         [BZ #19590]
3033         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
3034         relocation.
3036 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
3038         [BZ #18665]
3039         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
3040         *herrno_p.
3041         (gaih_getanswer): Document functional behviour. Return tryagain
3042         if any result is tryagain.
3043         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
3044         when freed.
3045         * resolv/res_send.c: Add copyright text.
3046         (__libc_res_nsend): Document that MAXPACKET is expected.
3047         (send_vc): Document. Remove buffer reuse.
3048         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
3049         size of the buffer. Add Dprint for truncated UDP buffer.
3051 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
3053         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
3054         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
3055         * INSTALL: Regenerate.
3057 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
3058             Jonathan Wakely  <jwakely@redhat.com>
3059             Carlos O'Donell  <carlos@redhat.com>
3061         [BZ 19439]
3062         * math/Makefile (tests): Add test-math-isinff.
3063         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
3064         * math/bits/mathcalls.h [__USE_MISC]: Use
3065         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
3066         functions not in C++11 and which don't conflict e.g. isinff,
3067         isinfl etc.
3068         * math/test-math-isinff.cc: New file.
3070 2016-02-12  Florian Weimer  <fweimer@redhat.com>
3072         * misc/bug18240.c (do_test): Set RLIMIT_AS.
3074 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3076         [BZ #19529]
3077         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
3079 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3081         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3083 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
3085         [BZ #19550]
3086         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
3087         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
3088         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
3089         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
3090         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
3091         New syscall entry.
3092         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
3093         New syscall entry.
3094         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
3095         syscall entry.
3097 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
3099         [BZ #18240]
3100         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
3101         unsigned int wraparound.
3103 2016-01-27  Florian Weimer  <fweimer@redhat.com>
3105         [BZ #18240]
3106         * misc/bug18240.c: New test.
3107         * misc/Makefile (tests): Add it.
3109 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
3110             Joseph Myers  <joseph@codesourcery.com>
3112         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
3113         load in branch delay slot when less than a word of input left.
3115 2016-01-27  Andreas Schwab  <schwab@suse.de>
3117         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
3118         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
3119         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
3120         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
3122 2016-01-26  David S. Miller  <davem@davemloft.net>
3124         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
3126 2016-01-25  David S. Miller  <davem@davemloft.net>
3128         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
3129         __sqrtl_finite.
3130         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
3131         instead using versioned_symbol.
3132         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
3133         of entries.
3135         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
3136         __sqrtl_finite to GLIBC_2.23
3138 2016-01-25  Ricchard Henderson  <rth@redhat.com>
3140         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3142 2016-01-25  Andreas Schwab  <schwab@suse.de>
3144         [BZ #17514]
3145         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
3146         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
3147         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
3148         * nptl/tst-mutex-errorcheck.c: New file.
3150 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3152         [BZ #18560]
3153         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
3154         (IPCOP_semop): Likewise.
3155         (IPCOP_semget): Likewise.
3156         (IPCOP_semctl): Likewise.
3157         (IPCOP_msgsnd): Likewise.
3158         (IPCOP_msgrcv): Likewise.
3159         (IPCOP_msgget): Likewise.
3160         (IPCOP_msgctl): Likewise.
3161         (IPCOP_shmat): Likewise.
3162         (IPCOP_shmdt): Likewise.
3163         (IPCOP_shmget): Likewise.
3164         (IPCOP_shmctl): Likewise.
3166 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
3168         * string/tst-endian.c: Include <libc-internal.h>.
3169         (do_test): Ignore tautological-compare warnings around
3170         "htobeXX (beXXtoh (i)) != i" and
3171         "htoleXX (leXXtoh (i)) != i" if-statements.
3173 2016-01-24  David S. Miller  <davem@davemloft.net>
3175         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
3176         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
3177         alias.
3178         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
3179         __sqrtl_finite.
3181         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3183 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
3185         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
3186         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
3187         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3189 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3191         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
3192         (thread_func): Use new function to simplify barrier check.
3193         (do_test): Use new function to simplify checking barrier exit
3194         code, and actually join the child thread.
3196 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3198         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
3199         semicolon.
3200         (__libc_tend): Likewise.
3201         (__libc_tabort): Likewise.
3203 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
3205         * sysdeps/nios2/libm-test-ulps: Update.
3206         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
3207         (__gtsf2): Likewise.
3208         (__unorddf2): Likewise.
3209         (__unordsf2): Likewise.
3210         (__ledf2): Likewise.
3212 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
3214         * nis/nis_table.c (__follow_path): Disable diagnostic for
3215         uninitialized variable that is a false positive for gcc 4.7.
3216         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
3218 2016-01-20  Roland McGrath  <roland@hack.frob.com>
3220         * sysdeps/nacl/lowlevellock-futex.h
3221         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
3222         Always evaluate PRIVATE argument.
3224 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
3226         [BZ #19490]
3227         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
3228         (pthread_cond_broadcast): Use ENTRY/END
3229         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
3230         (pthread_cond_signal): Likewise.
3231         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
3232         Likewise.
3233         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
3234         Likewise.
3235         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
3236         Likewise.
3238 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
3240         * sysdeps/ieee754/dbl-64/s_finite.c
3241         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
3242         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
3243         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
3244         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
3245         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
3247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3248         (__gtsf2): Add as optional for libc.so.
3249         (__unordsf2): Likewise.
3250         (__signbit): Remove for libc.so.
3251         (__signbitl): Likewise.
3253 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3255         * iconvdata/bug-iconv11.c (test_ibm93x):
3256         Use %zu printf format specifier for size_t argument.
3258 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
3260         * math/gen-libm-test.pl (parse_ulps): Do not reduce
3261         already-recorded ulps.
3262         * sysdeps/arm/libm-test-ulps: Regenerated.
3263         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3264         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3265         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3267 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3268             Paul Pluzhnikov  <ppluzhnikov@google.com>
3270         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
3271         assembler not supporting AVX-512.
3273 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
3275         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3277 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
3279         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3280         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3282         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3284         * sysdeps/arm/libm-test-ulps: Regenerated.
3286 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
3288         [BZ #19451]
3289         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
3291 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
3293         [BZ #19486]
3294         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
3295         * sysdeps/generic/fix-fp-int-convert-overflow.h
3296         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
3297         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
3298         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
3299         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
3300         Likewise.
3301         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
3302         Avoid conversions to long int where inexact exceptions
3303         could be raised.
3304         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
3305         Likewise.
3306         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
3307         Avoid conversions to long long int where inexact exceptions
3308         could be raised.
3309         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
3310         Likewise.
3312 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
3314         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
3315         * configure: Regenerated.
3317 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
3319         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
3321 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
3323         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
3324         outside of comment.
3326 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3328         * nptl/tst-barrier1.c: Add description on first line.
3329         * nptl/tst-barrier2.c: Likewise.
3330         * nptl/tst-barrier3.c: Likewise.
3331         * nptl/tst-barrier4.c: Likewise.
3332         * nptl/tst-barrier5.c: Likewise.
3334 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3336         [BZ #18868]
3337         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
3339 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
3341         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
3342         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
3343         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
3344         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
3345         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
3346         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
3347         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3348         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3349         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3350         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3351         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3353 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3355         [BZ #13065]
3356         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
3357         new implementation.
3358         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
3359         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
3360         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
3361         (BARRIER_IN_THRESHOLD): New macro.
3362         * nptl/pthread_barrierattr_setpshared.c
3363         (pthread_barrierattr_setpshared): Clean up.
3364         * nptl/tst-barrier4.c: Correct comment.
3365         * nptl/tst-barrier5.c: New file.
3366         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
3367         (gen-as-const-headers): Remove lowlevelbarrier.sym.
3368         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
3369         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
3370         * nptl/lowlevelbarrier.sym: Remove.
3371         * nptl/DESIGN-barrier.txt: Remove.
3372         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
3373         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
3374         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
3375         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
3376         error.
3377         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
3378         implementation.
3380 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3382         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
3383         (do_child): Mask SIGRTMIN while thr is running.
3385 2016-01-15  Martin Sebor  <msebor@redhat.com>
3387         [BZ #19432]
3388         * iconvdata/Makefile: Add bug-iconv11.
3389         * iconvdata/bug-iconv11.c: New test.
3390         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
3391         * iconvdata/ibm933.c: Same.
3392         * iconvdata/ibm935.c: Same.
3393         * iconvdata/ibm937.c: Same.
3394         * iconvdata/ibm939.c: Same.
3396 2016-01-15  Martin Sebor  <msebor@redhat.com>
3398         [BZ #19443]
3399         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
3400         [DEBUG] (_ufc_set_bits): Declare used.
3401         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
3402         [DEBUG] (print_all): Declare used.
3403         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
3404         operands of the ternary ?: expression to target type.
3405         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
3406         calling the undeclared abort.
3407         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
3409 2016-01-15  Martin Sebor  <msebor@redhat.com>
3411         [BZ #18755]
3412         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
3413         warnings.
3414         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
3415         (__gai_create_helper_thread): Same.
3416         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
3417         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
3418         to suppress -Wmaybe-uninitialized warnings.
3420 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
3422         [BZ #19465]
3423         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
3424         inside if.
3425         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3426         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3427         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3429 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
3431         [BZ #19466]
3432         * time/tst-mktime2.c (time_t_max): Removed.
3433         (time_t_min): Likewise.
3434         (TYPE_SIGNED): New.
3435         (TYPE_MINIMUM): Likewise.
3436         (TYPE_MAXIMUM): Likewise.
3437         (TIME_T_MIN): Likewise.
3438         (TIME_T_MAX): Likewise.
3439         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
3440         and TIME_T_MIN.
3441         (do_test): Likewise.
3443 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
3445         [BZ #19467]
3446         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3447         index_Fast_Unaligned_Load flag for Excavator family CPUs.
3449 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
3451         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
3453 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
3455         * benchtests/Makefile (PYTHON): Define.
3456         (bench-func): Use $(PYTHON) to run python scripts.
3457         ($(objpfx)bench-%.c): Likewise.
3459 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
3461         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
3462         leading slash when `file_name' is "/".
3464 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
3466         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
3467         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
3468         Likewise.
3469         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
3470         Likewise.
3471         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
3472         Likewise.
3473         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
3474         enum constant and macro.
3475         (PTRACE_SETSIGMASK): Likewise.
3476         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3477         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
3478         (PTRACE_GETSIGMASK): Likewise.
3479         (PTRACE_SETSIGMASK): Likewise.
3480         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3481         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
3482         Likewise.
3483         (PTRACE_SETSIGMASK): Likewise.
3484         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3485         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
3486         (PTRACE_GETSIGMASK): Likewise.
3487         (PTRACE_SETSIGMASK): Likewise.
3488         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3489         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
3490         Likewise.
3491         (PTRACE_SETSIGMASK): Likewise.
3492         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3493         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
3494         Likewise.
3495         (PTRACE_SETSIGMASK): Likewise.
3496         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3497         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
3498         Likewise.
3499         (PTRACE_SETSIGMASK): Likewise.
3500         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3502 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
3503             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3505         [BZ #19439]
3506         * math/bits/mathcalls.h
3507         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
3508         prototype.
3509         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
3511 2016-01-11  Andreas Schwab  <schwab@suse.de>
3513         [BZ #19253]
3514         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
3515         cache when TZDEFRULES was used.
3516         * time/tst-tzname.c: New file.
3517         * time/Makefile (test): Add tst-tzname.
3518         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
3519         * timezone/Makefile (test-zones): Add $(posixrules-file).
3520         ($(testdata)/$(posixrules-file)): New rule.
3522 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
3524         Fix doc quoting problems with Texinfo 5
3525         Without this change, in the info file output, Texinfo 5 quotes code
3526         in text with undirected single quotes 'like this' and generates
3527         code examples that with many PDF readers cannot be cut out of PDFs
3528         and pasted into code.
3529         * manual/libc.texinfo: Configure the libc manual like the GNU
3530         Emacs manual, by using @documentencoding and setting
3531         txicodequoteundirected and txicodequotebacktick.  This way,
3532         Texinfo 5 quotes code in text with directed single quotes ‘like
3533         this’ and produces examples that can be cut out of PDFs.  This
3534         change causes Texinfo 5 to generate info files that contain UTF-8
3535         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
3536         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
3538 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3540         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
3541         __libc_tabort, __libc_tend): New wrappers that enforce compiler
3542         barriers to their respective compiler built-ins.
3543         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
3544         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
3545         * sysdeps/powerpc/sysdep.h: Likewise.
3546         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
3547         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
3548         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
3550 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
3552         * scripts/config.guess: Revert previous shebang change.
3553         * scripts/config.sub: Likewise.
3554         * scripts/mkinstalldirs: Likewise.
3556 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3558         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
3559         PPC_FEATURE2_HAS_IEEE128.
3560         * sysdeps/powerpc/dl-procinfo.c:
3561         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
3563 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
3565         [BZ #19415]
3566         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
3567         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
3568         (_dl_lookup_address): Rewrite using function resolver trampoline.
3569         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
3570         two bits in address.
3572 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
3574         * longlong.h: Change !__SHMEDIA__ to
3575         (!defined (__SHMEDIA__) || !__SHMEDIA__).
3576         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
3578 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
3579             Joseph Myers  <joseph@codesourcery.com>
3580             Mark Shinwell  <shinwell@codesourcery.com>
3581             Andrew Stubbs  <ams@codesourcery.com>
3582             Rich Felker <dalias@libc.org>
3584         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
3586 2016-01-07  Richard Henderson  <rth@redhat.com>
3588         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
3590 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
3592         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
3593         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
3594         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3595         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3596         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
3598 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
3599             Joseph Myers  <joseph@codesourcery.com>
3601         * timezone/private.h: Update from tzcode 2015g.
3602         * timezone/tzfile.h: Likewise.
3603         * timezone/tzselect.ksh: Likewise.
3604         * timezone/zdump.c: Likewise.
3605         * timezone/zic.c: Likewise.
3606         * timezone/ialloc.c: Remove file.
3607         * timezone/scheck.c: Likewise.
3608         * timezone/Makefile (extra-objs): Remove variable.
3609         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
3610         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
3611         -Wno-maybe-uninitialized.
3612         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
3613         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
3614         (CFLAGS-ialloc.c): Remove variable.
3615         (CFLAGS-scheck.c): Likewise.
3616         * timezone/README: Update list of files from tzcode.
3618 2016-01-07  Khem Raj  <raj.khem@gmail.com>
3620         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
3621         instead of __fxprintf when _LIBC is undefined.
3623 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
3625         * catgets/test-gencat.sh: Remove space after shebang.
3626         * conform/GlibcConform.pm: Likewise.
3627         * conform/check-header-lists.sh: Likewise.
3628         * conform/conformtest.pl: Likewise.
3629         * conform/linknamespace.pl: Likewise.
3630         * conform/list-header-symbols.pl: Likewise.
3631         * debug/catchsegv.sh: Likewise.
3632         * elf/genrtldtbl.awk: Likewise.
3633         * elf/tst-pathopt.sh: Likewise.
3634         * elf/tst-rtld-load-self.sh: Likewise.
3635         * grp/tst_fgetgrent.sh: Likewise.
3636         * iconvdata/gen-8bit-gap-1.sh: Likewise.
3637         * iconvdata/gen-8bit-gap.sh: Likewise.
3638         * iconvdata/gen-8bit.sh: Likewise.
3639         * iconvdata/run-iconv-test.sh: Likewise.
3640         * intl/tst-gettext.sh: Likewise.
3641         * intl/tst-gettext2.sh: Likewise.
3642         * intl/tst-gettext4.sh: Likewise.
3643         * intl/tst-gettext6.sh: Likewise.
3644         * intl/tst-translit.sh: Likewise.
3645         * io/ftwtest-sh: Likewise.
3646         * libio/test-freopen.sh: Likewise.
3647         * locale/gen-translit.pl: Likewise.
3648         * malloc/tst-mtrace.sh: Likewise.
3649         * manual/check-safety.sh: Likewise.
3650         * manual/libc-texinfo.sh: Likewise.
3651         * manual/tsort.awk: Likewise.
3652         * manual/xtract-typefun.awk: Likewise.
3653         * nptl/tst-cancel-wrappers.sh: Likewise.
3654         * nptl/tst-tls6.sh: Likewise.
3655         * posix/globtest.sh: Likewise.
3656         * posix/tst-getconf.sh: Likewise.
3657         * posix/wordexp-tst.sh: Likewise.
3658         * scripts/check-c++-types.sh: Likewise.
3659         * scripts/check-local-headers.sh: Likewise.
3660         * scripts/config.guess: Likewise.
3661         * scripts/config.sub: Likewise.
3662         * scripts/cpp: Likewise.
3663         * scripts/cross-test-ssh.sh: Likewise.
3664         * scripts/documented.sh: Likewise.
3665         * scripts/evaluate-test.sh: Likewise.
3666         * scripts/gen-libc-abis: Likewise.
3667         * scripts/gen-sorted.awk: Likewise.
3668         * scripts/list-fixed-bugs.py: Likewise.
3669         * scripts/merge-test-results.sh: Likewise.
3670         * scripts/mkinstalldirs: Likewise.
3671         * scripts/rellns-sh: Likewise.
3672         * scripts/test-installation.pl: Likewise.
3673         * scripts/update-copyrights: Likewise.
3674         * stdio-common/tst-printf.sh: Likewise.
3675         * stdio-common/tst-unbputc.sh: Likewise.
3676         * stdlib/tst-fmtmsg.sh: Likewise.
3677         * stdlib/tst-setcontext3.sh: Likewise.
3678         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
3679         * sysdeps/unix/make-syscalls.sh: Likewise.
3681 2016-01-06  John David Anglin  <dave.anglin@bell.net>
3683         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
3684         asm stw with atomic_exchange_rel.  Add explanatory comment.
3685         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
3686         Likewise.
3688 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
3690         [BZ #19122]
3691         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
3692         * sysdeps/generic/dl-unistd.h: New file.
3693         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
3695 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
3697          [BZ #19122]
3698          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
3699          * sysdeps/generic/dl-mman.h: New file.
3700          * sysdeps/mach/hurd/dl-mman.h: Likewise.
3702 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
3704         * manual/texinfo.tex: Update to version 2016-01-04.21 with
3705         trailing whitespace removed.
3706         * scripts/config.guess: Update to version 2016-01-01.
3707         * scripts/config.sub: Update to version 2016-01-01.
3708         * scripts/move-if-change: Update from gnulib.
3710 2016-01-04  Anton Blanchard  <anton@samba.org>
3712         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
3713         for array indices.
3714         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
3716 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
3718         * NEWS: Update copyright dates.
3719         * catgets/gencat.c (print_version): Likewise.
3720         * csu/version.c (banner): Likewise.
3721         * debug/catchsegv.sh: Likewise.
3722         * debug/pcprofiledump.c (print_version): Likewise.
3723         * debug/xtrace.sh (do_version): Likewise.
3724         * elf/ldconfig.c (print_version): Likewise.
3725         * elf/ldd.bash.in: Likewise.
3726         * elf/pldd.c (print_version): Likewise.
3727         * elf/sotruss.sh: Likewise.
3728         * elf/sprof.c (print_version): Likewise.
3729         * iconv/iconv_prog.c (print_version): Likewise.
3730         * iconv/iconvconfig.c (print_version): Likewise.
3731         * locale/programs/locale.c (print_version): Likewise.
3732         * locale/programs/localedef.c (print_version): Likewise.
3733         * login/programs/pt_chown.c (print_version): Likewise.
3734         * malloc/memusage.sh (do_version): Likewise.
3735         * malloc/memusagestat.c (print_version): Likewise.
3736         * malloc/mtrace.pl: Likewise.
3737         * manual/libc.texinfo: Likewise.
3738         * nptl/version.c (banner): Likewise.
3739         * nscd/nscd.c (print_version): Likewise.
3740         * nss/getent.c (print_version): Likewise.
3741         * nss/makedb.c (print_version): Likewise.
3742         * posix/getconf.c (main): Likewise.
3743         * scripts/test-installation.pl: Likewise.
3744         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3746         * All files with FSF copyright notices: Update copyright dates
3747         using scripts/update-copyrights.
3748         * intl/plural.c: Regenerated.
3749         * locale/programs/charmap-kw.h: Likewise.
3750         * locale/programs/locfile-kw.h: Likewise.
3752 2016-01-02  Helge Deller  <deller@gmx.de>
3754         [BZ #19285]
3755         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
3756         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
3757         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
3758         (MADV_xxK_PAGES): Remove.
3760 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
3762         [BZ #15421]
3763         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
3764         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
3765         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
3766         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
3768 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
3770         [BZ #19408]
3771         * sysdeps/unix/sysv/linux/personality.c: New file.
3772         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
3773         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
3774         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
3775         (sysdep_routines): Add personality.
3776         (tests): Add tst-personality.
3777         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
3778         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
3779         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
3780         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
3781         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
3782         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
3783         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
3784         Likewise.
3785         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
3786         Likewise.
3787         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
3788         Likewise.
3789         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
3790         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
3791         Likewise.
3793 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
3795         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
3796         (PATH_ARM_SYSTYPE): Remove.
3797         (PATH_CPUINFO): Likewise.
3798         (IO_BASE_FOOTBRIDGE): Likewise.
3799         (IO_SHIFT_FOOTBRIDGE): Likewise.
3800         (struct platform): Likewise.
3801         (init_iosys): Remove compatibility code for 2.4 kernels.
3802         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
3804 2015-12-29  Florian Weimer  <fweimer@redhat.com>
3806         * malloc/tst-malloc-thread-fail.c: New file.
3807         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
3808         (tst-malloc-thread-fail): Link against libpthread.
3810 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
3812         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
3813         (get_parser): New function.
3814         (main): New function.
3816 2015-12-29  Rob Wu  <rob@robwu.nl>
3818         [BZ #19369]
3819         * resolv/res_init.c (__res_vinit): Reset defdname before use.
3821 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
3823         [BZ #19270]
3824         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
3826 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
3828         [BZ #15421]
3829         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
3831 2015-12-23  Torvald Riegel  <triegel@redhat.com>
3833         [BZ #13690]
3834         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
3835         after releasing it.
3836         (__lll_robust_unlock): Likewise.
3837         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3838         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
3839         (lll_robust_unlock): Likewise.
3840         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
3841         Prevent warnings in callers.
3843 2015-12-23  Florian Weimer  <fweimer@redhat.com>
3845         * malloc/arena.c (list_lock): Update comment.
3847 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3849         * sysdeps/powerpc/hwcapinfo.c: Export symbol
3850         __parse_hwcap_and_convert_at_platform to libc.a.
3852 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3854         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
3855         platform and feature support for POWER9.
3856         * sysdeps/powerpc/dl-procinfo.h: Likewise.
3857         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
3858         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
3859         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
3860         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
3861         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
3862         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
3863         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
3865 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3867         Harmonize generic stdio-lock support with nptl
3869         This fixes build when _IO_funlockfile is a macro, fixes build where
3870         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
3871         stack unwind.
3873         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
3874         _IO_release_lock ): Use cleanup attribute on new
3875         _IO_acquire_lock_file variable instead of assuming that
3876         _IO_release_lock will be called.
3877         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
3878         _IO_acquire_lock_needs_exceptions_enabled.
3879         (_IO_acquire_lock_clear_flags2): New macro.
3881 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3883         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3885 2015-12-21  Florian Weimer  <fweimer@redhat.com>
3887         [BZ #19182]
3888         * malloc/arena.c (list_lock): Document lock ordering requirements.
3889         (free_list_lock): New lock.
3890         (ptmalloc_lock_all): Comment on free_list_lock.
3891         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
3892         (detach_arena): Update comment.  free_list_lock is now needed.
3893         (_int_new_arena): Use free_list_lock around detach_arena call.
3894         Acquire arena lock after list_lock.  Add comment, including FIXME
3895         about incorrect synchronization.
3896         (get_free_list): Switch to free_list_lock.
3897         (reused_arena): Acquire free_list_lock around detach_arena call
3898         and attached threads counter update.  Add two FIXMEs about
3899         incorrect synchronization.
3900         (arena_thread_freeres): Switch to free_list_lock.
3901         * malloc/malloc.c (struct malloc_state): Update comments to
3902         mention free_list_lock.
3904 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
3906         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
3907         Remove functions.
3908         (sloww, sloww1): Accept argument to offset quadrant.
3909         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
3910         quadrant.
3911         (__sin, __cos): Consolidate common code into new functions.
3912         (reduce_sincos_1, do_sincos_1): New functions.
3913         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
3915         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
3916         code to new functions.
3917         (reduce_sincos_2, do_sincos_2): New functions.
3918         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
3920         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
3921         common code for sincos.
3922         (__cos) [!IN_SINCOS]: Likewise.
3923         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
3924         New function.
3925         (__sincos): Use it.
3927 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
3929         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
3930         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
3931         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3933 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3935         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
3936         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
3937         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
3938         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
3939         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3940         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
3941         index_Prefer_No_VZEROUPPER): New feature.
3942         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
3943         Prefer_No_VZEROUPPER for Knights Landing.
3945 015-12-18  Torvald Riegel  <triegel@redhat.com>
3947         * math/atest-exp2.c (mp_exp_m1): Remove.
3949 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3951         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
3952         syscalls.
3953         (__SYSCALL0): New macro.
3954         (__SYSCALL1): Likewise.
3955         (__SYSCALL2): Likewise.
3956         (__SYSCALL3): Likewise.
3957         (__SYSCALL4): Likewise.
3958         (__SYSCALL5): Likewise.
3959         (__SYSCALL6): Likewise.
3960         (__SYSCALL_CONCAT_X): Likewise.
3961         (__SYSCALL_CONCAT): Likewise.
3962         (__SYSCALL_DIST): Likewise.
3963         (__SYSCALL_CALL): Likewise.
3965 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
3967         [BZ #19363]
3968         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
3970 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3972         [BZ #19375]
3973         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
3974         negative subnormals.
3976 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
3978         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3979         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
3980         (INTERNAL_SYSCALL_NCS): Use it.
3981         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3983 2015-12-16  Florian Weimer  <fweimer@redhat.com>
3985         [BZ #19243]
3986         * malloc/arena.c (get_free_list): Remove assert and adjust
3987         reference count handling.  Add comment about reused_arena
3988         interaction.
3989         (reused_arena): Add comments abount get_free_list interaction.
3990         * malloc/tst-malloc-thread-exit.c: New file.
3991         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
3992         (tst-malloc-thread-exit): Link against libpthread.
3994 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
3996         [BZ #19367]
3997         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
3998         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
3999         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
4000         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
4001         (index_Prefer_MAP_32BIT_EXEC): Likewise.
4003 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
4005         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
4006         Silvermont optimizations for Knights Landing.
4008 2015-12-15  Andreas Schwab  <schwab@suse.de>
4010         [BZ #17197]
4011         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
4012         immediately after emitting SI.
4013         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
4014         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
4015         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
4016         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
4017         * iconvdata/bug-iconv10.c: New file.
4018         * iconvdata/Makefile (tests): Add bug-iconv10.
4019         ($(objpfx)bug-iconv10.out): New rule.
4021 2015-12-15  Florian Weimer  <fweimer@redhat.com>
4023         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
4024         aliasing violation.
4026 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
4028         [BZ #18472]
4029         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
4030         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
4031         conditionals for them.
4032         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
4033         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
4034         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
4035         sys/kdaemon.h.
4036         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
4037         compat-only syscall, obsoleted in glibc 2.23.
4038         (create_module): Likewise.
4039         (get_kernel_syms): Likewise.
4040         (query_module): Likewise.
4041         (uselib): Likewise.
4042         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
4044 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
4046         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
4047         <linux/version.h>.
4048         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
4049         conditional code.
4050         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
4051         and ioshift_name initialization.
4053 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
4055         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
4056         Fix indentation.
4058 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
4060         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
4062 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
4064         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
4066 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
4067             Jakub Wilk  <jwilk@debian.org>
4069         [BZ #19347]
4070         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
4071         to change the group of the device to the tty group.
4073 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
4075         Split large string section; add truncation advice
4076         * manual/examples/strncat.c: Remove.
4077         This example was misleading, as the code would have undefined
4078         behavior if "hello" was longer than SIZE.  Anyway, the manual
4079         shouldn't encourage strncpy+strncat for this sort of thing.
4080         * manual/string.texi (Copying Strings and Arrays): Split into
4081         three sections Copying Strings and Arrays, Concatenating Strings,
4082         and Truncating Strings, as this section was way too long.  All
4083         cross-referenced changed.  Add advice about string-truncation
4084         functions.  Remove misleading strncat example.
4086 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
4088         * manual/nss.texi (NSS Modules Interface): Document
4089         NSS_STATUS_NOTFOUND and SUCCESS.
4091 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
4093         [BZ 18568]
4094         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4095         201505L, for Unicode 8.
4097 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
4099         * locale/C-translit.h: Regenerate.
4101 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
4103         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
4104         and U+0153.
4106 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
4108         [BZ #19351]
4109         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
4110         expanding log(1+z), compare z rather than its square with epsilon
4111         to determine when to avoid evaluating the expansion.
4113         [BZ #19350]
4114         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
4115         Increase overflow threshold.
4117         [BZ #19349]
4118         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
4119         when small.
4121         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4122         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
4123         New macro.
4124         [__LINUX_KERNEL_VERSION >= 0x040300]
4125         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4126         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
4127         Likewise.
4128         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
4129         Likewise.
4130         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
4131         Likewise.
4132         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
4133         Likewise.
4134         [__LINUX_KERNEL_VERSION >= 0x040300]
4135         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
4136         [__LINUX_KERNEL_VERSION >= 0x040300]
4137         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4138         [__LINUX_KERNEL_VERSION >= 0x040300]
4139         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4140         [__LINUX_KERNEL_VERSION >= 0x040300]
4141         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4142         [__LINUX_KERNEL_VERSION >= 0x040300]
4143         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4144         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
4145         Likewise.
4146         [__LINUX_KERNEL_VERSION >= 0x040300]
4147         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4148         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4149         Likewise.
4150         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
4151         Likewise.
4152         [__LINUX_KERNEL_VERSION >= 0x040300]
4153         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
4154         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4155         Likewise.
4156         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
4157         Likewise.
4158         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4159         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
4160         Likewise.
4161         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
4162         Likewise.
4163         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
4164         Likewise.
4165         [__LINUX_KERNEL_VERSION >= 0x040300]
4166         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4167         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
4168         Likewise.
4169         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
4170         Likewise.
4171         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
4172         Likewise.
4173         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
4174         Likewise.
4175         [__LINUX_KERNEL_VERSION >= 0x040300]
4176         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
4177         [__LINUX_KERNEL_VERSION >= 0x040300]
4178         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4179         [__LINUX_KERNEL_VERSION >= 0x040300]
4180         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4181         [__LINUX_KERNEL_VERSION >= 0x040300]
4182         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4183         [__LINUX_KERNEL_VERSION >= 0x040300]
4184         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4185         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
4186         Likewise.
4187         [__LINUX_KERNEL_VERSION >= 0x040300]
4188         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4189         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4190         Likewise.
4191         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
4192         Likewise.
4193         [__LINUX_KERNEL_VERSION >= 0x040300]
4194         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
4195         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4196         Likewise.
4197         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
4198         Likewise.
4199         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4200         (__ASSUME_SOCKET_SYSCALL): Likewise.
4201         (__ASSUME_BIND_SYSCALL): Likewise.
4202         (__ASSUME_CONNECT_SYSCALL): Likewise.
4203         (__ASSUME_LISTEN_SYSCALL): Likewise.
4204         (__ASSUME_ACCEPT_SYSCALL): Likewise.
4205         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4206         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4207         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4208         (__ASSUME_SEND_SYSCALL): Likewise.
4209         (__ASSUME_SENDTO_SYSCALL): Likewise.
4210         (__ASSUME_RECV_SYSCALL): Likewise.
4211         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4212         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
4213         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4214         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4215         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4216         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4217         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4218         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
4219         Likewise.
4220         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
4221         Likewise.
4222         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
4223         Likewise.
4224         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
4225         Likewise.
4226         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
4227         Likewise.
4228         [__LINUX_KERNEL_VERSION >= 0x020625]
4229         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4230         [__LINUX_KERNEL_VERSION >= 0x020625]
4231         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4232         [__LINUX_KERNEL_VERSION >= 0x020625]
4233         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4234         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
4235         Likewise.
4236         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
4237         Likewise.
4238         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
4239         Likewise.
4240         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
4241         Likewise.
4242         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
4243         Likewise.
4244         [__LINUX_KERNEL_VERSION >= 0x020625]
4245         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4246         [__LINUX_KERNEL_VERSION >= 0x020625]
4247         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4248         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
4249         Likewise.
4250         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
4251         Likewise.
4253 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
4255         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
4256         record the current if the current ABI and CPU support the FP64
4257         extension.
4258         (has-modd-spreg): Define to record the current if the current ABI and
4259         CPU support 32-bit floating point values in odd FPU registers.
4260         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4261         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
4262         $(has-modd-spreg) equals yes.
4263         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
4264         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
4265         $(has-modd-spreg) equal yes.
4267 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
4269         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
4270         basename.
4272 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
4274         * benchtests/Makefile (bench-math): Move ffs and ffsll...
4275         (bench-string): ... here.
4276         (bench): Add bench-string.
4277         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
4278         to *-benchset to reflect what they are.
4279         (benchset): Adjust.
4281         * benchtests/sincos-inputs: Add inputs from sin-inputs and
4282         cos-inputs.
4284 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
4286         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
4287         __attribute__ ((__simd__)) for vector math function declarations.
4289 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
4291         Fix typo in strncat, wcsncat manual entries
4292         * manual/string.texi (Copying and Concatenation): Fix typos in
4293         sample implementations of strncat and wcsncat, by having them use
4294         the old value of the destination length, not the new one.
4296 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
4298         [BZ #16961]
4299         [BZ #16962]
4300         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
4301         string on the stack for strtod.
4302         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
4303         a string on the stack for strtof.
4304         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
4305         constructing a string on the stack for strtold.
4306         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
4307         __strtold_nan to GLIBC_PRIVATE.
4308         * math/test-nan-overflow.c: New file.
4309         * math/test-nan-payload.c: Likewise.
4310         * math/Makefile (tests): Add test-nan-overflow and
4311         test-nan-payload.
4313 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
4315         Consistency about byte vs character in string.texi
4316         * manual/string.texi (String and Array Utilities):
4317         Distinguish more carefully among bytes, multibyte characters,
4318         and wide characters.  Use "byte" when talking about C 'char',
4319         to distinguish it more clearly from multibyte characters.
4320         Say "wide character" or "multibyte character" instead of
4321         "character", when a wide or multibyte character is intended.
4322         Similarly for "multibyte string" versus "string".
4323         Define these terms more carefully.
4325 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
4327         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
4328         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
4329         Likewise.
4330         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
4331         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
4332         * sysdeps/sh/math_private.h: New file.
4333         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
4334         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
4335         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
4336         long double function name.
4337         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4338         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4339         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4340         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4341         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
4343         Remove __finitel, __isinfl, and __isnanl.
4344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4345         Likewise.
4346         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4348         Remove __finitel.
4349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4350         Likewise.
4351         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4353 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
4355         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
4356         installed libmvec_nonshared.a.
4358 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4360         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
4361         (sysdep_routines): Likewise.
4362         (sysdep-rtld-routines): Likewise.
4363         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
4364         [$(subdir) = nptl](tests-static): test-get_hwcap-static
4365         * sysdeps/powerpc/Versions: Added new
4366         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
4367         * sysdeps/powerpc/hwcapinfo.c: New file.
4368         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
4369         and parse hwcap, hwcap2 and platform number information.
4370         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
4371         to store HWCAP+HWCAP2 and platform number.
4372         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
4373         for HWCAP+HWCAP2 and platform number in the TCB.
4374         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
4375         the HWCAP, HWCAP2 and platform number in the TCB.
4376         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
4377         (TLS_INIT_TP): Included calls to add the hwcap and
4378         at_platform values in the TCB in TP initialization.
4379         (TLS_DEFINE_INIT_TP): Likewise.
4380         (THREAD_GET_HWCAP): New macro.
4381         (THREAD_SET_HWCAP): Likewise.
4382         (THREAD_GET_AT_PLATFORM): Likewise.
4383         (THREAD_SET_AT_PLATFORM): Likewise.
4384         * sysdeps/powerpc/powerpc32/dl-machine.h:
4385         (dl_platform_init): New function that calls
4386         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
4387         powerpc32.
4388         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
4389         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
4390         this functionality, static linking case.
4391         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
4392         linking case.
4393         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
4394         __parse_hwcap_and_convert_at_platform for the static linking case.
4395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
4396         Included the new __parse_hwcap_and_convert_at_platform symbol in the
4397         ABI list for GLIBC 2.23.
4398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
4399         Likewise.
4400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
4401         Likewise.
4403 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
4405         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
4406         * configure: Regenerate.
4407         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
4408         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
4410 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
4412         * iconvdata/ibm930.c: Add comment explaining encoding uses.
4413         * iconvdata/ibm933.c: Likewise.
4414         * iconvdata/ibm935.c: Likewise.
4415         * iconvdata/ibm937.c: Likewise.
4416         * iconvdata/ibm939.c: Likewise.
4418 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4420         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
4421         pthread_join.
4422         * nptl/tst-cancel21.c (tf): Likewise.
4424 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
4426         [BZ #19313]
4427         * bits/typesizes.h (__CPU_MASK_TYPE): New.
4428         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
4429         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
4430         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
4431         Likewise.
4432         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
4433         Likewise.
4434         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
4435         Likewise.
4436         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
4437         Likewise.
4438         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
4439         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
4440         unsigned long int with __CPU_MASK_TYPE.
4442 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4444         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4446 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
4448         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
4449         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
4450         t512.x.
4451         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
4453 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
4455         [BZ #19214]
4456         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
4457         argument to return extended model.  Update family and model
4458         with extended family and model when family == 0x0f.
4459         (init_cpu_features): Updated.
4461 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4463         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
4464         signed off_t, so 32bit bigger than 2GiB values are fine actually.
4466         * sysdeps/mach/hurd/mmap64.c: New file.
4468 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
4470         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
4471         rights for its main user thread in NEWTASK.
4473 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
4475         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
4476         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
4478 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
4480         [BZ #14259]
4481         * Makeconfig: Rename localedir to complocaledir.
4482         Rename inst_localedir to inst_complocaledir.
4483         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
4484         * config.make.in: Use complocaledir and libc_cv_complocaledir.
4485         * configure.ac: Use libc_cv_complocaledir.
4486         * configure: Regenerate.
4487         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
4488         -DCOMPLOCALEDIR.
4489         * locale/findlocale.c: Use COMPLOCALEDIR.
4490         * locale/loadarchive.c: Likewise.
4491         * locale/programs/locale.c: Likewise.
4492         * locale/programs/localedef.c: Likewise.
4493         * locale/programs/locarchive.c: Likewise.
4494         * localedata/Makefile: Use inst_complocaledir.
4495         * sysdeps/gnu/configure: Regenerate.
4496         * sysdeps/hppa/configure: Regenerate.
4497         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
4498         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4500         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
4501         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
4502         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
4503         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
4505 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
4507         [BZ #19058]
4508         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
4509         AS_NEEDED.
4510         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
4511         workaround.
4512         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
4513         libmvec-static-only-routines): Added new file.
4514         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
4516 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4518         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
4519         of interrupted RPC instead of restoring it.
4521         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
4522         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
4523         libc_hidden_def.
4524         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
4525         into initialized data instead of common. Define rtld_hidden_data_def.
4526         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
4527         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
4528         libc_hidden_def.
4529         (if_freenameindex): Add libc_hidden_weak.
4530         (if_nameindex): Add libc_hidden_weak.
4531         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
4532         __open64.
4533         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
4534         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
4535         * sysdeps/mach/nanosleep.c: Include <time.h>
4536         (__nanosleep): Rename to __libc_nanosleep.
4537         (__nanosleep): Add weak_alias.
4538         (nanosleep): Update alias.
4540 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
4542         * stdlib/strtod_nan.c: New file.
4543         * stdlib/strtod_nan_double.h: Likewise.
4544         * stdlib/strtod_nan_float.h: Likewise.
4545         * stdlib/strtod_nan_main.c: Likewise.
4546         * stdlib/strtod_nan_narrow.h: Likewise.
4547         * stdlib/strtod_nan_wide.h: Likewise.
4548         * stdlib/strtof_nan.c: Likewise.
4549         * stdlib/strtold_nan.c: Likewise.
4550         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
4551         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
4552         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
4553         * wcsmbs/wcstod_nan.c: Likewise.
4554         * wcsmbs/wcstof_nan.c: Likewise.
4555         * wcsmbs/wcstold_nan.c: Likewise.
4556         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
4557         strtold_nan.
4558         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
4559         wcstof_nan.
4560         * include/stdlib.h (__strtof_nan): Declare and use
4561         libc_hidden_proto.
4562         (__strtod_nan): Likewise.
4563         (__strtold_nan): Likewise.
4564         (__wcstof_nan): Likewise.
4565         (__wcstod_nan): Likewise.
4566         (__wcstold_nan): Likewise.
4567         * include/wchar.h (____wcstoull_l_internal): Declare.
4568         * stdlib/strtod_l.c: Do not include <ieee754.h>.
4569         (____strtoull_l_internal): Remove declaration.
4570         (STRTOF_NAN): Define macro.
4571         (SET_MANTISSA): Remove macro.
4572         (STRTOULL): Likewise.
4573         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
4574         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
4575         (STRTOF_NAN): Define macro.
4576         (SET_MANTISSA): Remove macro.
4577         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
4578         (SET_MANTISSA): Remove macro.
4579         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
4580         macro.
4581         (SET_MANTISSA): Remove macro.
4582         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
4583         macro.
4584         (SET_MANTISSA): Remove macro.
4585         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
4586         (SET_MANTISSA): Remove macro.
4587         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
4588         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
4589         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
4591         [BZ #19266]
4592         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
4593         upper case and lower case letters inside NAN(), not using TOLOWER.
4594         * stdlib/tst-strtod-nan-locale-main.c: New file.
4595         * stdlib/tst-strtod-nan-locale.c: Likewise.
4596         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
4597         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
4598         Depend on $(gen-locales).
4599         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
4600         * wcsmbs/tst-wcstod-nan-locale.c: New file.
4601         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
4602         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
4603         Depend on $(gen-locales).
4604         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
4606 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
4608         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
4610         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
4611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
4612         __finitel, __isinfl, and __isnanl.
4613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4614         Likewise.
4615         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
4617         __finitel.
4618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4619         Likewise.
4620         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4622 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
4624         * malloc/memusage.c (me): Remove redundant getenv call.
4626 2015-10-24  Florian Weimer  <fweimer@redhat.com>
4628         [BZ #19143]
4629         [BZ #19164]
4630         * nptl/check-cpuset.h: Remove.
4631         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
4632         Remove CPU set size check.
4633         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
4634         Likewise.
4635         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
4636         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4637         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
4638         (__pthread_setaffinity_new): Remove CPU set size check.
4639         * sysdeps/unix/sysv/linux/sched_setaffinity.c
4640         (__kernel_cpumask_size): Remove.
4641         (__sched_setaffinity_new): Remove CPU set size check.
4642         * manual/threads.texi (Default Thread Attributes): Remove stale
4643         reference to check_cpuset_attr, determine_cpumask_size in comment.
4644         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
4645         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
4646         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
4647         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
4648         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
4649         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
4650         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
4651         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
4652         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
4653         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
4654         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
4655         skeleton test file.
4656         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
4657         tst-affinity-pid.
4659 2015-11-24  Florian Weimer  <fweimer@redhat.com>
4661         * scripts/update-abilist.sh: New file.
4662         * Makefile (+subdir_targets): Add subdir_update-all-abi.
4663         * Makerules (update-all-abi-%, update-all-abi)
4664         (subdir_update-all-abi): New targets.
4665         * elf/Makefile (update-all-abi): New target.
4667 2015-11-24  Florian Weimer  <fweimer@redhat.com>
4669         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
4670         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
4671         (__libc_lock_define_initialized): Use it.
4672         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
4673         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
4674         * malloc/malloc.c (main_arena): Likewise.
4675         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
4676         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
4678 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
4680         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
4681         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
4682         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
4683         (PTRACE_O_MASK): Update value.
4684         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
4685         New value in enum __ptrace_setoptions.
4686         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
4687         (PTRACE_O_MASK): Update value.
4688         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
4689         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
4690         (PTRACE_O_MASK): Update value.
4691         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
4692         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
4693         (PTRACE_O_MASK): Update value.
4694         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
4695         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
4696         (PTRACE_O_MASK): Update value.
4697         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
4698         New value in enum __ptrace_setoptions.
4699         (PTRACE_O_MASK): Update value.
4700         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
4701         New value in enum __ptrace_setoptions.
4702         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
4703         (PTRACE_O_MASK): Update value.
4705         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
4706         New macro.
4707         (PACKET_AUXDATA): Likewise.
4708         (PACKET_ORIGDEV): Likewise.
4709         (PACKET_VERSION): Likewise.
4710         (PACKET_HDRLEN): Likewise.
4711         (PACKET_RESERVE): Likewise.
4712         (PACKET_TX_RING): Likewise.
4713         (PACKET_LOSS): Likewise.
4714         (PACKET_VNET_HDR): Likewise.
4715         (PACKET_TX_TIMESTAMP): Likewise.
4716         (PACKET_TIMESTAMP): Likewise.
4717         (PACKET_FANOUT): Likewise.
4718         (PACKET_TX_HAS_OFF): Likewise.
4719         (PACKET_QDISC_BYPASS): Likewise.
4720         (PACKET_ROLLOVER_STATS): Likewise.
4721         (PACKET_FANOUT_DATA): Likewise.
4722         (PACKET_MR_UNICAST): Likewise.
4724         [BZ #19242]
4725         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
4726         (TOUPPER): Likewise.
4727         * stdlib/tst-strtol-locale-main.c: New file.
4728         * stdlib/tst-strtol-locale.c: Likewise.
4729         * stdlib/Makefile (tests): Add tst-strtol-locale.
4730         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
4731         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
4732         Depend on $(gen-locales).
4733         * wcsmbs/tst-wcstol-locale.c: New file.
4734         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
4735         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
4736         tr_TR.ISO-8859-9.
4737         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
4738         Depend on $(gen-locales).
4740 2015-11-20  Roland McGrath  <roland@hack.frob.com>
4742         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
4743         __glibc_likely instead of __builtin_expect.  After falling back to
4744         dyncode_create in a non-ET_DYN case, use the allocate_code_data
4745         system interface to register the code pages as occupied.
4747 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
4749         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4750         [!ARM_MATH_PRIVATE_H].
4751         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
4752         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4753         [!HPPA_MATH_PRIVATE_H].
4754         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
4755         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
4756         to [!I386_MATH_PRIVATE_H].
4757         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
4758         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
4759         Change guard to [!M68K_MATH_PRIVATE_H].
4760         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
4761         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
4762         guard to [!MICROBLAZE_MATH_PRIVATE_H].
4763         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
4764         macro.
4765         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4766         [!MIPS_MATH_PRIVATE_H].
4767         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
4768         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4769         [!NIO2_MATH_PRIVATE_H].
4770         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
4771         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4772         [!TILE_MATH_PRIVATE_H].
4773         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
4775         [BZ #15421]
4776         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
4777         initialize with 0 and define as weak alias of __signgam.
4778         * include/math.h [!_ISOMAC] (__signgam): Declare.
4779         * math/Makefile (libm-calls): Add w_lgamma_compat.
4780         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
4781         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
4782         test-signgam-ullong-init.
4783         (tests-static): Add test-signgam-uchar-static,
4784         test-signgam-uchar-init-static, test-signgam-uint-static,
4785         test-signgam-uint-init-static, test-signgam-ullong-static and
4786         test-signgam-ullong-init-static.
4787         (CFLAGS-test-signgam-uchar.c): New variable.
4788         (CFLAGS-test-signgam-uchar-init.c): Likewise.
4789         (CFLAGS-test-signgam-uchar-static.c): Likewise.
4790         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
4791         (CFLAGS-test-signgam-uint.c): Likewise.
4792         (CFLAGS-test-signgam-uint-init.c): Likewise.
4793         (CFLAGS-test-signgam-uint-static.c): Likewise.
4794         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
4795         (CFLAGS-test-signgam-ullong.c): Likewise.
4796         (CFLAGS-test-signgam-ullong-init.c): Likewise.
4797         (CFLAGS-test-signgam-ullong-static.c): Likewise.
4798         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
4799         * math/Versions (libm): Add GLIBC_2.23.
4800         * math/lgamma-compat.h: New file.
4801         * math/test-signgam-main.c: Likewise.
4802         * math/test-signgam-uchar-init-static.c: Likewise.
4803         * math/test-signgam-uchar-init.c: Likewise.
4804         * math/test-signgam-uchar-static.c: Likewise.
4805         * math/test-signgam-uchar.c: Likewise.
4806         * math/test-signgam-uint-init-static.c: Likewise.
4807         * math/test-signgam-uint-init.c: Likewise.
4808         * math/test-signgam-uint-static.c: Likewise.
4809         * math/test-signgam-uint.c: Likewise.
4810         * math/test-signgam-ullong-init-static.c: Likewise.
4811         * math/test-signgam-ullong-init.c: Likewise.
4812         * math/test-signgam-ullong-static.c: Likewise.
4813         * math/test-signgam-ullong.c: Likewise.
4814         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
4815         wrapper of w_lgamma_main.c.
4816         * math/w_lgamma_compat.c: New file.
4817         * math/w_lgamma_compatf.c: Likewise.
4818         * math/w_lgamma_compatl.c: Likewise.
4819         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
4820         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
4821         defining compatibility symbols.
4822         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
4823         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
4824         wrapper of w_lgammaf_main.c.
4825         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
4826         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
4827         defining compatibility symbols.
4828         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
4829         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
4830         wrapper of w_lgammal_main.c.
4831         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
4832         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
4833         defining compatibility symbols.
4834         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
4835         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
4836         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
4837         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
4838         <lgamma-compat.h>.
4839         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
4840         (__ieee754_gamma): Define as alias.
4841         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
4842         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
4843         <lgamma-compat.h>.
4844         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
4845         (__ieee754_gammaf): Define as alias.
4846         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
4847         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
4848         <lgamma-compat.h>.
4849         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
4850         (__ieee754_gammal): Define as alias.
4851         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
4852         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
4853         <math/w_lgamma_compat.c>.
4854         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
4855         Define as alias of __lgamma_compat and use in defining lgammal.
4856         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
4857         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
4858         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
4859         (USE_AS_COMPAT): New macro.
4860         (LGAMMA_OLD_VER): Undefine and redefine.
4861         (lgammal): Do not define here.
4862         (gammal): Only define here if [GAMMA_ALIAS].
4863         * conform/linknamespace.pl (@whitelist): Remove signgam.
4864         * sysdeps/nacl/libm.abilist: Update.
4865         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4866         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4867         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4868         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4869         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4870         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4871         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4872         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4873         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4874         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4875         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4876         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4878         Likewise.
4879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4880         Likewise.
4881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4882         Likewise.
4883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4884         Likewise.
4885         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4886         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4887         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4888         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4889         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4890         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4891         Likewise.
4892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4893         Likewise.
4894         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4895         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4896         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4898 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4900         [BZ #16364]
4901         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
4902         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
4904 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4906         * sysdeps/s390/fpu/bits/mathinline.h:
4907         Use __asm__ [__volatile__] instead of asm [volatile].
4908         * sysdeps/s390/abort-instr.h: Likewise.
4909         * sysdeps/s390/atomic-machine.h: Likewise.
4910         * sysdeps/s390/bits/string.h: Likewise.
4911         * sysdeps/s390/dl-tls.h: Likewise.
4912         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
4913         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
4914         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
4915         * sysdeps/s390/fpu/fesetround.c: Likewise.
4916         * sysdeps/s390/fpu/fpu_control.h: Likewise.
4917         * sysdeps/s390/fpu/s_fma.c: Likewise.
4918         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
4919         * sysdeps/s390/memusage.h: Likewise.
4920         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
4921         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
4922         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
4923         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
4924         * sysdeps/s390/nptl/tls.h: Likewise.
4925         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
4926         * sysdeps/s390/s390-32/backtrace.c: Likewise.
4927         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4928         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
4929         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4930         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
4931         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
4932         * sysdeps/s390/s390-64/backtrace.c: Likewise.
4933         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4934         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
4935         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
4936         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4937         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
4938         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
4939         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
4940         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
4941         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
4942         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4943         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
4944         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4945         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
4946         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4947         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
4949 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4950             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4952         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
4953         Add lwarx hint, and use macro for acquire instruction.
4954         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4955         Likewise.
4956         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
4957         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
4958         update to use new atomic macros.
4960 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4962         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4963         (__lll_trylock_elision): Fix setting of adapt_count.
4964         * sysdeps/unix/sysv/linux/powerpc/htm.h
4965         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
4966         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
4967         (_ABORT_SYSCALL): Renumber, and clarify definition.
4968         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
4970 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4972         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
4973         after system headers to prevent MIN/MAX redefinition.  Define
4974         HAVE_ALLOCA to preserve builtin alloca usage.
4976 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
4978         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
4979         static and don't set or restore rounding.
4980         (__cos)[IN_SINCOS]: Likewise.
4981         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
4982         (__sincos): Set and restore rounding mode.  Remove check for infinite
4983         or NaN input.
4985         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
4987         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
4988         as used.
4990 2015-11-16  Florian Weimer  <fweimer@redhat.com>
4992         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
4994 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
4996         * config.make.in (have-glob-dat-reloc): New.
4997         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
4998         target supports GLOB_DAT relocaton. AC_SUBST.
4999         * configure: Regenerated.
5000         * elf/Makefile (tests): Add tst-prelink.
5001         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
5002         (tst-prelink-ENV): New.
5003         ($(objpfx)tst-prelink-conflict.out): Likewise.
5004         ($(objpfx)tst-prelink-cmp.out): Likewise.
5005         * sysdeps/x86/tst-prelink.c: Moved to ...
5006         * elf/tst-prelink.c: Here.
5007         * sysdeps/x86/tst-prelink.exp: Moved to ...
5008         * elf/tst-prelink.exp: Here.
5009         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
5010         (tst-prelink-ENV): Removed.
5011         ($(objpfx)tst-prelink-conflict.out): Likewise.
5012         ($(objpfx)tst-prelink-cmp.out): Likewise.
5013         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
5015 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
5017         [BZ #14551]
5018         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
5019         (__mpn_construct_long_double): If high part overflows to infinity,
5020         set errno and recompute overflowed result of the correct sign.
5021         * sysdeps/ieee754/ldbl-128ibm/Makefile
5022         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
5023         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
5024         $(libm).
5025         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
5027 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
5029         [BZ #15479]
5030         [BZ #19238]
5031         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
5032         floating-point state after first operation on input.  Restore full
5033         state rather than just rounding mode.
5034         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
5035         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
5036         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
5038         [BZ #19235]
5039         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
5040         add 0.5 to integer arguments.
5041         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
5042         Likewise.
5043         (.LC2): New object.
5045 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
5047         * scripts/pylintrc (reports): Set to no.
5049 2015-11-10  Roland McGrath  <roland@hack.frob.com>
5051         * elf/dl-load.c (open_verify): Take new argument FD.
5052         Skip __open call if passed FD is not -1.
5053         (_dl_map_object, open_path): Update callers.
5054         * elf/dl-sysdep-open.h: New file.
5055         * elf/dl-load.c: Include it.
5056         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
5057         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
5058         * sysdeps/nacl/dl-sysdep-open.h: New file.
5059         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
5060         from libc to rtld.
5062 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
5064         [BZ #19228]
5065         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
5066         and restore full floating-point state.
5067         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5068         Likewise.
5069         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
5070         Likewise.
5071         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
5072         Likewise.
5073         * math/test-nearbyint-except-2.c: New file.
5074         * math/Makefile (tests): Add test-nearbyint-except-2.
5076 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
5078         [BZ #19178]
5079         * sysdeps/x86/Makefile (tests): Add tst-prelink.
5080         (tst-prelink-ENV): New.
5081         ($(objpfx)tst-prelink-conflict.out): Likewise.
5082         ($(objpfx)tst-prelink-cmp.out): Likewise.
5083         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
5084         * sysdeps/x86/tst-prelink.c: New file.
5085         * sysdeps/x86/tst-prelink.exp: Likewise.
5087 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
5089         * math/auto-libm-test-in: Add another test of pow.
5090         * math/auto-libm-test-out: Regenerated.
5091         * math/libm-test.inc (pow_test_data): Add another test.
5093 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5095         [BZ #19219]
5096         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
5097         weak_alias to nearbyintl.
5099 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
5101         * sysdeps/aarch64/bits/string.h: New file.
5102         (_STRING_ARCH_unaligned): Define.
5104 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
5106         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
5107         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5108         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5109         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
5110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
5112 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
5114         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
5115         for original name of the DSO.  Add it to the name list of the DSO
5116         if it is actually given.
5117         (_dl_map_object): Keep track of whether an audit module rewrote
5118         the file name.  If yes, pass the original name to
5119         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
5120         debugging is enabled, log the change of the file name.
5121         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
5122         _dl_map_object_from_fd.
5123         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
5124         * elf/tst-audit11.c: New file
5125         * elf/tst-auditmod11.c: New file.
5126         * elf/tst-audit11mod1.c: New file.
5127         * elf/tst-audit11mod2.c: New file.
5128         * elf/tst-audit11mod2.map: New file.
5129         * elf/tst-audit12.c: New file
5130         * elf/tst-auditmod12.c: New file.
5131         * elf/tst-audit12mod1.c: New file.
5132         * elf/tst-audit12mod2.c: New file.
5133         * elf/tst-audit12mod2.map: New file.
5134         * elf/tst-audit12mod3.c: New file.
5136 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5138         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
5139         Don't create weak aliases,
5140         because versioned symbols are created later.
5141         * sysdeps/s390/s390-32/setjmp.S
5142         (setjmp, _setjmp): Remove weak and rename to an unique name
5143         in SHARED case due to existing versioned symbols.
5144         * sysdeps/s390/s390-64/setjmp.S: Likewise.
5145         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
5146         (getcontext): Create weak alias only in non SHARED case.
5147         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5149 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5151         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
5152         (__ASSUME_*_SYSCALL) Define new macros.
5153         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
5154         Remove socketcall syscalls.
5155         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
5156         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
5157         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
5158         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
5159         * sysdeps/unix/sysv/linux/send.c (__libc_send):
5160         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
5162 2015-11-09  Florian Weimer  <fweimer@redhat.com>
5164         [BZ #12926]
5165         Terminate process on invalid netlink response.
5166         * sysdeps/unix/sysv/linux/netlinkaccess.h
5167         (__netlink_assert_response): Declare.
5168         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
5169         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
5170         (sysdep_routines): Add netlink_assert_response.
5171         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
5172         __netlink_assert_response.
5173         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
5174         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
5175         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
5176         __netlink_assert_response.
5178 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
5180         [BZ #19178]
5181         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
5182         (RTYPE_CLASS_PLT): Likewise.
5183         (RTYPE_CLASS_COPY): Likewise.
5184         (RTYPE_CLASS_TLS): Likewise.
5185         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
5186         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
5187         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
5188         DL_DEBUG_PRELINK.
5190 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
5192         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
5193         calls with argument -0.5.
5194         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
5196         * configure.ac (libc_cv_z_nodelete): Remove configure test.
5197         (libc_cv_z_nodlopen): Likewise.
5198         (libc_cv_z_initfirst): Likewise.
5199         * configure: Regenerated.
5201 2015-11-06  Florian Weimer  <fweimer@redhat.com>
5203         Simplify abilist format to be line-based.
5204         * scripts/abilist.awk: Collect descriptors in the descs variable.
5205         (emit): Write descs variable and sort it
5206         externally, with sort.
5207         * sysdeps/**/*.abilist: Convert to new format.
5209 2015-11-06  Mark Wielaard  <mjw@redhat.com>
5211         [BZ #11460]
5212         * io/Makefile (routines): Add fts64.
5213         (tests): Add tst-fts and tst-fts-lfs.
5214         (CFLAGS-fts64.c): New.
5215         * io/Versions (GLIBC_2.23): New.
5216         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
5217         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
5218         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
5219         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
5220         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
5221         (FTSENT64): Likewise.
5222         (fts64_children): Likewise.
5223         (fts64_close): Likewise.
5224         (fts64_open): Likewise.
5225         (fts64_read): Likewise.
5226         (fts64_set): Likewise.
5227         * io/fts64.c: New file.
5228         * io/tst-fts.c: New test.
5229         * io/tst-fts-lfs.c: Likewise.
5230         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
5231         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
5232         fts64_set.
5233         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5234         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5235         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5236         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5237         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5238         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5239         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5240         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5241         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5242         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5243         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5244         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5245         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5247         Likewise.
5248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5249         Likewise.
5250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5252         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5253         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5254         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5255         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5256         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5257         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5258         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5259         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5260         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5261         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5262         * sysdeps/wordsize-64/fts.c: New file.
5263         * sysdeps/wordsize-64/fts64.c: Likewise.
5264         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
5265         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
5266         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
5267         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
5269 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
5271         * math/libm-test.inc (NON_FINITE): New macro.
5272         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
5273         * math/gen-libm-test.pl (show_exceptions): Add argument
5274         $non_finite.
5275         (parse_args): Update call to show_exceptions.
5276         * math/test-math-finite.h: New file.
5277         * math/test-math-no-finite.h: Likewise.
5278         * math/test-double-finite.c: Likewise.
5279         * math/test-float-finite.c: Likewise.
5280         * math/test-ldouble-finite.c: Likewise.
5281         * math/test-double.c: Include "test-math-no-finite.h".
5282         * math/test-float.c: Include "test-math-no-finite.h".
5283         * math/test-ldouble.c: Include "test-math-no-finite.h".
5284         * math/test-math-inline.h (TEST_FINITE): New macro.
5285         * math/test-math-vector.h (TEST_FINITE): Likewise.
5286         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
5287         (libm-tests): Add test-float-finite and test-double-finite.
5288         ($(objpfx)test-float-finite.o): New dependency on
5289         $(objpfx)libm-test.stmp.
5290         ($(objpfx)test-double-finite.o): Likewise.
5291         ($(objpfx)test-ldouble-finite.o): Likewise.
5292         (libm-test-no-inline-cflags): New variable.
5293         (libm-test-finite-cflags): Likewise.
5294         (CFLAGS-test-float-finite.c): Likewise.
5295         (CFLAGS-test-double-finite.c): Likewise.
5296         (CFLAGS-test-ldouble-finite.c): Likewise.
5297         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
5298         (CFLAGS-test-double.c): Likewise.
5299         (CFLAGS-test-ldouble.c): Likewise.
5301 2015-11-05  Roland McGrath  <roland@hack.frob.com>
5303         * io/fcntl.c (__fcntl): Add ... to prototype.
5304         * misc/ioctl.c (__ioctl): Likewise.
5305         * misc/syscall.c (syscall): Likewise.
5307 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
5309         * scripts/list-fixed-bugs.py: New file.
5311         [BZ #19213]
5312         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
5313         returned for argument 1.
5314         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
5315         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
5316         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
5317         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
5318         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
5319         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
5321         [BZ #19211]
5322         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
5323         __USE_XOPEN], not if [!__USE_ISOC99].
5324         (lgammaf): Likewise.
5325         (lgammal): Likewise.
5326         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
5327         (gammaf): Likewise.
5328         (gammal): Likewise.
5329         * math/test-signgam-finite-c11.c: New file.
5330         * math/test-signgam-finite-c99.c: Likewise.
5331         * math/test-signgam-finite.c: Likewise.
5332         * math/Makefile (tests): Add test-signgam-finite,
5333         test-signgam-finite-c99 and test-signgam-finite-c11.
5334         (CFLAGS-test-signgam-finite.c): New variable.
5335         (CFLAGS-test-signgam-finite-c99.c): Likewise.
5336         (CFLAGS-test-signgam-finite-c11.c): Likewise.
5338         [BZ #19212]
5339         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
5340         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
5341         500].
5342         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
5343         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
5344         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
5345         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
5346         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
5347         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
5348         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
5349         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
5350         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
5351         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
5353         [BZ #19209]
5354         * math/bits/math-finite.h (ldexp): Remove declaration.
5355         (ldexpf): Likewise.
5356         (ldexpl): Likewise.
5358         [BZ #19205]
5359         * math/bits/math-finite.h (acosf): Condition declaration on
5360         [__USE_ISOC99].
5361         (acosl): Likewise.
5362         (acoshf): Likewise.
5363         (acoshl): Likewise.
5364         (asinf): Likewise.
5365         (asinl): Likewise.
5366         (atan2f): Likewise.
5367         (atan2l): Likewise.
5368         (atanhf): Likewise.
5369         (atanhl): Likewise.
5370         (coshf): Likewise.
5371         (coshl): Likewise.
5372         (expf): Likewise.
5373         (expl): Likewise.
5374         (fmodf): Likewise.
5375         (fmodl): Likewise.
5376         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
5377         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
5378         (j0l): Likewise.
5379         (y0f): Likewise.
5380         (y0l): Likewise.
5381         (j1f): Likewise.
5382         (j1l): Likewise.
5383         (y1f): Likewise.
5384         (y1l): Likewise.
5385         (jnf): Likewise.
5386         (jnl): Likewise.
5387         (ynf): Likewise.
5388         (ynl): Likewise.
5389         (lgammaf_r): Condition declaration on [__USE_ISOC99].
5390         (lgammal_r): Likewise.
5391         (__lgamma_r_finite): New declaration.
5392         (__lgammaf_r_finite): Likewise.
5393         (__lgammal_r_finite): Likewise.
5394         (lgamma): Use __lgamma_r_finite.
5395         (lgammaf): Condition definition on [__USE_ISOC99].  Use
5396         __lgammaf_r_finite.
5397         (lgammal): Condition definition on [__USE_ISOC99].  Use
5398         __lgammal_r_finite.
5399         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
5400         __lgamma_r_finite.
5401         (gammaf): Condition definition on [__USE_ISOC99].  Use
5402         __lgammaf_r_finite.
5403         (gammal): Condition definition on [__USE_ISOC99].  Use
5404         __lgammal_r_finite.
5405         (logf): Condition declaration on [__USE_ISOC99].
5406         (logl): Likewise.
5407         (log10f): Likewise.
5408         (log10l): Likewise.
5409         (ldexpf): Likewise.
5410         (ldexpl): Likewise.
5411         (powf): Likewise.
5412         (powl): Likewise.
5413         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
5414         __USE_ISOC99].
5415         (remainderf): Condition declaration on [__USE_ISOC99].
5416         (remainderl): Likewise.
5417         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
5418         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
5419         (scalbl): Likewise.
5420         (sinhf): Condition declaration on [__USE_ISOC99].
5421         (sinhl): Likewise.
5422         (sqrtf): Likewise.
5423         (sqrtl): Likewise.
5425 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
5427         * sysdeps/arm/atomic-machine.h
5428         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
5429         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
5430         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
5431         Remove conditional code.
5432         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
5433         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
5434         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
5435         Change conditional to [__ASSEMBLER__].
5436         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
5437         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
5438         [!__ASSEMBLER__].
5439         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
5440         code.
5441         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
5442         conditional macro definitions.
5443         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
5444         (__arch_compare_and_exchange_val_16_acq): Likewise.
5445         (__arch_compare_and_exchange_val_32_acq): Likewise.
5446         (atomic_exchange_and_add): Likewise.
5447         (atomic_add): Likewise.
5448         (atomic_add_negative): Likewise.
5449         (atomic_add_zero): Likewise.
5450         (atomic_bit_set): Likewise.
5451         (atomic_bit_test_set): Likewise.
5452         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
5453         code unconditional.
5454         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5456         * math/test-math-errno.h: New file.
5457         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
5458         empty.
5459         (TEST_ERRNO): New macro.
5460         (TEST_EXCEPTIONS): Likewise.
5461         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
5462         (TEST_EXCEPTIONS): Likewise.
5463         * math/test-math-vector.h (TEST_ERRNO): Likewise.
5464         * math/test-double.c: Include "test-math-errno.h".
5465         * math/test-float.c: Likewise.
5466         * math/test-ldouble.c: Likewise.
5467         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
5468         code unconditional.
5469         (test_exceptions): Only run code if TEST_EXCEPTIONS.
5470         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
5471         unconditional.
5472         (test_errno): Only run code if TEST_ERRNO.
5473         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
5475 2015-11-04  Florian Weimer  <fweimer@redhat.com>
5477         * nptl/tst-once5.cc: Remove attribution.
5479 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
5481         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
5482         sqrt, tan, tanh, y0, y1 and yn.
5483         * math/auto-libm-test-out: Regenerated.
5484         * math/libm-test.inc (scalb_test_data): Add more tests.
5485         (scalbn_test_data): Likewise.
5486         (scalbln_test_data): Likewise.
5487         (signbit_test_data): Likewise.
5488         (sin_test_data): Likewise.
5489         (sincos_test_data): Likewise.
5490         (sinh_test_data): Likewise.
5491         (sqrt_test_data): Likewise.
5492         (tan_test_data): Likewise.
5493         (tanh_test_data): Likewise.
5494         (tgamma_test_data): Likewise.
5495         (y0_test_data): Likewise.
5496         (y1_test_data): Likewise.
5497         (yn_test_data): Likewise.
5498         (significand_test_data): Likewise.
5499         * sysdeps/i386/fpu/libm-test-ulps: Update.
5501 2015-11-03  David Kastrup  <dak@gnu.org>
5503         [BZ #18604]
5504         * assert/assert.h (assert): Don't macro-expand failed assertion
5505         expression in error message.
5506         * malloc/malloc.c (assert): Likewise.
5508 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
5510         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
5511         test.
5512         * configure: Regenerated.
5514 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
5516         * math/libm-test.inc (modf_test_data): Add more tests.
5517         (nearbyint_test_data): Likewise.
5518         (nextafter_test_data): Likewise.
5519         (nexttoward_test_data): Likewise.
5520         (pow_test_data): Likewise.
5521         (remainder_test_data): Likewise.
5522         (remquo_test_data): Likewise.
5523         (rint_test_data): Likewise.
5525         [BZ #19201]
5526         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5527         Check for zero remainder in case of large exponents and ensure
5528         correct sign of result in that case.
5529         * math/libm-test.inc (remainder_test_data): Add more tests.
5531         [BZ #6799]
5532         * math/s_nextafter.c: Include <errno.h>.
5533         (__nextafter): Set errno on overflow and underflow.
5534         * math/s_nexttowardf.c: Include <errno.h>.
5535         (__nexttowardf): Set errno on overflow and underflow.
5536         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
5537         (__nextafterl): Set errno on overflow and underflow.
5538         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
5539         (__nexttoward): Set errno on overflow and underflow.
5540         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
5541         (__nexttowardf): Set errno on overflow and underflow.
5542         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
5543         (__nextafterf): Set errno on overflow and underflow.
5544         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
5545         (__nextafterl): Set errno on overflow and underflow.
5546         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
5547         (__nexttoward): Set errno on overflow and underflow.
5548         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
5549         (__nexttowardf): Set errno on overflow and underflow.
5550         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
5551         (__nextafterl): Set errno on overflow and underflow.
5552         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
5553         (__nexttoward): Set errno on overflow and underflow.
5554         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
5555         (__nexttowardf): Set errno on overflow and underflow.
5556         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
5557         (__nexttoward): Set errno on overflow and underflow.
5558         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
5559         (__nexttowardf): Set errno on overflow and underflow.
5560         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
5561         (__nldbl_nexttowardf): Set errno on overflow and underflow.
5562         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
5563         (__nextafterl): Set errno on overflow and underflow.
5564         * math/libm-test.inc (nextafter_test_data): Do not allow errno
5565         setting to be missing on overflow.  Add more tests.
5566         (nexttoward_test_data): Likewise.
5568         * configure.ac (libc_cv_initfini_array): Remove configure test.
5569         * configure: Regenerated.
5571 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
5573         [BZ #19189]
5574         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
5575         non-finite argument handle arguments with negative sign.
5577         * math/libm-test.inc (j0_test_data): Do not test sign of zero
5578         result from infinite argument.
5579         (j1_test_data): Likewise.
5580         (jn_test_data): Likewise.
5581         (y0_test_data): Likewise.
5582         (y1_test_data): Likewise.
5583         (yn_test_data): Likewise.
5585         [BZ #16171]
5586         * math/w_remainder.c (drem): Define as weak alias of __remainder.
5587         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
5588         * math/w_remainderf.c (dremf): Define as weak alias of
5589         __remainderf.
5590         * math/w_remainderl.c (dreml): Define as weak alias of
5591         __remainderl.
5592         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
5593         __remainder.
5594         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
5595         __remainderf.
5596         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
5597         __remainderl.
5598         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
5599         weak alias of remainderl.
5600         * sysdeps/ieee754/ldbl-opt/w_remainder.c
5601         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
5602         alias of __remainder.
5603         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
5604         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
5605         strong alias of __remainderl.
5606         (dreml): Use long_double_symbol.
5607         * math/Makefile (libm-calls): Remove w_drem.
5608         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
5609         (CFLAGS-nldbl-drem.c): Remove variable.
5610         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
5611         * math/w_drem.c: Remove file.
5612         * math/w_dremf.c: Likewise.
5613         * math/w_dreml.c: Likewise.
5614         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
5615         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
5616         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
5618         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
5619         * sysdeps/i386/configure: Regenerated.
5620         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
5621         * sysdeps/x86_64/configure: Regenerated.
5623         * configure.ac (libc_cv_asm_protected_directive): Remove configure
5624         test.
5625         (libc_cv_visibility_attribute): Likewise.
5626         (libc_cv_protected_data): Test unconditionally.
5627         (libc_cv_broken_visibility_attribute): Remove configure test.
5628         (libc_cv_have_sdata_section): Test unconditionally.
5629         * configure: Regenerated.
5631         * include/libc-internal.h (libc_max_align_t): Remove typedef.
5632         * include/scratch_buffer.h: Include <stddef.h> instead of
5633         <libc-internal.h>.
5634         (struct scratch_buffer): Use max_align_t instead of
5635         libc_max_align_t.
5637 2015-10-29  Florian Weimer  <fweimer@redhat.com>
5639         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
5640         instead of extend_alloca.  Change control flow to avoid a goto.
5641         Remove assert which is trivially always true.
5643 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
5645         [BZ #16068]
5646         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
5647         (FE_ALL_EXCEPT_X86): New macro.
5648         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
5649         FE_ALL_EXCEPT.  Ensure precision control is included in
5650         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
5651         handle "denormal operand exception" and clear FZ and DAZ bits.
5652         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
5653         (FE_ALL_EXCEPT_X86): New macro.
5654         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
5655         FE_ALL_EXCEPT.  Ensure precision control is included in
5656         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
5657         handle "denormal operand exception" and clear FZ and DAZ bits.
5658         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
5659         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
5660         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5661         test-fenv-x87 and test-fenv-sse-2.
5662         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
5664         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
5665         * math/test-double.h (BUILD_COMPLEX): New macro.
5666         * math/test-float.h (BUILD_COMPLEX): Likewise.
5667         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
5669         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
5670         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
5671         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
5672         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
5673         instead of DBL_DENORM_MIN in comment.
5674         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
5675         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
5676         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
5677         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
5678         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
5679         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
5681 2015-10-28  Florian Weimer  <fweimer@redhat.com>
5683         [BZ# 19048]
5684         * malloc/malloc.c (struct malloc_state): Update comment.  Add
5685         attached_threads member.
5686         (main_arena): Initialize attached_threads.
5687         * malloc/arena.c (list_lock): Update comment.
5688         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
5689         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
5690         (deattach_arena): New function.
5691         (_int_new_arena): Initialize arena reference count and deattach
5692         replaced arena.
5693         (get_free_list, reused_arena): Update reference count and deattach
5694         replaced arena.
5695         (arena_thread_freeres): Update arena reference count and only put
5696         unreferenced arenas on the free list.
5698 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
5700         [BZ #19181]
5701         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
5702         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
5703         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
5704         * math/test-fenv-clear-main.c: New file.
5705         * math/test-fenv-clear.c: Likewise.
5706         * math/Makefile (tests): Add test-fenv-clear.
5707         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
5708         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5709         test-fenv-clear-sse.
5710         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
5712         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
5713         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
5714         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
5716 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5718         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
5719         static libc.
5721 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
5723         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
5724         test.
5725         * sysdeps/i386/configure: Regenerated.
5726         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
5727         test.
5728         * sysdeps/x86_64/configure: Regenerated.
5729         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
5730         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5731         memset-avx2 unconditionally instead of conditionally on
5732         [$(config-cflags-avx2) = yes].
5733         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5734         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
5735         unconditional.
5736         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
5737         * sysdeps/x86_64/multiarch/memset_chk.S
5738         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
5739         to [IS_IN (libc) && SHARED].
5741 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
5743         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
5744         configure test.
5745         * sysdeps/arm/configure: Regenerated.
5746         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
5747         Define variable if not already defined.
5749         [BZ #17404]
5750         * sysdeps/mips/atomic-machine.h
5751         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
5752         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
5753         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
5755         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
5756         unconditional.
5757         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
5758         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5759         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
5760         unconditional.
5761         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5762         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
5763         unconditional.
5764         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5765         * stdlib/setenv.c
5766         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
5767         code unconditional.
5768         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
5769         Remove conditional code.
5770         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
5771         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
5772         unconditional.
5773         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
5774         code.
5775         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
5776         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
5777         unconditional.
5778         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
5779         code.
5780         * sysdeps/ieee754/ldbl-128/k_tanl.c
5781         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
5782         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5783         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
5784         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
5785         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5786         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
5787         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
5788         unconditional.
5789         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
5790         code.
5791         * sysdeps/ieee754/ldbl-96/k_tanl.c
5792         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
5793         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5795         * nptl/tst-initializers1-c11.c: New file.
5796         * nptl/tst-initializers1-gnu11.c: Likewise.
5797         * nptl/Makefile (tests): Add these new tests.
5798         (CFLAGS-tst-initializers1-c11.c): New variable.
5799         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
5801         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
5802         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
5803         instead of -std=gnu99.
5804         * configure.ac (systemtap): Test with -std=gnu11 instead of
5805         -std=gnu99.
5806         * configure: Regenerated.
5807         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
5808         in compilation command in comment.
5810         * sysdeps/nptl/configure.ac: Remove file.
5811         * sysdeps/nptl/configure: Remove generated file.
5812         * configure.ac (libc_cv_forced_unwind): Do not substitute.
5813         * configure: Regenerated.
5814         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
5815         * config.make.in (have-forced-unwind): Remove variable.
5816         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
5817         unconditional.
5818         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
5819         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
5820         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
5821         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
5822         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
5823         unconditional.
5825 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5827         [BZ #19174]
5828         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
5829         .skip_lock_out_of_tbegin_retries.
5830         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5831         (__lll_lock_elision): Likewise, and respect a value of
5832         try_tbegin <= 0.
5834 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5836         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
5837         statement.
5839 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
5841         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
5842         variable.
5843         (test-xfail-ISO11/stdalign.h/conform): Likewise.
5844         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5846         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
5847         of -std=c1x -D_ISOC11_SOURCE.
5849         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
5850         * configure: Regenerated.
5851         * manual/install.texi (Tools for Compilation): Document
5852         requirement for GCC 4.7 or later.
5853         * INSTALL: Regenerated.
5855 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
5857         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
5858         on CNT to a conditional jump to 'puntdata'.
5860 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
5862         * configure.ac (libc_cv_gcc___thread): Remove configure test.
5863         (libc_cv_gcc_tls_model_attr): Likewise.
5864         * configure: Regenerated.
5866         * configure.ac (libc_cv_need_minus_P): Remove configure test.
5867         * configure: Regenerated.
5868         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
5870 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
5872         * configure.ac (old_glibc_headers): Remove configure test.
5873         * configure: Regenerated.
5874         * config.make.in (old-glibc-headers): Remove variable.
5875         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
5876         (install): Remove dependency on remove-old-headers.
5877         (headers2_0): Remove variable.
5878         (remove-old-headers): Remove rule.
5880         * configure.ac (libc_cv_dot_text): Remove configure test.
5881         (libc_cv_asm_set_directive): Use .text instead of
5882         ${libc_cv_dot_text} in configure test.
5883         * configure: Regenerated.
5885 2015-10-26  Florian Weimer  <fweimer@redhat.com>
5887         [BZ #19168]
5888         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5890 2015-10-26  Florian Weimer  <fweimer@redhat.com>
5892         * configure.ac (CXX): Clear the variable if the C++ toolchain does
5893         not support static linking.
5894         * configure: Regenerate.
5896 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
5898         * math/libm-test.inc (check_float_internal): Do not special-case
5899         errors up to 0.5 ulp.
5901         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5902         log2.
5903         * math/auto-libm-test-out: Regenerated.
5904         * math/libm-test.inc (MAX_EXP): New macro.
5905         (ilogb_test_data): Add more tests.
5906         (isfinite_test_data): Likewise.
5907         (isgreater_test_data): Likewise.
5908         (isgreaterequal_test_data): Likewise.
5909         (isinf_test_data): Likewise.
5910         (isless_test_data): Likewise.
5911         (islessequal_test_data): Likewise.
5912         (islessgreater_test_data): Likewise.
5913         (isnan_test_data): Likewise.
5914         (isnormal_test_data): Likewise.
5915         (issignaling_test_data): Likewise.
5916         (isunordered_test_data): Likewise.
5917         (j0_test_data): Likewise.
5918         (j1_test_data): Likewise.
5919         (jn_test_data): Likewise.
5920         (lgamma_test_data): Likewise.
5921         (log_test_data): Likewise.
5922         (log10_test_data): Likewise.
5923         (log1p_test_data): Likewise.
5924         (log2_test_data): Likewise.
5925         (logb_test_data): Likewise.
5926         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5928         [BZ #18611]
5929         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
5930         avoid excess range and precision on underflow.
5931         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5932         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
5933         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5934         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
5935         underflow.
5936         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5937         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5938         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5939         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5940         * math/auto-libm-test-in: Do not allow missing errno setting for
5941         tests of j1 and jn.
5942         * math/auto-libm-test-out: Regenerated.
5944 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
5946         [BZ #15491]
5947         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
5948         floating-point environment instead of clearing all exceptions.
5949         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5950         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
5951         merging in "invalid" exceptions from frndint.
5952         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
5953         * math/test-nearbyint-except.c: New file.
5954         * math/Makefile (tests): Add test-nearbyint-except.
5956 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
5958         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
5960         * sysdeps/tile/libm-test-ulps: Regenerated.
5962 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
5965         (__NR_sync_file_range2): Assume it is always defined.
5966         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
5967         (__NR_sync_file_range): Assume it is always defined.
5969 2015-10-22  Andreas Schwab  <schwab@suse.de>
5971         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
5972         INTERNAL_SYSCALL_ERRNO.
5973         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5974         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
5975         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5976         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
5977         Likewise.
5978         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5980 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
5982         * io/tst-fcntl.c (fd): New static variable.
5983         (do_prepare): Open temporary file here....
5984         (do_test): ...not here.
5986         * io/ftwtest-sh: Also trap on exit to remove temporary files.
5988 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
5990         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
5991         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
5992         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
5993         Moved before "#ifdef __ASSEMBLER__".
5995 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
5997         [BZ #19156]
5998         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
5999         arguments very close to 0.
6001 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
6003         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
6004         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
6006 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
6008         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
6009         New.  Defined for GCC 5 and above when not compiling for
6010         profiling.
6011         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
6013         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
6014         Renamed to ...
6015         (CFLAGS-epoll_pwait.o): This.
6016         (CFLAGS-mmap.c): Renamed to ...
6017         (CFLAGS-mmap.o): This.
6018         (CFLAGS-mmap64.c): Renamed to ...
6019         (CFLAGS-mmap64.o): This.
6020         (CFLAGS-epoll_pwait.os): New.
6021         (CFLAGS-mmap.os): Likewise.
6022         (CFLAGS-mmap64.os): Likewise.
6023         (CFLAGS-semtimedop.os): Likewise.
6024         (CFLAGS-semtimedop.c): Renamed to ...
6025         (CFLAGS-semtimedop.o): This.
6027 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6029         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
6030         warning message.
6032 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
6034         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
6035         * Makefile ($(objpfx)c++-types-check.out): Filter out
6036         $(+gccwarn-c) instead of -Wstrict-prototypes.
6038         * io/fts.c (fts_open): Convert to prototype-style function
6039         definition.
6040         * malloc/mcheck.c (mcheck): Likewise.
6041         (mcheck_pedantic): Likewise.
6042         * posix/regexec.c (re_search_2_stub): Likewise.  Use
6043         internal_function.
6044         (re_search_internal): Likewise.
6045         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
6046         prototype-style function definition.
6047         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6048         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
6049         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
6050         (xdr_utmpptr): Likewise.
6051         (xdr_utmparr): Likewise.
6052         (xdr_utmpidle): Likewise.
6053         (xdr_utmpidleptr): Likewise.
6054         (xdr_utmpidlearr): Likewise.
6056         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
6057         log, log10 and log2.
6058         * math/auto-libm-test-out: Regenerated.
6059         * math/libm-test.inc (fmod_test_data): Add more tests.
6060         (fpclassify_test_data): Likewise.
6061         (frexp_test_data): Likewise.
6062         (hypot_test_data): Likewise.
6063         (ilogb_test_data): Likewise.
6065 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
6067         * debug/fortify_fail.c (__fortify_fail): Convert to
6068         prototype-style function definition.  Use internal_function.
6069         * libio/genops.c (save_for_backup): Convert to prototype-style
6070         function definition.
6071         * libio/wgenops.c (save_for_wbackup): Likewise.
6072         * login/grantpt.c (grantpt): Likewise.
6073         * login/ptsname.c (ptsname): Likewise.
6074         (__ptsname_r): Likewise.
6075         * login/unlockpt.c (unlockpt): Likewise.
6076         * mach/msgserver.c (__mach_msg_server): Likewise.
6077         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
6078         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
6079         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
6080         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
6081         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
6082         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
6083         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
6084         Likewise.
6085         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
6086         internal_function.
6087         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
6088         prototype-style function definition.
6089         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
6090         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
6091         (__pthread_create_2_0): Likewise.
6092         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
6093         * nptl/register-atfork.c (__register_atfork): Likewise.
6094         * posix/glob.c (glob): Likewise.
6095         * posix/regcomp.c (re_comp): Likewise.
6096         * posix/regexec.c (re_exec): Likewise.
6097         * stdlib/add_n.c [__STDC__]: Make code unconditional.
6098         [!__STDC__]: Remove conditional code.
6099         * stdlib/cmp.c [__STDC__]: Make code unconditional.
6100         [!__STDC__]: Remove conditional code.
6101         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
6102         [!__STDC__]: Remove conditional code.
6103         * stdlib/divrem.c [__STDC__]: Make code unconditional.
6104         [!__STDC__]: Remove conditional code.
6105         * stdlib/lshift.c [__STDC__]: Make code unconditional.
6106         [!__STDC__]: Remove conditional code.
6107         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
6108         [!__STDC__]: Remove conditional code.
6109         * stdlib/mul.c [__STDC__]: Make code unconditional.
6110         [!__STDC__]: Remove conditional code.
6111         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
6112         [!__STDC__]: Remove conditional code.
6113         * stdlib/rshift.c [__STDC__]: Make code unconditional.
6114         [!__STDC__]: Remove conditional code.
6115         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
6116         function definition.
6117         (STRTOF): Likewise.
6118         * stdlib/strtod_l.c (__STRTOF): Likewise.
6119         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
6120         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
6121         (__strtol_l): Likewise.
6122         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
6123         [!__STDC__]: Remove conditional code.
6124         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
6125         definition.
6126         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
6127         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6128         type.
6129         (__strcasecmp): Convert to prototype-style function definition.
6130         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
6131         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6132         type.
6133         (__strncasecmp): Convert to prototype-style function definition.
6134         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
6135         * sunrpc/xdr.c (xdr_union): Likewise.
6136         * sunrpc/xdr_array.c (xdr_array): Likewise.
6137         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
6138         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
6139         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
6140         Likewise.
6141         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
6142         Likewise.
6143         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
6144         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6145         Likewise.
6146         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
6147         (LOCALE_PARAM_PROTO): Likewise.
6148         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
6149         argument type.
6150         (ut_argument_spec): Remove macro.
6151         (ut_argument_spec_iso): Rename to ut_argument_spec.
6152         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
6153         prototype-style function definition.
6154         (memcpy_uppcase): Likewise.
6155         (__strftime_internal): Likewise.
6156         (my_strftime): Likewise.
6157         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
6158         (LOCALE_PARAM_DECL): Likewise.
6159         [_LIBC] (LOCALE_PARAM): Include argument type.
6160         (__strptime_internal): Convert to prototype-style function
6161         definition.
6162         (strptime): Likewise.
6163         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
6164         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6165         type.
6166         (__wcscasecmp): Convert to prototype-style function definition.
6167         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
6168         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6169         type.
6170         (__wcsncasecmp): Convert to prototype-style function definition.
6172         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
6173         function definition.
6174         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6175         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6176         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
6177         * elf/dl-minimal.c (_itoa): Likewise.
6178         * hurd/hurdmalloc.c (malloc): Likewise.
6179         (free): Likewise.
6180         (realloc): Likewise.
6181         * inet/inet6_option.c (inet6_option_space): Likewise.
6182         (inet6_option_init): Likewise.
6183         (inet6_option_append): Likewise.
6184         (inet6_option_alloc): Likewise.
6185         (inet6_option_next): Likewise.
6186         (inet6_option_find): Likewise.
6187         * io/ftw.c (FTW_NAME): Likewise.
6188         (NFTW_NAME): Likewise.
6189         (NFTW_NEW_NAME): Likewise.
6190         (NFTW_OLD_NAME): Likewise.
6191         * libio/iofwide.c (_IO_fwide): Likewise.
6192         * libio/strops.c (_IO_str_init_static_internal): Likewise.
6193         (_IO_str_init_static): Likewise.
6194         (_IO_str_init_readonly): Likewise.
6195         (_IO_str_overflow): Likewise.
6196         (_IO_str_underflow): Likewise.
6197         (_IO_str_count): Likewise.
6198         (_IO_str_seekoff): Likewise.
6199         (_IO_str_pbackfail): Likewise.
6200         (_IO_str_finish): Likewise.
6201         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
6202         (_IO_wstr_overflow): Likewise.
6203         (_IO_wstr_underflow): Likewise.
6204         (_IO_wstr_count): Likewise.
6205         (_IO_wstr_seekoff): Likewise.
6206         (_IO_wstr_pbackfail): Likewise.
6207         (_IO_wstr_finish): Likewise.
6208         * locale/programs/localedef.c (normalize_codeset): Likewise.
6209         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
6210         (add_locales_to_archive): Likewise.
6211         (delete_locales_from_archive): Likewise.
6212         * malloc/malloc.c (__libc_mallinfo): Likewise.
6213         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
6214         * misc/tsearch.c (__tfind): Likewise.
6215         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
6216         * nptl/pthread_attr_getdetachstate.c
6217         (__pthread_attr_getdetachstate): Likewise.
6218         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
6219         Likewise.
6220         * nptl/pthread_attr_getinheritsched.c
6221         (__pthread_attr_getinheritsched): Likewise.
6222         * nptl/pthread_attr_getschedparam.c
6223         (__pthread_attr_getschedparam): Likewise.
6224         * nptl/pthread_attr_getschedpolicy.c
6225         (__pthread_attr_getschedpolicy): Likewise.
6226         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
6227         Likewise.
6228         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
6229         Likewise.
6230         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
6231         Likewise.
6232         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
6233         Likewise.
6234         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
6235         (__pthread_attr_init_2_0): Likewise.
6236         * nptl/pthread_attr_setdetachstate.c
6237         (__pthread_attr_setdetachstate): Likewise.
6238         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
6239         Likewise.
6240         * nptl/pthread_attr_setinheritsched.c
6241         (__pthread_attr_setinheritsched): Likewise.
6242         * nptl/pthread_attr_setschedparam.c
6243         (__pthread_attr_setschedparam): Likewise.
6244         * nptl/pthread_attr_setschedpolicy.c
6245         (__pthread_attr_setschedpolicy): Likewise.
6246         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
6247         Likewise.
6248         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
6249         Likewise.
6250         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
6251         Likewise.
6252         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
6253         Likewise.
6254         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
6255         Likewise.
6256         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
6257         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
6258         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
6259         use internal_function.
6260         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
6261         prototype-style function definition.
6262         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
6263         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
6264         internal_function.
6265         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
6266         Convert to prototype-style function definition.
6267         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6268         Likewise.
6269         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
6270         Likewise.
6271         (__pthread_mutex_unlock): Likewise.
6272         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
6273         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
6274         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
6275         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
6276         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
6277         * nss/makedb.c (process_input): Likewise.
6278         * posix/fnmatch.c (__strchrnul): Likewise.
6279         (__wcschrnul): Likewise.
6280         (fnmatch): Likewise.
6281         * posix/fnmatch_loop.c (FCT): Likewise.
6282         * posix/glob.c (globfree): Likewise.
6283         (__glob_pattern_type): Likewise.
6284         (__glob_pattern_p): Likewise.
6285         * posix/regcomp.c (re_compile_pattern): Likewise.
6286         (re_set_syntax): Likewise.
6287         (re_compile_fastmap): Likewise.
6288         (regcomp): Likewise.
6289         (regerror): Likewise.
6290         (regfree): Likewise.
6291         * posix/regexec.c (regexec): Likewise.
6292         (re_match): Likewise.
6293         (re_search): Likewise.
6294         (re_match_2): Likewise.
6295         (re_search_2): Likewise.
6296         (re_search_stub): Likewise.  Use internal_function
6297         (re_copy_regs): Likewise.
6298         (re_set_registers): Convert to prototype-style function
6299         definition.
6300         (prune_impossible_nodes): Likewise.  Use internal_function.
6301         * resolv/inet_net_pton.c (inet_net_pton): Convert to
6302         prototype-style function definition.
6303         (inet_net_pton_ipv4): Likewise.
6304         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6305         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
6306         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
6307         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
6308         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6309         Make variadic.
6310         * time/strptime_l.c (localtime_r): Convert to prototype-style
6311         function definition.
6312         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6313         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6314         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6315         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6317         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
6318         definition.
6319         (_ufc_doit_r): Likewise.
6320         * crypt/crypt_util.c (_ufc_copymem): Likewise.
6321         (_ufc_output_conversion_r): Likewise.
6322         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
6323         * inet/rcmd.c (rcmd_af): Likewise.
6324         (rcmd): Likewise.
6325         (ruserok_af): Likewise.
6326         (ruserok): Likewise.
6327         (ruserok2_sa): Likewise.
6328         (ruserok_sa): Likewise.
6329         (iruserok_af): Likewise.
6330         (iruserok): Likewise.
6331         (__ivaliduser): Likewise.
6332         (__validuser2_sa): Likewise.
6333         * inet/rexec.c (rexec_af): Likewise.
6334         (rexec): Likewise.
6335         * inet/ruserpass.c (ruserpass): Likewise.
6336         * locale/programs/xmalloc.c (xcalloc): Likewise.
6337         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
6338         * math/w_drem.c (__drem): Likewise.
6339         * math/w_dremf.c (__dremf): Likewise.
6340         * math/w_dreml.c (__dreml): Likewise.
6341         * misc/daemon.c (daemon): Likewise.
6342         * resolv/res_debug.c (p_fqnname): Likewise.
6343         * stdlib/div.c (div): Likewise.
6344         * string/memcmp.c (memcmp_bytes): Likewise.
6345         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
6346         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
6348         * crypt/cert.c (main): Convert to prototype-style function
6349         definition.
6350         * io/pipe.c (__pipe): Likewise.
6351         * io/pipe2.c (__pipe2): Likewise.
6352         * misc/futimesat.c (futimesat): Likewise.
6353         * misc/utimes.c (__utimes): Likewise.
6354         * posix/execve.c (__execve): Likewise.
6355         * posix/execvp.c (execvp): Likewise.
6356         * posix/execvpe.c (__execvpe): Likewise.
6357         * posix/fexecve.c (fexecve): Likewise.
6358         * socket/socketpair.c (socketpair): Likewise.
6359         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6360         * stdlib/erand48.c (erand48): Likewise.
6361         * stdlib/erand48_r.c (__erand48_r): Likewise.
6362         * stdlib/jrand48.c (jrand48): Likewise.
6363         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
6364         * stdlib/lcong48.c (lcong48): Likewise.
6365         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
6366         * stdlib/nrand48.c (nrand48): Likewise.
6367         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
6368         * stdlib/seed48.c (seed48): Likewise.
6369         * stdlib/seed48_r.c (__seed48_r): Likewise.
6370         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
6371         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
6372         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
6374 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
6376         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
6377         * configure: Regenerated.
6378         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
6379         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
6380         unconditional.
6381         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6382         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6383         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6384         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
6385         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
6386         unconditional.
6387         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6389         * posix/Makefile (CFLAGS-regex.c): Remove variable.
6390         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
6392         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
6393         function definition.
6394         * crypt/crypt_util.c (__encrypt_r): Likewise.
6395         * libio/genops.c (_IO_no_init): Likewise.
6396         * libio/iofopncook.c (_IO_fopencookie): Likewise.
6397         (_IO_old_fopencookie): Likewise.
6398         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
6399         * libio/iogetline.c (_IO_getline): Likewise.
6400         (_IO_getline_info): Likewise.
6401         * libio/iogetwline.c (_IO_getwline): Likewise.
6402         (_IO_getwline_info): Likewise.
6403         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
6404         * libio/vswprintf.c (_IO_vswprintf): Likewise.
6405         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
6406         (find_entry): Likewise.
6407         (iterate_table): Likewise.
6408         (lookup): Likewise.
6409         * login/forkpty.c (forkpty): Likewise.
6410         * misc/hsearch_r.c (__hsearch_r): Likewise.
6411         * misc/select.c (__select): Likewise.
6412         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
6413         Likewise.
6414         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
6415         Likewise.
6416         * nptl/old_pthread_cond_timedwait.c
6417         (__pthread_cond_timedwait_2_0): Likewise.
6418         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
6419         * nptl/pthread_barrierattr_getpshared.c
6420         (pthread_barrierattr_getpshared): Likewise.
6421         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
6422         Likewise.
6423         * nptl/pthread_mutex_setprioceiling.c
6424         (pthread_mutex_setprioceiling): Likewise.
6425         * nptl/pthread_mutexattr_getprioceiling.c
6426         (pthread_mutexattr_getprioceiling): Likewise.
6427         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
6428         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6429         Likewise.
6430         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
6431         Likewise.
6432         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
6433         Likewise.
6434         * socket/recvfrom.c (__recvfrom): Likewise.
6435         * socket/sendto.c (__sendto): Likewise.
6436         * socket/setsockopt.c (__setsockopt): Likewise.
6437         * stdio-common/_itoa.c (_itoa): Likewise.
6438         * stdio-common/_itowa.c (_itowa): Likewise.
6439         * stdio-common/reg-printf.c (__register_printf_specifier):
6440         Likewise.
6441         (__register_printf_function): Likewise.
6442         * stdio-common/tempname.c (__path_search): Likewise.
6443         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
6444         * stdlib/mul_1.c (mpn_mul_1): Likewise.
6445         * stdlib/random_r.c (__initstate_r): Likewise.
6446         * stdlib/setenv.c (__add_to_environ): Likewise.
6447         * stdlib/submul_1.c (mpn_submul_1): Likewise.
6448         * streams/getpmsg.c (getpmsg): Likewise.
6449         * streams/putmsg.c (putmsg): Likewise.
6450         * streams/putpmsg.c (putpmsg): Likewise.
6451         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
6452         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
6453         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
6454         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
6455         * sunrpc/pm_getport.c (pmap_getport): Likewise.
6456         * sunrpc/svc_udp.c (cache_get): Likewise.
6457         * sunrpc/xdr_array.c (xdr_vector): Likewise.
6458         * sysdeps/mach/hurd/getcwd.c
6459         (__canonicalize_directory_name_internal): Likewise.
6460         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
6461         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
6462         * sysdeps/mach/hurd/select.c (__select): Likewise.
6463         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
6464         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
6465         * sysdeps/sparc/nptl/pthread_barrier_init.c
6466         (__pthread_barrier_init): Likewise.
6467         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
6468         (__pthread_cond_timedwait): Likewise.
6469         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
6470         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
6471         Likewise.
6472         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
6473         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
6474         Likewise.
6475         * sysvipc/semtimedop.c (semtimedop): Likewise.
6476         * time/setitimer.c (__setitimer): Likewise.
6477         * time/strftime_l.c (emacs_strftime): Likewise.
6479 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
6481         * config.make.in (have-ssp): Delete.
6482         (stack-protector): New variable.
6483         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
6484         cache test for -fstack-protector-strong.  Export stack_protector to
6485         the best ssp flag.
6486         * configure: Regenerated.
6487         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
6488         * nscd/Makefile (CFLAGS-nscd): Likewise.
6489         * resolv/Makefile (CFLAGS-libresolv): Likewise.
6491 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
6493         [BZ #19122]
6494         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
6495         attribute_hidden.
6497 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6499         [BZ #18743]
6500         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
6501         code to...
6502         (ELIDE_LOCK): ...here.
6503         (__get_new_count): New function with part of the code from
6504         __elide_lock that updates the value of adapt_count after a
6505         transaction abort.
6506         (__elided_trylock): Moved this code to...
6507         (ELIDE_TRYLOCK): ...here.
6509 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
6511         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
6512         * configure: Regenerate.
6513         * INSTALL: Regenerate.
6514         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
6515         and tweak grammar.
6517 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
6519         * login/programs/pt_chown.c: Include signal.h
6520         (main): Clear any signal mask from the parent process.
6522 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
6524         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
6525         * configure: Regenerated.
6526         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
6527         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
6528         $(gnu89-inline-CFLAGS).
6530         * configure.ac (libc_cv_asm_weak_directive): Remove configure
6531         test.
6532         (libc_cv_asm_weakext_directive): Likewise.
6533         * configure: Regenerated.
6534         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
6535         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
6536         * include/libc-symbols.h
6537         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
6538         #error.
6539         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
6540         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
6542         * sysdeps/arm/backtrace.c (__backtrace): Convert to
6543         prototype-style function definition.
6544         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
6545         * sysdeps/i386/ffs.c (__ffs): Likewise.
6546         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
6547         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
6548         Likewise.
6549         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
6550         Likewise.
6551         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
6552         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6553         Likewise.
6554         * sysdeps/m68k/ffs.c (__ffs): Likewise.
6555         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
6556         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
6557         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
6558         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
6559         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
6560         * sysdeps/mach/hurd/access.c (__access): Likewise.
6561         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
6562         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
6563         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
6564         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
6565         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
6566         (cthread_getspecific): Likewise.
6567         (cthread_setspecific): Likewise.
6568         (__libc_getspecific): Likewise.
6569         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
6570         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
6571         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
6572         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
6573         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
6574         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
6575         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
6576         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
6577         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
6578         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
6579         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
6580         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
6581         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
6582         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
6583         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
6584         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
6585         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
6586         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
6587         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
6588         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
6589         * sysdeps/mach/hurd/link.c (__link): Likewise.
6590         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
6591         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
6592         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
6593         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
6594         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
6595         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
6596         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
6597         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
6598         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
6599         * sysdeps/mach/hurd/rename.c (rename): Likewise.
6600         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
6601         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
6602         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
6603         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
6604         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
6605         * sysdeps/mach/hurd/send.c (__send): Likewise.
6606         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
6607         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
6608         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
6609         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
6610         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
6611         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
6612         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
6613         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
6614         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
6615         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
6616         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
6617         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
6618         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
6619         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
6620         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
6621         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
6622         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
6623         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
6624         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
6625         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
6626         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
6627         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
6628         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
6629         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
6630         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
6631         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
6632         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
6633         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
6634         * sysdeps/posix/alarm.c (alarm): Likewise.
6635         * sysdeps/posix/cuserid.c (cuserid): Likewise.
6636         * sysdeps/posix/dirfd.c (dirfd): Likewise.
6637         * sysdeps/posix/dup.c (__dup): Likewise.
6638         * sysdeps/posix/dup2.c (__dup2): Likewise.
6639         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
6640         (main): Likewise.
6641         * sysdeps/posix/flock.c (__flock): Likewise.
6642         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
6643         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
6644         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
6645         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
6646         * sysdeps/posix/isatty.c (__isatty): Likewise.
6647         * sysdeps/posix/killpg.c (killpg): Likewise.
6648         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
6649         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
6650         * sysdeps/posix/raise.c (raise): Likewise.
6651         * sysdeps/posix/remove.c (remove): Likewise.
6652         * sysdeps/posix/rename.c (rename): Likewise.
6653         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
6654         * sysdeps/posix/seekdir.c (seekdir): Likewise.
6655         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
6656         * sysdeps/posix/sigignore.c (sigignore): Likewise.
6657         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
6658         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
6659         * sysdeps/posix/sigset.c (sigset): Likewise.
6660         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
6661         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
6662         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
6663         * sysdeps/posix/time.c (time): Likewise.
6664         * sysdeps/posix/ttyname.c (getttyname): Likewise.
6665         (ttyname): Likewise.
6666         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
6667         * sysdeps/posix/utime.c (utime): Likewise.
6668         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
6669         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
6670         Likewise.
6671         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
6672         (pthread_spin_trylock): Likewise.
6673         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
6674         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
6675         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
6676         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
6677         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
6678         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
6679         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
6680         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
6681         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
6682         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
6683         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
6684         * sysdeps/s390/ffs.c (__ffs): Likewise.
6685         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
6686         Likewise.
6687         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
6688         Likewise.
6689         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
6690         Likewise.
6691         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
6692         (pthread_barrier_destroy): Likewise.
6693         * sysdeps/sparc/nptl/pthread_barrier_wait.c
6694         (__pthread_barrier_wait): Likewise.
6695         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
6696         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
6697         (__pthread_barrier_wait): Likewise.
6698         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
6699         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
6700         (memcmp_not_common_alignment): Likewise.
6701         (MEMCMP): Likewise.
6702         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
6703         (_wordcopy_fwd_dest_aligned): Likewise.
6704         (_wordcopy_bwd_aligned): Likewise.
6705         (_wordcopy_bwd_dest_aligned): Likewise.
6706         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
6707         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
6708         * sysdeps/unix/bsd/stty.c (stty): Likewise.
6709         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
6710         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
6711         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
6712         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
6713         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
6714         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
6715         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
6716         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
6717         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
6718         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
6719         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
6720         * sysdeps/unix/stime.c (stime): Likewise.
6721         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
6722         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
6723         Likewise.  Use internal_function.
6724         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
6725         Convert to prototype-style function definition.
6726         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6727         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6728         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
6729         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6730         Likewise.  Use internal_function.
6731         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
6732         prototype-style function definition
6733         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6734         Likewise.
6735         (__getlogin_r): Likewise.
6736         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
6737         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
6738         (__pthread_cond_broadcast): Likewise.
6739         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
6740         (__pthread_cond_destroy): Likewise.
6741         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
6742         (__pthread_cond_init): Likewise.
6743         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
6744         (__pthread_cond_signal): Likewise.
6745         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
6746         (__pthread_cond_wait): Likewise.
6747         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
6748         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
6749         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
6750         Likewise.
6751         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
6752         Likewise.
6753         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
6754         Likewise.
6755         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
6756         Likewise.
6757         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
6758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
6759         (__ftruncate64): Likewise.
6760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
6761         (truncate64): Likewise.
6762         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
6763         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
6764         (pthread_getcpuclockid): Likewise.
6765         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6766         Likewise.
6767         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6768         Likewise.
6769         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
6770         Likewise.
6771         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
6772         Likewise.
6773         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
6774         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
6775         (__libc_sigaction): Likewise.
6776         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
6777         Likewise.
6778         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
6779         (__sigprocmask): Likewise.
6780         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
6781         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
6782         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
6783         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
6784         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6785         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
6786         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6787         Likewise.
6788         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
6789         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
6790         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6791         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
6792         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
6793         Likewise.
6794         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
6795         (__sigprocmask): Likewise.
6796         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
6797         (cfgetispeed): Likewise.
6798         (cfsetospeed): Likewise.
6799         (cfsetispeed): Likewise.
6800         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
6801         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
6802         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6803         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
6804         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
6805         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
6806         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
6807         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
6808         Likewise.
6809         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
6810         Likewise.
6811         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
6812         Likewise.
6813         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
6814         Likewise.
6815         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
6817 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6819         sunrpc: Rewrite with explicit TLS access using __thread.
6820         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
6821         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
6822         directly.
6823         (__rpc_thread_variables): Access thread_rpc_vars directly.
6824         Eliminate redundant assignment of the tvp variable.
6826 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6828         malloc: Rewrite with explicit TLS access using __thread.
6829         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
6830         (tsd_setspecific, tsd_getspecific): Remove.
6831         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
6832         (tsd_setspecific, tsd_getspecific): Likewise.
6833         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
6834         (tsd_setspecific, tsd_getspecific): Likewise.
6835         * malloc/arena.c (thread_arena): New TLS variable.
6836         (arena_key): Remove variable.
6837         (arena_get): Use thread_arena.
6838         (arena_lookup): Remove macro.
6839         (malloc_atfork, free_atfork, ptmalloc_lock_all)
6840         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
6841         (_int_new_arena, get_free_list, reused_arena)
6842         (arena_thread_freeres): Use thread_arena.
6843         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
6844         tsd_getspecific, tsd_setspecific from safety annotations.
6845         (Allocating Cleared Space): Remove arena_lookup from safety
6846         annotations.
6848 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6850         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
6851         struct scratch_buffer instead of extend_alloca.
6853 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6855         * sysdeps/unix/sysv/linux/kernel-features.h
6856         (__ASSUME_SOCK_CLOEXEC): Remove.
6857         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
6858         (__have_paccept): Remove unused macro.
6859         * include/unistd.h (__have_sock_cloexec): Remove declaration.
6860         * misc/syslog.c (openlog_internal): Remove fallback code for
6861         !__ASSUME_SOCK_CLOEXEC.
6862         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
6863         missing SOCK_CLOEXEC.
6864         * nscd/connections.c (have_sock_cloexec): Remove definition.
6865         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
6866         * nscd/nscd_helper.c (open_socket): Remove fallback code for
6867         !__ASSUME_SOCK_CLOEXEC.
6868         * resolv/res_send.c (__have_o_nonblock): Remove definition.
6869         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
6870         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
6871         definition.
6872         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
6873         code for !__ASSUME_SOCK_CLOEXEC.
6875 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6877         [BZ #18982]
6878         * manual/stdio.texi (Variable Arguments Output): Add portability
6879         note, explaining that vfprintf clobbers the va_list pointer.
6881 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
6883         * math/libm-test.inc (fabs_test_data): Add more tests.
6884         (fdim_test_data): Likewise.
6885         (fma_test_data): Likewise.
6886         (fmax_test_data): Likewise.
6887         (fmin_test_data): Likewise.
6888         (fmod_test_data): Likewise.
6890 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
6892         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
6893         data.
6895 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
6897         * math/libm-test.inc (ceil_test_data): Add more tests and more
6898         expectations for "inexact".
6899         (floor_test_data): Add more tests.
6900         (round_test_data): Likewise.
6901         (trunc_test_data): Likewise.
6903         * crypt/cert.c (good_bye): Convert to prototype-style function
6904         definition.
6905         (get8): Likewise.
6906         (put8): Likewise.
6907         * crypt/crypt-entry.c (crypt): Likewise.
6908         (__fcrypt): Likewise.
6909         * crypt/crypt_util.c (_ufc_prbits): Likewise.
6910         (_ufc_set_bits): Likewise.
6911         (_ufc_clearmem): Likewise.
6912         (__init_des_r): Likewise.
6913         (shuffle_sb): Likewise.
6914         (shuffle_sb): Likewise.
6915         (_ufc_setup_salt_r): Likewise.
6916         (_ufc_mk_keytab_r): Likewise.
6917         (_ufc_dofinalperm_r): Likewise.
6918         (encrypt): Likewise.
6919         (__setkey_r): Likewise.
6920         (setkey): Likewise.
6921         * crypt/md5.c (md5_init_ctx): Likewise.
6922         (md5_read_ctx): Likewise.
6923         (md5_finish_ctx): Likewise.
6924         (md5_stream): Likewise.
6925         (md5_buffer): Likewise.
6926         (md5_process_bytes): Likewise.
6927         * crypt/sha256.c (__sha256_init_ctx): Likewise.
6928         (__sha256_finish_ctx): Likewise.
6929         (__sha256_process_bytes): Likewise.
6930         * crypt/sha512.c (__sha512_init_ctx): Likewise.
6931         (__sha512_finish_ctx): Likewise.
6932         (__sha512_process_bytes): Likewise.
6933         * ctype/isctype.c (__isctype): Likewise.
6934         * debug/backtrace.c (__backtrace): Likewise.
6935         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
6936         * debug/fgets_chk.c (__fgets_chk): Likewise.
6937         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
6938         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
6939         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6940         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6941         * debug/memset_chk.c (__memset_chk): Likewise.
6942         * debug/strcat_chk.c (__strcat_chk): Likewise.
6943         * debug/strncat_chk.c (__strncat_chk): Likewise.
6944         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
6945         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
6946         * dirent/dirfd.c (dirfd): Likewise.
6947         * dirent/getdents.c (__getdirentries): Likewise.
6948         * dirent/getdents64.c (getdirentries64): Likewise.
6949         * dirent/rewinddir.c (__rewinddir): Likewise.
6950         * dirent/seekdir.c (seekdir): Likewise.
6951         * dirent/telldir.c (telldir): Likewise.
6952         * elf/sln.c (makesymlinks): Likewise.
6953         (makesymlink): Likewise.
6954         * gmon/gmon.c (__moncontrol): Likewise.
6955         (__monstartup): Likewise.
6956         (write_hist): Likewise.
6957         (write_call_graph): Likewise.
6958         (write_bb_counts): Likewise.
6959         * grp/setgroups.c (setgroups): Likewise.
6960         * inet/inet_lnaof.c (inet_lnaof): Likewise.
6961         * inet/inet_net.c (inet_network): Likewise.
6962         * inet/inet_netof.c (inet_netof): Likewise.
6963         * inet/rcmd.c (rresvport_af): Likewise.
6964         (rresvport): Likewise.
6965         * io/access.c (__access): Likewise.
6966         * io/chdir.c (__chdir): Likewise.
6967         * io/chmod.c (__chmod): Likewise.
6968         * io/chown.c (__chown): Likewise.
6969         * io/close.c (__close): Likewise.
6970         * io/creat.c (creat): Likewise.
6971         * io/creat64.c (creat64): Likewise.
6972         * io/dup.c (__dup): Likewise.
6973         * io/dup2.c (__dup2): Likewise.
6974         * io/dup3.c (__dup3): Likewise.
6975         * io/euidaccess.c (__euidaccess): Likewise.
6976         * io/faccessat.c (faccessat): Likewise.
6977         * io/fchmod.c (__fchmod): Likewise.
6978         * io/fchmodat.c (fchmodat): Likewise.
6979         * io/fchown.c (__fchown): Likewise.
6980         * io/fchownat.c (fchownat): Likewise.
6981         * io/fcntl.c (__fcntl): Likewise.
6982         * io/flock.c (__flock): Likewise.
6983         * io/fts.c (fts_load): Likewise.
6984         (fts_close): Likewise.
6985         (fts_read): Likewise.
6986         (fts_set): Likewise.
6987         (fts_children): Likewise.
6988         (fts_build): Likewise.
6989         (fts_stat): Likewise.
6990         (fts_sort): Likewise.
6991         (fts_alloc): Likewise.
6992         (fts_lfree): Likewise.
6993         (fts_palloc): Likewise.
6994         (fts_padjust): Likewise.
6995         (fts_maxarglen): Likewise.
6996         (fts_safe_changedir): Likewise.
6997         * io/getwd.c (getwd): Likewise.
6998         * io/isatty.c (__isatty): Likewise.
6999         * io/lchown.c (__lchown): Likewise.
7000         * io/link.c (__link): Likewise.
7001         * io/linkat.c (linkat): Likewise.
7002         * io/lseek.c (__libc_lseek): Likewise.
7003         * io/mkdir.c (__mkdir): Likewise.
7004         * io/mkdirat.c (mkdirat): Likewise.
7005         * io/mkfifo.c (mkfifo): Likewise.
7006         * io/mkfifoat.c (mkfifoat): Likewise.
7007         * io/open.c (__libc_open): Likewise.
7008         * io/open64.c (__libc_open64): Likewise.
7009         * io/readlink.c (__readlink): Likewise.
7010         * io/readlinkat.c (readlinkat): Likewise.
7011         * io/rmdir.c (__rmdir): Likewise.
7012         * io/symlink.c (__symlink): Likewise.
7013         * io/symlinkat.c (symlinkat): Likewise.
7014         * io/ttyname.c (ttyname): Likewise.
7015         * io/ttyname_r.c (__ttyname_r): Likewise.
7016         * io/umask.c (__umask): Likewise.
7017         * io/unlink.c (__unlink): Likewise.
7018         * io/unlinkat.c (unlinkat): Likewise.
7019         * io/utime.c (utime): Likewise.
7020         * libio/clearerr.c (clearerr): Likewise.
7021         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
7022         * libio/feof.c (_IO_feof): Likewise.
7023         * libio/feof_u.c (feof_unlocked): Likewise.
7024         * libio/ferror.c (_IO_ferror): Likewise.
7025         * libio/ferror_u.c (ferror_unlocked): Likewise.
7026         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7027         * libio/fileno.c (__fileno): Likewise.
7028         * libio/fputc.c (fputc): Likewise.
7029         * libio/fputc_u.c (fputc_unlocked): Likewise.
7030         * libio/fputwc.c (fputwc): Likewise.
7031         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
7032         * libio/freopen.c (freopen): Likewise.
7033         * libio/freopen64.c (freopen64): Likewise.
7034         * libio/fseek.c (fseek): Likewise.
7035         * libio/fseeko.c (fseeko): Likewise.
7036         * libio/fseeko64.c (fseeko64): Likewise.
7037         * libio/ftello.c (__ftello): Likewise.
7038         * libio/ftello64.c (ftello64): Likewise.
7039         * libio/fwide.c (fwide): Likewise.
7040         * libio/genops.c (_IO_un_link): Likewise.
7041         (_IO_link_in): Likewise.
7042         (_IO_least_marker): Likewise.
7043         (_IO_switch_to_main_get_area): Likewise.
7044         (_IO_switch_to_backup_area): Likewise.
7045         (_IO_switch_to_get_mode): Likewise.
7046         (_IO_free_backup_area): Likewise.
7047         (_IO_switch_to_put_mode): Likewise.
7048         (__overflow): Likewise.
7049         (__underflow): Likewise.
7050         (__uflow): Likewise.
7051         (_IO_setb): Likewise.
7052         (_IO_doallocbuf): Likewise.
7053         (_IO_default_underflow): Likewise.
7054         (_IO_default_uflow): Likewise.
7055         (_IO_default_xsputn): Likewise.
7056         (_IO_sgetn): Likewise.
7057         (_IO_default_xsgetn): Likewise.
7058         (_IO_sync): Likewise.
7059         (_IO_default_setbuf): Likewise.
7060         (_IO_default_seekpos): Likewise.
7061         (_IO_default_doallocate): Likewise.
7062         (_IO_init): Likewise.
7063         (_IO_old_init): Likewise.
7064         (_IO_default_sync): Likewise.
7065         (_IO_default_finish): Likewise.
7066         (_IO_default_seekoff): Likewise.
7067         (_IO_sputbackc): Likewise.
7068         (_IO_sungetc): Likewise.
7069         (_IO_set_column): Likewise.
7070         (_IO_set_column): Likewise.
7071         (_IO_adjust_column): Likewise.
7072         (_IO_get_column): Likewise.
7073         (_IO_init_marker): Likewise.
7074         (_IO_remove_marker): Likewise.
7075         (_IO_marker_difference): Likewise.
7076         (_IO_marker_delta): Likewise.
7077         (_IO_seekmark): Likewise.
7078         (_IO_unsave_markers): Likewise.
7079         (_IO_nobackup_pbackfail): Likewise.
7080         (_IO_default_pbackfail): Likewise.
7081         (_IO_default_seek): Likewise.
7082         (_IO_default_stat): Likewise.
7083         (_IO_default_read): Likewise.
7084         (_IO_default_write): Likewise.
7085         (_IO_default_showmanyc): Likewise.
7086         (_IO_default_imbue): Likewise.
7087         (_IO_iter_next): Likewise.
7088         (_IO_iter_file): Likewise.
7089         * libio/getc.c (_IO_getc): Likewise.
7090         * libio/getwc.c (_IO_getwc): Likewise.
7091         * libio/iofclose.c (_IO_new_fclose): Likewise.
7092         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
7093         * libio/iofflush.c (_IO_fflush): Likewise.
7094         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
7095         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
7096         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
7097         * libio/iofgets.c (_IO_fgets): Likewise.
7098         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
7099         * libio/iofgetws.c (fgetws): Likewise.
7100         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7101         * libio/iofopen64.c (_IO_fopen64): Likewise.
7102         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7103         (_IO_cookie_write): Likewise.
7104         (_IO_cookie_seek): Likewise.
7105         (_IO_cookie_close): Likewise.
7106         (_IO_cookie_seekoff): Likewise.
7107         (_IO_old_cookie_seek): Likewise.
7108         * libio/iofputs.c (_IO_fputs): Likewise.
7109         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
7110         * libio/iofputws.c (fputws): Likewise.
7111         * libio/iofputws_u.c (fputws_unlocked): Likewise.
7112         * libio/iofread.c (_IO_fread): Likewise.
7113         * libio/iofread_u.c (__fread_unlocked): Likewise.
7114         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
7115         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
7116         * libio/ioftell.c (_IO_ftell): Likewise.
7117         * libio/iofwrite.c (_IO_fwrite): Likewise.
7118         * libio/iogetdelim.c (_IO_getdelim): Likewise.
7119         * libio/iogets.c (_IO_gets): Likewise.
7120         * libio/iopadn.c (_IO_padn): Likewise.
7121         * libio/iopopen.c (_IO_new_proc_open): Likewise.
7122         (_IO_new_popen): Likewise.
7123         (_IO_new_proc_close): Likewise.
7124         * libio/ioputs.c (_IO_puts): Likewise.
7125         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
7126         (_IO_seekoff): Likewise.
7127         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
7128         (_IO_seekpos): Likewise.
7129         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
7130         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
7131         * libio/ioungetc.c (_IO_ungetc): Likewise.
7132         * libio/ioungetwc.c (ungetwc): Likewise.
7133         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
7134         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
7135         * libio/iowpadn.c (_IO_wpadn): Likewise.
7136         * libio/libc_fatal.c (__libc_fatal): Likewise.
7137         * libio/memstream.c (__open_memstream): Likewise.
7138         (_IO_mem_sync): Likewise.
7139         (_IO_mem_finish): Likewise.
7140         * libio/oldfileops.c (_IO_old_file_init): Likewise.
7141         (_IO_old_file_close_it): Likewise.
7142         (_IO_old_file_finish): Likewise.
7143         (_IO_old_file_fopen): Likewise.
7144         (_IO_old_file_attach): Likewise.
7145         (_IO_old_file_setbuf): Likewise.
7146         (_IO_old_do_write): Likewise.
7147         (old_do_write): Likewise.
7148         (_IO_old_file_underflow): Likewise.
7149         (_IO_old_file_overflow): Likewise.
7150         (_IO_old_file_sync): Likewise.
7151         (_IO_old_file_seekoff): Likewise.
7152         (_IO_old_file_write): Likewise.
7153         (_IO_old_file_xsputn): Likewise.
7154         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
7155         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7156         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
7157         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
7158         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
7159         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
7160         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
7161         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
7162         (_IO_old_popen): Likewise.
7163         (_IO_old_proc_close): Likewise.
7164         * libio/oldpclose.c (__old_pclose): Likewise.
7165         * libio/pclose.c (__new_pclose): Likewise.
7166         * libio/peekc.c (_IO_peekc_locked): Likewise.
7167         * libio/putc.c (_IO_putc): Likewise.
7168         * libio/putc_u.c (putc_unlocked): Likewise.
7169         * libio/putchar.c (putchar): Likewise.
7170         * libio/putchar_u.c (putchar_unlocked): Likewise.
7171         * libio/putwc.c (putwc): Likewise.
7172         * libio/putwc_u.c (putwc_unlocked): Likewise.
7173         * libio/putwchar.c (putwchar): Likewise.
7174         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
7175         * libio/rewind.c (rewind): Likewise.
7176         * libio/setbuf.c (setbuf): Likewise.
7177         * libio/setlinebuf.c (setlinebuf): Likewise.
7178         * libio/vasprintf.c (_IO_vasprintf): Likewise.
7179         * libio/vscanf.c (_IO_vscanf): Likewise.
7180         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
7181         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
7182         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
7183         * libio/wgenops.c (_IO_least_wmarker): Likewise.
7184         (_IO_switch_to_main_wget_area): Likewise.
7185         (_IO_switch_to_wbackup_area): Likewise.
7186         (_IO_wsetb): Likewise.
7187         (_IO_wdefault_pbackfail): Likewise.
7188         (_IO_wdefault_finish): Likewise.
7189         (_IO_wdefault_uflow): Likewise.
7190         (__woverflow): Likewise.
7191         (__wuflow): Likewise.
7192         (__wunderflow): Likewise.
7193         (_IO_wdefault_xsputn): Likewise.
7194         (_IO_wdefault_xsgetn): Likewise.
7195         (_IO_wdoallocbuf): Likewise.
7196         (_IO_wdefault_doallocate): Likewise.
7197         (_IO_switch_to_wget_mode): Likewise.
7198         (_IO_free_wbackup_area): Likewise.
7199         (_IO_switch_to_wput_mode): Likewise.
7200         (_IO_sputbackwc): Likewise.
7201         (_IO_sungetwc): Likewise.
7202         (_IO_adjust_wcolumn): Likewise.
7203         (_IO_init_wmarker): Likewise.
7204         (_IO_wmarker_delta): Likewise.
7205         (_IO_seekwmark): Likewise.
7206         (_IO_unsave_wmarkers): Likewise.
7207         * libio/wmemstream.c (open_wmemstream): Likewise.
7208         (_IO_wmem_sync): Likewise.
7209         (_IO_wmem_finish): Likewise.
7210         * locale/nl_langinfo.c (nl_langinfo): Likewise.
7211         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
7212         * locale/programs/simple-hash.c (init_hash): Likewise.
7213         (delete_hash): Likewise.
7214         (insert_entry): Likewise.
7215         (set_entry): Likewise.
7216         (next_prime): Likewise.
7217         (is_prime): Likewise.
7218         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
7219         (xmalloc): Likewise.
7220         (xrealloc): Likewise.
7221         * locale/programs/xstrdup.c (xstrdup): Likewise.
7222         * localedata/collate-test.c (xstrcoll): Likewise.
7223         * localedata/xfrm-test.c (xstrcmp): Likewise.
7224         * login/getlogin_r.c (__getlogin_r): Likewise.
7225         * login/getpt.c (__posix_openpt): Likewise.
7226         * login/login_tty.c (login_tty): Likewise.
7227         * login/setlogin.c (setlogin): Likewise.
7228         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
7229         (mach_msg_destroy_port): Likewise.
7230         (mach_msg_destroy_memory): Likewise.
7231         * malloc/mcheck.c (flood): Likewise.
7232         * misc/acct.c (acct): Likewise.
7233         * misc/brk.c (__brk): Likewise.
7234         * misc/chflags.c (chflags): Likewise.
7235         * misc/chroot.c (chroot): Likewise.
7236         * misc/fchflags.c (fchflags): Likewise.
7237         * misc/fstab.c (getfsspec): Likewise.
7238         (getfsfile): Likewise.
7239         * misc/fsync.c (fsync): Likewise.
7240         * misc/ftruncate.c (__ftruncate): Likewise.
7241         * misc/ftruncate64.c (__ftruncate64): Likewise.
7242         * misc/getdomain.c (getdomainname): Likewise.
7243         (getdomainname): Likewise.
7244         * misc/gethostname.c (__gethostname): Likewise.
7245         * misc/getpass.c (getpass): Likewise.
7246         * misc/getttyent.c (skip): Likewise.
7247         (value): Likewise.
7248         * misc/gtty.c (gtty): Likewise.
7249         * misc/hsearch.c (hsearch): Likewise.
7250         (hcreate): Likewise.
7251         * misc/hsearch_r.c (__hcreate_r): Likewise.
7252         (__hdestroy_r): Likewise.
7253         * misc/ioctl.c (__ioctl): Likewise.
7254         * misc/mkdtemp.c (mkdtemp): Likewise.
7255         * misc/mkostemp.c (mkostemp): Likewise.
7256         * misc/mkostemp64.c (mkostemp64): Likewise.
7257         * misc/mkostemps.c (mkostemps): Likewise.
7258         * misc/mkostemps64.c (mkostemps64): Likewise.
7259         * misc/mkstemp.c (mkstemp): Likewise.
7260         * misc/mkstemp64.c (mkstemp64): Likewise.
7261         * misc/mkstemps.c (mkstemps): Likewise.
7262         * misc/mkstemps64.c (mkstemps64): Likewise.
7263         * misc/mktemp.c (__mktemp): Likewise.
7264         * misc/preadv.c (preadv): Likewise.
7265         * misc/preadv64.c (preadv64): Likewise.
7266         * misc/pwritev.c (pwritev): Likewise.
7267         * misc/pwritev64.c (pwritev64): Likewise.
7268         * misc/readv.c (__readv): Likewise.
7269         * misc/revoke.c (revoke): Likewise.
7270         * misc/setdomain.c (setdomainname): Likewise.
7271         * misc/setegid.c (setegid): Likewise.
7272         * misc/seteuid.c (seteuid): Likewise.
7273         * misc/sethostid.c (sethostid): Likewise.
7274         * misc/sethostname.c (sethostname): Likewise.
7275         * misc/setregid.c (__setregid): Likewise.
7276         * misc/setreuid.c (__setreuid): Likewise.
7277         * misc/sstk.c (sstk): Likewise.
7278         * misc/stty.c (stty): Likewise.
7279         * misc/syscall.c (syscall): Likewise.
7280         * misc/syslog.c (setlogmask): Likewise.
7281         * misc/truncate.c (__truncate): Likewise.
7282         * misc/truncate64.c (truncate64): Likewise.
7283         * misc/ualarm.c (ualarm): Likewise.
7284         * misc/usleep.c (usleep): Likewise.
7285         * misc/ustat.c (ustat): Likewise.
7286         * misc/writev.c (__writev): Likewise.
7287         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
7288         * nptl/old_pthread_cond_broadcast.c
7289         (__pthread_cond_broadcast_2_0): Likewise.
7290         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
7291         Likewise.
7292         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
7293         Likewise.
7294         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
7295         Likewise.
7296         * nptl/pt-raise.c (raise): Likewise.
7297         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
7298         Likewise.
7299         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
7300         * nptl/pthread_barrierattr_destroy.c
7301         (pthread_barrierattr_destroy): Likewise.
7302         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
7303         Likewise.
7304         * nptl/pthread_barrierattr_setpshared.c
7305         (pthread_barrierattr_setpshared): Likewise.
7306         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7307         Likewise.
7308         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
7309         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
7310         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
7311         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
7312         Likewise.
7313         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
7314         Likewise.
7315         * nptl/pthread_condattr_getpshared.c
7316         (pthread_condattr_getpshared): Likewise.
7317         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
7318         Likewise.
7319         * nptl/pthread_condattr_setpshared.c
7320         (pthread_condattr_setpshared): Likewise.
7321         * nptl/pthread_detach.c (pthread_detach): Likewise.
7322         * nptl/pthread_equal.c (__pthread_equal): Likewise.
7323         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
7324         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
7325         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
7326         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
7327         Likewise.
7328         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
7329         Likewise.
7330         * nptl/pthread_mutex_getprioceiling.c
7331         (pthread_mutex_getprioceiling): Likewise.
7332         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
7333         Likewise.
7334         * nptl/pthread_mutexattr_getprotocol.c
7335         (pthread_mutexattr_getprotocol): Likewise.
7336         * nptl/pthread_mutexattr_getpshared.c
7337         (pthread_mutexattr_getpshared): Likewise.
7338         * nptl/pthread_mutexattr_getrobust.c
7339         (pthread_mutexattr_getrobust): Likewise.
7340         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7341         Likewise.
7342         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
7343         Likewise.
7344         * nptl/pthread_mutexattr_setprioceiling.c
7345         (pthread_mutexattr_setprioceiling): Likewise.
7346         * nptl/pthread_mutexattr_setprotocol.c
7347         (pthread_mutexattr_setprotocol): Likewise.
7348         * nptl/pthread_mutexattr_setpshared.c
7349         (pthread_mutexattr_setpshared): Likewise.
7350         * nptl/pthread_mutexattr_setrobust.c
7351         (pthread_mutexattr_setrobust): Likewise.
7352         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
7353         Likewise.
7354         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
7355         Likewise.
7356         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
7357         Likewise.
7358         * nptl/pthread_rwlockattr_getkind_np.c
7359         (pthread_rwlockattr_getkind_np): Likewise.
7360         * nptl/pthread_rwlockattr_getpshared.c
7361         (pthread_rwlockattr_getpshared): Likewise.
7362         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
7363         Likewise.
7364         * nptl/pthread_rwlockattr_setkind_np.c
7365         (pthread_rwlockattr_setkind_np): Likewise.
7366         * nptl/pthread_rwlockattr_setpshared.c
7367         (pthread_rwlockattr_setpshared): Likewise.
7368         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
7369         Likewise.
7370         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
7371         Likewise.
7372         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
7373         Likewise.
7374         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
7375         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
7376         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
7377         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
7378         * nptl/sem_close.c (sem_close): Likewise.
7379         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
7380         * nptl/sem_init.c (__old_sem_init): Likewise.
7381         * nptl/sigaction.c (__sigaction): Likewise.
7382         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
7383         * posix/_exit.c (_exit): Likewise.
7384         * posix/alarm.c (alarm): Likewise.
7385         * posix/confstr.c (confstr): Likewise.
7386         * posix/fpathconf.c (__fpathconf): Likewise.
7387         * posix/getgroups.c (__getgroups): Likewise.
7388         * posix/getpgid.c (__getpgid): Likewise.
7389         * posix/group_member.c (__group_member): Likewise.
7390         * posix/pathconf.c (__pathconf): Likewise.
7391         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
7392         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
7393         * posix/setgid.c (__setgid): Likewise.
7394         * posix/setpgid.c (__setpgid): Likewise.
7395         * posix/setuid.c (__setuid): Likewise.
7396         * posix/sleep.c (__sleep): Likewise.
7397         * posix/sysconf.c (__sysconf): Likewise.
7398         * posix/times.c (__times): Likewise.
7399         * posix/uname.c (__uname): Likewise.
7400         * posix/waitid.c (__waitid): Likewise.
7401         * pwd/getpw.c (__getpw): Likewise.
7402         * resolv/base64.c (b64_pton): Likewise.
7403         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
7404         * resolv/gethnamaddr.c (Dprintf): Likewise.
7405         (gethostbyname): Likewise.
7406         (gethostbyname2): Likewise.
7407         (gethostbyaddr): Likewise.
7408         (_sethtent): Likewise.
7409         (_gethtbyname): Likewise.
7410         (_gethtbyname2): Likewise.
7411         (_gethtbyaddr): Likewise.
7412         (map_v4v6_address): Likewise.
7413         (map_v4v6_hostent): Likewise.
7414         (addrsort): Likewise.
7415         (ht_sethostent): Likewise.
7416         (ht_gethostbyname): Likewise.
7417         (ht_gethostbyaddr): Likewise.
7418         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
7419         (inet_net_ntop_ipv4): Likewise.
7420         * resolv/inet_neta.c (inet_neta): Likewise.
7421         * resolv/inet_ntop.c (inet_ntop): Likewise.
7422         (inet_ntop4): Likewise.
7423         (inet_ntop6): Likewise.
7424         * resolv/inet_pton.c (__inet_pton): Likewise.
7425         (inet_pton4): Likewise.
7426         (inet_pton6): Likewise.
7427         * resolv/res_debug.c (loc_aton): Likewise.
7428         (loc_ntoa): Likewise.
7429         * resource/getpriority.c (__getpriority): Likewise.
7430         * resource/getrusage.c (__getrusage): Likewise.
7431         * resource/nice.c (nice): Likewise.
7432         * resource/setpriority.c (__setpriority): Likewise.
7433         * resource/setrlimit64.c (setrlimit64): Likewise.
7434         * resource/vlimit.c (vlimit): Likewise.
7435         * resource/vtimes.c (vtimes): Likewise.
7436         * rt/aio_error.c (aio_error): Likewise.
7437         * rt/aio_return.c (aio_return): Likewise.
7438         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
7439         * signal/kill.c (__kill): Likewise.
7440         * signal/killpg.c (killpg): Likewise.
7441         * signal/raise.c (raise): Likewise.
7442         * signal/sigaction.c (__sigaction): Likewise.
7443         * signal/sigaddset.c (sigaddset): Likewise.
7444         * signal/sigaltstack.c (sigaltstack): Likewise.
7445         * signal/sigandset.c (sigandset): Likewise.
7446         * signal/sigblock.c (__sigblock): Likewise.
7447         * signal/sigdelset.c (sigdelset): Likewise.
7448         * signal/sigempty.c (sigemptyset): Likewise.
7449         * signal/sigfillset.c (sigfillset): Likewise.
7450         * signal/sighold.c (sighold): Likewise.
7451         * signal/sigignore.c (sigignore): Likewise.
7452         * signal/sigintr.c (siginterrupt): Likewise.
7453         * signal/sigisempty.c (sigisemptyset): Likewise.
7454         * signal/sigismem.c (sigismember): Likewise.
7455         * signal/signal.c (signal): Likewise.
7456         * signal/sigorset.c (sigorset): Likewise.
7457         * signal/sigpause.c (__sigpause): Likewise.
7458         * signal/sigpending.c (sigpending): Likewise.
7459         * signal/sigprocmask.c (__sigprocmask): Likewise.
7460         * signal/sigrelse.c (sigrelse): Likewise.
7461         * signal/sigreturn.c (__sigreturn): Likewise.
7462         * signal/sigset.c (sigset): Likewise.
7463         * signal/sigsetmask.c (__sigsetmask): Likewise.
7464         * signal/sigstack.c (sigstack): Likewise.
7465         * signal/sigsuspend.c (__sigsuspend): Likewise.
7466         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
7467         * signal/sysv_signal.c (__sysv_signal): Likewise.
7468         * socket/accept.c (accept): Likewise.
7469         * socket/accept4.c (__libc_accept4): Likewise.
7470         * socket/bind.c (__bind): Likewise.
7471         * socket/connect.c (__connect): Likewise.
7472         * socket/getpeername.c (getpeername): Likewise.
7473         * socket/getsockname.c (__getsockname): Likewise.
7474         * socket/getsockopt.c (getsockopt): Likewise.
7475         * socket/listen.c (__listen): Likewise.
7476         * socket/recv.c (__recv): Likewise.
7477         * socket/recvmsg.c (__recvmsg): Likewise.
7478         * socket/send.c (__send): Likewise.
7479         * socket/sendmsg.c (__sendmsg): Likewise.
7480         * socket/shutdown.c (shutdown): Likewise.
7481         * socket/sockatmark.c (sockatmark): Likewise.
7482         * socket/socket.c (__socket): Likewise.
7483         * stdio-common/ctermid.c (ctermid): Likewise.
7484         * stdio-common/cuserid.c (cuserid): Likewise.
7485         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
7486         * stdio-common/remove.c (remove): Likewise.
7487         * stdio-common/rename.c (rename): Likewise.
7488         * stdio-common/renameat.c (renameat): Likewise.
7489         * stdio-common/tempname.c (__gen_tempname): Likewise.
7490         * stdio-common/xbug.c (InitBuffer): Likewise.
7491         (AppendToBuffer): Likewise.
7492         (ReadFile): Likewise.
7493         * stdlib/a64l.c (a64l): Likewise.
7494         * stdlib/drand48_r.c (drand48_r): Likewise.
7495         * stdlib/getcontext.c (getcontext): Likewise.
7496         * stdlib/getenv.c (getenv): Likewise.
7497         * stdlib/l64a.c (l64a): Likewise.
7498         * stdlib/llabs.c (llabs): Likewise.
7499         * stdlib/lldiv.c (lldiv): Likewise.
7500         * stdlib/lrand48_r.c (lrand48_r): Likewise.
7501         * stdlib/mrand48_r.c (mrand48_r): Likewise.
7502         * stdlib/putenv.c (putenv): Likewise.
7503         * stdlib/random.c (__srandom): Likewise.
7504         (__initstate): Likewise.
7505         (__setstate): Likewise.
7506         * stdlib/random_r.c (__srandom_r): Likewise.
7507         (__setstate_r): Likewise.
7508         (__random_r): Likewise.
7509         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
7510         * stdlib/setcontext.c (setcontext): Likewise.
7511         * stdlib/setenv.c (setenv): Likewise.
7512         (unsetenv): Likewise.
7513         * stdlib/srand48.c (srand48): Likewise.
7514         * stdlib/srand48_r.c (__srand48_r): Likewise.
7515         * stdlib/swapcontext.c (swapcontext): Likewise.
7516         * stdlib/system.c (__libc_system): Likewise.
7517         * stdlib/tst-strtod.c (expand): Likewise.
7518         * stdlib/tst-strtol.c (expand): Likewise.
7519         * stdlib/tst-strtoll.c (expand): Likewise.
7520         * streams/fattach.c (fattach): Likewise.
7521         * streams/fdetach.c (fdetach): Likewise.
7522         * streams/getmsg.c (getmsg): Likewise.
7523         * streams/isastream.c (isastream): Likewise.
7524         * string/ffs.c (__ffs): Likewise.
7525         * string/ffsll.c (ffsll): Likewise.
7526         * string/memcmp.c (memcmp_common_alignment): Likewise.
7527         (memcmp_not_common_alignment): Likewise.
7528         (MEMCMP): Likewise.
7529         * string/memcpy.c (memcpy): Likewise.
7530         * string/memmove.c (MEMMOVE): Likewise.
7531         * string/memset.c (memset): Likewise.
7532         * string/rawmemchr.c (RAWMEMCHR): Likewise.
7533         * string/strchrnul.c (STRCHRNUL): Likewise.
7534         * string/strerror.c (strerror): Likewise.
7535         * string/strndup.c (__strndup): Likewise.
7536         * string/strverscmp.c (__strverscmp): Likewise.
7537         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
7538         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
7539         (clnttcp_freeres): Likewise.
7540         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
7541         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
7542         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
7543         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
7544         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
7545         (xdr_callhdr): Likewise.
7546         * sunrpc/rpcinfo.c (udpping): Likewise.
7547         (tcpping): Likewise.
7548         (pstatus): Likewise.
7549         (pmapdump): Likewise.
7550         (brdcst): Likewise.
7551         (deletereg): Likewise.
7552         (getprognum): Likewise.
7553         (getvers): Likewise.
7554         (get_inet_address): Likewise.
7555         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
7556         * sunrpc/svc_udp.c (svcudp_create): Likewise.
7557         (svcudp_stat): Likewise.
7558         (svcudp_recv): Likewise.
7559         (svcudp_reply): Likewise.
7560         (svcudp_getargs): Likewise.
7561         (svcudp_freeargs): Likewise.
7562         (svcudp_destroy): Likewise.
7563         * sunrpc/xdr.c (xdr_bytes): Likewise.
7564         (xdr_netobj): Likewise.
7565         (xdr_string): Likewise.
7566         (xdr_wrapstring): Likewise.
7567         * sunrpc/xdr_float.c (xdr_float): Likewise.
7568         (xdr_double): Likewise.
7569         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
7570         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
7571         * sysvipc/ftok.c (ftok): Likewise.
7572         * sysvipc/msgctl.c (msgctl): Likewise.
7573         * sysvipc/msgget.c (msgget): Likewise.
7574         * sysvipc/msgrcv.c (msgrcv): Likewise.
7575         * sysvipc/msgsnd.c (msgsnd): Likewise.
7576         * sysvipc/semget.c (semget): Likewise.
7577         * sysvipc/semop.c (semop): Likewise.
7578         * sysvipc/shmat.c (shmat): Likewise.
7579         * sysvipc/shmctl.c (shmctl): Likewise.
7580         * sysvipc/shmdt.c (shmdt): Likewise.
7581         * sysvipc/shmget.c (shmget): Likewise.
7582         * termios/cfmakeraw.c (cfmakeraw): Likewise.
7583         * termios/speed.c (cfgetospeed): Likewise.
7584         (cfgetispeed): Likewise.
7585         (cfsetospeed): Likewise.
7586         (cfsetispeed): Likewise.
7587         * termios/tcflow.c (tcflow): Likewise.
7588         * termios/tcflush.c (tcflush): Likewise.
7589         * termios/tcgetattr.c (__tcgetattr): Likewise.
7590         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
7591         * termios/tcgetsid.c (tcgetsid): Likewise.
7592         * termios/tcsendbrk.c (tcsendbreak): Likewise.
7593         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
7594         * time/adjtime.c (__adjtime): Likewise.
7595         * time/dysize.c (dysize): Likewise.
7596         * time/ftime.c (ftime): Likewise.
7597         * time/getitimer.c (__getitimer): Likewise.
7598         * time/gettimeofday.c (__gettimeofday): Likewise.
7599         * time/gmtime.c (__gmtime_r): Likewise.
7600         (gmtime): Likewise.
7601         * time/localtime.c (__localtime_r): Likewise.
7602         (localtime): Likewise.
7603         * time/offtime.c (__offtime): Likewise.
7604         * time/settimeofday.c (__settimeofday): Likewise.
7605         * time/stime.c (stime): Likewise.
7606         * time/strftime_l.c (tm_diff): Likewise.
7607         (iso_week_days): Likewise.
7608         * time/strptime.c (strptime): Likewise.
7609         * time/time.c (time): Likewise.
7610         * time/timespec_get.c (timespec_get): Likewise.
7611         * time/tzset.c (tzset_internal): Likewise.
7612         (compute_change): Likewise.
7613         (__tz_compute): Likewise.
7614         * wcsmbs/btowc.c (__btowc): Likewise.
7615         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
7616         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
7617         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
7618         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
7619         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
7620         * wcsmbs/wcscat.c (__wcscat): Likewise.
7621         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7622         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
7623         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
7624         * wcsmbs/wcscspn.c (wcscspn): Likewise.
7625         * wcsmbs/wcsdup.c (wcsdup): Likewise.
7626         * wcsmbs/wcslen.c (__wcslen): Likewise.
7627         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
7628         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
7629         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
7630         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
7631         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7632         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
7633         * wcsmbs/wcsspn.c (wcsspn): Likewise.
7634         * wcsmbs/wcsstr.c (wcsstr): Likewise.
7635         * wcsmbs/wcstok.c (wcstok): Likewise.
7636         * wcsmbs/wctob.c (wctob): Likewise.
7637         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
7638         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7639         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
7640         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
7641         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
7642         * wcsmbs/wmemset.c (__wmemset): Likewise.
7643         * wctype/wcfuncs.c (__towlower): Likewise.
7644         (__towupper): Likewise.
7646         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
7647         (lll_unlock_elision): Add adapt_count parameter.
7649 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
7651         * sysdeps/nptl/configure.ac: Do not give errors based on the
7652         results of top-level configure tests.
7653         * sysdeps/nptl/configure: Regenerated.
7655         * configure.ac (libc_cv_Bgroup): Remove configure test.
7656         * configure: Regenerated.
7657         * config.make.in (have-Bgroup): Remove variable.
7659         * configure.ac (sizeof_long_double): Remove configure test.
7660         * configure: Regenerated.
7661         * config.make.in (sizeof-long-double): Remove variable.
7663         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
7664         * configure: Regenerated.
7665         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
7666         variable.
7667         (exceptions): Likewise.
7668         * sysdeps/arm/configure: Regenerated.
7669         * config.make.in (exceptions): Remove variable.
7670         * Makeconfig (uses-callbacks): Use -fexceptions instead of
7671         $(exceptions).
7672         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
7673         (CFLAGS-vdprintf_chk.c): Likewise.
7674         (CFLAGS-printf_chk.c): Likewise.
7675         (CFLAGS-fprintf_chk.c): Likewise.
7676         (CFLAGS-vprintf_chk.c): Likewise.
7677         (CFLAGS-vfprintf_chk.c): Likewise.
7678         (CFLAGS-gets_chk.c): Likewise.
7679         (CFLAGS-fgets_chk.c): Likewise.
7680         (CFLAGS-fgets_u_chk.c): Likewise.
7681         (CFLAGS-fread_chk.c): Likewise.
7682         (CFLAGS-fread_u_chk.c): Likewise.
7683         (CFLAGS-wprintf_chk.c): Likewise.
7684         (CFLAGS-fwprintf_chk.c): Likewise.
7685         (CFLAGS-vwprintf_chk.c): Likewise.
7686         (CFLAGS-vfwprintf_chk.c): Likewise.
7687         (CFLAGS-fgetws_chk.c): Likewise.
7688         (CFLAGS-fgetws_u_chk.c): Likewise.
7689         * libio/Makefile (CFLAGS-fileops.c): Likewise.
7690         (CFLAGS-fputc.c): Likewise.
7691         (CFLAGS-fputwc.c): Likewise.
7692         (CFLAGS-freopen64.c): Likewise.
7693         (CFLAGS-freopen.c): Likewise.
7694         (CFLAGS-fseek.c): Likewise.
7695         (CFLAGS-fseeko64.c): Likewise.
7696         (CFLAGS-fseeko.c): Likewise.
7697         (CFLAGS-ftello64.c): Likewise.
7698         (CFLAGS-ftello.c): Likewise.
7699         (CFLAGS-fwide.c): Likewise.
7700         (CFLAGS-genops.c): Likewise.
7701         (CFLAGS-getc.c): Likewise.
7702         (CFLAGS-getchar.c): Likewise.
7703         (CFLAGS-getwc.c): Likewise.
7704         (CFLAGS-getwchar.c): Likewise.
7705         (CFLAGS-iofclose.c): Likewise.
7706         (CFLAGS-iofflush.c): Likewise.
7707         (CFLAGS-iofgetpos64.c): Likewise.
7708         (CFLAGS-iofgetpos.c): Likewise.
7709         (CFLAGS-iofgets.c): Likewise.
7710         (CFLAGS-iofgetws.c): Likewise.
7711         (CFLAGS-iofputs.c): Likewise.
7712         (CFLAGS-iofputws.c): Likewise.
7713         (CFLAGS-iofread.c): Likewise.
7714         (CFLAGS-iofsetpos64.c): Likewise.
7715         (CFLAGS-iofsetpos.c): Likewise.
7716         (CFLAGS-ioftell.c): Likewise.
7717         (CFLAGS-iofwrite.c): Likewise.
7718         (CFLAGS-iogetdelim.c): Likewise.
7719         (CFLAGS-iogetline.c): Likewise.
7720         (CFLAGS-iogets.c): Likewise.
7721         (CFLAGS-iogetwline.c): Likewise.
7722         (CFLAGS-ioputs.c): Likewise.
7723         (CFLAGS-ioseekoff.c): Likewise.
7724         (CFLAGS-ioseekpos.c): Likewise.
7725         (CFLAGS-iosetbuffer.c): Likewise.
7726         (CFLAGS-iosetvbuf.c): Likewise.
7727         (CFLAGS-ioungetc.c): Likewise.
7728         (CFLAGS-ioungetwc.c): Likewise.
7729         (CFLAGS-oldfileops.c): Likewise.
7730         (CFLAGS-oldiofclose.c): Likewise.
7731         (CFLAGS-oldiofgetpos64.c): Likewise.
7732         (CFLAGS-oldiofgetpos.c): Likewise.
7733         (CFLAGS-oldiofsetpos64.c): Likewise.
7734         (CFLAGS-oldiofsetpos.c): Likewise.
7735         (CFLAGS-peekc.c): Likewise.
7736         (CFLAGS-putc.c): Likewise.
7737         (CFLAGS-putchar.c): Likewise.
7738         (CFLAGS-putwc.c): Likewise.
7739         (CFLAGS-putwchar.c): Likewise.
7740         (CFLAGS-rewind.c): Likewise.
7741         (CFLAGS-wfileops.c): Likewise.
7742         (CFLAGS-wgenops.c): Likewise.
7743         (CFLAGS-oldiofopen.c): Likewise.
7744         (CFLAGS-iofopen.c): Likewise.
7745         (CFLAGS-iofopen64.c): Likewise.
7746         (CFLAGS-oldtmpfile.c): Likewise.
7747         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
7748         (CFLAGS-fprintf.c): Likewise.
7749         (CFLAGS-printf.c): Likewise.
7750         (CFLAGS-vfwprintf.c): Likewise.
7751         (CFLAGS-vfscanf.c): Likewise.
7752         (CFLAGS-vfwscanf.c): Likewise.
7753         (CFLAGS-fscanf.c): Likewise.
7754         (CFLAGS-scanf.c): Likewise.
7755         (CFLAGS-isoc99_vfscanf.c): Likewise.
7756         (CFLAGS-isoc99_vscanf.c): Likewise.
7757         (CFLAGS-isoc99_fscanf.c): Likewise.
7758         (CFLAGS-isoc99_scanf.c): Likewise.
7759         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
7760         (CFLAGS-isoc99_fwscanf.c): Likewise.
7761         (CFLAGS-isoc99_vwscanf.c): Likewise.
7762         (CFLAGS-isoc99_vfwscanf.c): Likewise.
7764         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
7765         after mkstemp64.
7766         * login/tst-utmp.c (do_prepare): Likewise.
7767         * rt/tst-aio.c (do_prepare): Likewise.
7768         * rt/tst-aio64.c (do_prepare): Likewise.
7770 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7772         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7773         (__lll_lock_elision): Remove adapt_count decrement...
7774         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7775         (__lll_trylock_elision): Likewise.
7776         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
7777         (__lll_unlock_elision): ... to here. And utilize
7778         new adapt_count parameter.
7779         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
7780         (__lll_unlock_elision): Update to include adapt_count
7781         parameter.
7782         (lll_unlock_elision): Pass pointer to adapt_count
7783         variable.
7785 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7787         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
7788         Add elision adapt_count parameter to list of arguments.
7789         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
7790         (lll_unlock_elision): Update with new parameter list
7791         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
7792         (lll_unlock_elision): Likewise.
7793         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
7794         (lll_unlock_elision): Likewise.
7796 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7798         [BZ #19122]
7799         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
7800         attribute_hidden.
7802         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
7803         attribute_hidden.
7804         [IS_IN (rtld)] (__strdup): Likewise.
7805         [IS_IN (rtld)] (__strerror_r): Likewise.
7806         [IS_IN (rtld)] (__strsep_g): Likewise.
7807         [IS_IN (rtld)] (memchr): Likewise.
7808         [IS_IN (rtld)] (memcmp): Likewise.
7809         [IS_IN (rtld)] (memcpy): Likewise.
7810         [IS_IN (rtld)] (memmove): Likewise.
7811         [IS_IN (rtld)] (memset): Likewise.
7812         [IS_IN (rtld)] (rawmemchr): Likewise.
7813         [IS_IN (rtld)] (stpcpy): Likewise.
7814         [IS_IN (rtld)] (strchr): Likewise.
7815         [IS_IN (rtld)] (strcmp): Likewise.
7816         [IS_IN (rtld)] (strlen): Likewise.
7817         [IS_IN (rtld)] (strnlen): Likewise.
7818         [IS_IN (rtld)] (strsep): Likewise.
7820         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
7821         attribute_hidden.
7822         [IS_IN (rtld)] (__strtoul_internal): Likewise.
7824         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
7825         attribute_hidden.
7826         [IS_IN (rtld)] (__libc_sigaction): Likewise.
7828         * include/setjmp.h (__longjmp): Add attribute_hidden.
7829         [IS_IN (rtld)] (__sigsetjmp): Likewise.
7831         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
7832         Add attribute_hidden.
7834         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
7835         [IS_IN (rtld)] (__open): Likewise.
7836         [IS_IN (rtld)] (__fcntl): Likewise.
7838         * include/dirent.h (__opendirat): Add attribute_hidden.
7839         (__getdents): Likewise.
7840         (__getdents64): Likewise.
7841         (__alloc_dir): Likewise.
7842         [IS_IN (rtld)] (__closedir): Likewise.
7843         [IS_IN (rtld)] (__fdopendir): Likewise.
7844         [IS_IN (rtld)] (__readdir): Likewise.
7845         [IS_IN (rtld)] (__readdir64): Likewise.
7846         [IS_IN (rtld)] (__rewinddir): Likewise.
7848         * include/dlfcn.h (_dl_catch_error): Moved to ...
7849         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
7850         attribute_hidden.
7852         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
7853         (_itoa_word): Likewise.
7855         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
7856         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
7857         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
7858         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
7859         (_dl_higher_prime_number): Likewise.
7860         (_dl_debug_printf_c): Likewise.
7861         (_dl_signal_cerror): Likewise.
7862         (_dl_receive_error): Likewise.
7863         (_dl_reloc_bad_type): Likewise.
7864         (_dl_resolve_conflicts): Likewise.
7865         (_dl_check_all_versions): Likewise.
7866         (_dl_check_map_versions): Likewise.
7867         (_dl_sort_fini): Likewise.
7868         (_dl_debug_initialize): Likewise.
7869         (_dl_init_paths): Likewise.
7870         (_dl_show_auxv): Likewise.
7871         (_dl_next_ld_env_entry): Likewise.
7872         (_dl_important_hwcaps): Likewise.
7873         (_dl_load_cache_lookup): Likewise.
7874         (_dl_update_slotinfo): Likewise.
7875         (_dl_show_scope): Likewise.
7877         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
7878         attribute_hidden.
7879         (_wordcopy_fwd_dest_aligned): Likewise.
7880         (_wordcopy_bwd_aligned): Likewise.
7881         (_wordcopy_bwd_dest_aligned): Likewise.
7883         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
7884         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
7885         Likewise.
7886         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
7887         Likewise.
7888         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
7890 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7892         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
7893         GCC 5 requirement.
7895 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
7897         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
7898         test.
7899         * sysdeps/i386/configure: Regenerated.
7900         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
7901         code unconditional.
7903         * configure.ac (libc_cv_asm_previous_directive): Remove configure
7904         test.
7905         (libc_cv_asm_popsection_directive): Likewise.
7906         * configure: Regenerated.
7907         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
7908         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
7909         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
7910         (__make_section_unallocated): Make definition unconditional.
7911         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
7912         Remove conditional definition.
7913         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
7914         (__make_section_unallocated): Likewise.
7916         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
7917         * configure: Regenerated.
7918         * config.make.in (static-libgcc): Remove variable.
7919         * Makerules (build-shlib-helper): Use -static-libgcc instead of
7920         $(static-libgcc).
7921         (build-module-helper): Likewise.
7923         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
7924         * configure: Regenerated.
7926 2015-10-15  Florian Weimer  <fweimer@redhat.com>
7928         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
7929         (struct char_buffer): New type.
7930         (char_buffer_start, char_buffer_size, char_buffer_error)
7931         (char_buffer_rewind, char_buffer_add): New functions.
7932         (ADDW): Remove macro, replaced by the char_buffer_add function.
7933         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
7934         of extend_alloca.  Make control flow more explicit.
7936 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7938         [BZ #19137]
7939         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
7940         Add -fomit-frame-pointer.
7941         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
7943 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7945         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
7946         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
7947         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
7948         only if !__GNUC_PREREQ (5,0).
7949         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
7950         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
7951         (INTERNAL_SYSCALL_NCS): Likewise.
7952         (LOADREGS_0): New macro for GCC 5.
7953         (ASMARGS_0): Likewise.
7954         (LOADREGS_1): Likewise.
7955         (ASMARGS_1): Likewise.
7956         (LOADREGS_2): Likewise.
7957         (ASMARGS_2): Likewise.
7958         (LOADREGS_3): Likewise.
7959         (ASMARGS_3): Likewise.
7960         (LOADREGS_4): Likewise.
7961         (ASMARGS_4): Likewise.
7962         (LOADREGS_5): Likewise.
7963         (ASMARGS_5): Likewise.
7964         (LOADREGS_6): Likewise.
7965         (ASMARGS_6): Likewise.
7967 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7969         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
7970         -fomit-frame-pointer.
7971         (CFLAGS-mmap64.c): Likewise.
7972         (CFLAGS-semtimedop.c): Likewise.
7973         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
7974         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
7975         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7976         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7978 2015-10-15  Florian Weimer  <fweimer@redhat.com>
7980         [BZ #18928]
7981         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
7982         _dl_pointer_guard member.
7983         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
7984         initializer.
7985         (security_init): Always set up pointer guard.
7986         (process_envvars): Do not process LD_POINTER_GUARD.
7988 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
7990         [BZ #19134]
7991         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
7992         (.LC2): Likewise.
7993         (.LC3): Likewise.
7994         (__lround): Do not add 0.5 to integer or out-of-range arguments.
7996 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7998         [BZ #19129]
7999         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
8000         r0 and r1.
8002 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
8004         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
8006 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
8008         * include/stap-probe.h: Fix macro definition formatting.
8010 2015-10-14  Florian Weimer  <fweimer@redhat.com>
8012         [BZ #19074]
8013         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
8014         load and store num_ifs.
8016 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8018         [BZ #18822]
8019         * sysdeps/unix/sysv/linux/sched_getaffinity.c
8020         (__sched_getaffinity_new): Add libc_hidden_proto and
8021         libc_hidden_def.
8023 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8025         [BZ #19007]
8026         * scripts/localplt.awk: Also allow GOT references.
8027         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
8028         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
8029         with "+ REL R_386_GLOB_DAT".
8030         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
8031         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
8033 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8035         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
8036         INLINE_SYSCALL_ERROR_RETURN_VALUE.
8037         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
8038         Likewise.
8039         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
8040         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
8041         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
8042         INTERNAL_SYSCALLINTERNAL_SYSCALL and
8043         INLINE_SYSCALL_ERROR_RETURN_VALUE.
8044         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
8045         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8046         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
8047         Likewise.
8048         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8050 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
8052         [BZ #19125]
8053         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
8054         <math_private.h> and <stdint.h>.
8055         (__llround): Avoid conversions to and from long long int, and
8056         subtractions, where those might raise spurious exceptions.
8057         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
8058         <math_private.h> and <stdint.h>.
8059         (__llroundf): Avoid conversions to and from long long int, and
8060         subtractions, where those might raise spurious exceptions.
8062 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8064         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
8065         INLINE_SYSCALL_ERROR_RETURN_VALUE.
8066         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8067         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
8068         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8069         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8070         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
8071         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
8072         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
8073         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8074         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8075         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8076         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
8077         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8078         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8079         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
8080         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
8081         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8082         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
8083         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
8084         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
8085         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
8086         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
8087         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
8088         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
8089         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8090         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
8091         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8092         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8093         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
8094         (__xstat64_conv): Likewise.
8095         (__xstat32_conv): Likewise.
8097 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8099         * sysdeps/unix/sysv/linux/sysdep.h: New file.
8100         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
8101         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
8102         <sysdeps/unix/sysv/linux/sysdep.h>.
8103         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8104         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
8105         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
8106         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8107         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8108         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
8109         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
8110         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
8111         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
8112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8114         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8115         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8116         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8117         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8118         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8119         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
8120         (sysdep-dl-routines): Add sysdep.
8121         [$(subdir) == nptl] (libpthread-routines): Likewise.
8122         [$(subdir) == rt] (librt-routines): Likewise.
8123         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
8124         PIC when branching to SYSCALL_ERROR_LABEL.
8125         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
8126         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
8127         <sysdeps/unix/sysv/linux/sysdep.h>.
8128         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
8129         (SYSCALL_ERROR_ERRNO): Removed.
8130         (SYSCALL_ERROR_HANDLER): Changed to empty.
8131         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
8132         (__syscall_error): New prototype.
8133         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
8134         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
8136 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8138         [BZ #19124]
8139         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
8140         (_dl_runtime_resolve_avx512): Make it a hidden alias of
8141         _dl_runtime_resolve_avx.
8142         (_dl_runtime_profile_avx512): Make it a hidden alias of
8143         _dl_runtime_profile_avx.
8145 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
8147         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
8148         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
8149         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
8150         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
8152         [BZ #16422]
8153         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
8154         New configure test.
8155         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
8156         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
8157         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
8158         <math_private.h> and <stdint.h>.
8159         (__llrint): Avoid conversions to long long int where those might
8160         raise spurious exceptions.
8161         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
8162         <math_private.h> and <stdint.h>.
8163         (__llrintf): Avoid conversions to long long int where those might
8164         raise spurious exceptions.
8166 2015-10-12  Andreas Schwab  <schwab@suse.de>
8168         [BZ #18969]
8169         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
8170         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
8171         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
8172         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
8173         $(gen-locales).
8174         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
8175         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
8176         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
8177         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
8178         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
8179         $(gen-locales).
8180         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
8181         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
8182         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
8183         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
8184         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
8185         ($(objpfx)tst-ftell-active-handler.out)
8186         ($(objpfx)tst-ftell-append.out)
8187         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
8188         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
8189         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
8190         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
8191         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
8192         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
8193         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
8194         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
8195         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
8196         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
8197         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
8198         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
8199         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
8200         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
8201         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
8202         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
8203         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
8204         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
8205         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
8206         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
8207         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
8208         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
8209         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
8210         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
8211         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
8212         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
8213         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
8214         $(gen-locales).
8215         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
8216         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
8217         $(gen-locales).
8218         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
8219         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
8220         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
8221         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
8222         $(gen-locales).
8223         * libio/tst_wprintf2.c (main): Use explicit locale.
8224         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
8226 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8228         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
8229         __msg_sig_post.
8230         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
8232 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
8234         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8235         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8237         * sysdeps/arm/libm-test-ulps: Regenerated.
8239         [BZ #15470]
8240         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
8242         [BZ #16399]
8243         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
8244         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
8245         and <fix-fp-int-convert-overflow.h>.
8246         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
8247         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8248         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
8249         and <fix-fp-int-convert-overflow.h>.
8250         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
8251         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8252         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
8253         <fix-fp-int-convert-overflow.h>.
8254         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
8255         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8256         * sysdeps/ieee754/dbl-64/s_lround.c: Include
8257         <fix-fp-int-convert-overflow.h>.
8258         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
8259         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8260         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
8261         and <fix-fp-int-convert-overflow.h>.
8262         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
8263         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8264         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
8265         <limits.h> and <fix-fp-int-convert-overflow.h>.
8266         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
8267         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8268         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
8269         and <fix-fp-int-convert-overflow.h>.
8270         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
8271         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8272         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
8273         and <fix-fp-int-convert-overflow.h>.
8274         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
8275         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8276         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
8278 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
8280         [BZ #18589]
8281         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
8282         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
8283         $(gen-locales).
8285 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8286             Phil Blundell <pb@pbcl.net>
8288         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
8289         * nptl/tst-cancel26.c: New file.
8290         * nptl/tst-cancel27.c: Likewise.
8292 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
8294         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
8295         __ILP32__ isn't defined.
8296         (lrint): Likewise.
8297         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
8298         (lrintf): Likewise.
8299         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
8300         (lrintl): Likewise.
8301         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
8302         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
8303         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
8305 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8307         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8308         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8310         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
8311         file.
8312         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
8313         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
8315 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
8317         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
8318         configure test.
8319         * sysdeps/i386/configure: Regenerated.
8320         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
8321         configure test.
8322         * sysdeps/x86_64/configure: Regenerated.
8323         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
8324         Make code unconditional.
8326         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
8327         test.
8328         * sysdeps/i386/configure: Regenerated.
8329         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
8330         test.
8331         * sysdeps/x86_64/configure: Regenerated.
8332         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
8333         Make code unconditional.
8334         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
8335         Likewise.
8336         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
8337         Likewise.
8338         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8339         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
8340         code unconditional.
8341         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8342         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
8343         code unconditional.
8344         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8345         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
8346         code unconditional.
8347         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
8348         code unconditional.
8349         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8350         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
8351         code unconditional.
8352         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8353         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
8354         code unconditional.
8355         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8356         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
8357         code unconditional.
8358         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8359         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
8360         code unconditional.
8361         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8362         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
8364         [BZ #19095]
8365         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
8366         mantissa to long int before shifting left.
8368 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
8370         [BZ #19094]
8371         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
8372         <limits.h>.
8373         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8374         when result overflows but exception would not result from cast.
8375         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
8376         <limits.h>.
8377         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8378         when result overflows but exception would not result from cast.
8379         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
8380         <limits.h>.
8381         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8382         when result overflows but exception would not result from cast.
8383         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
8384         <limits.h>.
8385         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8386         when result overflows but exception would not result from cast.
8387         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
8388         <limits.h>.
8389         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8390         when result overflows but exception would not result from cast.
8391         * math/libm-test.inc (lrint_test_data): Add more tests.
8392         (llrint_test_data): Likewise.
8394 2015-10-08  Roland McGrath  <roland@hack.frob.com>
8396         [BZ #18872]
8397         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
8398         Move out from under [$(run-built-tests) = yes] conditional.
8399         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
8400         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
8402 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
8404         [BZ #18589]
8405         * string/Makefile (tests): Add bug-strcoll2.
8406         (LOCALES): Add cs_CZ.UTF-8.
8407         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
8409         [BZ #18589]
8410         * string/bug-strcoll2.c: New file.
8411         * locale/categories.def: Revert commit
8412         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
8413         * locale/langinfo.h: Likewise.
8414         * locale/localeinfo.h: Likewise.
8415         * locale/C-collate.c: Likewise.
8416         * locale/programs/ld-collate.c (collate_output): Likewise.
8417         * string/strcoll_l.c (STRDIFF): Likewise.
8418         (STRCOLL): Likewise.
8419         * wcsmbs/wcscoll_l.c: Likewise.
8421 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
8423         * math/libm-test.inc (lround_test_data): Do not expect the absence
8424         of "inexact" for some tests with non-integer arguments.
8425         (llround_test_data): Likewise.
8427         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
8428         test.
8429         (libc_cv_cc_sse2avx): Likewise.
8430         * sysdeps/i386/configure: Regenerated.
8431         * sysdeps/i386/i686/multiarch/Makefile
8432         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
8433         [$(subdir) = math].
8434         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
8435         code unconditional.
8436         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
8437         Likewise.
8438         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
8439         Likewise.
8440         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
8441         Likewise.
8442         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
8443         test.
8444         (libc_cv_cc_sse2avx): Likewise.
8445         * sysdeps/x86_64/configure: Regenerated.
8446         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
8447         unconditional.
8448         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
8449         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
8450         unconditional.
8451         (_dl_runtime_profile)
8452         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
8453         conditional code.
8454         * sysdeps/x86_64/fpu/multiarch/Makefile
8455         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
8456         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
8457         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8458         * sysdeps/x86_64/fpu/multiarch/e_exp.c
8459         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8460         * sysdeps/x86_64/fpu/multiarch/e_log.c
8461         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8462         * sysdeps/x86_64/fpu/multiarch/s_atan.c
8463         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8464         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
8465         Likewise.
8466         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
8467         Likewise.
8468         * sysdeps/x86_64/fpu/multiarch/s_sin.c
8469         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8470         * sysdeps/x86_64/fpu/multiarch/s_tan.c
8471         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8472         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
8473         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
8474         (HAVE_SSE2AVX_SUPPORT): Likewise.
8476 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
8478         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
8479         instead of #pragma optimize.
8481 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
8483         [BZ #17195]
8484         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
8485         as is similarly done in systrim and _int_free already.
8487 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8489         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
8491 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
8493         [BZ #19088]
8494         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
8495         <limits.h>.
8496         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
8497         overflows but exception would not result from cast.
8498         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
8499         and <limits.h>.
8500         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
8501         overflows but exception would not result from cast.
8502         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
8503         <limits.h>.
8504         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
8505         overflows but exception would not result from cast.
8506         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
8507         <limits.h>.
8508         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
8509         overflows but exception would not result from cast.
8510         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
8511         <limits.h>.
8512         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
8513         overflows but exception would not result from cast.
8514         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
8515         <limits.h>.
8516         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
8517         overflows but exception would not result from cast.
8518         * math/libm-test.inc (lround_test_data): Add more tests.
8519         (llround_test_data): Likewise.
8521 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
8523         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
8524         (CFLAGS-ialloc.c): Ditto.
8525         (CFLAGS-scheck.c): Ditto.
8527 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
8529         [BZ #19086]
8530         * manual/filesys.texi (Storage Allocation): Fix argument order for
8531         posix_fallocate64.
8533 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
8535         [BZ #19085]
8536         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
8537         exponent below 48 inside case for non-overflowing exponent.
8538         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
8540 2015-10-07  Florian Weimer  <fweimer@redhat.com>
8542         * iconvdata/cp737.h (from_idx): Add const.
8543         * iconvdata/cp775.h (from_idx): Likewise.
8545 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
8547         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
8548         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
8549         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
8551         [BZ #19079]
8552         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
8553         file, conditioned on [!_LP64].
8554         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
8555         [!_LP64] (__lround): Do not define as function or alias.
8556         [!_LP64] (lround): Likewise.
8557         [!_LP64] (__lroundl): Likewise.
8558         [!_LP64] (lroundl): Likewise.
8559         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
8560         macro.
8561         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
8562         Likewise.
8564 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
8566         * math/libm-test.inc (lrint_test_data): Add more tests.
8567         (llrint_test_data): Likewise.
8568         (lround_test_data): Likewise.
8569         (llround_test_data): Likewise.
8571         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
8572         (llrint_test_data): Add tests used for lrint.
8574         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
8575         test.
8576         * sysdeps/i386/configure: Regenerated.
8577         * sysdeps/i386/i686/multiarch/Makefile
8578         [$(config-cflags-sse4) = yes]: Make code unconditional.
8579         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
8580         Likewise.
8581         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
8582         Likewise.
8583         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
8584         test.
8585         * sysdeps/x86_64/configure: Regenerated.
8586         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
8587         Make code unconditional.
8588         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
8589         Likewise.
8590         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
8591         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
8593         * scripts/rpm2dynsym.sh: Remove file.
8595 2015-10-06  Florian Weimer  <fweimer@redhat.com>
8597         * configure.ac (libc_cv_cxx_thread_local): Define.
8598         * configure: Regenerate.
8599         * config.make.in (have-cxx-thread_local): Define.
8600         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
8601         (LDLIBS-tst-thread_local1): Define.
8602         (tests): Add tst-thread_local1.
8603         [have-cxx-thread_local != yes] (tests-unsupported): Add
8604         tst-thread_local1.
8605         * nptl/tst-thread_local1.cc: New file.
8607 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
8609         [BZ #19078]
8610         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
8611         (u_thres): Likewise.
8612         (__expl): Determine whether to call __kernel_standard_l based on
8613         value of result, not argument.
8615         * math/libm-test.inc (scalb_test_data): Add more expectations for
8616         the "inexact" exception.
8618         [BZ #19077]
8619         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
8620         0.0L for argument 1.0L.
8622         [BZ #19076]
8623         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
8624         constant 0.0L when computing infinite result.
8626 2015-10-06  Florian Weimer  <fweimer@redhat.com>
8628         [BZ #10432]
8629         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
8630         malloc_usable_size.
8632 2015-10-06  Florian Weimer  <fweimer@redhat.com>
8634         [BZ #19018]
8635         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8636         Mangle function pointer before storing it.
8637         (__call_tls_dtors): Demangle function pointer before calling it.
8639 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8641         [BZ #19012]
8642         * iconv/gconv_db.c (gen_steps): Check for additional errors.
8643         Clean up on failure.
8645 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
8647         [BZ #19071]
8648         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
8649         long int variable to store possibly incremented high part of
8650         mantissa.
8651         * math/libm-test.inc (lround_test_data): Add tests used for
8652         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
8653         for tests requiring 64-bit long.  Do not condition tests on
8654         [TEST_FLOAT] unnecessarily.
8655         (llround_test_data): Add tests used for lround.  Add another
8656         expectation for the "inexact" exception.  Do not condition tests
8657         on [TEST_FLOAT] unnecessarily.
8659         [BZ #887]
8660         [BZ #19049]
8661         [BZ #19050]
8662         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
8663         * sysdeps/ieee754/dbl-64/e_log10.c: Include
8664         <fix-int-fp-convert-zero.h>.
8665         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8666         * sysdeps/ieee754/dbl-64/e_log2.c: Include
8667         <fix-int-fp-convert-zero.h>.
8668         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8669         * sysdeps/ieee754/dbl-64/s_erf.c: Include
8670         <fix-int-fp-convert-zero.h>.
8671         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8672         * sysdeps/ieee754/dbl-64/s_logb.c: Include
8673         <fix-int-fp-convert-zero.h>.
8674         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8675         * sysdeps/ieee754/flt-32/e_log10f.c: Include
8676         <fix-int-fp-convert-zero.h>.
8677         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8678         * sysdeps/ieee754/flt-32/e_log2f.c: Include
8679         <fix-int-fp-convert-zero.h>.
8680         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8681         * sysdeps/ieee754/flt-32/s_erff.c: Include
8682         <fix-int-fp-convert-zero.h>.
8683         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8684         * sysdeps/ieee754/flt-32/s_logbf.c: Include
8685         <fix-int-fp-convert-zero.h>.
8686         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8687         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
8688         <fix-int-fp-convert-zero.h>.
8689         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8690         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
8691         <fix-int-fp-convert-zero.h>.
8692         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8693         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
8694         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
8695         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
8696         file.
8697         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
8699 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
8701         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8703 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
8705         [BZ #19059]
8706         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
8707         overflowing computation.
8708         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8709         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
8710         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8711         Likewise.
8712         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8713         Likewise.
8714         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
8715         Likewise.
8716         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8717         Likewise.
8718         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8719         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8720         Likewise.
8721         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8722         Likewise.
8723         * math/libm-test.inc (nexttoward_test_data): Add more tests.
8725         * nss/rewrite_field.c (__nss_rewrite_field): Use
8726         internal_function.
8727         * nss/valid_field.c (__nss_valid_field): Likewise.
8728         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
8730 2015-10-02  Florian Weimer  <fweimer@redhat.com>
8732         [BZ #18724]
8733         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
8734         (__nss_invalid_field_characters, __nss_valid_field)
8735         (__nss_valid_list_field, __nss_rewrite_field): Declare.
8736         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
8737         tst-field.c: New file.
8738         * nss/Makefile (routines): Add valid_field, rewrite_field.
8739         (tests-static): Define unconditionally.
8740         (tests): Include tests-static.
8741         [build-static-nss] (tests-static): Use append.
8742         [build-static-nss] (tests): Remove modification.
8743         * nss/getent.c (print_group): Call putgrent.  Report error.
8744         (print_gshadow): Call putsgent.  Report error.
8745         (print_passwd): Call putpwent.  Report error.
8746         (print_shadow): Call putspent.  Report error.
8747         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
8748         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
8749         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
8750         name, password, directory, shell fields for valid syntax.  Rewrite
8751         GECOS field to match syntax.
8752         * pwd/Makefile (tests): Add tst-putpwent.
8753         * pwd/tst-putpwent.c: New file.
8754         * grp/putgrent.c (putgrent): Convert to ISO function definition.
8755         Check grName, grpasswd, gr_mem fields for valid syntax.
8756         Change loop variable i to size_t.
8757         * grp/Makefile (tests): Add tst-putgrent.
8758         * grp/tst-putgrent.c: New file.
8759         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
8760         valid syntax.
8761         * shadow/Makefile (tests): Add tst-putspent.
8762         * shadow/tst-putspent.c: New file.
8763         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
8764         sg_mem fields for valid syntax.
8765         * gshadow/Makefile (tests): Add tst-putsgent.
8766         * gshadow/tst-putsgent.c: New file.
8768 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8770         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
8771         assembly instructions.
8773 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8775         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
8776         prefix from operands.
8778 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
8780         [BZ #16347]
8781         [BZ #19046]
8782         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
8783         <libc-internal.h>.
8784         (MAXLGM): Do not use diagnostic control macros.
8785         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
8786         threshold for ldbl-128ibm.
8787         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
8788         instead of multiplying by log then subtracting.
8789         * math/auto-libm-test-in: Add more tests of lgamma.
8790         * math/auto-libm-test-out: Regenerated.
8792         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
8793         (TYPE_HEX_DIG): Likewise.
8794         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
8795         precisions when printing floating-point numbers.
8796         (check_float_internal): Likewise.
8798 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
8800         [BZ #16620]
8801         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
8802         of log (10) rounded downward to 48 bits.
8803         (log10_low): Use corresponding low part of log (10).
8805         [BZ #19032]
8806         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
8807         compute result as (x - x) / (x - x) not as 0 / 0.
8808         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8809         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
8811         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8812         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
8813         and expm1.
8814         * math/auto-libm-test-out: Regenerated.
8815         * math/libm-test.inc (acos_test_data): Add more tests.
8816         (asin_test_data): Likewise.
8817         (asinh_test_data): Likewise.
8818         (atan_test_data): Likewise.
8819         (atanh_test_data): Likewise.
8820         (atan2_test_data): Likewise.
8821         (cbrt_test_data): Likewise.
8822         (ceil_test_data): Likewise.
8823         (copysign_test_data): Likewise.
8824         (cos_test_data): Likewise.
8825         (cosh_test_data): Likewise.
8826         (erf_test_data): Likewise.
8827         (erfc_test_data): Likewise.
8828         (exp_test_data): Likewise.
8829         (exp10_test_data): Likewise.
8830         (exp2_test_data): Likewise.
8831         (expm1_test_data): Likewise.
8832         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8834 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
8836         [BZ #19006]
8837         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
8838         to ...
8839         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
8840         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
8841         to ...
8842         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
8843         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
8844         to ...
8845         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
8846         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
8847         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
8848         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
8849         to ...
8850         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
8851         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8852         Moved to ...
8853         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
8854         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8855         Moved to ...
8856         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
8857         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
8858         to ...
8859         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
8860         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8861         Moved to ...
8862         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
8863         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
8864         to ...
8865         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
8866         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
8867         Removed.
8868         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
8869         Likewise.
8870         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
8871         Likewise.
8872         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
8873         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
8874         Likewise.
8875         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8876         Likewise.
8877         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8878         Likewise.
8879         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8880         Likewise.
8881         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8882         Likewise.
8883         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
8884         Likewise.
8885         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
8886         Likewise.
8887         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
8888         Likewise.
8889         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
8890         Likewise.
8891         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
8892         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
8893         Likewise.
8894         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8895         Likewise.
8896         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8897         Likewise.
8898         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8899         Likewise.
8900         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
8901         Likewise.
8902         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8903         Replace ../i486/pthread_cond_timedwait.S with
8904         ../pthread_cond_timedwait.S.
8906 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
8908         * math/libm-test.inc (acos_test_data): Refine expectations for
8909         errno and "inexact" exceptions.
8910         (acosh_test_data): Likewise.
8911         (asin_test_data): Likewise.
8912         (asinh_test_data): Likewise.
8913         (atan_test_data): Likewise.
8914         (atanh_test_data): Likewise.
8915         (atan2_test_data): Likewise.
8916         (cbrt_test_data): Likewise.
8917         (ceil_test_data): Likewise.
8918         (copysign_test_data): Likewise.
8919         (cosh_test_data): Likewise.
8920         (erf_test_data): Likewise.
8921         (erfc_test_data): Likewise.
8922         (exp_test_data): Likewise.
8923         (exp10_test_data): Likewise.
8924         (exp2_test_data): Likewise.
8925         (expm1_test_data): Likewise.
8926         (fabs_test_data): Likewise.
8927         (floor_test_data): Likewise.
8928         (fma_test_data): Likewise.
8929         (fmax_test_data): Likewise.
8930         (fmin_test_data): Likewise.
8931         (fmod_test_data): Likewise.
8932         (fpclassify_test_data): Likewise.
8933         (frexp_test_data): Likewise.
8934         (hypot_test_data): Likewise.
8935         (ilogb_test_data): Likewise.
8936         (isgreater_test_data): Likewise.
8937         (isgreaterequal_test_data): Likewise.
8938         (isinf_test_data): Likewise.
8939         (isless_test_data): Likewise.
8940         (islessequal_test_data): Likewise.
8941         (islessgreater_test_data): Likewise.
8942         (isnan_test_data): Likewise.
8943         (isnormal_test_data): Likewise.
8944         (issignaling_test_data): Likewise.
8945         (isunordered_test_data): Likewise.
8946         (j0_test_data): Likewise.
8947         (j1_test_data): Likewise.
8948         (jn_test_data): Likewise.
8949         (lgamma_test_data): Likewise.
8950         (lrint_test_data): Likewise.
8951         (llrint_test_data): Likewise.
8952         (log_test_data): Likewise.
8953         (log10_test_data): Likewise.
8954         (log1p_test_data): Likewise.
8955         (log2_test_data): Likewise.
8956         (logb_test_data): Likewise.
8957         (lround_test_data): Likewise.
8958         (llround_test_data): Likewise.
8959         (modf_test_data): Likewise.
8960         (nearbyint_test_data): Likewise.
8961         (nextafter_test_data): Likewise.
8962         (nexttoward_test_data): Likewise.
8963         (pow_test_data): Likewise.
8964         (remainder_test_data): Likewise.
8965         (remquo_test_data): Likewise.
8966         (rint_test_data): Likewise.
8967         (round_test_data): Likewise.
8968         (signbit_test_data): Likewise.
8969         (sinh_test_data): Likewise.
8970         (sqrt_test_data): Likewise.
8971         (tanh_test_data): Likewise.
8972         (tgamma_test_data): Likewise.
8973         (trunc_test_data): Likewise.
8974         (y0_test_data): Likewise.
8975         (y1_test_data): Likewise.
8976         (yn_test_data): Likewise.
8977         (significand_test_data): Likewise.
8979 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
8981         * manual/filesys.texi (Storage Allocation): Document that
8982         posix_fallocate emulation fails when fd is open with O_WRONLY.
8984 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
8986         [BZ #19016]
8987         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
8988         allow more cases with X^2 + Y^2 >= 0.5.
8989         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
8990         normal element in sum instead of special-casing based on values of
8991         arguments.
8992         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
8993         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
8994         -1 as normal element in sum instead of special-casing based on
8995         values of arguments.
8996         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
8997         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
8998         (__x2y2m1): Update comment.
8999         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
9000         as normal element in sum instead of special-casing based on values
9001         of arguments.
9002         * math/s_clog.c (__clog): Handle more cases using log1p without
9003         hypot.
9004         * math/s_clog10.c (__clog10): Likewise.
9005         * math/s_clog10f.c (__clog10f): Likewise.
9006         * math/s_clog10l.c (__clog10l): Likewise.
9007         * math/s_clogf.c (__clogf): Likewise.
9008         * math/s_clogl.c (__clogl): Likewise.
9009         * math/auto-libm-test-in: Add more tests of clog and clog10.
9010         * math/auto-libm-test-out: Regenerated.
9011         * sysdeps/i386/fpu/libm-test-ulps: Update.
9012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9014 2015-09-28  Martin Sebor  <msebor@redhat.com>
9016         [BZ #18969]
9017         * string/Makefile (LOCALES): Define.
9018         (gen-locales.mk): Include.
9019         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
9020         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
9021         * string/tst-strxfrm2.c (do_test): Print the name of the locale
9022         on setlocale failure.
9024 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
9026         [BZ #18985]
9027         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
9028         (__strftime_internal): Likewise.
9029         * time/tst-strftime.c (do_bz18985): New test.
9030         (do_test): Call it.
9032 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
9034         [BZ #18956]
9035         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
9036         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
9037         extracting high part.
9038         * math/auto-libm-test-in: Add another test of pow.
9039         * math/auto-libm-test-out: Regenerated.
9040         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9042 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
9044         [BZ #18825]
9045         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
9046         New macro.
9047         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
9048         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9049         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
9050         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
9051         DBL_NARROW_EVAL, reloading the PIC register as needed.
9052         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
9053         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
9054         FLT_NARROW_EVAL.  Use separate return path for case when first
9055         argument is NaN.
9056         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
9057         DEFINE_LDBL_MIN.
9058         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
9059         PIC register.
9060         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
9061         math_check_force_underflow_nonneg.
9062         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
9063         underflow for subnormal result.
9064         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9065         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
9066         math_check_force_underflow_nonneg.
9067         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
9068         math_check_force_underflow.
9069         * sysdeps/x86_64/fpu/x86_64-math-asm.h
9070         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
9071         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
9072         DEFINE_LDBL_MIN.
9073         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
9074         * math/auto-libm-test-in: Add more tests of pow.
9075         * math/auto-libm-test-out: Regenerated.
9077 2015-09-25  Florian Weimer  <fweimer@redhat.com>
9079         * nss/bug17079.c (init_test_items): Add diagnostic for
9080         inconsistent entries.
9081         (test_buffer_size): Skip inconsistent entries.
9083 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
9085         [BZ #13304]
9086         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
9087         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
9088         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
9090         [BZ #13304]
9091         * sysdeps/microblaze/s_fma.c: New file.
9092         * sysdeps/microblaze/s_fmaf.c: Likewise.
9093         * sysdeps/microblaze/sfp-machine.h: Likewise.
9095 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
9097         [BZ #17250]
9098         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
9099         member.
9101 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
9103         [BZ #18803]
9104         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
9105         (MO): New macro.
9106         (__ieee754_hypot) [PIC]: Load PIC register.
9107         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
9108         DBL_NARROW_EVAL.
9109         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
9110         math_check_force_underflow_nonneg in case where result might be
9111         tiny.
9112         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9113         Likewise.
9114         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9115         Likewise.
9116         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
9117         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
9118         * math/auto-libm-test-in: Add more tests of hypot.
9119         * math/auto-libm-test-out: Regenerated.
9121 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
9123         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
9125 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
9127         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
9128         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
9129         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
9130         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
9131         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
9132         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
9133         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
9135         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
9136         LOAD_PIC_REG.
9138         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
9139         (FLT_CHECK_FORCE_UFLOW): Likewise.
9140         (DBL_CHECK_FORCE_UFLOW): Likewise.
9141         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
9142         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
9143         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
9144         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9145         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9146         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9147         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9148         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9149         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
9150         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9151         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
9152         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
9153         (flt_min): Replace with use of DEFINE_FLT_MIN.
9154         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
9155         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
9156         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9157         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
9158         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
9159         (flt_min): Replace with use of DEFINE_FLT_MIN.
9160         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
9161         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
9162         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9163         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
9164         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
9165         (flt_min): Replace with use of DEFINE_FLT_MIN.
9166         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
9167         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
9168         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
9169         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
9170         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
9171         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
9172         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
9173         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
9174         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9175         (__atan): Use DBL_CHECK_FORCE_UFLOW.
9176         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
9177         (flt_min): Replace with use of DEFINE_FLT_MIN.
9178         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
9179         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
9180         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9181         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
9182         main computation.
9183         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
9184         (flt_min): Replace with use of DEFINE_FLT_MIN.
9185         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
9186         main computation.
9187         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
9188         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9189         (MO): New macro.
9190         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
9191         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
9192         (flt_min): Replace with use of DEFINE_FLT_MIN.
9193         (MO): New macro.
9194         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
9195         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
9196         (__log1pl): Use MO.
9198         [BZ #19003]
9199         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
9200         $(config-cflags-nofma).
9202 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9204         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9206 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
9208         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
9209         (TWO127): Likewise.
9211         * sysdeps/generic/math_private.h (fabs_tg): New macro.
9212         (min_of_type): Likewise.
9213         (math_check_force_underflow): Likewise.
9214         (math_check_force_underflow_nonneg): Likewise.
9215         (math_check_force_underflow_complex): Likewise.
9216         * math/e_exp2l.c (__ieee754_exp2l): Use
9217         math_check_force_underflow_nonneg.
9218         * math/k_casinh.c (__kernel_casinh): Likewise.
9219         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9220         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9221         * math/s_catan.c (__catan): Use
9222         math_check_force_underflow_complex.
9223         * math/s_catanf.c (__catanf): Likewise.
9224         * math/s_catanh.c (__catanh): Likewise.
9225         * math/s_catanhf.c (__catanhf): Likewise.
9226         * math/s_catanhl.c (__catanhl): Likewise.
9227         * math/s_catanl.c (__catanl): Likewise.
9228         * math/s_ccosh.c (__ccosh): Likewise.
9229         * math/s_ccoshf.c (__ccoshf): Likewise.
9230         * math/s_ccoshl.c (__ccoshl): Likewise.
9231         * math/s_cexp.c (__cexp): Likewise.
9232         * math/s_cexpf.c (__cexpf): Likewise.
9233         * math/s_cexpl.c (__cexpl): Likewise.
9234         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
9235         * math/s_clog10.c (__clog10): Likewise.
9236         * math/s_clog10f.c (__clog10f): Likewise.
9237         * math/s_clog10l.c (__clog10l): Likewise.
9238         * math/s_clogf.c (__clogf): Likewise.
9239         * math/s_clogl.c (__clogl): Likewise.
9240         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
9241         * math/s_csinf.c (__csinf): Likewise.
9242         * math/s_csinh.c (__csinh): Likewise.
9243         * math/s_csinhf.c (__csinhf): Likewise.
9244         * math/s_csinhl.c (__csinhl): Likewise.
9245         * math/s_csinl.c (__csinl): Likewise.
9246         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
9247         * math/s_csqrtf.c (__csqrtf): Likewise.
9248         * math/s_csqrtl.c (__csqrtl): Likewise.
9249         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
9250         * math/s_ctanf.c (__ctanf): Likewise.
9251         * math/s_ctanh.c (__ctanh): Likewise.
9252         * math/s_ctanhf.c (__ctanhf): Likewise.
9253         * math/s_ctanhl.c (__ctanhl): Likewise.
9254         * math/s_ctanl.c (__ctanl): Likewise.
9255         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
9256         instead of volatile.
9257         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
9258         math_check_force_underflow.
9259         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9260         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
9261         volatile when forcing underflow.
9262         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9263         math_check_force_underflow_nonneg.
9264         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9265         Likewise.
9266         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
9267         math_check_force_underflow.
9268         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9269         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9270         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9271         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
9272         math_check_force_underflow_nonneg.
9273         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
9274         math_check_force_underflow.
9275         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
9276         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
9277         instead of volatile.
9278         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
9279         math_check_force_underflow.
9280         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9281         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9282         math_check_force_underflow_nonneg.
9283         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
9284         math_check_force_underflow.
9285         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
9286         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9287         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
9288         math_check_force_underflow_nonneg.
9289         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9290         Likewise.
9291         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
9292         math_check_force_underflow.
9293         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9294         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
9295         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
9296         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
9297         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
9298         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
9299         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
9300         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
9301         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9302         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
9303         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
9304         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
9305         Likewise.
9306         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
9307         math_check_force_underflow_nonneg.
9308         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9309         Likewise.
9310         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
9311         math_check_force_underflow.
9312         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9313         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
9314         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9315         Likewise.
9316         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
9317         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
9318         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
9319         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
9320         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
9321         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9322         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
9323         instead of volatile.
9324         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
9325         math_check_force_underflow.
9326         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
9327         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
9328         math_check_force_underflow.
9329         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
9330         Likewise.
9331         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9332         Use math_check_force_underflow_nonneg.
9333         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
9334         math_check_force_underflow.
9335         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
9336         Likewise.
9337         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9338         Likewise.
9339         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9340         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9341         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9342         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9343         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
9344         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9345         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
9346         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
9347         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
9348         math_check_force_underflow_nonneg.
9349         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
9350         math_check_force_underflow.
9351         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9352         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
9353         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
9354         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
9355         math_check_force_underflow_nonneg.
9356         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
9357         math_check_force_underflow.
9358         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
9359         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
9360         instead of volatile.
9361         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
9362         math_check_force_underflow.
9364         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
9365         * stdlib/strtod_l.c: Include <math_private.h>.
9366         (overflow_value): Use math_narrow_eval.
9367         (underflow_value): Likewise.
9368         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9369         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
9370         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
9371         (__ieee754_gamma_r): Likewise.
9372         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
9373         Likewise.
9374         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9375         Likewise.
9376         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
9377         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
9378         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
9379         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
9380         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9381         (__ieee754_gammaf_r): Likewise.
9382         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9383         Likewise.
9384         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
9385         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
9386         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
9387         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
9388         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
9389         volatile.
9390         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
9391         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
9392         math_narrow_eval.
9393         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
9394         Likewise.
9395         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9396         Likewise.
9397         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
9398         Likewise.
9399         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
9400         volatile.
9401         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
9402         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
9403         math_narrow_eval.
9404         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9405         Likewise.
9406         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9407         Likewise.
9409 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
9411         * nptl/Versions: Remove ignored symbols.
9413 2015-09-22  Florian Weimer  <fweimer@redhat.com>
9415         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
9416         * nss/Makefile (tests): Update.
9418 2015-09-22  Florian Weimer  <fweimer@redhat.com>
9420         * nss/bug18287.c: New file.
9421         * nss/Makefile (tests): Add bug18287.
9423 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9425         * mach/Versions (__mach_host_self_): Add symbol.
9427 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9429         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
9430         vm_page_size.
9432 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9434         Really fix sysdeps/i386/fpu/s_scalbn.S build
9436         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
9437         (libc: GLIBC_2_22): Remove unused version set.
9439 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
9441         * config.make.in (enable-timezone-tools): New variable.
9442         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
9443         (enable_timezone_tools): Export to generated files.
9444         * configure: Regenerate.
9445         * INSTALL: Regenerate.
9446         * manual/install.texi (--disable-timezone-tools): Document new flag.
9447         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
9448         ifeq ($(enable-timezone-tools),yes) check.
9450 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
9452         * timezone/Makefile: Revert previous change.
9454         [BZ #18980]
9455         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
9456         (DEFINE_DBL_MIN): Likewise.
9457         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
9458         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
9459         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
9460         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
9461         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
9462         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9463         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
9464         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
9465         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
9466         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9467         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
9468         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
9469         (flt_min): Replace with use of DEFINE_FLT_MIN.
9470         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
9471         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
9472         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9473         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
9474         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
9475         (flt_min): Replace with use of DEFINE_FLT_MIN.
9476         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
9477         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
9478         (flt_min): Replace with use of DEFINE_FLT_MIN.
9479         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
9480         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
9481         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
9482         (__ieee754_hypot): Use DBL_NARROW_EVAL.
9483         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
9484         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
9485         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
9486         (__ieee754_pow): Use DBL_NARROW_EVAL.
9487         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
9488         (__ieee754_powf): Use FLT_NARROW_EVAL.
9489         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
9490         (__ieee754_expf_sse2): Convert double-precision result to single
9491         precision.
9492         * sysdeps/i386/fpu/libm-test-ulps: Update.
9494 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9496         * timezone/Makefile: Ignore unused variable errors due to private.h
9497         (time_t_min) and (time_t_max).
9498         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
9499         Likewise.
9501 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
9503         [BZ #18981]
9504         * sysdeps/i386/fpu/i386-math-asm.h: New file.
9505         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
9506         (__ieee754_scalb): Use DBL_NARROW_EVAL.
9507         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
9508         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
9509         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
9510         (__scalbn): Use DBL_NARROW_EVAL.
9511         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
9512         (__scalbnf): Use FLT_NARROW_EVAL.
9514 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9516         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
9517         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
9518         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
9519         * stdio-common/printf_fp.c (___printf_fp):
9520         Use signbit to get the sign. Use isinf macro to allow inlining.
9521         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
9522         * stdio-common/printf_size.c (__printf_size): Likewise.
9524 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
9526         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
9528 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
9530         [BZ #18980]
9531         * sysdeps/generic/math_private.h: Include <float.h>.
9532         (math_narrow_eval): New macro.
9533         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
9534         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
9535         math_narrow_eval on overflowing return value.
9536         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
9537         Likewise.
9538         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9539         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
9540         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
9541         Likewise.
9542         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
9544 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9546         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
9547         * math/Makefile: Remove isinf_ns.c.
9548         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
9549         * math/multc3.c (__multc3): Likewise.
9550         * math/s_casin.c (__casin): Likewise.
9551         * math/s_casinf.c (__casinf): Likewise.
9552         * math/s_casinl.c (__casinl): Likewise.
9553         * math/s_cproj.c (__cproj): Likewise.
9554         * math/s_cprojf.c (__cprojf): Likewise.
9555         * math/s_cprojl.c (__cprofl): Likewise.
9556         * math/s_ctan.c (__ctan): Likewise.
9557         * math/s_ctanf.c (__ctanf): Likewise.
9558         * math/s_ctanh.c (__ctanh): Likewise.
9559         * math/s_ctanhf.c (__ctanhf): Likewise.
9560         * math/s_ctanhl.c (__ctanhl): Likewise.
9561         * math/s_ctanl.c (__ctanl): Likewise.
9562         * math/w_fmod.c (__fmod): Likewise.
9563         * math/w_fmodf.c (__fmodf): Likewise.
9564         * math/w_fmodl.c (_fmodl): Likewise.
9565         * math/w_remainder.c (__remainder): Likewise.
9566         * math/w_remainderf.c (__remainderf): Likewise.
9567         * math/w_remainderl.c (__remainderl): Likewise.
9568         * math/w_scalb.c (__scalb): Likewise.
9569         * math/w_scalbf.c (__scalbf): Likewise.
9570         * math/w_scalbl.c (__scalbl): Likewise.
9571         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
9572         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
9573         with isinf.
9574         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
9575         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
9576         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
9577         __isinf_nsf with isinf.
9578         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
9579         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
9580         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
9581         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
9582         with isinf.
9583         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
9584         __isinf_nsl with isinf.
9585         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
9586         with isinf.
9587         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
9588         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
9589         __isinf_nsl with isinf.
9590         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
9591         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
9592         with isinf.
9594 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9596         * resolv/base64.c (rcsid): Remove unused static.
9597         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
9598         static.  (tqpi1): Likewise.
9599         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
9600         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
9601         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
9602         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
9603         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
9604         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
9605         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
9606         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
9607         Likewise.
9609 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
9611         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
9612         <nptl/pthreadP.h>.
9613         (_longjmp_unwind): Use __libc_ptf_call.
9614         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
9616 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
9618         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
9619         * sysdeps/arm/__longjmp.S: Likewise.
9621 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9623         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
9624         Use __builtin_signbit.
9625         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
9626         Use __builtin_signbitf.
9627         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
9628         Use __builtin_signbitl.
9629         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9630         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
9632 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9634         [BZ #15367]
9635         [BZ #17441]
9637         * math/Makefile: Build test-snan.c with -fsignaling-nans.
9638         * math/math.h (fpclassify): Use __builtin_fpclassify when
9639         available.  (signbit): Use __builtin_signbit(f/l).
9640         (isfinite): Use__builtin_isfinite.  (isnormal): Use
9641         __builtin_isnormal.  (isnan): Use __builtin_isnan.
9642         (isinf): Use __builtin_isinf_sign.
9644 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9646         * benchtests/Makefile: Add bench-math-inlines, link with libm.
9647         * benchtests/bench-math-inlines.c: New benchmark.
9648         * benchtests/bench-util.h: New file.
9649         * benchtests/bench-util.c: New file.
9650         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
9652 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
9654         * elf/tst-dlmopen1.c: Define TEST_SO.
9655         (do_test): Use TEST_SO.
9657         * elf/dl-load.c: Include libc-internal.h.
9658         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
9660 2015-09-18  Vincent Bernat  <vincent@bernat.im>
9662         [BZ #17887]
9663         * time/strptime_l.c (__strptime_internal): Make %z accept
9664         [+-]HH:MM time zones.
9666 2015-09-18  Vincent Bernat  <vincent@bernat.im>
9668         [BZ #17886]
9669         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
9670         valid time zone.
9672 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
9674         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
9675         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
9676         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9677         (__ASSUME_FDATASYNC): Delete.
9679 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
9681         * conform/linknamespace.pl: Require weak undefined symbols to be
9682         in the standard namespace.
9683         (%strong_syms): Rename to %seen_syms.
9684         (%strong_seen): Rename to %seen_where.
9686 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
9688         [BZ #18970]
9689         * misc/error.c (error): Replace pthread_setcancelstate with
9690         __pthread_setcancelstate.
9691         (error_at_line): Likewise.
9692         * posix/wordexp.c (parse_comm): Likewise.
9693         * stdlib/fmtmsg.c (fmtmsg): Likewise.
9694         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
9695         (__pthread_setcancelstate): This.
9696         (pthread_setcancelstate): Add an alias.
9697         * nptl/nptl-init.c (pthread_functions): Replace
9698         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
9699         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
9700         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
9701         hidden_proto.
9702         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
9703         it with hidden_def.
9704         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
9705         (pthread_setcancelstate): Renamed to ...
9706         (__pthread_setcancelstate): This.
9707         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
9708         __libc_ptf_call with __pthread_setcancelstate.
9710 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
9711             Andreas Schwab  <schwab@suse.de>
9713         [BZ #17118]
9714         * math/s_ctan.c (__ctan): Determine sign of zero real part of
9715         result when imaginary part of argument is infinite using sine and
9716         cosine.
9717         * math/s_ctanf.c (__ctanf): Likewise.
9718         * math/s_ctanl.c (__ctanl): Likewise.
9719         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
9720         of result when real part of argument is infinite using sine and
9721         cosine.
9722         * math/s_ctanhf.c (__ctanhf): Likewise.
9723         * math/s_ctanhl.c (__ctanhl): Likewise.
9724         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
9725         (ctanh_test_data): Add more tests of ctanh.
9727 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
9729         [BZ #15384]
9730         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
9731         bit-mask as in subtraction.
9732         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
9733         Likewise.
9734         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
9735         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
9736         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
9738         [BZ #18951]
9739         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
9740         underflow exception for small results.
9741         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9742         Likewise.
9743         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9744         Likewise.
9745         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9746         Likewise.
9747         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9748         Likewise.
9749         * math/auto-libm-test-in: Add more tests of tgamma.
9750         * math/auto-libm-test-out: Regenerated.
9752 2015-09-17  Andreas Schwab  <schwab@suse.de>
9754         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
9756 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
9758         [BZ #18977]
9759         * math/bits/mathcalls.h
9760         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
9761         not declare.
9762         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
9763         Likewise.
9764         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
9765         Likewise.
9766         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
9767         Likewise.
9768         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
9769         Likewise.
9770         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
9771         Likewise.
9772         * conform/data/math.h-data
9773         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
9774         function.
9775         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
9776         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
9777         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
9778         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
9779         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
9780         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
9781         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
9782         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
9783         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
9784         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
9785         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
9787         [BZ #6803]
9788         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
9789         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
9790         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
9791         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
9792         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
9793         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
9794         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
9795         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
9796         [NO_LONG_DOUBLE] (scalbnl): Likewise.
9797         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
9798         Likewise.
9799         [NO_LONG_DOUBLE] (scalbnl): Likewise.
9800         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
9801         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
9802         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
9803         long_double_symbol calls.
9804         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
9805         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
9806         strong alias of __ldexpl.
9807         (scalbnl): Define using long_double_symbol.
9808         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
9809         Remove alias.
9810         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
9811         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
9812         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
9813         (scalbln_test_data): Add more errno expectations.
9815 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
9817         Cache the host port like we cache the task port.  This way we do not
9818         need to call the kernel just to get the port.  Furthermore, we no
9819         longer increase the reference count on every invocation of
9820         `mach_host_self'.
9822         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
9823         Protect declarations against the macro expansion.
9824         * mach/mach_init.c (__mach_host_self_): New variable.
9825         (mach_init): Initialize `__mach_host_self_'.
9826         * mach/mach_init.h (__mach_host_self_): New declaration.
9827         (__mach_host_self, mach_host_self): New macros.
9828         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
9829         Release reference.
9831 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
9833         [BZ #4404]
9834         * po/de.po: Update from Translation Project.
9836         [BZ #16415]
9837         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
9838         (__expm1l): Remove code to handle positive infinity and overflow.
9839         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
9840         variable.
9841         (__expm1l): Remove code to handle positive infinity and overflow.
9843 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
9844             Paul Pluzhnikov  <ppluzhnikov@google.com>
9846         [BZ #18872]
9847         * stdio-common/Makefile (tst-printf-bz18872): New test.
9848         (tst-printf-bz18872-mem.out): Likewise.
9849         * stdio-common/tst-printf-bz18872.sh: Generate new test.
9850         * stdio-common/vfprintf.c: Fix memory leaks.
9852 2015-09-16  Andreas Schwab  <schwab@suse.de>
9854         [BZ #17244]
9855         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
9856         Remove extra va_start/va_end calls.
9858         [BZ #17243]
9859         * posix/execl.c (execl): Add missing va_end.
9860         * posix/execle.c (execle): Likewise.
9861         * posix/execlp.c (execlp): Likewise.
9863 2015-09-15  Roland McGrath  <roland@hack.frob.com>
9865         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
9866         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
9868 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
9870         [BZ #18967]
9871         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
9872         undefine around includes of <bits/mathcalls.h>.
9873         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
9874         not declare function.
9875         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
9876         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
9877         (scalb): Likewise.
9878         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
9879         not define macro.
9880         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
9881         variable.
9882         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9883         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9884         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9886         [BZ #18857]
9887         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
9888         return non-finite argument without doing ordered comparisons on
9889         it.
9891         [BZ #16296]
9892         * math/fenv.h (fegetround): Use __attribute_pure__.
9893         * include/fenv.h (__fegetround): Likewise.
9895         [BZ #18595]
9896         * math/s_ctan.c (__ctan): Force underflow exception for results
9897         whose real or imaginary part has small absolute value.
9898         * math/s_ctanf.c (__ctanf): Likewise.
9899         * math/s_ctanh.c (__ctanh): Likewise.
9900         * math/s_ctanhf.c (__ctanhf): Likewise.
9901         * math/s_ctanhl.c (__ctanhl): Likewise.
9902         * math/s_ctanl.c (__ctanl): Likewise.
9903         * math/auto-libm-test-in: Do not allow missing underflow for ctan
9904         and ctanh.  Add more tests of ctan and ctanh.
9906         [BZ #15918]
9907         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
9908         handling of cases where one argument is an infinity.
9910         [BZ #18875]
9911         [BZ #18966]
9912         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
9913         (MO): New macro.
9914         (__ieee754_exp10): For small results, force underflow exception
9915         and remove excess range and precision from return value.
9916         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
9917         (MO): New macro.
9918         (__ieee754_exp10f): For small results, force underflow exception
9919         and remove excess range and precision from return value.
9920         * math/auto-libm-test-in: Add more tests of exp10.
9921         * math/auto-libm-test-out: Regenerated.
9923 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
9925         [BZ #18875]
9926         [BZ #18961]
9927         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
9928         (MO): New macro.
9929         (__ieee754_exp): For small results, force underflow exception and
9930         remove excess range and precision from return value.
9931         (__exp_finite): Likewise.
9932         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
9933         (MO): New macro.
9934         (__ieee754_expf): For small results, force underflow exception and
9935         remove excess range and precision from return value.
9936         (__expf_finite): Likewise.
9937         * math/auto-libm-test-in: Add more tests of exp.
9938         * math/auto-libm-test-out: Regenerated.
9940         [BZ #16521]
9941         [BZ #18875]
9942         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
9943         small results.
9944         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
9945         (MO): New macro.
9946         (__ieee754_exp2): For small results, force underflow exception and
9947         remove excess range and precision from return value.
9948         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
9949         (MO): New macro.
9950         (__ieee754_exp2f): For small results, force underflow exception
9951         and remove excess range and precision from return value.
9952         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
9953         (MO): New macro.
9954         (__ieee754_exp2l): Force underflow exception for small results.
9955         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9956         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
9957         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
9958         (MO): New macro.
9959         (__ieee754_exp2l): Force underflow exception for small results.
9960         * math/auto-libm-test-in: Add more tests or exp2.
9961         * math/auto-libm-test-out: Regenerated.
9963 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
9965         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
9967         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
9968         /dev/null.
9970 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9972         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
9973         io fs process)): Drop spurious backslash.
9975 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
9977         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
9978         Use sysinfo system call instead of parsing /proc/meminfo.
9979         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
9980         Likewise.
9982 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
9984         [BZ #16985]
9985         * programs/localedef.c (main): Display argv[remaining] when
9986         output_path is NULL.
9988 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
9990         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9991         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
9992         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
9993         tanh.
9994         * math/auto-libm-test-out: Regenerated.
9995         * sysdeps/i386/fpu/libm-test-ulps: Update.
9996         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9997         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10000 2015-09-11  Roland McGrath  <roland@hack.frob.com>
10002         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
10003         Use 'override' keyword to freeze the value here, preventing
10004         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
10006 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
10008         [BZ #14912]
10009         * sysdeps/aarch64/bits/atomic.h: Move to ...
10010         * sysdeps/aarch64/atomic-machine.h: ...here.
10011         (_AARCH64_BITS_ATOMIC_H): Rename macro to
10012         _AARCH64_ATOMIC_MACHINE_H.
10013         * sysdeps/alpha/bits/atomic.h: Move to ...
10014         * sysdeps/alpha/atomic-machine.h: ...here.
10015         * sysdeps/arm/bits/atomic.h: Move to ...
10016         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
10017         * bits/atomic.h: Move to ...
10018         * sysdeps/generic/atomic-machine.h: ...here.
10019         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10020         * sysdeps/i386/bits/atomic.h: Move to ...
10021         * sysdeps/i386/atomic-machine.h: ...here.
10022         * sysdeps/ia64/bits/atomic.h: Move to ...
10023         * sysdeps/ia64/atomic-machine.h: ...here.
10024         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
10025         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
10026         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10027         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
10028         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
10029         * sysdeps/microblaze/bits/atomic.h: Move to ...
10030         * sysdeps/microblaze/atomic-machine.h: ...here.
10031         * sysdeps/mips/bits/atomic.h: Move to ...
10032         * sysdeps/mips/atomic-machine.h: ...here.
10033         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
10034         * sysdeps/powerpc/bits/atomic.h: Move to ...
10035         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
10036         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
10037         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
10038         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
10039         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
10040         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
10041         <atomic-machine.h> instead of <bits/atomic.h>.
10042         * sysdeps/s390/bits/atomic.h: Move to ...
10043         * sysdeps/s390/atomic-machine.h: ...here.
10044         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
10045         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
10046         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10047         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
10048         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
10049         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
10050         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
10051         * sysdeps/tile/bits/atomic.h: Move to ...
10052         * sysdeps/tile/atomic-machine.h: ...here.
10053         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
10054         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
10055         <sysdeps/tile/atomic-machine.h> instead of
10056         <sysdeps/tile/bits/atomic.h>.
10057         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10058         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
10059         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
10060         <sysdeps/tile/atomic-machine.h> instead of
10061         <sysdeps/tile/bits/atomic.h>.
10062         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10063         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
10064         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
10065         <sysdeps/arm/atomic-machine.h> instead of
10066         <sysdeps/arm/bits/atomic.h>.
10067         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
10068         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
10069         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10070         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
10071         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
10072         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10073         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
10074         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
10075         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
10076         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
10077         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
10078         * sysdeps/x86_64/bits/atomic.h: Move to ...
10079         * sysdeps/x86_64/atomic-machine.h: ...here.
10080         * include/atomic.h: Include <atomic-machine.h> instead of
10081         <bits/atomic.h>.
10083         * sysdeps/mips/mips32/libm-test-ulps: Update.
10084         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10086         [BZ #18952]
10087         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
10088         not convert non-integer negative arguments to int to determine the
10089         value of signgam.
10090         * math/auto-libm-test-in: Add more tests of lgamma.
10091         * math/auto-libm-test-out: Regenerated.
10093         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
10094         cosh, csqrt, erfc, expm1 and lgamma.
10095         * math/auto-libm-test-out: Regenerated.
10096         * sysdeps/i386/fpu/libm-test-ulps: Update.
10097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10099 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
10101         [BZ #2542]
10102         [BZ #2543]
10103         [BZ #2558]
10104         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
10105         __lgamma_neg for arguments from -28.0 to -2.0.
10106         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
10107         __lgamma_negf for arguments from -15.0 to -2.0.
10108         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10109         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
10110         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
10111         Call __lgamma_negl for arguments from -33.0 to -2.0.
10112         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
10113         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
10114         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10115         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
10116         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10117         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10118         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
10119         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
10120         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
10121         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
10122         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
10123         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
10124         (__lgamma_neg): Likewise.
10125         (__lgamma_negl): Likewise.
10126         (__lgamma_product): Likewise.
10127         (__lgamma_productl): Likewise.
10128         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
10129         * math/auto-libm-test-in: Add more tests of lgamma.
10130         * math/auto-libm-test-out: Regenerated.
10131         * sysdeps/i386/fpu/libm-test-ulps: Update.
10132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10134 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
10136         [BZ #18675]
10137         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
10139 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
10141         [BZ #14912]
10142         * bits/libc-lock.h: Move to ...
10143         * sysdeps/generic/libc-lock.h: ...here.
10144         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10145         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
10146         * sysdeps/mach/hurd/libc-lock.h: ...here.
10147         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10148         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
10149         * sysdeps/mach/bits/libc-lock.h: Move to ...
10150         * sysdeps/mach/libc-lock.h: ...here.
10151         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10152         * sysdeps/nptl/bits/libc-lock.h: Move to ...
10153         * sysdeps/nptl/libc-lock.h: ...here.
10154         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10155         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
10156         * sysdeps/nptl/libc-lockP.h: ...here.
10157         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
10158         * crypt/crypt_util.c: Include <libc-lock.h> instead of
10159         <bits/libc-lock.h>.
10160         * dirent/scandir-tail.c: Likewise.
10161         * dlfcn/dlerror.c: Likewise.
10162         * elf/dl-close.c: Likewise.
10163         * elf/dl-iteratephdr.c: Likewise.
10164         * elf/dl-lookup.c: Likewise.
10165         * elf/dl-open.c: Likewise.
10166         * elf/dl-support.c: Likewise.
10167         * elf/dl-writev.h: Likewise.
10168         * elf/rtld.c: Likewise.
10169         * grp/fgetgrent.c: Likewise.
10170         * gshadow/fgetsgent.c: Likewise.
10171         * gshadow/sgetsgent.c: Likewise.
10172         * iconv/gconv_conf.c: Likewise.
10173         * iconv/gconv_db.c: Likewise.
10174         * iconv/gconv_dl.c: Likewise.
10175         * iconv/gconv_int.h: Likewise.
10176         * iconv/gconv_trans.c: Likewise.
10177         * include/link.h: Likewise.
10178         * inet/getnameinfo.c: Likewise.
10179         * inet/getnetgrent.c: Likewise.
10180         * inet/getnetgrent_r.c: Likewise.
10181         * intl/bindtextdom.c: Likewise.
10182         * intl/dcigettext.c: Likewise.
10183         * intl/finddomain.c: Likewise.
10184         * intl/gettextP.h: Likewise.
10185         * intl/loadmsgcat.c: Likewise.
10186         * intl/localealias.c: Likewise.
10187         * intl/textdomain.c: Likewise.
10188         * libidn/idn-stub.c: Likewise.
10189         * libio/libioP.h: Likewise.
10190         * locale/duplocale.c: Likewise.
10191         * locale/freelocale.c: Likewise.
10192         * locale/newlocale.c: Likewise.
10193         * locale/setlocale.c: Likewise.
10194         * login/getutent_r.c: Likewise.
10195         * login/getutid_r.c: Likewise.
10196         * login/getutline_r.c: Likewise.
10197         * login/utmp-private.h: Likewise.
10198         * login/utmpname.c: Likewise.
10199         * malloc/mtrace.c: Likewise.
10200         * misc/efgcvt.c: Likewise.
10201         * misc/error.c: Likewise.
10202         * misc/fstab.c: Likewise.
10203         * misc/getpass.c: Likewise.
10204         * misc/mntent.c: Likewise.
10205         * misc/syslog.c: Likewise.
10206         * nis/nis_call.c: Likewise.
10207         * nis/nis_callback.c: Likewise.
10208         * nis/nss-default.c: Likewise.
10209         * nis/nss_compat/compat-grp.c: Likewise.
10210         * nis/nss_compat/compat-initgroups.c: Likewise.
10211         * nis/nss_compat/compat-pwd.c: Likewise.
10212         * nis/nss_compat/compat-spwd.c: Likewise.
10213         * nis/nss_nis/nis-alias.c: Likewise.
10214         * nis/nss_nis/nis-ethers.c: Likewise.
10215         * nis/nss_nis/nis-grp.c: Likewise.
10216         * nis/nss_nis/nis-hosts.c: Likewise.
10217         * nis/nss_nis/nis-network.c: Likewise.
10218         * nis/nss_nis/nis-proto.c: Likewise.
10219         * nis/nss_nis/nis-pwd.c: Likewise.
10220         * nis/nss_nis/nis-rpc.c: Likewise.
10221         * nis/nss_nis/nis-service.c: Likewise.
10222         * nis/nss_nis/nis-spwd.c: Likewise.
10223         * nis/nss_nisplus/nisplus-alias.c: Likewise.
10224         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
10225         * nis/nss_nisplus/nisplus-grp.c: Likewise.
10226         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
10227         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
10228         * nis/nss_nisplus/nisplus-network.c: Likewise.
10229         * nis/nss_nisplus/nisplus-proto.c: Likewise.
10230         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
10231         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
10232         * nis/nss_nisplus/nisplus-service.c: Likewise.
10233         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
10234         * nis/ypclnt.c: Likewise.
10235         * nptl/libc_pthread_init.c: Likewise.
10236         * nss/getXXbyYY.c: Likewise.
10237         * nss/getXXent.c: Likewise.
10238         * nss/getXXent_r.c: Likewise.
10239         * nss/nss_db/db-XXX.c: Likewise.
10240         * nss/nss_db/db-netgrp.c: Likewise.
10241         * nss/nss_db/nss_db.h: Likewise.
10242         * nss/nss_files/files-XXX.c: Likewise.
10243         * nss/nss_files/files-alias.c: Likewise.
10244         * nss/nsswitch.c: Likewise.
10245         * posix/regex_internal.h: Likewise.
10246         * posix/wordexp.c: Likewise.
10247         * pwd/fgetpwent.c: Likewise.
10248         * resolv/res_hconf.c: Likewise.
10249         * resolv/res_libc.c: Likewise.
10250         * shadow/fgetspent.c: Likewise.
10251         * shadow/lckpwdf.c: Likewise.
10252         * shadow/sgetspent.c: Likewise.
10253         * socket/opensock.c: Likewise.
10254         * stdio-common/reg-modifier.c: Likewise.
10255         * stdio-common/reg-printf.c: Likewise.
10256         * stdio-common/reg-type.c: Likewise.
10257         * stdio-common/vfprintf.c: Likewise.
10258         * stdio-common/vfscanf.c: Likewise.
10259         * stdlib/abort.c: Likewise.
10260         * stdlib/cxa_atexit.c: Likewise.
10261         * stdlib/fmtmsg.c: Likewise.
10262         * stdlib/random.c: Likewise.
10263         * stdlib/setenv.c: Likewise.
10264         * string/strsignal.c: Likewise.
10265         * sunrpc/auth_none.c: Likewise.
10266         * sunrpc/bindrsvprt.c: Likewise.
10267         * sunrpc/create_xid.c: Likewise.
10268         * sunrpc/key_call.c: Likewise.
10269         * sunrpc/rpc_thread.c: Likewise.
10270         * sysdeps/arm/backtrace.c: Likewise.
10271         * sysdeps/generic/ldsodefs.h: Likewise.
10272         * sysdeps/generic/stdio-lock.h: Likewise.
10273         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
10274         * sysdeps/i386/backtrace.c: Likewise.
10275         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10276         * sysdeps/m68k/backtrace.c: Likewise.
10277         * sysdeps/mach/hurd/cthreads.c: Likewise.
10278         * sysdeps/mach/hurd/dirstream.h: Likewise.
10279         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
10280         * sysdeps/nptl/malloc-machine.h: Likewise.
10281         * sysdeps/nptl/stdio-lock.h: Likewise.
10282         * sysdeps/posix/dirstream.h: Likewise.
10283         * sysdeps/posix/getaddrinfo.c: Likewise.
10284         * sysdeps/posix/system.c: Likewise.
10285         * sysdeps/pthread/aio_suspend.c: Likewise.
10286         * sysdeps/s390/s390-32/backtrace.c: Likewise.
10287         * sysdeps/s390/s390-64/backtrace.c: Likewise.
10288         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10289         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10290         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
10291         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
10292         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
10293         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
10294         * sysdeps/unix/sysv/linux/system.c: Likewise.
10295         * sysdeps/x86_64/backtrace.c: Likewise.
10296         * time/alt_digit.c: Likewise.
10297         * time/era.c: Likewise.
10298         * time/tzset.c: Likewise.
10299         * wcsmbs/wcsmbsload.c: Likewise.
10300         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
10301         instead of <bits/libc-lock.h> in comment.
10303 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
10305         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
10306         Only use .set mips2 if the current ISA is below mips2.
10307         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
10308         Likewise.
10309         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
10310         mips32r2 if the current ISA is below mips32r2.
10311         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
10312         (TLS_IE): Updated to use the TLD_RDHWR macro.
10313         (TLS_LE): Likewise.
10314         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
10315         __ASSEMBLER__ condition.
10317 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10319         Fix parallel build of before-compile targets.
10321         * sysdeps/mach/Makefile ($(patsubst
10322         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
10323         mach-before-compile target.
10324         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10325         io fs process)): Move rule to dedicated hurd-before-compile target.
10327 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10329         Fix rules generating headers in hurd/ and mach/ when initial make call
10330         has subdir= explicitly set.
10332         * sysdeps/mach/Makefile ($(patsubst
10333         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
10334         calling $(MAKE).
10335         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10336         io fs process)): Force subdir to hurd when calling $(MAKE).
10337         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
10338         subdir to mach when calling $(MAKE).
10340 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
10342         Check sysheaders when looking for Mach and Hurd headers
10344         * sysdeps/mach/configure.ac: Add sysheaders check.
10345         * sysdeps/mach/configure: Regenerate.
10346         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
10347         * sysdeps/mach/hurd/configure: Regenerate.
10349 2015-09-04  Roland McGrath  <roland@hack.frob.com>
10351         [BZ #18921]
10352         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
10353         Fix inverted sense of test of 'o_directory_works' value.
10354         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
10355         Bernhard Voelker <mail@bernhard-voelker.de>.
10357 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
10359         [BZ #14912]
10360         * bits/linkmap.h: Move to ...
10361         * sysdeps/generic/linkmap.h: ...here.
10362         * sysdeps/aarch64/bits/linkmap.h: Move to ...
10363         * sysdeps/aarch64/linkmap.h: ...here.
10364         * sysdeps/arm/bits/linkmap.h: Move to ...
10365         * sysdeps/arm/linkmap.h: ...here.
10366         * sysdeps/hppa/bits/linkmap.h: Move to ...
10367         * sysdeps/hppa/linkmap.h: ...here.
10368         * sysdeps/ia64/bits/linkmap.h: Move to ...
10369         * sysdeps/ia64/linkmap.h: ...here.
10370         * sysdeps/mips/bits/linkmap.h: Move to ...
10371         * sysdeps/mips/linkmap.h: ...here.
10372         * sysdeps/s390/bits/linkmap.h: Move to ...
10373         * sysdeps/s390/linkmap.h: ...here.
10374         * sysdeps/sh/bits/linkmap.h: Move to ...
10375         * sysdeps/sh/linkmap.h: ...here.
10376         * sysdeps/x86/bits/linkmap.h: Move to ...
10377         * sysdeps/x86/linkmap.h: ...here.
10378         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
10380 2015-09-04  Andreas Schwab  <schwab@suse.de>
10382         [BZ #18635]
10383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
10384         (__makecontext): Terminate FDE before return label.
10385         (__novec_makecontext): Likewise.
10387 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10389         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
10390         first member of struct sv in syscall macro.
10392 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
10394         [BZ #14912]
10395         * bits/stdio-lock.h: Move to ...
10396         * sysdeps/generic/stdio-lock.h: ...here.
10397         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
10398         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
10399         * sysdeps/nptl/stdio-lock.h: ...here.
10400         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
10401         * include/libio.h: Include <stdio-lock.h> instead of
10402         <bits/stdio-lock.h>.
10403         * sysdeps/nptl/fork.c: Likewise.
10404         * sysdeps/pthread/flockfile.c: Likewise.
10405         * sysdeps/pthread/ftrylockfile.c: Likewise.
10406         * sysdeps/pthread/funlockfile.c: Likewise.
10408         [BZ #14912]
10409         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
10410         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
10411         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
10412         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
10413         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
10414         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
10415         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
10417 2015-09-03  Roland McGrath  <roland@hack.frob.com>
10419         * elf/Makefile (test-xfail-tst-protected1a): New variable.
10420         (test-xfail-tst-protected1b): New variable.
10422 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
10424         [BZ #14912]
10425         * bits/libc-tsd.h: Move to ...
10426         * sysdeps/generic/libc-tsd.h: ...here.
10427         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
10428         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
10429         * sysdeps/mach/hurd/libc-tsd.h: ...here.
10430         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
10431         * include/ctype.h: Include <libc-tsd.h> instead of
10432         <bits/libc-tsd.h>.
10433         * include/rpc/rpc.h: Likewise.
10434         * locale/localeinfo.h: Likewise.
10435         * sunrpc/rpc_thread.c: Likewise.
10436         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
10437         * sysdeps/nptl/malloc-machine.h: Likewise.
10439         * Makefile (headers): Remove bits/libc-lock.h.
10440         * libio/Makefile (headers): Remove bits/stdio-lock.h.
10442         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
10443         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
10444         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
10445         <bits/stdio-lock.h>.
10446         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
10447         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
10449 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
10451         [BZ #18757]
10452         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
10453         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
10454         BZ #18757.
10456 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
10458         * malloc/mtrace.pl: Filter out NULL entries.
10460 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
10462         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
10463         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
10464         macro.
10466         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
10467         (TCP_CC_INFO): Likewise.
10468         (TCP_SAVE_SYN): Likewise.
10469         (TCP_SAVED_SYN): Likewise.
10471 2015-08-31  Brett Neumeier <brett@neumeier.us>
10473         [BZ #18870]
10474         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
10476 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
10478         [BZ #18873]
10479         Fix broken overflow check in posix_fallocate
10480         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
10481         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
10482         Fix parenthesization typo.
10484 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
10486         [BZ #18887]
10487         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
10488         tst-mntent-blank-passno.
10489         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
10490         * misc/tst-mntent-blank-corrupt.c: New test.
10491         * misc/tst-mntent-blank-passno.c: New test ripped from ...
10492         * misc/tst-mntent.c (do_test): ... here.
10494 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
10496         [BZ #4404]
10497         * po/de.po: Fix SIGALRM typo.
10499 2015-08-28  James Perkins  <james@loowit.net>
10501         * time/tst-strptime2.c (tests): Replace short list of test
10502         strings for strptime %z specifier with code which exhaustively
10503         tests every combination of sign and 0 to 5 digits. Tests for
10504         rejection of invalid strings.
10506 2015-08-28  James Perkins  <james@loowit.net>
10508         [BZ #16141]
10509         * time/strptime_l.c (__strptime_internal): Fix %z minutes
10510         calculation, removing incorrect decimal time rounding, so that
10511         all minute values result in a valid seconds value.
10512         * time/strptime_l.c (__strptime_internal): Extend %z time zone
10513         offset range limits to UTC-99:59 through UTC+99:59 to parse
10514         current and historical use cases.
10515         * time/tst-strptime2.c (tests): Modify and add tests for the
10516         strptime %z input field descriptor, specifically conversion of
10517         minutes to seconds and validating an offset range of -9959 to
10518         +9959.
10520 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10521             Dmitry V. Levin  <ldv@altlinux.org>
10523         [BZ #18877]
10524         * posix/Makefile (tests): Add tst-mmap-offset.
10525         * posix/tst-mmap.c: New file.
10526         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
10527         offset calculation for negative values.
10529 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10531         * sysdeps/i386/init-arch.h: New file.
10532         * sysdeps/i386/i586/init-arch.h: Likewise.
10533         * sysdeps/i386/i686/init-arch.h: Likewise.
10534         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
10535         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
10536         * sysdeps/x86/cpu-features.h (bit_I586): New.
10537         (bit_I686): Likewise.
10538         (bit_CX8): Likewise.
10539         (bit_CMOV): Likewise.
10540         (index_CX8): Likewise.
10541         (index_CMOV): Likewise.
10542         (index_I586): Likewise.
10543         (index_I686): Likewise.
10544         (reg_CX8): Likewise.
10545         (reg_CMOV): Likewise.
10546         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
10547         available at compile-time.
10548         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
10549         available at compile-time.
10550         * sysdeps/x86/init-arch.h (USE_I586): New macro.
10551         (USE_I686): Likewise.
10553 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10555         * sysdeps/i386/bcopy.S: New file.
10556         * sysdeps/i386/bzero.S: Likewise.
10557         * sysdeps/i386/memcpy.S: Likewise.
10558         * sysdeps/i386/memmove.S: Likewise.
10559         * sysdeps/i386/mempcpy.S: Likewise.
10560         * sysdeps/i386/memset.S: Likewise.
10561         * sysdeps/i386/bzero.c: Removed.
10562         * sysdeps/i386/memset.c: Likewise.
10563         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
10564         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
10565         * sysdeps/i386/i586/memset_chk.S: Likewise.
10566         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
10567         * sysdeps/i386/memcpy_chk.S: Here.
10568         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
10569         * sysdeps/i386/memmove_chk.S: Here.
10570         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
10571         * sysdeps/i386/mempcpy_chk.S: Likewise.
10572         * sysdeps/i386/i686/memset_chk.S: Moved to ...
10573         * sysdeps/i386/memset_chk.S: Likewise.
10575 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
10577         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
10578         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
10579         file, move DIAG_POP_NEEDS_COMMENT to end of file.
10580         * soft-fp/fmadf4.c: Ditto.
10581         * soft-fp/fmatf4.c: Ditto.
10583 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10585         * sysdeps/i386/i586/Implies: Removed.
10586         * sysdeps/i386/i686/Implies: Likewise.
10588 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10590         * sysdeps/i386/i486/strlen.S: Moved to ...
10591         * sysdeps/i386/strlen.S: Here.
10593 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10595         * sysdeps/i386/i486/strcat.S: Moved to ...
10596         * sysdeps/i386/strcat.S: Here.
10598 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10600         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
10601         * sysdeps/i386/pthread_spin_trylock.S: Here.
10602         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
10603         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
10605 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10607         * sysdeps/i386/i486/string-inlines.c: Moved to ...
10608         * sysdeps/i386/string-inlines.c: Here.
10610 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10612         * sysdeps/i386/i486/htonl.S: Moved ...
10613         * sysdeps/i386/htonl.S: here.
10615 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10617         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
10618         * sysdeps/i386/bits/atomic.h: Here.
10620 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10622         * sysdeps/i386/i486/Versions: Removed.
10624 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10626         [BZ #2898]
10627         * misc/mktemp.c: Add mkdtemp to the link_warning message.
10628         Based on patch by Aurelien Jarno.
10630 2015-08-26  Stan Shebs  <stanshebs@google.com>
10632         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
10633         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
10635 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10637         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
10638         * sysdeps/powerpc/dl-procinfo.c:
10639         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
10640         feature so it shows when LD_SHOW_AUXV=1.
10642 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10644         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10645         (__arch_compare_and_exchange_val_32_acq): Remove and use common
10646         definition.  ISA 2.07B no longer requires full sync.
10648 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
10650         [BZ #18863]
10651         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
10652         (si_call_addr): Define.
10653         (si_syscall): Define.
10654         (si_arch): Define.
10656 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
10658         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
10659         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
10660         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
10661         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
10662         (__memset_zero_constant_len_parameter): New.
10663         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
10664         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
10665         (__memset_zero_constant_len_parameter): Don't define if
10666         __memset_chk or USE_AS_BZERO are defined.
10668         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
10669         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
10670         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
10672         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
10673         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
10674         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
10675         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
10676         comments.
10677         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
10678         -mno-mmx for $(all-rtld-routines).
10679         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
10680         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
10681         i386.
10683 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
10685         * sysdeps/generic/unwind.h
10686         (_Unwind_Word): Use __mode__(__unwind_word__)
10687         instead of __mode__(__word__).
10688         (_Unwind_Sword): Likewise.
10690         * sysdeps/s390/s390-64/utf8-utf16-z9.c
10691         (MAX_NEEDED_INPUT): New define.
10692         (MAX_NEEDED_OUTPUT): New define.
10694         * NEWS: New item for IBM z13 string optimizations.
10696         * sysdeps/s390/multiarch/memrchr-c.c: New File.
10697         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
10698         * sysdeps/s390/multiarch/memrchr.c: Likewise.
10699         * sysdeps/s390/multiarch/Makefile
10700         (sysdep_routines): Add memrchr functions.
10701         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10702         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
10704         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
10705         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
10706         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
10707         * sysdeps/s390/multiarch/Makefile
10708         (sysdep_routines): Add wmemcmp functions.
10709         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10710         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
10711         * benchtests/bench-wmemcmp.c: New File.
10712         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
10714         * sysdeps/s390/multiarch/wmemset-c.c: New File.
10715         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
10716         * sysdeps/s390/multiarch/wmemset.c: Likewise.
10717         * sysdeps/s390/multiarch/Makefile
10718         (sysdep_routines): Add wmemset functions.
10719         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10720         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
10721         * wcsmbs/wmemset.c: Use WMEMSET if defined.
10722         * string/test-memset.c: Add wmemset support.
10723         * wcsmbs/test-wmemset.c: New File.
10724         * wcsmbs/Makefile (strop-tests): Add wmemset.
10725         * benchtests/bench-memset.c: Add wmemset support.
10726         * benchtests/bench-wmemset.c: New File.
10727         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
10729         * sysdeps/s390/multiarch/memccpy-c.c: New File.
10730         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
10731         * sysdeps/s390/multiarch/memccpy.c: Likewise.
10732         * sysdeps/s390/multiarch/Makefile
10733         (sysdep_routines): Add memccpy functions.
10734         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10735         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
10736         * string/memccpy.c: Use MEMCCPY if defined.
10738         * sysdeps/s390/multiarch/memchr-vx.S: New File.
10739         * sysdeps/s390/multiarch/memchr.c: Likewise.
10740         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
10741         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
10742         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
10743         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
10744         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
10745         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
10746         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
10747         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
10748         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
10749         and rawmemchr functions.
10750         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10751         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
10752         and wmemchr.
10753         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
10754         * string/test-memchr.c: Add wmemchr support.
10755         * wcsmbs/test-wmemchr.c: New File.
10756         * wcsmbs/Makefile (strop-tests): Add wmemchr.
10757         * benchtests/bench-memchr.c: Add wmemchr support.
10758         * benchtests/bench-wmemchr.c: New File.
10759         * benchtests/Makefile (wcsmbs-bench): wmemchr.
10761         * sysdeps/s390/multiarch/strcspn-c.c: New File.
10762         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
10763         * sysdeps/s390/multiarch/strcspn.c: Likewise.
10764         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
10765         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
10766         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
10767         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
10768         wcscspn functions.
10769         * sysdeps/s390/multiarch/ifunc-impl-list.c
10770         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
10771         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
10772         * string/test-strcspn.c: Add wcscspn support.
10773         * wcsmbs/test-wcscspn.c: New File.
10774         * wcsmbs/Makefile (strop-tests): Add wcscspn.
10775         * benchtests/bench-strcspn.c: Add wcscspn support.
10776         * benchtests/bench-wcscspn.c: New File.
10777         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
10779         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
10780         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
10781         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
10782         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
10783         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
10784         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
10785         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
10786         wcspbrk functions.
10787         * sysdeps/s390/multiarch/ifunc-impl-list.c
10788         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
10789         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
10790         * string/test-strpbrk.c: Add wcspbrk support.
10791         * wcsmbs/test-wcspbrk.c: New File.
10792         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
10793         * benchtests/bench-strpbrk.c: Add wcspbrk support.
10794         * benchtests/bench-wcspbrk.c: New File.
10795         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
10797         * sysdeps/s390/multiarch/strspn-c.c: New File.
10798         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
10799         * sysdeps/s390/multiarch/strspn.c: Likewise.
10800         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
10801         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
10802         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
10803         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
10804         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
10805         wcsspn functions.
10806         * sysdeps/s390/multiarch/ifunc-impl-list.c
10807         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
10808         * string/test-strspn.c: Add wcsspn support.
10809         * wcsmbs/test-wcsspn.c: New File.
10810         * wcsmbs/Makefile (strop-tests): Add wcsspn.
10811         * benchtests/bench-strspn.c: Add wcsspn support.
10812         * benchtests/bench-wcsspn.c: New File.
10813         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
10815         * sysdeps/s390/multiarch/strrchr-c.c: New File.
10816         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
10817         * sysdeps/s390/multiarch/strrchr.c: Likewise.
10818         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
10819         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
10820         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
10821         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
10822         wcsrchr functions.
10823         * sysdeps/s390/multiarch/ifunc-impl-list.c
10824         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
10825         * benchtests/bench-wcsrchr.c: New File.
10826         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
10828         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
10829         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
10830         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
10831         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
10832         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
10833         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
10834         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
10835         wcschrnul functions.
10836         * sysdeps/s390/multiarch/ifunc-impl-list.c
10837         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
10838         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
10839         * string/test-strchr.c: Add wcschrnul support.
10840         * wcsmbs/test-wcschrnul.c: New File.
10841         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
10842         * benchtests/bench-strchr.c: Add wcschrnul support.
10843         * benchtests/bench-wcschrnul.c: New File.
10844         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
10846         * sysdeps/s390/multiarch/strchr-c.c: New File.
10847         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
10848         * sysdeps/s390/multiarch/strchr.c: Likewise.
10849         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
10850         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
10851         * sysdeps/s390/multiarch/wcschr.c: Likewise.
10852         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
10853         wcschr functions.
10854         * sysdeps/s390/multiarch/ifunc-impl-list.c
10855         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
10856         * string/strchr.c (STRCHR): Define and use macro.
10857         * benchtests/bench-wcschr.c: New File.
10858         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
10860         * sysdeps/s390/multiarch/strncmp-c.c: New File.
10861         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
10862         * sysdeps/s390/multiarch/strncmp.c: Likewise.
10863         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
10864         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
10865         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
10866         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
10867         wcsncmp functions.
10868         * sysdeps/s390/multiarch/ifunc-impl-list.c
10869         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
10870         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
10871         * benchtests/bench-strncmp.c: Add wcsncmp support.
10872         * benchtests/bench-wcsncmp.c: New File.
10873         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
10875         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
10876         * sysdeps/s390/multiarch/strcmp.c: Likewise.
10877         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
10878         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
10879         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
10880         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
10881         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
10882         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
10883         wcscmp functions.
10884         * sysdeps/s390/multiarch/ifunc-impl-list.c
10885         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
10886         * string/strcmp.c (STRCMP): Define and use macro.
10887         * benchtests/bench-wcscmp.c: New File.
10888         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
10889         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
10890         instead of _HAVE_STRING_ARCH_memchr.
10892         * sysdeps/s390/multiarch/strncat-c.c: New File.
10893         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
10894         * sysdeps/s390/multiarch/strncat.c: Likewise.
10895         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
10896         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
10897         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
10898         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
10899         wcsncat functions.
10900         * sysdeps/s390/multiarch/ifunc-impl-list.c
10901         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
10902         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
10903         * string/test-strncat.c: Add wcsncat support.
10904         * wcsmbs/test-wcsncat.c: New File.
10905         * wcsmbs/Makefile (strop-tests): Add wcsncat.
10906         * benchtests/bench-strncat.c: Add wcsncat support.
10907         * benchtests/bench-wcsncat.c: New File.
10908         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
10910         * sysdeps/s390/multiarch/strcat-c.c: New File.
10911         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
10912         * sysdeps/s390/multiarch/strcat.c: Likewise.
10913         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
10914         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
10915         * sysdeps/s390/multiarch/wcscat.c: Likewise.
10916         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
10917         wcscat functions.
10918         * sysdeps/s390/multiarch/ifunc-impl-list.c
10919         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
10920         * string/strcat.c (STRCAT): Define and use macro.
10921         * wcsmbs/wcscat.c: Use WCSCAT if defined.
10922         * string/test-strcat.c: Add wcscat support.
10923         * wcsmbs/test-wcscat.c: New File.
10924         * wcsmbs/Makefile (strop-tests): Add wcscat.
10925         * benchtests/bench-strcat.c: Add wcscat support.
10926         * benchtests/bench-wcscat.c: New File.
10927         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
10929         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
10930         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
10931         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
10932         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
10933         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
10934         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
10935         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
10936         wcpncpy functions.
10937         * sysdeps/s390/multiarch/ifunc-impl-list.c
10938         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
10939         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
10940         * string/test-stpncpy.c: Add wcpncpy support.
10941         * wcsmbs/test-wcpncpy.c: New File.
10942         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
10943         * benchtests/bench-stpncpy.c: Add wcpncpy support.
10944         * benchtests/bench-wcpncpy.c: New File.
10945         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
10947         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
10948         * sysdeps/s390/multiarch/strncpy.c: Likewise.
10949         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
10950         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
10951         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
10952         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
10953         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
10954         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
10955         wcsncpy functions.
10956         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
10957         * sysdeps/s390/multiarch/ifunc-impl-list.c
10958         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
10959         * string/test-strncpy.c: Add wcsncpy support.
10960         * wcsmbs/test-wcsncpy.c: New File.
10961         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
10962         * benchtests/bench-strncpy.c: Add wcsncpy support.
10963         * benchtests/bench-wcsncpy.c: New File.
10964         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
10966         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
10967         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
10968         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
10969         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
10970         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
10971         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
10972         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
10973         wcpcpy functions.
10974         * string/stpcpy.c: Use STPCPY if defined.
10975         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
10976         * sysdeps/s390/multiarch/ifunc-impl-list.c
10977         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
10978         * string/test-stpcpy.c: Add wcpcpy support.
10979         * wcsmbs/test-wcpcpy.c: New File.
10980         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
10981         * benchtests/bench-stpcpy.c: Add wcpcpy support.
10982         * benchtests/bench-wcpcpy.c: New File.
10983         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
10985         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
10986         * sysdeps/s390/multiarch/strcpy.c: Likewise.
10987         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
10988         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
10989         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
10990         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
10991         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
10992         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
10993         wcscpy functions.
10994         * sysdeps/s390/multiarch/ifunc-impl-list.c
10995         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
10996         * benchtests/bench-wcscpy.c: New File.
10997         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
10999         * sysdeps/s390/multiarch/strnlen-c.c: New File.
11000         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
11001         * sysdeps/s390/multiarch/strnlen.c: Likewise.
11002         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
11003         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
11004         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
11005         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
11006         wcsnlen functions.
11007         * sysdeps/s390/multiarch/ifunc-impl-list.c
11008         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
11009         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
11010         * string/test-strnlen.c: Add wcsnlen support.
11011         * wcsmbs/test-wcsnlen.c: New File.
11012         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
11013         * benchtests/bench-strnlen.c: Add wcsnlen support.
11014         * benchtests/bench-wcsnlen.c: New File.
11015         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
11017         * sysdeps/s390/multiarch/Makefile: New File.
11018         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
11019         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
11020         * sysdeps/s390/multiarch/strlen.c: Likewise.
11021         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
11022         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
11023         * sysdeps/s390/multiarch/wcslen.c: Likewise.
11024         * string/strlen.c (STRLEN): Define and use macro.
11025         * sysdeps/s390/multiarch/ifunc-impl-list.c
11026         (IFUNC_VX_IMPL): New macro function.
11027         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
11028         * benchtests/Makefile (wcsmbs-bench): New variable.
11029         (string-bench-all): Added wcsmbs-bench.
11030         * benchtests/bench-wcslen.c: New File.
11032         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
11033         s390_vx_libc_ifunc2): New macro function.
11035         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
11036         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
11037         assembler support.
11038         * sysdeps/s390/configure: Regenerated.
11040         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
11041         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
11043         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
11044         * sysdeps/s390/dl-procinfo.h: Add vector capability.
11045         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
11047         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
11048         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
11049         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
11050         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
11051         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
11052         (memcmp, bcmp): Use __memcmp_default as alias source.
11053         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
11054         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
11055         Rename to __memcmp_default.
11056         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
11057         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
11058         (memcpy): Use __memcpy_default as alias source.
11059         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
11060         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
11061         Rename to __memcpy_default.
11062         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
11063         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
11064         (memset): Use __memset_default as alias source.
11065         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
11066         * sysdeps/s390/s390-32/memset.S (__memset_g5):
11067         Rename to __memset_default.
11068         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
11069         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
11070         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
11071         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
11072         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
11073         (memcmp, bcmp): Use __memcmp_default as alias source.
11074         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
11075         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
11076         Rename to __memcmp_default.
11077         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
11078         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
11079         (memcpy): Use __memcpy_default as alias source.
11080         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
11081         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
11082         Rename to __memcpy_default.
11083         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
11084         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
11085         (memset): Use __memset_default as alias source.
11086         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
11087         * sysdeps/s390/s390-64/memset.S (__memset_z900):
11088         Rename to __memset_default.
11089         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
11090         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
11092         [BZ #18610]
11093         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
11094         __ieee_instruction_pointer to __unused.
11095         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
11096         __ieee_instruction_pointer.
11097         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
11098         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
11099         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11100         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11101         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
11102         Mark dxc-field as reserved.
11104 2015-08-25  Roland McGrath  <roland@hack.frob.com>
11106         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
11107         if the weak reference is not null.
11109 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11111         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
11113         [BZ #11214]
11114         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
11116 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11118         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
11119         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
11120         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
11121         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
11122         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
11123         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
11124         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
11125         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
11126         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
11127         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
11128         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
11129         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
11130         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
11131         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
11132         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
11133         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
11134         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
11135         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
11137 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11139         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
11140         register other than r0 for tabort, it has special meaning.
11141         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
11142         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
11143         transaction before starting syscall.
11145 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11147         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
11149 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11151         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
11153         * sysdeps/x86_64/rtld-memcmp.c: Removed.
11154         * sysdeps/x86_64/rtld-memset.S: Likewise.
11155         * sysdeps/x86_64/rtld-strchr.S: Likewise.
11156         * sysdeps/x86_64/rtld-strlen.S: Likewise.
11157         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
11158         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11160         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
11162 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
11164         * debug/strcpy_chk.c: Improve performance.
11165         * debug/stpcpy_chk.c: Likewise.
11166         * sysdeps/x86_64/strcpy_chk.S: Remove.
11167         * sysdeps/x86_64/stpcpy_chk.S: Remove.
11169         [BZ #18240]
11170         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
11172 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11174         [BZ #15128]
11175         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
11176         ifuncmain8.
11177         (modules-names): Add ifuncmod8.
11178         ($(objpfx)ifuncmain8): New rule.
11179         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
11180         <cpuid.h>.
11181         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
11182         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
11183         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
11184         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
11185         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
11186         * sysdeps/x86_64/dl-trampoline.h: Likewise.
11187         * sysdeps/x86_64/ifuncmain8.c: New file.
11188         * sysdeps/x86_64/ifuncmod8.c: Likewise.
11189         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
11190         Removed.
11191         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
11192         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
11193         Change rtld_savespace_sse to __glibc_unused2.
11194         (RTLD_CHECK_FOREIGN_CALL): Removed.
11195         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
11196         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
11197         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
11199 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
11201         * sysdeps/aarch64/bzero.S (__bzero): Remove.
11203 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
11205         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
11206         Unconditionally set __fpcr to avoid uninialized warning.
11207         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
11209 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11211         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
11212         is corrupt.
11214         * malloc/arena.c (arena_get2): Drop unused argument.
11215         (arena_lock): Adjust.
11216         (arena_get_retry): Likewise.
11218 2015-08-24  Andreas Schwab  <schwab@suse.de>
11220         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
11221         Don't define.
11222         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11223         (__ASSUME_IPC64): Don't undef.
11224         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
11225         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11226         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11227         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
11228         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
11229         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
11230         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
11231         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
11232         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
11233         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
11234         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
11235         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
11236         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
11237         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
11238         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
11239         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
11240         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
11241         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
11242         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
11243         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
11244         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
11246 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
11248         * manual/Makefile (install): Only build manual when perl is available.
11250 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11252         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
11253         '#undef memcpy' by '#undef memchr'.
11255 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11257         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
11258         memchr not point to the internal __GI_memchr implementation.
11260 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
11262         * timezone/Makefile (CFLAGS-zdump.c): Remove
11263         -Wno-strict-prototypes.
11264         (CFLAGS-zic.c): Likewise.
11265         (CFLAGS-ialloc.c): Likewise.
11266         (CFLAGS-scheck.c): Likewise.
11268         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
11269         -Wno-error=undef.
11271 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11273         * i386/i686/multiarch/strcasestr-c.c: Removed.
11274         * x86_64/multiarch/strcasestr.c: Likewise.
11275         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11276         Remove strcasestr.
11278 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
11280         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
11282         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
11283         variables for high and low parts before possibly modifying them.
11285 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11287         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
11288         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
11289         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
11290         of "multiarch/init-arch.h".
11291         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
11292         * sysdeps/x86/init-arch.h: This.
11294 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11296         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
11297         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
11299 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
11301         [BZ #17787]
11302         * manual/macros.texi: Add twoexp macro.
11303         * manual/filesys.texi: Fix exponents.
11304         * manual/llio.texi: Likewise.
11305         * manual/stdio.texi: Likewise.
11307 2015-08-20  Florian Weimer  <fweimer@redhat.com>
11309         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
11310         incorrect use.
11312 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
11314         [BZ #18370]
11315         * math/s_csqrt.c (__csqrt): Force underflow exception for results
11316         whose real or imaginary part has small absolute value.
11317         * math/s_csqrtf.c (__csqrtf): Likewise.
11318         * math/s_csqrtl.c (__csqrtl): Likewise.
11319         * math/auto-libm-test-in: Add more tests of csqrt.
11320         * math/auto-libm-test-out: Regenerated.
11321         * sysdeps/i386/fpu/libm-test-ulps: Update.
11323 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11325         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
11326         __ppc_set_ppr_very_low): New functions.
11327         * manual/platform.texi: Add documentation about
11328         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
11330 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
11332         * string/stpncpy.c (stpncpy): Improve performance using
11333         __strnlen/memcpy/memset.
11335 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11337         [BZ #18796]
11338         * scripts/test-installation.pl: Don't add -lmvec to build options if
11339         libmvec wasn't built.
11341 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
11343         [BZ #14341]
11344         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
11345         case when there is a gap between DT_REL and DT_JMPREL sections.
11346         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
11347         (LDFLAGS-tst-split-dynreloc): New.
11348         (tst-split-dynreloc-ENV): Likewise.
11349         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
11350         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
11352 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11354         [BZ #18822]
11355         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
11356         attribute_hidden.
11357         (__xstat64_conv): Likewise.
11358         (__xstat32_conv): Likewise.
11360 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11362         [BZ #18822]
11363         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
11364         Don't load %ebx when calling __setcontext.  Call __setcontext
11365         with HIDDEN_JUMPTARGET.
11366         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
11367         libc_hidden_def.
11369 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11371         * sysdeps/i386/i686/Makefile
11372         [$(subdir) == string] (sysdep_routines): Moved to ...
11373         * sysdeps/i386/Makefile: Here.
11374         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
11375         * sysdeps/i386/cacheinfo.c: Here.
11376         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
11377         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
11378         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
11379         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
11381 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11383         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
11384         __i586__ is defined.
11385         (HAS_I686): Defined to 1 if __i686__ is defined.
11387 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
11389         * elf/Makefile [$(have-z-execstack) = yes]
11390         (CPPFLAGS-tst-execstack.c): New variable.
11392         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
11393         conditional to [defined UTMPX || _HAVE_UT_TYPE].
11394         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
11395         UTMPX || _HAVE_UT_TV].
11396         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
11397         UTMPX || _HAVE_UT_TV - 0].
11399 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
11401         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
11402         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
11403         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
11405 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11407         * sysdeps/powerpc/dl-procinfo.c:
11408         (_dl_powerpc_cap_flags): Added missing strings for some
11409         hwcap features.
11410         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
11412 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
11414         Port the 0x7efe...feff pattern to GCC 6.
11415         See Steve Ellcey's bug report in:
11416         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
11417         * string/memrchr.c (MEMRCHR):
11418         * string/rawmemchr.c (RAWMEMCHR):
11419         * string/strchr.c (strchr):
11420         * string/strchrnul.c (STRCHRNUL):
11421         Rewrite code to avoid issues with signed shift overflow.
11423 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
11425         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
11426         whether cpuid is available only if HAS_CPUID is 0.
11427         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
11428         (HAS_I586): Likewise.
11429         (HAS_I686): Likewise.
11431 2015-08-18  Zack Weinberg  <zackw@panix.com>
11433         * misc/Versions (libc): Add GLIBC_2.23.
11435 2015-08-18  Alan Modra  <amodra@gmail.com>
11437         [BZ #18421]
11438         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
11439         .Lp__global.
11440         (_start): Load %dp via .Lp__global.
11441         [!SHARED]: Use .section .rodata.
11443 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11445         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
11446         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
11448 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11450         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
11451         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
11453 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11455         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
11456         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
11458 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11460         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
11461         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
11463 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11465         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
11466         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
11468 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11470         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
11471         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
11473 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11475         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
11477 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11479         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
11480         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
11481         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11482         (__ASSUME_LWS_CAS): Delete.
11484 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11486         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
11487         * sysdeps/hppa/configure: Regenerated.
11488         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
11489         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
11490         * sysdeps/hppa/nptl/tls.h: Likewise.
11492 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
11494         [BZ #18823]
11495         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
11496         for scaling up small arguments.
11497         * math/s_csqrtf.c (__csqrtf): Likewise.
11498         * math/s_csqrtl.c (__csqrtl): Likewise.
11499         * math/auto-libm-test-in: Add more tests of csqrt.
11500         * math/auto-libm-test-out: Regenerated.
11502 2015-08-17  Andreas Schwab  <schwab@suse.de>
11504         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
11505         version set GLIBC_2.19.
11507 2015-08-16  Zack Weinberg  <zackw@panix.com>
11509         [BZ #18681]
11510         * misc/regexp.h: This interface is no longer supported.
11511         Remove all contents, leaving only an #error directive.
11512         * misc/regexp.c (loc1, loc2, locs, step, advance):
11513         Demote to compatibility symbols.
11515 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
11517         [BZ #18084]
11518         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
11519         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
11520         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
11521         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
11522         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
11523         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
11524         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
11525         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
11526         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
11528 2015-08-15  Zack Weinberg  <zackw@panix.com>
11530         [BZ #18795]
11531         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
11532         buffer length is known to be too large, not if it's known to be
11533         small enough.
11534         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
11535         overflow at runtime, involving a length parameter, twice: once
11536         with a compile-time constant length parameter, once without.
11538 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
11540         [BZ #18824]
11541         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
11542         scaling x * y up instead of down.
11543         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11544         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11545         * math/auto-libm-test-in: Add more tests of fma.
11546         * math/auto-libm-test-out: Regenerated.
11548 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
11550         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11552 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11554         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
11555         unnecessary movq.
11556         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
11557         Likewise.
11559 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
11561         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11562         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
11563         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
11564         and tgamma.
11565         * math/auto-libm-test-out: Regenerated.
11566         * sysdeps/i386/fpu/libm-test-ulps: Update.
11567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11569         [BZ #16520]
11570         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
11571         (__tanh): Force underflow exception for arguments with small
11572         absolute value.
11573         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
11574         (__tanhf): Force underflow exception for arguments with small
11575         absolute value.
11576         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
11577         (__tanhl): Force underflow exception for arguments with small
11578         absolute value.
11579         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
11580         (__tanhl): Force underflow exception for arguments with small
11581         absolute value.
11582         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
11583         (__tanhl): Force underflow exception for arguments with small
11584         absolute value.
11585         * math/auto-libm-test-in: Add more tests of tanh.
11586         * math/auto-libm-test-out: Regenerated.
11587         * sysdeps/i386/fpu/libm-test-ulps: Update.
11589 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11591         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
11592         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
11594 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11596         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
11597         <cpuid.h>.
11599 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11601         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
11602         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
11604 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11606         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
11607         Remove $(objpfx)init-arch.o.
11608         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
11609         init-arch.
11610         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
11611         (INIT_ARCH_EXT): Defined as empty.
11612         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
11613         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
11614         __init_cpu_features call.  Replace HAS_XXX with
11615         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11616         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
11617         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
11618         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
11619         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
11620         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
11621         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
11622         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
11623         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
11624         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
11625         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
11626         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
11627         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
11628         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
11629         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
11630         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
11631         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
11632         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
11633         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
11634         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
11635         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
11636         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
11637         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
11638         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
11639         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
11640         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
11641         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
11642         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
11643         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
11644         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
11645         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
11646         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
11647         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
11648         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
11649         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
11650         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
11652 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11654         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
11655         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11656         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
11657         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
11658         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
11659         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
11660         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
11661         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
11662         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
11663         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
11664         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
11665         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
11666         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11667         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11668         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11669         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11670         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11671         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11672         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11673         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11674         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11675         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11676         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11677         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11678         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11679         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11680         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11681         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11682         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11683         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11684         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11685         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11686         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11687         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11688         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11689         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11690         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11691         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11692         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11693         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11694         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11695         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11696         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11698 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11700         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
11701         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11702         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11703         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11704         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11705         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
11706         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11707         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
11708         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11709         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11710         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11711         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
11712         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
11713         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
11714         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
11715         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
11716         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
11717         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
11718         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
11719         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
11720         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
11721         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
11722         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
11723         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11724         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11725         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
11726         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
11727         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
11728         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11729         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11730         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11731         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11732         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11733         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11734         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11735         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11736         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11737         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11738         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11739         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11740         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11741         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11742         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11744 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11746         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
11747         (dl_platform_init): Call init_cpu_features.
11748         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
11749         * sysdeps/i386/i686/cacheinfo.c
11750         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
11751         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
11752         * sysdeps/i386/i686/multiarch/Versions: Removed.
11753         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
11754         Removed.
11755         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
11756         * sysdeps/unix/sysv/linux/x86/Makefile
11757         (libpthread-sysdep_routines): Remove init-arch.
11758         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
11759         <sysdeps/x86_64/dl-procinfo.c> instead of
11760         sysdeps/generic/dl-procinfo.c>.
11761         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
11762         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
11763         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
11764         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
11765         [$(subdir) == elf] (tests-static): Add
11766         tst-get-cpu-features-static.
11767         * sysdeps/x86/Versions: New file.
11768         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
11769         * sysdeps/x86/cpu-features.c: Likewise.
11770         * sysdeps/x86/cpu-features.h: Likewise.
11771         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
11772         * sysdeps/x86/libc-start.c: Likewise.
11773         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
11774         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
11775         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
11776         * sysdeps/x86_64/dl-procinfo.c: Likewise.
11777         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
11778         Assume USE_MULTIARCH is defined and don't check it.
11779         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
11780         (is_amd): Likewise.
11781         (max_cpuid): Likewise.
11782         (intel_check_word): Likewise.
11783         (__cache_sysconf): Don't call __init_cpu_features.
11784         (__x86_preferred_memory_instruction): Removed.
11785         (init_cacheinfo): Don't call __init_cpu_features. Replace
11786         __cpu_features with GLRO(dl_x86_cpu_features).
11787         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
11788         (dl_platform_init): Call init_cpu_features.
11789         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
11790         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
11791         * sysdeps/x86_64/multiarch/Versions: Removed.
11792         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
11793         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
11794         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
11795         Removed.
11796         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
11798 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
11800         [BZ #18820]
11801         * libio/Makefile (test-fmemopen-mem): New test.
11802         * libio/test-fmemopen.c (do_bz18820): New test.
11803         * libio/fmemopen.c (__fmemopen): Fix memory leak.
11804         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
11806 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
11808         [BZ #16734]
11809         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
11810         (FREE_BUF): Delete.
11811         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
11812         * libio/genops.c (_IO_setb): Use malloc and free directly.
11813         (_IO_default_doallocate, _IO_default_finish): Likewise.
11814         ( _IO_unbuffer_all): Likewise.
11815         ( libc_freeres_fn): Likewise.
11816         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11817         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
11818         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
11819         (_IO_wdefault_doallocate): Likewise.
11821 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11823         [BZ #18086]
11824         * sysdeps/posix/nice.c (nice): Restore old errno.
11825         * posix/tst-nice.c (do_test): Add test for BZ #18086.
11827 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
11829         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
11831 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11833         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
11834         __bcopy and add a weak_alias to bcopy.
11835         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
11836         for static build.
11838         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
11839         cleanup macro usage.
11840         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
11841         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
11842         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
11843         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
11844         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
11845         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
11846         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
11847         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
11848         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11849         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
11850         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11851         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
11852         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11853         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
11854         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11855         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
11856         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
11857         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
11858         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
11860         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
11861         libc_hidden_def.
11862         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
11864         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
11865         (sysdep_routines): Add strstr-ppc64.
11866         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
11868 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
11870         [BZ #18778]
11871         * elf/Makefile (tests): Add Add tst-nodelete2.
11872         (modules-names): Add tst-nodelete2mod.
11873         (tst-nodelete2mod.so-no-z-defs): New.
11874         ($(objpfx)tst-nodelete2): Likewise.
11875         ($(objpfx)tst-nodelete2.out): Likewise.
11876         (LDFLAGS-tst-nodelete2): Likewise.
11877         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
11878         out of loop through all loaded libraries.
11879         * elf/tst-nodelete2.c: New file.
11880         * elf/tst-nodelete2mod.c: Likewise.
11881         * elf/tst-znodelete-zlib.cc: Delete.
11883 2015-08-11  Andreas Schwab  <schwab@suse.de>
11885         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
11886         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
11887         (__openat64_nocancel): Likewise.
11889 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
11891         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
11892         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
11893         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
11894         * math/auto-libm-test-out: Regenerated.
11895         * sysdeps/i386/fpu/libm-test-ulps: Update.
11896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11898 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
11900         [BZ #18790]
11901         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
11902         threshold for returning +/- 1.
11903         * math/auto-libm-test-in: Add more tests of tanh.
11904         * math/auto-libm-test-out: Regenerated.
11905         * sysdeps/i386/fpu/libm-test-ulps: Update.
11907 2015-08-10  Andreas Schwab  <schwab@suse.de>
11909         [BZ #18781]
11910         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
11911         MORE_OFLAGS to oflag.
11912         * io/test-lfs.c (do_test): Test openat64.
11914 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
11916         [BZ #18789]
11917         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
11918         smaller threshold for returning the argument.
11919         * math/auto-libm-test-in: Add more tests of sinh.
11920         * math/auto-libm-test-out: Regenerated.
11921         * sysdeps/i386/fpu/libm-test-ulps: Update.
11923 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
11925         [BZ #18674]
11926         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
11927         break.
11929 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
11931         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
11932         (generated): Don't add $(addprefix z.,$(tzfiles)).
11934 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
11936         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
11937         * scripts/sysd-rules.awk: Likewise.
11939 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
11941         * iconvdata/tst-tables.sh: Change echo -n to printf.
11942         * nss/db-Makefile: Likewise.
11943         * posix/tst-getconf.sh: Likewise.
11944         * stdio-common/tst-unbputc.sh: Likewise.
11946 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
11948         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
11949         MADV_*_PAGES defines behind this feature check.
11951 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
11953         [BZ #18480]
11954         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
11955         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
11956         Define.
11957         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
11958         LOAD_REGS_5, LOAD_REGS_6): Update.
11959         (INTERNAL_SYSCALL): Update using new LOAD defines.
11960         (INTERNAL_SYSCALL_NCS): Likewise.
11961         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
11963 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11965         [BZ #16734]
11966         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
11968 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11970         [BZ #17905]
11971         * catgets/Makefile (tst-catgets-mem): New test.
11972         * catgets/catgets.c (catopen): Don't use unbounded alloca.
11973         * catgets/open_catalog.c (__open_catalog): Likewise.
11974         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
11976 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
11978         [BZ #18787]
11979         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
11980         clobber registers.
11981         (atomic_compare_and_exchange_val_acq): Use register asms to assign
11982         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
11983         Cast return to __typeof (oldval).
11985 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
11987         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
11988         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
11989         and delete sys/syscall.h include.
11991 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
11993         [BZ #16517]
11994         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
11995         (tan): Force underflow exception for arguments with small absolute
11996         value.
11997         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
11998         (__kernel_tanf): Force underflow exception for arguments with
11999         small absolute value.
12000         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
12001         (__kernel_tanl): Force underflow exception for arguments with
12002         small absolute value.
12003         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
12004         (__kernel_tanl): Force underflow exception for arguments with
12005         small absolute value.
12006         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
12007         (__kernel_tanl): Force underflow exception for arguments with
12008         small absolute value.
12009         * math/auto-libm-test-in: Add more tests of tan.
12010         * math/auto-libm-test-out: Regenerated.
12012 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12014         Fix sysdeps/i386/fpu/s_scalbn.S build
12016         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
12018 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
12020         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
12022 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12024         Fix gcrt0.o compilation
12026         When static-start-installed-name is different from
12027         start-installed-name, we must not use the shared objects.
12029         * csu/Makefile
12030         (extra-objs): Add gmon-start.o when building shared library and
12031         $(static-start-installed-name) is different from
12032         $(start-installed-name).
12033         $(objpfx)g$(static-start-installed-name): When building shared
12034         library and $(static-start-installed-name) is different from
12035         $(static-start-installed-name), revert to non-shared rule,
12036         i.e. using $(objpfx)% and gmon-start.o.
12038 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
12040         [BZ #16519]
12041         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
12042         (__ieee754_sinh): Force underflow exception for arguments with
12043         small absolute value.
12044         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
12045         (__ieee754_sinhf): Force underflow exception for arguments with
12046         small absolute value.
12047         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
12048         (__ieee754_sinhl): Force underflow exception for arguments with
12049         small absolute value.
12050         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
12051         (__ieee754_sinhl): Force underflow exception for arguments with
12052         small absolute value.
12053         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
12054         (__ieee754_sinhl): Force underflow exception for arguments with
12055         small absolute value.
12056         * math/auto-libm-test-in: Add more tests of sinh.
12057         * math/auto-libm-test-out: Regenerated.
12058         * sysdeps/i386/fpu/libm-test-ulps: Update.
12060 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12062         * libio/oldfileops.c: Include unistd.h.
12064 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
12066         * stdlib/isomac.c: Include ctype.h.
12068 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
12070         * dirent/tst-seekdir.c (main): Converted to ...
12071         (do_test): ... this.
12072         (TEST_FUNCTION): New macro.
12073         Include test-skeleton.c.
12074         * elf/tst-dlmodcount.c (main): Converted to ...
12075         (do_test): ... this.
12076         (TEST_FUNCTION): New macro.
12077         Include test-skeleton.c.
12078         * elf/tst-order-main.c (main): Converted to ...
12079         (do_test): ... this.
12080         (TEST_FUNCTION): New macro.
12081         Include test-skeleton.c.
12082         * elf/tst-pie2.c (main): Converted to ...
12083         (do_test): ... this.
12084         (TEST_FUNCTION): New macro.
12085         Include test-skeleton.c.
12086         * inet/tst-ether_aton.c (main): Converted to ...
12087         (do_test): ... this.
12088         (TEST_FUNCTION): New macro.
12089         Include test-skeleton.c.
12090         * misc/tst-mntent.c (main): Converted to ...
12091         (do_test): ... this.
12092         (TEST_FUNCTION): New macro.
12093         Include test-skeleton.c.
12094         * misc/tst-tsearch.c (main): Converted to ...
12095         (do_test): ... this.
12096         (TEST_FUNCTION): New macro.
12097         Include test-skeleton.c.
12098         * posix/tst-regexloc.c (main): Converted to ...
12099         (do_test): ... this.
12100         (TEST_FUNCTION): New macro.
12101         Include test-skeleton.c.
12102         * resolv/tst-aton.c (main): Converted to ...
12103         (do_test): ... this.
12104         (TEST_FUNCTION): New macro.
12105         Include test-skeleton.c.
12106         * stdio-common/test-fwrite.c (main): Converted to ...
12107         (do_test): ... this.
12108         (TEST_FUNCTION): New macro.
12109         Include test-skeleton.c.
12110         * stdio-common/tst-ferror.c (main): Converted to ...
12111         (do_test): ... this.
12112         (TEST_FUNCTION): New macro.
12113         Include test-skeleton.c.
12114         * stdio-common/tst-printf.c (main): Converted to ...
12115         (do_test): ... this.
12116         (TEST_FUNCTION): New macro.
12117         Include test-skeleton.c.
12118         * stdio-common/tst-printfsz.c (main): Converted to ...
12119         (do_test): ... this.
12120         (TEST_FUNCTION): New macro.
12121         Include test-skeleton.c.
12122         * stdlib/tst-strtod.c (main): Converted to ...
12123         (do_test): ... this.
12124         (TEST_FUNCTION): New macro.
12125         Include test-skeleton.c.
12126         * string/tst-strlen.c (main): Converted to ...
12127         (do_test): ... this.
12128         (TEST_FUNCTION): New macro.
12129         Include test-skeleton.c.
12130         * string/tst-svc.c (main): Converted to ...
12131         (do_test): ... this.
12132         (TEST_FUNCTION): New macro.
12133         Include test-skeleton.c.
12134         * time/tst-strptime.c (main): Converted to ...
12135         (do_test): ... this.
12136         (TEST_FUNCTION): New macro.
12137         Include test-skeleton.c.
12138         * timezone/tst-timezone.c (main): Converted to ...
12139         (do_test): ... this.
12140         (TEST_FUNCTION): New macro.
12141         Include test-skeleton.c.
12143 2015-08-05  Zack Weinberg  <zackw@panix.com>
12145         * misc/regexp.h: Update comments.
12147 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
12149         [BZ #18635]
12150         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
12151         before return label.
12153 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12155         [BZ #18661]
12156         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
12157         when calling __errno_location.
12158         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
12159         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
12161 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12163         [BZ #18661]
12164         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
12165         (__lll_timedwait_tid): Align stack to 16 bytes when calling
12166         __gettimeofday.
12168 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12170         [BZ #18661]
12171         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12172         (__start_context): Don't use pop to restore %rdi so that stack
12173         is aligned to 16 bytes when calling __setcontext.
12175 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12177         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
12178         only for libc.
12179         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12181 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12183         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
12184         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
12185         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
12187 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12189         * string/memccpy.c (memccpy):
12190         Improve performance by using memchr/memcpy/__mempcpy.
12192 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12194         * string/strncpy.c (strncpy):
12195         Improve performance by using __strnlen/memcpy.
12197 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12199         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12200         Optimize to avoid an unnecessary FPCR read.
12202 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12204         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
12205         Optimize to reduce FPCR/FPSR accesses.
12207 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12209         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
12210         dead->data[category] != NULL.
12212 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
12214         [BZ #18647]
12215         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
12216         and |x| close to 1, use absolute value of x when computing log.
12217         * math/auto-libm-test-in: Add more tests of pow.
12218         * math/auto-libm-test-out: Regenerated.
12220 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12222         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
12223         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
12224         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
12226 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
12228         [BZ #18525]
12229         * locales/km_KH: Remove timezone definition.
12230         * locales/lo_LA: Likewise.
12231         * locales/my_MM: Likewise.
12232         * locales/nan_TW@latin: Likewise.
12233         * locales/th_TH: Likewise.
12234         * locales/uk_UA: Likewise.
12236 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
12238         [BZ #18265]
12239         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
12240         (wcsncat): Likewise.
12241         (wcscmp): Likewise.
12242         (wcsncmp): Likewise.
12244 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12246         * test-skeleton.c (usage): New function.
12247         (main): Call usage when opt is '?'.
12249 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12251         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
12252         before first use.
12254 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12256         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
12257         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
12258         in there too.
12260 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
12262         * version.h (RELEASE): Set to "development".
12263         (VERSION): Set to "2.22.90"
12265         * version.h (RELEASE): Set to "stable".
12266         (VERSION): Set to "2.22"
12267         * include/features.h (__GLIBC_MINOR__): Set to 22.
12269 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
12271         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
12272         Restructure macro to avoid "value computed is not used" warning.
12273         (atomic_compare_and_exchange_val_acq): Likewise.
12275 2015-08-04  Andreas Schwab  <schwab@suse.de>
12277         [BZ #18635]
12278         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
12279         ret.
12280         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
12282 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
12284         * po/pl.po: Updated translation.
12285         * po/uk.po: Likewise.
12286         * po/fi.po: Likewise.
12287         * po/ko.po: Likewise.
12288         * po/ru.po: Likewise.
12289         * po/vi.po: Likewise.
12291 2015-07-31  Zack Weinberg  <zackw@panix.com>
12293         [BZ #18681]
12294         * regexp.h: Add unconditional #warning stating that this header
12295         will be removed soon.  Revise banner comment to match.
12296         (compile): Consistently use ERROR instead of RETURN to report
12297         errors (partial fix for bz#18681).
12298         * regexp.c: Don't include regexp.h. Remove some unnecessary
12299         declarations.
12301 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
12303         * po/libc.pot: Regenerated.
12305 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
12307         [BZ #18740]
12308         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
12309         float-vlen4-arch-ext-cflags): Removed.
12310         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
12311         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
12313 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12315         [BZ #14113]
12316         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
12317         aligned to __aligned__.
12318         (pthread_cond_t, pthread_rwlock_t): Likewise.
12320 2015-07-30  Torvald Riegel  <triegel@redhat.com>
12322         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
12324 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12326         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
12327         (struct sigaction): Change sa_flags from a long to an int, and add
12328         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
12330 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12332         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
12333         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
12334         sysdeps/generic/sysdep.h include.
12335         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
12336         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
12337         sysdeps/hppa/sysdep.h.
12338         (ENTRY, PSEUDO): Undefine before defining.
12340 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12342         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
12343         from scratch to use INTERNAL_SYSCALL.
12345 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
12347         [BZ #18078]
12348         * scripts/check-localplt.awk: Support alternate relocations.
12349         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
12350         sections.
12351         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
12352         malloc entries with + REL R_386_GLOB_DAT.
12353         * sysdeps/x86_64/localplt.data: New file.
12355 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
12357         [BZ #18731]
12358         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
12359         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12360         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12362 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12364         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
12366 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12368         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
12369         directly in terms of __sync_fetch_and_add and delete (int) cast.
12371 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12373         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
12374         the -D_ASM_IA64_CURRENT_H flag.
12376 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12378         [BZ #18641]
12379         * pwd/pwd.h (putpwent): Delete __nonnull markings.
12381 2015-07-27  Andreas Schwab  <schwab@suse.de>
12383         * conform/conformtest.pl (checknamespace): Filter out string
12384         literals while tokenizing.
12386 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
12388         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
12389         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
12390         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
12392 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
12394         * nptl/tst-join7mod.c: Add #include <string.h>.
12396 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
12398         * sysdeps/nios2/libm-test-ulps: Update.
12400 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
12402         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
12403         Fix order of arguments to the rt_sigprocmask syscall.
12404         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
12405         Likewise.
12407 2015-07-24  Roland McGrath  <roland@hack.frob.com>
12409         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
12411 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12413         [BZ #18457]
12414         * nptl/Makefile (tests): New test case tst-join7.
12415         (modules-names): New test case module tst-join7mod.
12416         * nptl/tst-join7.c: New file.
12417         * nptl/tst-join7mod.c: New file.
12418         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
12419         all translation units in libc.so, libpthread.so and rtld.
12421 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12425 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
12427         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
12428         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
12429         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
12430         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
12431         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
12432         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
12433         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
12434         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
12435         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
12436         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
12437         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
12438         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
12439         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
12440         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
12441         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
12442         implementation.
12444 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12446         [BZ #17711]
12447         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
12448         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
12449         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
12450         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
12451         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
12452         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
12454 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12456         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
12457         instead of just saying load lock in the comments.
12459 2015-07-23  Roland McGrath  <roland@hack.frob.com>
12461         * sysdeps/unix/Subdirs: Moved ...
12462         * sysdeps/posix/Subdirs: ... here.
12463         * login/pty.h (struct termios, struct winsize): Add forward decls.
12464         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
12465         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
12466         * sysdeps/arm/nacl/libc.abilist: Updated.
12467         * sysdeps/nacl/libutil.abilist: New file.
12469         * bits/signum.h: Update comments to mention 1003.1-2013 too.
12470         (SIGWINCH): New macro.
12472         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
12473         * sysdeps/arm/nacl/libc.abilist: Add it.
12475 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
12477         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
12479 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
12481         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
12482         Swap __glibc_reserved0 and sa_flags order.
12484 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
12486         [BZ #18657]
12487         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
12488         are pending TLS destructor calls.
12489         * include/link.h (struct link_map): Add concurrency note for
12490         L_TLS_DTOR_COUNT.
12491         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12492         Don't touch the link map flag.  Atomically increment
12493         l_tls_dtor_count.
12494         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
12495         Avoid taking the load lock and don't touch the link map flag.
12496         * stdlib/tst-tls-atexit-nodelete.c: New test case.
12497         * stdlib/Makefile (tests): Use it.
12498         * stdlib/tst-tls-atexit.c (do_test): dlopen
12499         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
12500         to allow tst-tls-atexit-nodelete test case to use it.
12502 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
12504         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
12505         to bits/types.h.
12506         (msgqnum_t): New typedef.
12507         (msglen_t): Likewise.
12508         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
12509         and msg_qbytes type to msglen_t.
12511 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
12513         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
12514         pad0 to __glibc_reserved0.
12515         (struct stat64): Likewise.
12517 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
12519         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
12520         Change sa_flags from a long to an int and add __glibc_reserved0 before
12521         it for padding.
12523 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
12525         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
12526         anonymous by deleting "siginfo" name.
12528 2015-07-21  Roland McGrath  <roland@hack.frob.com>
12530         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
12531         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
12532         rather than __nacl_irt_filename.
12533         * sysdeps/nacl/xstat.c (__xstat): Likewise.
12535         * NEWS: New item for arm-nacl port.
12536         * sysdeps/arm/nacl/libc.abilist: New file.
12537         * sysdeps/nacl/ld.abilist: New file.
12538         * sysdeps/nacl/libBrokenLocale.abilist: New file.
12539         * sysdeps/nacl/libanl.abilist: New file.
12540         * sysdeps/nacl/libcrypt.abilist: New file.
12541         * sysdeps/nacl/libdl.abilist: New file.
12542         * sysdeps/nacl/libm.abilist: New file.
12543         * sysdeps/nacl/libpthread.abilist: New file.
12544         * sysdeps/nacl/libresolv.abilist: New file.
12545         * sysdeps/nacl/librt.abilist: New file.
12547 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
12549         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
12550         __startcontext to initialize the new context.
12551         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
12552         up CFI directive to forbid further backtracing.
12554 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
12556         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
12557         reference.
12558         * charmaps/ANSI_X3.4-1968: Likewise.
12559         * charmaps/BS_4730: Likewise.
12560         * charmaps/BS_VIEWDATA: Likewise.
12561         * charmaps/CP1250: Likewise.
12562         * charmaps/CP1251: Likewise.
12563         * charmaps/CP1252: Likewise.
12564         * charmaps/CP1253: Likewise.
12565         * charmaps/CP1254: Likewise.
12566         * charmaps/CP1255: Likewise.
12567         * charmaps/CP1256: Likewise.
12568         * charmaps/CSN_369103: Likewise.
12569         * charmaps/EBCDIC-DK-NO: Likewise.
12570         * charmaps/GB_1988-80: Likewise.
12571         * charmaps/GREEK-CCITT: Likewise.
12572         * charmaps/GREEK7: Likewise.
12573         * charmaps/INIS-8: Likewise.
12574         * charmaps/ISIRI-3342: Likewise.
12575         * charmaps/ISO_2033-1983: Likewise.
12576         * charmaps/ISO_5427-EXT: Likewise.
12577         * locales/POSIX: Likewise.
12578         * locales/ar_SA: Likewise.
12579         * locales/be_BY: Likewise.
12580         * locales/be_BY@latin: Likewise.
12581         * locales/ca_ES: Likewise.
12582         * locales/cs_CZ: Likewise.
12583         * locales/da_DK: Likewise.
12584         * locales/de_BE: Likewise.
12585         * locales/de_CH: Likewise.
12586         * locales/de_LU: Likewise.
12587         * locales/en_AU: Likewise.
12588         * locales/en_BW: Likewise.
12589         * locales/en_CA: Likewise.
12590         * locales/en_DK: Likewise.
12591         * locales/en_GB: Likewise.
12592         * locales/en_IE: Likewise.
12593         * locales/en_NZ: Likewise.
12594         * locales/en_ZA: Likewise.
12595         * locales/en_ZW: Likewise.
12596         * locales/es_AR: Likewise.
12597         * locales/es_BO: Likewise.
12598         * locales/es_CL: Likewise.
12599         * locales/es_CO: Likewise.
12600         * locales/es_DO: Likewise.
12601         * locales/es_EC: Likewise.
12602         * locales/es_ES: Likewise.
12603         * locales/es_HN: Likewise.
12604         * locales/es_MX: Likewise.
12605         * locales/es_PA: Likewise.
12606         * locales/es_PE: Likewise.
12607         * locales/es_PY: Likewise.
12608         * locales/es_SV: Likewise.
12609         * locales/es_US: Likewise.
12610         * locales/es_UY: Likewise.
12611         * locales/es_VE: Likewise.
12612         * locales/et_EE: Likewise.
12613         * locales/fa_IR: Likewise.
12614         * locales/fo_FO: Likewise.
12615         * locales/fr_CA: Likewise.
12616         * locales/fr_CH: Likewise.
12617         * locales/gv_GB: Likewise.
12618         * locales/he_IL: Likewise.
12619         * locales/hr_HR: Likewise.
12620         * locales/id_ID: Likewise.
12621         * locales/is_IS: Likewise.
12622         * locales/it_CH: Likewise.
12623         * locales/iw_IL: Likewise.
12624         * locales/kl_GL: Likewise.
12625         * locales/ko_KR: Likewise.
12626         * locales/kw_GB: Likewise.
12627         * locales/lg_UG: Likewise.
12628         * locales/lt_LT: Likewise.
12629         * locales/lv_LV: Likewise.
12630         * locales/mi_NZ: Likewise.
12631         * locales/nhn_MX: Likewise.
12632         * locales/nl_BE: Likewise.
12633         * locales/pl_PL: Likewise.
12634         * locales/sk_SK: Likewise.
12635         * locales/sl_SI: Likewise.
12636         * locales/sv_FI: Likewise.
12637         * locales/tl_PH: Likewise.
12638         * locales/tr_TR: Likewise.
12639         * locales/vi_VN: Likewise.
12641 2015-07-21  Khem Raj  <raj.khem@gmail.com>
12643         [BZ #17475]
12644         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
12645         of tu_IN and bh_IN.
12647 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
12649         [BZ #18694]
12650         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
12651         bits/wordsize.h.
12652         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
12654 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12656         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
12657         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
12658         (spawn_thread): New function.
12659         (load): Rename to reg_dtor_and_close.  Move dlopen to...
12660         (do_test): ... here.  Use IS_LOADED to test for its
12661         availability.
12663 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
12665         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12667 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
12669         [BZ #18696]
12670         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
12671         si_addr_bnd.
12672         (si_lower): New.
12673         (si_upper): Likewise.
12675 2015-07-16  David S. Miller  <davem@davemloft.net>
12677         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
12679 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12681         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
12682         buffer.
12683         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
12684         fail output information.
12686 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12688         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
12689         and strstr-ppc64..
12690         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12691         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
12692         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
12693         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
12694         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
12696 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
12698         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
12699         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
12700         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
12701         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
12703 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
12705         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
12706         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
12707         rtld_hidden_proto.
12708         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
12710 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12712         * tst-nodelete-opened.c (do_test): Add comment to clarify how
12713         the test can fail.
12715         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
12717         [BZ #18676]
12718         * elf/tst-nodelete-opened.c: New test case.
12719         * elf/tst-nodelete-opened-lib.c: New test case module.
12720         * elf/Makefile (tests, modules-names): Use them.
12721         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
12722         early.
12724 2015-07-15  David S. Miller  <davem@davemloft.net>
12726         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
12727         futex-intenal.h
12728         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
12729         * sysdeps/sparc/sparc64/Makefile: Likewise.
12730         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
12731         Remove space from macro define.
12732         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
12734 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
12736         [BZ #17475]
12737         * locale/iso-639.def: Update Bhili and Tulu language codes as
12738         per iso639-3.
12740 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
12742         * elf/tst-leaks1.c (main): Converted to ...
12743         (do_test): ... this.
12744         (TEST_FUNCTION): New macro.
12745         Include test-skeleton.c.
12746         * localedata/tst-langinfo.c (main): Converted to ...
12747         (do_test): ... this.
12748         (TEST_FUNCTION): New macro.
12749         Include test-skeleton.c.
12750         * math/test-fpucw.c (main): Converted to ...
12751         (do_test): ... this.
12752         (TEST_FUNCTION): New macro.
12753         Include test-skeleton.c.
12754         * math/test-tgmath.c (main): Converted to ...
12755         (do_test): ... this.
12756         (TEST_FUNCTION): New macro.
12757         Include test-skeleton.c.
12758         * math/test-tgmath2.c (main): Converted to ...
12759         (do_test): ... this.
12760         (TEST_FUNCTION): New macro.
12761         Include test-skeleton.c.
12762         * setjmp/tst-setjmp.c (main): Converted to ...
12763         (do_test): ... this.
12764         (TEST_FUNCTION): New macro.
12765         Include test-skeleton.c.
12766         * stdio-common/tst-sscanf.c (main): Converted to ...
12767         (do_test): ... this.
12768         (TEST_FUNCTION): New macro.
12769         Include test-skeleton.c.
12770         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
12771         (do_test): ... this.
12772         (TEST_FUNCTION): New macro.
12773         Include test-skeleton.c.
12775         * elf/tst-audit9.c (main): Converted to ...
12776         (do_test): ... this.
12777         (TEST_FUNCTION): New macro.
12778         Include test-skeleton.c.
12780 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
12782         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
12784 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
12786         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
12787         New variable.
12789 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
12791         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12793 2015-07-14  Roland McGrath  <roland@hack.frob.com>
12795         * sysdeps/generic/dl-fileid.h: New file.
12796         * sysdeps/posix/dl-fileid.h: New file.
12797         * sysdeps/nacl/dl-fileid.h: New file.
12798         * include/link.h: Include <dl-fileid.h>.
12799         (struct link_map): Replace l_dev and l_ino with l_file_id.
12800         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
12801         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
12802         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
12804 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12806         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
12808 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12810         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
12811         Add iff $CXX is set.
12812         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
12813         Likewise.
12814         (tst-nodelete-zmodiff): Likewise.
12815         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
12817 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12819         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
12821 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
12823         * sysdeps/aarch64/fpu/math_private.h
12824         (define math_opt_barrier): Add AArch64 version.
12825         (math_force_eval): Likewise.
12827 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
12829         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
12831 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
12833         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
12834         %ld with %jd and cast to intmax_t.
12835         (do_test_length_zero): Likewise.
12837 2015-07-10  Roland McGrath  <roland@hack.frob.com>
12839         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
12841 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
12843         * sysdeps/tile/libm-test-ulps: Regenerated.
12845         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
12846         Comment out the whole function, not just its body.
12848 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12850         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
12851         locks.
12853         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
12855 2015-07-10  Torvald Riegel  <triegel@redhat.com>
12857         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
12858         (sem_assume_only_signals_cause_futex_EINTR): Remove.
12860 2015-07-10  Torvald Riegel  <triegel@redhat.com>
12862         * sysdeps/nptl/futex-internal.h: New file.
12863         * sysdeps/nacl/futex-internal.h: New file.
12864         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
12865         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
12866         error checking.
12867         (setxid_unmark_thread): Likewise.
12868         (__nptl_setxid): Likewise.
12869         (__wait_lookup_done): Likewise.
12870         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
12871         * nptl/nptl-init.c (sighandler_setxid): Likewise.
12872         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
12873         * nptl/pthread_once.c (clear_once_control): Likewise.
12874         (__pthread_once_slow): Likewise.
12875         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
12876         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
12877         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
12878         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
12879         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
12880         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
12881         Likewise.
12882         (__pthread_rwlock_rdlock): Likewise.
12883         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12884         Likewise.
12885         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12886         Likewise.
12887         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
12888         Likewise.
12889         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
12890         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
12891         Likewise.
12892         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
12893         __ASSUME_PRIVATE_FUTEX check.
12894         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
12895         Check that shared futexes are supported.
12896         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
12897         wrappers with error checking.
12898         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
12899         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
12900         * nptl/pthread_barrierattr_setpshared.c
12901         (pthread_barrierattr_setpshared): Check that shared futexes are
12902         supported.
12903         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
12904         Likewise.
12905         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
12906         Likewise.
12907         * nptl/sem_init.c (futex_private_if_supported): Remove.
12908         (__new_sem_init): Adapt and check that shared futexes are supported.
12909         * nptl/sem_open.c (sem_open): Likewise.
12910         * nptl/sem_post.c (futex_wake): Remove.
12911         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
12912         (do_futex_wait): Use futex wrappers with error checking.
12913         * nptl/sem_wait.c: Include lowlevellock.h.
12914         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
12915         Use futex_supports_pshared.
12916         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
12917         Use futex wrappers with error checking.
12918         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
12919         Likewise.
12920         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
12921         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
12922         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
12923         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
12924         (futex_wake): Likewise.
12925         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
12926         (do_futex_wait): Use futex wrappers with error checking.
12927         (__new_sem_wait_slow): Update EINTR handling.
12928         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
12930 2015-07-09  Martin Sebor  <msebor@redhat.com>
12932         [BZ #18435]
12933         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
12934         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
12935         * nptl/Makefile (test-xfail-tst-once5): Define.
12937 2015-07-09  Roland McGrath  <roland@hack.frob.com>
12939         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
12940         * elf/dl-minimal.c: For readability, reorder some definitions and
12941         introduce more page breaks.  Include <stdio.h>.
12942         (__libc_fatal): New function.
12944         * include/unistd.h: Add rtld_hidden_proto for _exit.
12945         * posix/_exit.c: Add rtld_hidden_def.
12946         * sysdeps/mach/hurd/_exit.c: Likewise.
12947         * sysdeps/nacl/_exit.c: Likewise.
12948         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
12949         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
12951 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
12953         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
12954         bndmov encoding with zero displacement.
12956 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
12957             H.J. Lu  <hongjiu.lu@intel.com>
12959         [BZ #18134]
12960         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
12961         * sysdeps/i386/configure: Regenerated.
12962         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
12963         (_dl_runtime_profile): Save and restore Intel MPX return bound
12964         registers when calling _dl_call_pltexit.  Add
12965         PRESERVE_BND_REGS_PREFIX before return.
12966         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
12967         (LRV_BND1_OFFSET): Likewise.
12968         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
12969         lrv_bnd1.
12970         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
12971         typo in bndmov encoding.
12972         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
12973         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
12974         branch instructions to preserve bounds.
12976 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12979         [GLIBC_2.22]: Add fmemopen.
12981 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12983         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
12984         returns an error, also try to use host port from __mach_host_self for
12985         the __vm_wire call.
12986         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
12988 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12990         [BZ #18400]
12991         [BZ #18648]
12992         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
12993         Fix pr_uid and pr_gid members.
12994         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
12995         definition to elf_greg_t.
12997 2015-07-08  Roland McGrath  <roland@hack.frob.com>
12999         [BZ #18383]
13000         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
13001         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
13002         * sysdeps/arm/configure: Regenerated.
13003         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
13004         (test-xfail-tst-tlsalign-static): Variable removed.
13006         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
13007         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
13008         rather than explicit 'ln -s'.
13010         * resolv/rpc/netdb.h: New file.
13011         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
13013 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13015         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
13016         length buffers.
13017         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
13018         test-skeleton.c.
13020         [BZ #6544]
13021         [BZ #11216]
13022         [BZ #12836]
13023         [BZ #13151]
13024         [BZ #13152]
13025         [BZ #14292]
13026         * include/stdio.h (fmemopen): Remove hidden prototype.
13027         (__fmemopen): Add new hidden prototype.
13028         * libio/Makefile: Add oldfmemopen object.
13029         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
13030         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
13031         compliance.
13032         * libio/oldfmemopen.c: New file: old fmemopen implementation for
13033         symbol compatibility.
13034         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
13035         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
13036         fmemopen.
13037         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
13038         on append and read mode.
13039         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
13040         fmemopen.
13041         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
13042         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
13043         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
13044         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
13045         Likewise.
13046         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
13047         [GLIBC_2.22]: Likewise.
13048         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
13049         Likewise.
13050         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
13051         Likewise.
13052         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
13053         [GLIBC_2.22]: Likewise.
13054         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
13055         [GLIBC_2.22]: Likewise.
13056         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
13057         [GLIBC_2.22]: Likewise.
13058         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
13059         [GLIBC_2.22]: Likewise.
13060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13061         [GLIBC_2.22]: Likewise.
13062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
13063         [GLIBC_2.22]: Likewise.
13064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
13065         [GLIBC_2.22]: Likewise.
13066         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
13067         Likewise.
13068         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
13069         Likewise.
13070         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
13071         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
13072         [GLIBC_2.22]: Likewise.
13073         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
13074         [GLIBC_2.22]: Likewise.
13075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
13076         [GLIBC_2.22]: Likewise.
13077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
13078         [GLIBC_2.22]: Likewise.
13079         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
13080         Likewise.
13081         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
13082         Likewise.
13083         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
13084         Likewise.
13085         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
13086         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
13088 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
13090         [BZ #18643]
13091         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
13092         IPV6_PATHMTU, and IPV6_DONTFRAG.
13094 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
13096         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
13097         and _IO_UNBUFFERED.
13098         * libio/oldfileops.c: Likewise.
13099         * libio/wfileops.c: Likewise.
13101 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
13103         * nscd/selinux.c: Delete selinux/flask.h include.
13105 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
13107         [BZ #18641]
13108         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
13109         (putpwent): Likewise.
13110         (getpwnam): Likewise.
13111         (getpwent_r): Likewise.
13112         (getpwuid_r): Likewise.
13113         (getpwnam_r): Likewise.
13114         (fgetpwent_r): Likewise.
13116 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
13118         [BZ #18557]
13119         * inet/rcmd.c (__validuser2_sa): Check user first to
13120         short-circuit host check.
13122 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
13123             Mikhail Ilin  <m.ilin@samsung.com>
13125         [BZ #17833]
13126         * elf/Makefile (tests): Add tst-nodelete.
13127         (modules-names): Add tst-nodelete-uniquemod.
13128         (tst-nodelete-uniquemod.so-no-z-defs): New.
13129         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
13130         (tst-nodelete-zmod.so-no-z-defs): Likewise.
13131         ($(objpfx)tst-nodelete): Likewise.
13132         ($(objpfx)tst-nodelete.out): Likewise.
13133         (LDFLAGS-tst-nodelete): Likewise.
13134         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
13135         * elf/dl-close.c (_dl_close_worker): Add a parameter to
13136         implement forced object deletion.
13137         (_dl_close): Pass false to _dl_close_worker.
13138         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
13139         * elf/tst-nodelete.cc: New file.
13140         * elf/tst-nodeletelib.cc: Likewise.
13141         * elf/tst-znodeletelib.cc: Likewise.
13142         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
13144 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13146         [BZ #18508]
13147         * stdlib/Makefile ($(objpfx)tst-makecontext3):
13148         Depend on $(libdl).
13149         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
13150         is not called infinitely times.
13151         (backtrace_helper): New function.
13152         (trace_arg): New struct.
13153         (st1): Enlarge stack size.
13154         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
13155         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
13156         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
13157         Likewise.
13159 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13161         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13163 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13165         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
13166         Include sys/types.h instead of bits/types.h.
13167         Remove inclusion of bits/wordsize.h.
13169 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13171         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
13172         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
13173         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
13174         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
13175         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
13176         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
13178 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13180         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
13181         link-defines.sym.
13182         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
13183         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
13184         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
13185         and LR_SIZE.
13186         * sysdeps/i386/link-defines.sym: New file.
13188 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13190         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
13191         (modules-names): Add tst-auditmod3a tst-auditmod3b.
13192         ($(objpfx)tst-audit3): New rule.
13193         ($(objpfx)tst-audit3.out): Likewise.
13194         * sysdeps/i386/tst-audit3.c: New file.
13195         * sysdeps/i386/tst-audit3.h: Likewise.
13196         * sysdeps/i386/tst-auditmod3a.c: Likewise.
13197         * sysdeps/i386/tst-auditmod3b.c: Likewise.
13199 2015-07-07  Torvald Riegel  <triegel@redhat.com>
13201         [BZ #18633]
13202         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
13203         pointer in C code.
13204         (__strcat_c): Likewise.
13205         (__strcat_g): Likewise.
13207 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
13209         [BZ #18592]
13210         * misc/sbrk.c: Set errno to ENOMEM on overflow.
13212 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
13214         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
13215         New function.  (__ieee754_sqrtf): New function.
13216         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
13217         New function.
13218         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
13219         New function.
13221 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
13223         * sysdeps/ieee754/support.c: Remove unused file.
13225 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13227         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
13228         registers instead of d ones so the layout is kernel abi compatible.
13229         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
13230         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
13231         Likewise.
13233 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13235         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13237 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
13239         [BZ #18619]
13240         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
13241         and return argument in case of subnormal argument.
13243 2015-07-01  Martin Sebor  <msebor@redhat.com>
13245         [BZ #18435]
13246         * nptl/Makefile: Add tst-once5.cc.
13247         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
13248         Remove macro redefinitions.
13249         * nptl/tst-once5.cc: New test.
13251 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
13253         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13255         * sysdeps/arm/libm-test-ulps: Regenerated.
13257         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13258         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13260 2015-06-30  Torvald Riegel  <triegel@redhat.com>
13262         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
13263         lll_lock_wait_private and lll_futex_wake probes.
13265         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
13266         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
13267         Likewise.
13268         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
13269         atomic_spin_nop.
13270         * sysdeps/x86_64/bits/atomic.h: Likewise.
13271         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
13272         to atomic_spin_nop and move ...
13273         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
13274         ... here and ...
13275         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
13276         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
13277         atomic_spin_nop instead of BUSY_WAIT_NOP.
13278         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
13279         Likewise.
13280         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
13281         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
13282         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
13283         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
13284         instead of atomic_delay.
13286 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
13288         [BZ #18613]
13289         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
13290         X_ADJ not X when adjusting exponent.
13291         (__ieee754_gamma_r): Do intermediate computations in
13292         round-to-nearest then adjust overflowing and underflowing results
13293         as needed.
13294         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
13295         of X_ADJ not X when adjusting exponent.
13296         (__ieee754_gammaf_r): Do intermediate computations in
13297         round-to-nearest then adjust overflowing and underflowing results
13298         as needed.
13299         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
13300         log of X_ADJ not X when adjusting exponent.
13301         (__ieee754_gammal_r): Do intermediate computations in
13302         round-to-nearest then adjust overflowing and underflowing results
13303         as needed.  Use 1.0L not 1.0f as numerator of division.
13304         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
13305         log of X_ADJ not X when adjusting exponent.
13306         (__ieee754_gammal_r): Do intermediate computations in
13307         round-to-nearest then adjust overflowing and underflowing results
13308         as needed.  Use 1.0L not 1.0f as numerator of division.
13309         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
13310         of X_ADJ not X when adjusting exponent.
13311         (__ieee754_gammal_r): Do intermediate computations in
13312         round-to-nearest then adjust overflowing and underflowing results
13313         as needed.  Use 1.0L not 1.0f as numerator of division.
13314         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
13315         to auto-libm-test-in.
13316         (tgamma_test): Use ALL_RM_TEST.
13317         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
13318         tests of tgamma with spurious-overflow.
13319         * math/auto-libm-test-out: Regenerated.
13320         * math/gen-libm-have-vector-test.sh: Do not check for START.
13321         * sysdeps/i386/fpu/libm-test-ulps: Update.
13322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13324         [BZ #18612]
13325         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
13326         arguments, just return 0.5 times the argument, with underflow
13327         forced as needed.
13328         * math/auto-libm-test-in: Add more tests of j1.
13329         * math/auto-libm-test-out: Regenerated.
13331         [BZ #16559]
13332         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
13333         (__ieee754_j1): Force underflow exception for small results.
13334         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13335         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
13336         (__ieee754_j1f): Force underflow exception for small results.
13337         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13338         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13339         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13340         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
13341         (__ieee754_j1l): Force underflow exception for small results.
13342         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13343         * math/auto-libm-test-in: Add more tests of j1 and jn.
13344         * math/auto-libm-test-out: Regenerated.
13346         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
13347         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
13348         (PF_MPLS): Likewise.
13349         (AF_IB): Likewise.
13350         (AF_MPLS): Likewise.
13351         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
13352         value and macro.
13353         (MS_RMT_MASK): Include MS_LAZYTIME.
13355 2015-06-26  Mel Gorman  <mgorman@suse.de>
13357         [BZ #18502]
13358         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
13359         already minimal.
13361 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
13363         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
13364         (DT_MIPS_NUM): Update.
13365         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
13366         DT_MIPS_RLD_MAP_REL.
13368 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
13370         [BZ #16559]
13371         [BZ #18602]
13372         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
13373         round-to-nearest internally then recompute results that
13374         underflowed to zero in the original rounding mode.
13375         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13376         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13377         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13378         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13379         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
13380         * sysdeps/i386/fpu/libm-test-ulps: Update.
13381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13383 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
13385         * NEWS: Fixed description of link with vector math library.
13387 2015-06-25  Andreas Schwab  <schwab@suse.de>
13389         [BZ #18549]
13390         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
13391         * libio/test-fmemopen.c (do_test): Add test for it.
13393 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
13395         [BZ #17841]
13396         * Makeconfig (no-pie-ldflag): New.
13397         (+link): Set to $(+link-pie) if default to PIE.
13398         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
13399         * config.make.in (build-pie-default): New.
13400         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
13401         is default.  AC_SUBST.
13402         * configure: Regenerated.
13403         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
13405 2015-06-24  Roland McGrath  <roland@hack.frob.com>
13407         * nptl/descr.h (struct pthread): Change type of field setxid_futex
13408         to 'unsigned int'.
13410         * resolv/gai_misc.h (struct waitlist): Change type of field
13411         counterp to 'volatile unsigned int *'.
13412         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
13413         FUTEXADDR and OLDVAL.
13414         * resolv/getaddrinfo_a.c (getaddrinfo_a):
13415         Give local variable TOTAL type 'volatile unsigned int'.
13416         (struct async_waitlist): Change type of field counter to 'unsigned int'.
13417         * resolv/gai_suspend.c (gai_suspend):
13418         Give local variable CNTR type 'unsigned int'.
13420         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
13421         counterp to 'volatile unsigned int *'.
13422         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
13423         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
13424         (aio_suspend): Give local variable CNTR type 'unsigned int'.
13425         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
13426         Give local variable TOTAL type 'volatile unsigned int'.
13427         (struct async_waitlist): Change type of field counter to 'unsigned int'.
13429 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
13431         [BZ #18383]
13432         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
13433         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
13434         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
13435         comment for i386/x86-64.
13436         (test-xfail-tst-tlsalign-extern-static): Removed.
13438 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
13440         * math/test-double.h: New file.
13441         * math/test-float.h: Likewise.
13442         * math/test-ldouble.h: Likewise.
13443         * math/test-math-inline.h: Likewise.
13444         * math/test-math-no-inline.h: Likewise.
13445         * math/test-math-scalar.h: Likewise.
13446         * math/test-math-vector.h: Likewise.
13447         * math/test-vec-loop.h: Remove file.  Contents moved into
13448         test-math-vector.h.
13449         * math/libm-test.inc (MATHCONST): Do not document macro.
13450         * math/test-double.c: Include test-double.h, test-math-no-inline.h
13451         and test-math-scalar.h.
13452         (FUNC): Remove macro.
13453         (FUNC_TEST): Likewise.
13454         (FLOAT): Likewise.
13455         (MATHCONST): Likewise.
13456         (PRINTF_EXPR): Likewise.
13457         (PRINTF_XEXPR): Likewise.
13458         (PRINTF_NEXPR): Likewise.
13459         (TEST_DOUBLE): Likewise.
13460         (TEST_MATHVEC): Likewise.
13461         (__NO_MATH_INLINES): Likewise.
13462         * math/test-float.c: Include test-float.h, test-math-no-inline.h
13463         and test-math-scalar.h.
13464         (FUNC): Remove macro.
13465         (FUNC_TEST): Likewise.
13466         (FLOAT): Likewise.
13467         (MATHCONST): Likewise.
13468         (PRINTF_EXPR): Likewise.
13469         (PRINTF_XEXPR): Likewise.
13470         (PRINTF_NEXPR): Likewise.
13471         (TEST_FLOAT): Likewise.
13472         (TEST_MATHVEC): Likewise.
13473         (__NO_MATH_INLINES): Likewise.
13474         * math/test-idouble.c: Include test-double.h, test-math-inline.h
13475         and test-math-scalar.h.
13476         (FUNC): Remove macro.
13477         (FUNC_TEST): Likewise.
13478         (FLOAT): Likewise.
13479         (MATHCONST): Likewise.
13480         (PRINTF_EXPR): Likewise.
13481         (PRINTF_XEXPR): Likewise.
13482         (PRINTF_NEXPR): Likewise.
13483         (TEST_DOUBLE): Likewise.
13484         (TEST_MATHVEC): Likewise.
13485         (TEST_INLINE): Likewise.
13486         (__NO_MATH_INLINES): Likewise.
13487         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
13488         test-math-scalar.h.
13489         (FUNC): Remove macro.
13490         (FUNC_TEST): Likewise.
13491         (FLOAT): Likewise.
13492         (MATHCONST): Likewise.
13493         (PRINTF_EXPR): Likewise.
13494         (PRINTF_XEXPR): Likewise.
13495         (PRINTF_NEXPR): Likewise.
13496         (TEST_FLOAT): Likewise.
13497         (TEST_MATHVEC): Likewise.
13498         (TEST_INLINE): Likewise.
13499         (__NO_MATH_INLINES): Likewise.
13500         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
13501         and test-math-scalar.h.
13502         (FUNC): Remove macro.
13503         (FUNC_TEST): Likewise.
13504         (FLOAT): Likewise.
13505         (MATHCONST): Likewise.
13506         (PRINTF_EXPR): Likewise.
13507         (PRINTF_XEXPR): Likewise.
13508         (PRINTF_NEXPR): Likewise.
13509         (TEST_LDOUBLE): Likewise.
13510         (TEST_MATHVEC): Likewise.
13511         (TEST_INLINE): Likewise.
13512         (__NO_MATH_INLINES): Likewise.
13513         * math/test-ldouble.c: Include test-ldouble.h,
13514         test-math-no-inline.h and test-math-scalar.h.
13515         (FUNC): Remove macro.
13516         (FUNC_TEST): Likewise.
13517         (FLOAT): Likewise.
13518         (MATHCONST): Likewise.
13519         (PRINTF_EXPR): Likewise.
13520         (PRINTF_XEXPR): Likewise.
13521         (PRINTF_NEXPR): Likewise.
13522         (TEST_LDOUBLE): Likewise.
13523         (TEST_MATHVEC): Likewise.
13524         (__NO_MATH_INLINES): Likewise.
13525         * math/test-double-vlen2.h: Include test-double.h,
13526         test-math-no-inline.h and test-math-vector.h.
13527         (FLOAT): Remove macro.
13528         (FUNC): Likewise.
13529         (MATHCONST): Likewise.
13530         (PRINTF_EXPR): Likewise.
13531         (PRINTF_XEXPR): Likewise.
13532         (PRINTF_NEXPR): Likewise.
13533         (TEST_DOUBLE): Likewise.
13534         (TEST_MATHVEC): Likewise.
13535         (__NO_MATH_INLINES): Likewise.
13536         (CNCT): Likewise.
13537         (CONCAT): Likewise.
13538         (WRAPPER_NAME): Likewise.
13539         (WRAPPER_DECL): Likewise.
13540         (WRAPPER_DECL_ff): Likewise.
13541         (WRAPPER_DECL_fFF): Likewise.
13542         (VECTOR_WRAPPER): Likewise.
13543         (VECTOR_WRAPPER_ff): Likewise.
13544         (VECTOR_WRAPPER_fFF): Likewise.
13545         (VEC_LEN): New macro.
13546         * math/test-double-vlen4.h: Include test-double.h,
13547         test-math-no-inline.h and test-math-vector.h.
13548         (FLOAT): Remove macro.
13549         (FUNC): Likewise.
13550         (MATHCONST): Likewise.
13551         (PRINTF_EXPR): Likewise.
13552         (PRINTF_XEXPR): Likewise.
13553         (PRINTF_NEXPR): Likewise.
13554         (TEST_DOUBLE): Likewise.
13555         (TEST_MATHVEC): Likewise.
13556         (__NO_MATH_INLINES): Likewise.
13557         (CNCT): Likewise.
13558         (CONCAT): Likewise.
13559         (WRAPPER_NAME): Likewise.
13560         (WRAPPER_DECL): Likewise.
13561         (WRAPPER_DECL_ff): Likewise.
13562         (WRAPPER_DECL_fFF): Likewise.
13563         (VECTOR_WRAPPER): Likewise.
13564         (VECTOR_WRAPPER_ff): Likewise.
13565         (VECTOR_WRAPPER_fFF): Likewise.
13566         (VEC_LEN): New macro.
13567         * math/test-double-vlen8.h: Include test-double.h,
13568         test-math-no-inline.h and test-math-vector.h.
13569         (FLOAT): Remove macro.
13570         (FUNC): Likewise.
13571         (MATHCONST): Likewise.
13572         (PRINTF_EXPR): Likewise.
13573         (PRINTF_XEXPR): Likewise.
13574         (PRINTF_NEXPR): Likewise.
13575         (TEST_DOUBLE): Likewise.
13576         (TEST_MATHVEC): Likewise.
13577         (__NO_MATH_INLINES): Likewise.
13578         (CNCT): Likewise.
13579         (CONCAT): Likewise.
13580         (WRAPPER_NAME): Likewise.
13581         (WRAPPER_DECL): Likewise.
13582         (WRAPPER_DECL_ff): Likewise.
13583         (WRAPPER_DECL_fFF): Likewise.
13584         (VECTOR_WRAPPER): Likewise.
13585         (VECTOR_WRAPPER_ff): Likewise.
13586         (VECTOR_WRAPPER_fFF): Likewise.
13587         (VEC_LEN): New macro.
13588         * math/test-float-vlen4.h: Include test-float.h,
13589         test-math-no-inline.h and test-math-vector.h.
13590         (FLOAT): Remove macro.
13591         (FUNC): Likewise.
13592         (MATHCONST): Likewise.
13593         (PRINTF_EXPR): Likewise.
13594         (PRINTF_XEXPR): Likewise.
13595         (PRINTF_NEXPR): Likewise.
13596         (TEST_FLOAT): Likewise.
13597         (TEST_MATHVEC): Likewise.
13598         (__NO_MATH_INLINES): Likewise.
13599         (CNCT): Likewise.
13600         (CONCAT): Likewise.
13601         (WRAPPER_NAME): Likewise.
13602         (WRAPPER_DECL): Likewise.
13603         (WRAPPER_DECL_ff): Likewise.
13604         (WRAPPER_DECL_fFF): Likewise.
13605         (VECTOR_WRAPPER): Likewise.
13606         (VECTOR_WRAPPER_ff): Likewise.
13607         (VECTOR_WRAPPER_fFF): Likewise.
13608         (VEC_LEN): New macro.
13609         * math/test-float-vlen8.h: Include test-float.h,
13610         test-math-no-inline.h and test-math-vector.h.
13611         (FLOAT): Remove macro.
13612         (FUNC): Likewise.
13613         (MATHCONST): Likewise.
13614         (PRINTF_EXPR): Likewise.
13615         (PRINTF_XEXPR): Likewise.
13616         (PRINTF_NEXPR): Likewise.
13617         (TEST_FLOAT): Likewise.
13618         (TEST_MATHVEC): Likewise.
13619         (__NO_MATH_INLINES): Likewise.
13620         (CNCT): Likewise.
13621         (CONCAT): Likewise.
13622         (WRAPPER_NAME): Likewise.
13623         (WRAPPER_DECL): Likewise.
13624         (WRAPPER_DECL_ff): Likewise.
13625         (WRAPPER_DECL_fFF): Likewise.
13626         (VECTOR_WRAPPER): Likewise.
13627         (VECTOR_WRAPPER_ff): Likewise.
13628         (VECTOR_WRAPPER_fFF): Likewise.
13629         (VEC_LEN): New macro.
13630         * math/test-float-vlen16.h: Include test-float.h,
13631         test-math-no-inline.h and test-math-vector.h.
13632         (FLOAT): Remove macro.
13633         (FUNC): Likewise.
13634         (MATHCONST): Likewise.
13635         (PRINTF_EXPR): Likewise.
13636         (PRINTF_XEXPR): Likewise.
13637         (PRINTF_NEXPR): Likewise.
13638         (TEST_FLOAT): Likewise.
13639         (TEST_MATHVEC): Likewise.
13640         (__NO_MATH_INLINES): Likewise.
13641         (CNCT): Likewise.
13642         (CONCAT): Likewise.
13643         (WRAPPER_NAME): Likewise.
13644         (WRAPPER_DECL): Likewise.
13645         (WRAPPER_DECL_ff): Likewise.
13646         (WRAPPER_DECL_fFF): Likewise.
13647         (VECTOR_WRAPPER): Likewise.
13648         (VECTOR_WRAPPER_ff): Likewise.
13649         (VECTOR_WRAPPER_fFF): Likewise.
13650         (VEC_LEN): New macro.
13651         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
13652         test-vec-loop.h.
13653         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13654         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13655         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13656         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13657         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13658         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13659         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
13661 2015-06-24  Roland McGrath  <roland@hack.frob.com>
13663         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
13664         (__getlogin_r): ... this.
13666 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
13668         [BZ #18594]
13669         * math/s_ccosh.c (__ccosh): Compare with least normal value
13670         instead of comparing class with FP_SUBNORMAL.
13671         * math/s_ccoshf.c (__ccoshf): Likewise.
13672         * math/s_ccoshl.c (__ccoshl): Likewise.
13673         * math/s_cexp.c (__cexp): Likewise.
13674         * math/s_cexpf.c (__cexpf): Likewise.
13675         * math/s_cexpl.c (__cexpl): Likewise.
13676         * math/s_csin.c (__csin): Likewise.
13677         * math/s_csinf.c (__csinf): Likewise.
13678         * math/s_csinh.c (__csinh): Likewise.
13679         * math/s_csinhf.c (__csinhf): Likewise.
13680         * math/s_csinhl.c (__csinhl): Likewise.
13681         * math/s_csinl.c (__csinl): Likewise.
13682         * math/s_ctan.c (__ctan): Likewise.
13683         * math/s_ctanf.c (__ctanf): Likewise.
13684         * math/s_ctanh.c (__ctanh): Likewise.
13685         * math/s_ctanhf.c (__ctanhf): Likewise.
13686         * math/s_ctanhl.c (__ctanhl): Likewise.
13687         * math/s_ctanl.c (__ctanl): Likewise.
13688         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
13689         csin, csinh, ctan and ctanh.
13690         * math/auto-libm-test-out: Regenerated.
13691         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
13692         * sysdeps/i386/fpu/libm-test-ulps: Update.
13693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13695 2015-06-24  Roland McGrath  <roland@hack.frob.com>
13697         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
13698         return value is wrong, print the expected value too.
13700 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
13702         [BZ #18585]
13703         * elf/readlib.c (is_gdb_python_file): New.
13704         (process_file): Don't issue errors on filenames with -gdb.py
13705         suffix.
13707 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
13709         * math/auto-libm-test-in: Add more tests of csin and csinh.
13710         * math/auto-libm-test-out: Regenerated.
13711         * math/libm-test.inc (csin_test_data): Remove tests moved to
13712         auto-libm-test-in.
13713         (csinh_test_data): Likewise.
13715         [BZ #18593]
13716         * math/s_csin.c (__csin): Negate before rather than after possibly
13717         overflowing multiplication.
13718         * math/s_csinf.c (__csinf): Likewise.
13719         * math/s_csinh.c (__csinh): Likewise.
13720         * math/s_csinhf.c (__csinhf): Likewise.
13721         * math/s_csinhl.c (__csinhl): Likewise.
13722         * math/s_csinl.c (__csinl): Likewise.
13723         * math/auto-libm-test-in: Add some tests of csin and csinh.
13724         * math/auto-libm-test-out: Regenerated.
13725         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
13726         (csinh_test_data): Likewise.
13727         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13729         [BZ #18586]
13730         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
13731         underflow exception for small results.
13733 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
13735         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
13736         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
13737         variable and included header.
13738         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
13739         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
13740         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
13741         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
13742         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
13743         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
13744         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
13745         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
13746         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
13747         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
13748         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
13749         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
13750         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
13751         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
13752         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
13753         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
13755 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
13757         [BZ #16526]
13758         [BZ #16538]
13759         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
13760         (__sin): Force underflow exception for arguments with small
13761         absolute value.
13762         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
13763         (__kernel_sinf): Force underflow exception for arguments with
13764         small absolute value.
13765         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
13766         (__kernel_sincosl): Force underflow exception for arguments with
13767         small absolute value.
13768         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
13769         (__kernel_sinl): Force underflow exception for arguments with
13770         small absolute value.
13771         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
13772         (__kernel_sincosl): Force underflow exception for arguments with
13773         small absolute value.
13774         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
13775         (__kernel_sinl): Force underflow exception for arguments with
13776         small absolute value.
13777         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
13778         (__kernel_sinl): Force underflow exception for arguments with
13779         small absolute value.
13780         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
13781         (__kernel_sinf): Force underflow exception for arguments with
13782         small absolute value.
13783         * math/auto-libm-test-in: Add more tests of sin and sincos.
13784         * math/auto-libm-test-out: Regenerated.
13786         [BZ #18245]
13787         [BZ #18583]
13788         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
13789         (__kernel_standard_l): Use feholdexcept and fesetenv around
13790         conversion to double instead of special-casing overflow and
13791         underflow.
13792         * math/libm-test.inc (fmod_test_data): Add more tests.
13793         (remainder_test_data): Likewise.
13794         (sqrt_test_data): Likewise.
13796 2015-06-23  Torvald Riegel  <triegel@redhat.com>
13798         [BZ #17403]
13799         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
13800         atomic_read_barrier, atomic_write_barrier): Define.
13801         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
13802         atomic_read_barrier, atomic_write_barrier): Define.
13804 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
13806         * math/Makefile [$(PERL) != no]
13807         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
13808         dependency on libm-test.stmp below the inclusion of Rules.
13810 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
13812         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
13813         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
13814         and included header.
13815         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
13816         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
13817         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
13818         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
13819         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
13820         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
13821         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
13822         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
13823         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
13824         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
13825         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
13826         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
13827         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
13828         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
13829         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
13830         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
13831         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
13832         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
13833         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
13835 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
13837         [BZ #18371]
13838         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
13839         intermediate but not final result might underflow.
13840         * math/s_csqrtf.c (__csqrtf): Likewise.
13841         * math/s_csqrtl.c (__csqrtl): Likewise.
13842         * math/auto-libm-test-in: Add more tests of csqrt.
13843         * math/auto-libm-test-out: Regenerated.
13844         * sysdeps/i386/fpu/libm-test-ulps: Update.
13846         [BZ #18219]
13847         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
13848         threshold on absolute value of exponent for which scaling is used.
13849         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
13850         * math/auto-libm-test-in: Add more tests of exp2.
13851         * math/auto-libm-test-out: Regenerated.
13853 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
13855         [BZ #17977]
13856         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
13857         when initializing interface list, based on the bug analysis
13858         and the patch proposed by Eric Newton.
13859         * resolv/tst-res_hconf_reorder.c: New test.
13860         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
13861         tst-res_hconf_reorder.
13862         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
13863         and $(shared-thread-library).
13864         (tst-res_hconf_reorder-ENV): New variable.
13866         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
13867         in comment.
13869 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
13871         [BZ #16353]
13872         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
13873         (__expm1): Force underflow exception for arguments with small
13874         absolute value.
13875         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
13876         (__expm1f): Force underflow exception for arguments with small
13877         absolute value.
13878         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
13879         (__expm1): Force underflow exception for arguments with small
13880         absolute value.
13881         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
13882         (__expm1f): Force underflow exception for arguments with small
13883         absolute value.
13884         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
13885         Check for small arguments before calling __expm1.
13886         * math/auto-libm-test-in: Do not mark underflow exceptions as
13887         possibly missing for bug 16353.
13888         * math/auto-libm-test-out: Regenerated.
13890 2015-06-22  Andreas Schwab  <schwab@suse.de>
13892         [BZ #18513]
13893         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
13894         PTR queries.
13896 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
13898         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
13900         * string/strcoll_l.c: Remove unused struct element idxnow.
13902 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
13904         [BZ #18569]
13905         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
13906         underflow and return argument in case of subnormal argument.
13907         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13908         Likewise.
13909         * math/auto-libm-test-in: Add more tests of expm1.
13910         * math/auto-libm-test-out: Regenerated.
13912         [BZ #16361]
13913         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
13914         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
13915         tiny results.
13916         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
13917         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
13918         tiny results.
13919         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
13920         mark underflow exceptions as possibly missing for bug 16361.
13921         * math/auto-libm-test-out: Regenerated.
13923 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
13925         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
13926         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
13927         Remove variable.
13928         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13929         (test-xfail-XOPEN2K8/utmpx.h/conform).
13931         * conform/conformtest.pl ($xerrors): New variable.
13932         (note_error): New function.
13933         (compiletest): New argument $xfail.  Use not_error.
13934         (runtest): Likewise.
13935         (top level): Handle xfail- lines.  Update calls to compiletest and
13936         runtest.  Handle xfail- and optional- in headers listed with
13937         allow-header.
13938         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
13939         (O_EXEC): Likewise.
13940         (O_SEARCH): Likewise.
13941         * conform/data/stropts.h-data (ioctl): Likewise.
13942         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
13943         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
13944         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
13945         (msghdr.msg_controllen): Likewise.
13946         (cmsghdr.cmsg_len): Likewise.
13947         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
13948         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
13949         variable.
13950         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13951         (test-xfail-XPG4/stropts.h/conform): Likewise.
13952         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13953         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13954         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13955         (test-xfail-UNIX98/stropts.h/conform): Likewise.
13956         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13957         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13958         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13959         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13960         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13961         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13962         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13963         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13964         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13965         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13966         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13967         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13968         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13969         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13970         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13972 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
13974         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
13975         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
13976         definitions for proper unfolding of __MATHDECL_VEC.
13978 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
13980         * benchtests/bench-strcoll.c:
13981         Include string.h.
13982         (main): Remove unused variable res.
13984 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
13986         * timezone/Makefile (%/UTC %/Universal):
13987         Generate test-result files for UTC and Universal.
13989 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
13991         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13993 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
13995         [BZ #16350]
13996         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
13997         for arguments with small absolute value.
13998         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
13999         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
14000         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
14001         (__asinh): Force underflow exception for arguments with small
14002         absolute value.
14003         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
14004         (__asinhf): Force underflow exception for arguments with small
14005         absolute value.
14006         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
14007         (__asinhl): Force underflow exception for arguments with small
14008         absolute value.
14009         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
14010         (__asinhl): Force underflow exception for arguments with small
14011         absolute value.
14012         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
14013         (__asinhl): Force underflow exception for arguments with small
14014         absolute value.
14015         * math/auto-libm-test-in: Do not mark underflow exceptions as
14016         possibly missing for bug 16350.
14017         * math/auto-libm-test-out: Regenerated.
14019         * include/bits/ipc.h: Remove file.
14020         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
14021         variable.
14022         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14023         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14024         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14025         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14026         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14027         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14028         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14029         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14030         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14032         * math/auto-libm-test-in: Remove spurious underflow allowance for
14033         tests of cexp.
14034         * math/auto-libm-test-out: Regenerated.
14036         [BZ #18558]
14037         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
14038         unconditional definition.
14039         (MCAST_BLOCK_SOURCE): Likewise.
14040         (MCAST_UNBLOCK_SOURCE): Likewise.
14041         (MCAST_LEAVE_GROUP): Likewise.
14042         (MCAST_JOIN_SOURCE_GROUP): Likewise.
14043         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
14044         (MCAST_MSFILTER): Likewise.
14045         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
14046         Remove variable.
14047         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14048         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14049         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14050         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14051         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14053 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
14055         * NEWS: Mention addition of x86_64 vector sincosf.
14056         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
14057         * math/test-float-vlen4.h: Likewise.
14058         * math/test-float-vlen8.h: Likewise.
14059         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14060         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
14061         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14062         * sysdeps/x86_64/fpu/Versions: New versions added.
14063         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14064         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14065         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14066         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
14067         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
14068         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
14069         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
14070         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
14071         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
14072         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
14073         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
14074         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
14075         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
14076         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
14077         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
14078         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
14079         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
14080         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
14081         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14082         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14083         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14084         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14085         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14086         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14088         * NEWS: Mention addition of x86_64 vector sincos.
14089         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
14090         * math/math.h (__MATHDECL_VEC): New macro.
14091         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
14092         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
14093         declaration under condition.
14094         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
14095         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
14096         TEST_VEC_LOOP change.
14097         * math/test-double-vlen4.h: Likewise.
14098         * math/test-double-vlen8.h: Likewise.
14099         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
14100         * math/test-float-vlen4.h: Likewise.
14101         * math/test-float-vlen8.h: Likewise.
14102         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14103         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
14104         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14105         * sysdeps/x86_64/fpu/Versions: New versions added.
14106         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14107         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14108         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14109         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
14110         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
14111         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
14112         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
14113         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
14114         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
14115         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
14116         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
14117         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
14118         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
14119         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
14120         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
14121         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
14122         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
14123         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14124         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14125         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14126         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14127         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14128         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14129         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14131         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14132         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14133         redirections for powf.
14134         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14135         * sysdeps/x86_64/fpu/Versions: New versions added.
14136         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14137         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14138         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14139         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
14140         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
14141         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
14142         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
14143         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
14144         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
14145         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
14146         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
14147         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
14148         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
14149         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
14150         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
14151         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
14152         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
14153         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14154         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14155         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14156         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14157         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14158         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14159         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14160         * math/test-float-vlen16.h: Fixed 2 argument macro.
14161         * math/test-float-vlen4.h: Likewise.
14162         * math/test-float-vlen8.h: Likewise.
14163         * NEWS: Mention addition of x86_64 vector powf.
14165 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
14167         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14168         and redefine.
14169         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14170         and redefine.
14171         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
14172         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14173         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14175         [BZ #18553]
14176         * resource/getpriority.c (getpriority): Rename to __getpriority
14177         and define as weak alias of __getpriority.
14178         * resource/setpriority.c (setpriority): Rename to __setpriority
14179         and define as weak alias of __setpriority.
14180         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
14181         __getpriority and define as weak alias of __getpriority.
14182         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
14183         __setpriority and define as weak alias of __setpriority.
14184         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
14185         strong name.
14186         (setpriority): Use __setpriority as strong name.
14187         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
14188         __getpriority and define as weak alias of __getpriority.
14189         * include/sys/resource.h (__getpriority): Declare.  Use
14190         libc_hidden_proto.
14191         (__setpriority): Likewise.
14192         (getpriority): Don't use libc_hidden_proto.
14193         (setpriority): Likewise.
14194         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
14195         getpriority.  Call __setpriority instead of setpriority.
14196         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
14197         Remove variable.
14199         [BZ #18547]
14200         * misc/getttyent.c (getttynam): Rename to __getttynam and define
14201         as weak alias of __getttynam.  Use prototype function definition.
14202         Call __setttyent, __getttyent and __endttyent instead of
14203         setttyent, getttyent and endttyent.
14204         (getttyent): Rename to __getttyent and define as weak alias of
14205         __getttyent.  Call __setttyent instead of setttyent.  Call
14206         __fgets_unlocked instead of fgets_unlocked.
14207         (setttyent): Rename to __setttyent and define as weak alias of
14208         __setttyent.
14209         (endttyent): Rename to __endttyent and define as weak alias of
14210         __endttyent.
14211         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
14212         (__setttyent): Likewise.
14213         (__endttyent): Likewise.
14214         (getttyent): Don't use libc_hidden_proto.
14215         (setttyent): Likewise.
14216         (endttyent): Likewise.
14217         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
14218         __endttyent instead of setttyent, getttyent and endttyent.
14219         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
14220         Remove variable.
14222         [BZ #18546]
14223         * socket/recv.c (__recv): Use libc_hidden_def.
14224         * socket/socket.c (__socket): Likewise.
14225         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
14226         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
14227         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
14228         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
14229         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
14230         libc_hidden_def.
14231         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
14232         libc_hidden_weak.
14233         * include/sys/socket.h (__socket): Do not use attribute_hidden.
14234         Use libc_hidden_proto.
14235         (__recv): Likewise.
14236         * socket/Versions (libc): Export __recv and __socket at version
14237         GLIBC_PRIVATE.
14238         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
14239         instead of recv.
14240         (init_mq_netlink): Call __socket instead of socket.
14241         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
14242         Remove variable.
14244         [BZ #18545]
14245         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
14246         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
14247         hidden_weak.
14248         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
14249         define as alias of __mq_timedsend.  Use hidden_weak.
14250         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
14251         __mq_timedsend as strong name.
14252         (mq_timedreceive): Use __mq_timedreceive as strong name.
14253         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
14254         (__mq_timedreceive): Likewise.
14255         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
14256         __mq_timedreceive instead of mq_timedreceive.
14257         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
14258         instead of mq_timedsend.
14259         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
14260         Remove variable.
14262         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
14263         hidden_def and hidden_weak instead of libc_hidden_def and
14264         libc_hidden_weak.
14265         (top level): Refer to hidden_def in comment.
14266         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
14267         macro.  Use it instead of libc_hidden_def.
14268         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
14269         specify __GI_* name explicitly.
14270         (mq_timedreceive): Likewise.
14271         (mq_setattr): Likewise.
14273         [BZ #18544]
14274         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
14275         __pthread_barrier_init and define as weak alias of
14276         __pthread_barrier_init.
14277         * sysdeps/sparc/nptl/pthread_barrier_init.c
14278         (pthread_barrier_init): Likewise.
14279         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
14280         __pthread_barrier_wait and define as weak alias of
14281         __pthread_barrier_wait.
14282         * sysdeps/sparc/nptl/pthread_barrier_wait.c
14283         (pthread_barrier_wait): Likewise.
14284         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
14285         (pthread_barrier_wait): Likewise.
14286         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
14287         (pthread_barrier_wait): Likewise.
14288         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
14289         (pthread_barrier_wait): Likewise.
14290         * nptl/Versions (libpthread): Export __pthread_barrier_init and
14291         __pthread_barrier_wait at version GLIBC_PRIVATE.
14292         * include/pthread.h (__pthread_barrier_init): Declare.
14293         (__pthread_barrier_wait): Likewise.
14294         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
14295         Call __pthread_barrier_wait instead of pthread_barrier_wait.
14296         (helper_thread): Likewise.
14297         (init_mq_netlink): Call __pthread_barrier_init instead of
14298         pthread_barrier_init.
14300         [BZ #18542]
14301         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
14302         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
14303         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
14304         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
14305         vswscanf.
14306         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
14307         Remove variable.
14309         [BZ #18540]
14310         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
14311         strong alias of _IO_fflush.  Use libc_hidden_def.
14312         * libio/iofflush_u.c (fflush_unlocked): Rename to
14313         __fflush_unlocked and define as weak alias of __fflush_unlocked.
14314         Use libc_hidden_weak.
14315         * include/stdio.h (__fflush_unlocked): Declare.  Use
14316         libc_hidden_proto.
14317         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
14318         fflush_unlocked.
14319         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
14320         Remove variable.
14322         [BZ #18539]
14323         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
14324         define as weak alias of __addseverity.
14325         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
14326         Remove variable.
14327         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
14328         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
14329         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
14331         [BZ #18536]
14332         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
14333         (__tfind): Likewise.
14334         (__tdelete): Likewise.
14335         (__twalk): Likewise.
14336         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
14337         __twalk to GLIBC_PRIVATE.
14338         * include/search.h (__tsearch): Use libc_hidden_proto.
14339         (__tfind): Likewise.
14340         (__tdelete): Likewise.
14341         (__twalk): Likewise.
14342         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
14343         Call __tdelete instead of tdelete.
14344         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
14345         tfind.  Call __tsearch instead of tsearch.
14346         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
14347         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
14348         Remove variable.
14349         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
14351         [BZ #18534]
14352         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
14353         (dprintf): Define as a weak alias of __dprintf, not a strong
14354         alias.
14355         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
14356         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
14357         dprintf.
14358         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
14359         Remove variable.
14360         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
14361         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
14363         [BZ #18533]
14364         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
14365         not a strong alias.
14366         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
14367         Remove variable.
14369         [BZ #18532]
14370         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
14371         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
14372         (in6addr_loopback): Rename to __in6addr_loopback and define as
14373         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
14374         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
14375         libc_hidden_proto.
14376         (__in6addr_any): Likewise.
14377         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
14378         in6addr_any.
14379         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
14380         variable.
14381         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
14383 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
14385         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
14386         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
14387         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14388         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14389         redirections for pow.
14390         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14391         * sysdeps/x86_64/fpu/Versions: New versions added.
14392         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14393         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14394         build of SSE, AVX2 and AVX512 IFUNC versions.
14395         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
14396         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
14397         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
14398         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
14399         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
14400         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
14401         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
14402         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
14403         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
14404         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
14405         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
14406         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
14407         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
14408         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
14409         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14410         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14411         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14412         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14413         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14414         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14415         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14416         * NEWS: Mention addition of x86_64 vector pow.
14418         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14419         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14420         redirections for expf.
14421         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14422         * sysdeps/x86_64/fpu/Versions: New versions added.
14423         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14424         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14425         build of SSE, AVX2 and AVX512 IFUNC versions.
14426         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
14427         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
14428         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
14429         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
14430         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
14431         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
14432         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
14433         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
14434         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
14435         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
14436         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
14437         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
14438         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
14439         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14440         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14441         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14442         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14443         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14444         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14445         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14446         * NEWS: Mention addition of x86_64 vector expf.
14448         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
14449         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
14450         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14451         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14452         redirections for exp.
14453         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14454         * sysdeps/x86_64/fpu/Versions: New versions added.
14455         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14456         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14457         build of SSE, AVX2 and AVX512 IFUNC versions.
14458         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
14459         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
14460         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
14461         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
14462         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
14463         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
14464         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
14465         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
14466         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
14467         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
14468         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
14469         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
14470         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
14471         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14472         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14473         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14474         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14475         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14476         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14477         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14478         * NEWS: Mention addition of x86_64 vector exp.
14480         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14481         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14482         redirections for logf.
14483         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14484         * sysdeps/x86_64/fpu/Versions: New versions added.
14485         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14486         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14487         build of SSE, AVX2 and AVX512 IFUNC versions.
14488         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
14489         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
14490         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
14491         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
14492         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
14493         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
14494         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
14495         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
14496         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
14497         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
14498         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
14499         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
14500         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
14501         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14502         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14503         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14504         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14505         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14506         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14507         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14508         * NEWS: Mention addition of x86_64 vector logf.
14510         * bits/libm-simd-decl-stubs.h: Added stubs for log.
14511         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
14512         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14513         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14514         redirections for log.
14515         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14516         * sysdeps/x86_64/fpu/Versions: New versions added.
14517         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14518         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14519         build of SSE, AVX2 and AVX512 IFUNC versions.
14520         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
14521         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
14522         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
14523         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
14524         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
14525         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
14526         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
14527         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
14528         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
14529         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
14530         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
14531         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
14532         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
14533         test.
14534         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14535         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14536         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14537         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14538         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14539         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14540         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14541         * NEWS: Mention addition of x86_64 vector log.
14543 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14545         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
14546         cfi_adjust_cfa_offset argument.
14547         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
14548         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
14550         [BZ #18034]
14551         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
14552         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
14553         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
14554         ordering using ldar.
14555         (_dl_tlsdesc_dynamic): Likewise.
14556         (_dl_tlsdesc_return_lazy): Likewise.
14557         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
14558         relaxed atomics instead of volatile and synchronize with release store.
14559         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
14560         volatile.
14561         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
14563 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
14565         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14566         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
14567         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14568         * sysdeps/x86_64/fpu/Versions: New versions added.
14569         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14570         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14571         build of SSE, AVX2 and AVX512 IFUNC versions.
14572         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
14573         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
14574         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
14575         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
14576         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
14577         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
14578         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
14579         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
14580         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
14581         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
14582         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
14583         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
14584         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
14585         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14586         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14587         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14588         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14589         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14590         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14591         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14592         * NEWS: Mention addition of x86_64 vector sinf.
14594 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
14596         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
14597         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
14598         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
14599         Remove variable.
14600         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
14601         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
14603 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
14605         [BZ #18530]
14606         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
14607         strong alias of _IO_fputs.  Use libc_hidden_def.
14608         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
14609         and define as weak alias of __fputs_unlocked.  Use
14610         libc_hidden_weak.
14611         * include/stdio.h (__fputs_unlocked): Declare.  Use
14612         libc_hidden_proto.
14613         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
14614         fputs_unlocked.
14616         [BZ #18529]
14617         * resolv/netdb.h [__USE_POSIX]: Change condition to
14618         [__USE_XOPEN2K].
14619         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
14620         not expect.
14621         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
14622         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
14623         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
14624         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
14625         [XPG4 || UNIX98] (AI_ALL): Likewise.
14626         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
14627         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
14628         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
14629         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
14630         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
14631         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
14632         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
14633         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
14634         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
14635         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
14636         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
14637         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
14638         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
14639         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
14640         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
14641         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
14642         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
14643         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
14644         [XPG4 || UNIX98] (gai_strerror): Likewise.
14645         [XPG4 || UNIX98] (getaddrinfo): Likewise.
14646         [XPG4 || UNIX98] (getnameinfo): Likewise.
14648         [BZ #18528]
14649         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
14650         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
14651         __USE_XOPEN2K8].
14652         (getgrent): Likewise.
14653         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
14654         expect.
14655         [XPG3 || POSIX2008] (endgrent): Likewise.
14656         [XPG3] (setgrent): Likewise.
14657         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
14658         variable.
14659         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
14661         [BZ #18527]
14662         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
14663         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
14664         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
14665         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
14666         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
14667         * include/unistd.h (__getlogin_r): Declare.  Use
14668         libc_hidden_proto.
14669         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
14670         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
14671         variable.
14672         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
14673         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
14674         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
14676 2015-06-12  Martin Sebor  <msebor@redhat.com>
14678         [BZ #18512]
14679         * Makerules (check-install-supported): New target.
14680         (install): Add check-install-supported as a dependency.
14681         * manual/install.texi (Installing the C Library): Document
14682         that overriding prefix and exec_prefix is not supported.
14683         Mention DESTDIR.
14684         * INSTALL: Regenerate from the above.
14686 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
14688         [BZ #18519]
14689         * posix/Versions (libc): Export __libc_pread at version
14690         GLIBC_PRIVATE.
14691         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
14692         instead of pread.
14693         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
14694         variable.
14696         [BZ #18522]
14697         * misc/efgcvt_r.c
14698         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
14699         (cvt_symbol): Use weak_alias instead of strong_alias.
14700         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
14701         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
14702         Remove variable.
14703         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
14704         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
14706         [BZ #18520]
14707         * inet/herrno.c (h_errno): Rename to __h_errno.
14708         (__libc_h_errno): Define as alias of __h_errno not h_errno.
14709         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
14710         to __h_errno instead of h_errno.
14711         * nptl/herrno.c (h_errno): Rename to __h_errno.
14712         (__h_errno_location): Refer to __h_errno not h_errno.
14713         * resolv/Versions (h_errno): Rename to __h_errno.
14714         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
14715         Remove variable.
14716         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
14718 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
14720         * configure.ac: More strict check for AVX512 assembler support.
14721         * configure: Regenerated.
14723         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
14724         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
14725         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14726         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
14727         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14728         * sysdeps/x86_64/fpu/Versions: New versions added.
14729         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14730         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14731         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14732         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
14733         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
14734         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
14735         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
14736         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
14737         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
14738         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
14739         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
14740         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
14741         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
14742         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
14743         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
14744         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
14745         test.
14746         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14747         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14748         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14749         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14750         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14751         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14752         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14753         * NEWS: Mention addition of x86_64 vector sin.
14755 2015-06-11  Florian Weimer  <fweimer@redhat.com>
14757         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
14758         comment.
14760 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
14762         [BZ #18479]
14763         * nptl/pt-interp.c: New file.
14764         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
14765         Add pt-interp.
14766         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
14767         $(common-objpfx)runtime-linker.h.
14769 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
14771         * Makeconfig (+interp): Remove unused variable.
14772         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
14773         only.  Depend on $(common-objpfx)runtime-linker.h instead of
14774         $(elf-objpfx)runtime-linker.h.
14775         ($(elf-objpfx)runtime-linker.h): Rename to
14776         $(common-objpfx)runtime-linker.h and move ...
14777         * Makerules [$(build-shared) = yes]: ... here.
14778         * elf/interp.c: Include <runtime-linker.h> instead of
14779         <elf/runtime-linker.h>.
14781 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14783         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
14784         (__gettimeofday_syscall): Remove vsyscall fallback.
14785         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
14786         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
14787         Add syscall fallback function.
14788         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
14789         if vDSO is not present.
14790         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
14791         fallback function.
14792         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
14793         present.
14794         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
14795         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14797 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
14799         [BZ #18497]
14800         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
14801         of wcscmp.
14802         (wcscmp): Define as weak alias of WCSCMP.
14803         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
14804         wcscoll.
14805         (USE_HIDDEN_DEF): Define.
14806         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
14807         __wcscoll.  Don't use libc_hidden_weak.
14808         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
14809         wcscmp.
14810         * sysdeps/i386/i686/multiarch/wcscmp-c.c
14811         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
14812         __GI_wcscmp.
14813         (weak_alias): Undefine and redefine.
14814         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
14815         __wcscmp and define as weak alias of __wcscmp.
14816         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
14817         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
14818         (__wcscoll): Likewise.
14819         (wcscmp): Don't use libc_hidden_proto.
14820         (wcscoll): Likewise.
14821         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
14822         wcscoll.
14823         * posix/regexec.c (check_node_accept_bytes): Likewise.
14824         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
14825         variable.
14826         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
14827         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
14829         [BZ #18507]
14830         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
14831         __fstatvfs and define as weak alias of __fstatvfs.  Use
14832         libc_hidden_weak.
14833         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
14834         and define as weak alias of __statvfs.  Use libc_hidden_weak.
14835         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
14836         Define as alias of __fstatvfs, not fstatvfs.
14837         (fstatvfs64): Likewise.
14838         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
14839         Define as alias of __statvfs, not statvfs.
14840         (statvfs64): Likewise.
14841         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
14842         Remove variable.
14844 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14847         (HAVE_GETCPU_VSYSCALL): Define.
14848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14849         (HAVE_GETCPU_VSYSCALL): Likewise.
14850         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
14851         * sysdeps/unix/sysv/linux/sched_getcpu.c
14852         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
14853         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
14854         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
14855         prototype.
14856         * sysdeps/unix/sysv/linux/x86_64/init-first.c
14857         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
14858         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
14859         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
14860         Define.
14861         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
14862         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14863         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
14864         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14866 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
14868         * sysdeps/x86_64/fpu/Makefile: New file.
14869         * sysdeps/x86_64/fpu/Versions: New file.
14870         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
14871         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
14872         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
14873         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
14874         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
14875         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
14876         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
14877         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
14878         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
14879         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
14880         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
14881         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
14882         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
14883         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14884         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14885         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
14886         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
14887         * sysdeps/x86_64/configure.ac: Options for libmvec build.
14888         * sysdeps/x86_64/configure: Regenerated.
14889         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
14890         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
14891         * manual/install.texi (Configuring and compiling): Document
14892         --disable-mathvec.
14893         * INSTALL: Regenerated.
14894         * NEWS: Mention addition of libmvec and x86_64 vector cos.
14896         * math/Makefile: Added rules for vector tests.
14897         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
14898         declaration under condition.
14899         * math/test-double-vlen2.h: New file.
14900         * math/test-double-vlen4.h: New file.
14901         * math/test-double-vlen8.h: New file.
14902         * math/test-vec-loop.h: Added initialization macro.
14903         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
14904         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
14905         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
14906         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
14907         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
14908         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
14909         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
14910         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
14911         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
14912         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
14913         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
14915         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14916         * sysdeps/x86_64/fpu/Versions: New versions added.
14917         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
14918         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
14919         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
14920         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
14921         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
14922         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
14923         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
14924         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
14925         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
14926         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
14927         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
14928         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
14929         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
14930         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14931         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14932         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14933         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
14934         * NEWS: Mention addition of x86_64 vector cosf.
14936         * math/Makefile: Added CFLAGS for new tests.
14937         * math/test-float-vlen16.h: New file.
14938         * math/test-float-vlen4.h: New file.
14939         * math/test-float-vlen8.h: New file.
14940         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
14941         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
14942         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14943         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
14944         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
14945         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
14946         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
14947         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
14948         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
14949         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
14950         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
14952 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
14954         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
14955         * locale/programs/ld-ctype.c: Likewise.
14957 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
14959         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
14960         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
14961         bit_ZMM16_31_state): New macro.
14962         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14963         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
14965 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
14967         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
14969 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
14971         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
14973 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
14975         [BZ #18498]
14976         * libio/memstream.c (open_memstream): Rename to __open_memstream
14977         and define as weak alias of __open_memstream.
14978         * include/stdio.h (__open_memstream): Declare.  Use
14979         libc_hidden_proto.
14980         (open_memstream): Don't use libc_hidden_proto.
14981         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
14982         open_memstream.
14983         * posix/getopt.c (_getopt_internal_r): Likewise.
14984         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
14985         variable.
14986         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
14987         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
14988         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
14990         [BZ #18496]
14991         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
14992         instead of wcrtomb.
14994         [BZ #18483]
14995         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
14996         [__USE_XOPEN2K8].  Remove redundant #endif.
14997         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
14998         Remove redundant #if.
14999         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
15000         Remove variable.
15001         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
15002         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
15004         [BZ #18495]
15005         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
15006         (__iswlower): Likewise.
15007         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
15008         (__iswlower): Likewise.
15009         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
15010         instead of towlower.
15011         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
15012         instead of iswlower.  Call __towupper instead of towupper.
15013         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
15014         instead of iswalnum.
15016 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15018         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
15019         errors to stderr.
15021 2015-06-05  Florian Weimer  <fweimer@redhat.com>
15023         [BZ #15661]
15024         [BZ #17322]
15025         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
15026         Check for overflow properly.  Check for O_APPEND.  Ignore large
15027         file system block sizes.  Add comments about problems.
15028         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
15029         * manual/filesys.texi (Storage Allocation): New node.
15031 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15033         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
15034         cancellable syscalls.
15035         (SYS_ify): Add guard to no redefine it.
15036         (INLINE_SYSCALL): Likewise.
15037         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
15038         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
15039         SYSCALL_CANCEL instead.
15040         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
15041         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
15042         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
15043         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
15044         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
15045         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
15046         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
15047         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
15048         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
15049         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
15050         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
15051         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
15052         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
15053         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
15054         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
15055         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
15056         Likewise.
15057         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
15058         (__libc_pread64): Likewise.
15059         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
15060         (__libc_preadv): Likewise.
15061         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
15062         (__libc_readv64): Likewise.
15063         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
15064         (__libc_pwrite): Likewise.
15065         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
15066         (__libc_pwrite64): Likewise.
15067         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
15068         (__libc_pwritev): Likewise.
15069         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
15070         (__libc_pwritev64): Likewise.
15071         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
15072         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
15073         (sync_file_range): Likewise.
15074         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
15075         Likewise.
15076         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
15077         Likewise.
15078         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
15079         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
15080         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
15081         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
15082         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
15083         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
15084         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
15085         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
15086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
15087         Likewise.
15088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15089         (__libc_read64): Likewise.
15090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
15091         Likewise.
15092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
15093         Likewise.
15094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
15095         Likewise.
15096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
15097         Likewise.
15098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15099         (__libc_pread64): Likewise.
15100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
15101         Likewise.
15102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15103         (__libc_pwrite64): Likewise.
15104         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
15105         (sync_file_range): Likewise.
15106         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
15107         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
15108         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
15109         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
15110         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
15111         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15112         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15113         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
15114         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
15115         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15116         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15117         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
15118         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
15119         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
15120         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
15121         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
15122         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
15123         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
15124         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
15125         Likewise.
15126         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
15127         Likewise.
15128         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
15129         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
15130         Likewise.
15131         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
15132         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
15133         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
15134         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
15135         Likewise.
15136         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
15137         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
15138         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
15139         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
15140         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
15142 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
15144         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
15145         Include dl-vdso.
15146         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
15147         Use VDSO routines for gettimeofday, clock_gettime if
15148         available.
15149         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
15150         Declare VDSO symbols.
15151         * sysdeps/unix/sysv/linux/arm/sysdep.h:
15152         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
15153         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
15154         * sysdeps/unix/sysv/linux/arm/Versions: Add
15155         __vdso_clock_gettime.
15157 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15159         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
15160         be an inline implementation regardless of library is built within.
15161         (open_not_cancel_2): Likewise.
15162         (__read_nocancel): Likewise.
15163         (__write_nocancel): Likewise.
15164         (openat_not_cancel): Likewise.
15165         (openat_not_cancel_3): Likewise.
15166         (openat64_not_cancel): Likewise.
15167         (openat64_not_cancel_3): Likewise.
15168         (__close_nocancel): Likewise.
15169         (pause_not_cancel): Likewise.
15170         (nanosleep_not_cancel): Likewise.
15171         (sigsuspend_not_cancel): Likewise.
15173 2015-06-04  Torvald Riegel  <triegel@redhat.com>
15175         [BZ #14958]
15176         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
15177         wake-up.
15178         (__pthread_rwlock_rdlock_slow): Likewise.
15179         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15180         Likewise.
15181         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
15182         Likewise.
15183         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
15184         * nptl/tst-rwlock16.c: New file.
15185         * nptl/Makefile (tests): Add new test.
15187 2015-06-04  Torvald Riegel  <triegel@redhat.com>
15189         [BZ #18324]
15190         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
15191         missing wake-up of readers.
15192         * nptl/tst-rwlock15.c: New file.
15193         * nptl/Makefile (tests): Add new test.
15195 2015-06-03  Roland McGrath  <roland@hack.frob.com>
15197         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
15198         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
15199         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
15200         and __nacl_supply_interface_rtld.
15201         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
15202         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
15203         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
15204         Add __nacl_supply_interface_rtld.
15205         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
15207 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
15209         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
15210         isfinite.
15211         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15212         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
15214 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
15216         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
15217         __signbit* with standard C99 macros.
15218         * math/e_exp10l.c: Likewise.
15219         * math/e_exp2l.c: Likewise.
15220         * math/e_scalb.c: Likewise.
15221         * math/e_scalbf.c: Likewise.
15222         * math/e_scalbl.c: Likewise.
15223         * math/s_ldexp.c: Likewise.
15224         * math/s_ldexpf.c: Likewise.
15225         * math/s_ldexpl.c: Likewise.
15226         * math/w_atan2.c: Likewise.
15227         * math/w_atan2f.c: Likewise.
15228         * math/w_atan2l.c: Likewise.
15229         * math/w_cosh.c: Likewise.
15230         * math/w_coshf.c: Likewise.
15231         * math/w_coshl.c: Likewise.
15232         * math/w_exp10.c: Likewise.
15233         * math/w_exp10f.c: Likewise.
15234         * math/w_exp10l.c: Likewise.
15235         * math/w_exp2.c: Likewise.
15236         * math/w_exp2f.c: Likewise.
15237         * math/w_exp2l.c: Likewise.
15238         * math/w_fmod.c: Likewise.
15239         * math/w_fmodf.c: Likewise.
15240         * math/w_fmodl.c: Likewise.
15241         * math/w_hypot.c: Likewise.
15242         * math/w_hypotf.c: Likewise.
15243         * math/w_hypotl.c: Likewise.
15244         * math/w_jnl.c: Likewise.
15245         * math/w_lgamma.c: Likewise.
15246         * math/w_lgamma_r.c: Likewise.
15247         * math/w_lgammaf.c: Likewise.
15248         * math/w_lgammaf_r.c: Likewise.
15249         * math/w_lgammal.c: Likewise.
15250         * math/w_lgammal_r.c: Likewise.
15251         * math/w_pow.c: Likewise.
15252         * math/w_powf.c: Likewise.
15253         * math/w_powl.c: Likewise.
15254         * math/w_remainder.c: Likewise.
15255         * math/w_remainderf.c: Likewise.
15256         * math/w_remainderl.c: Likewise.
15257         * math/w_scalb.c: Likewise.
15258         * math/w_scalbf.c: Likewise.
15259         * math/w_scalbl.c: Likewise.
15260         * math/w_scalbln.c: Likewise.
15261         * math/w_scalblnf.c: Likewise.
15262         * math/w_scalblnl.c: Likewise.
15263         * math/w_sinh.c: Likewise.
15264         * math/w_sinhf.c: Likewise.
15265         * math/w_sinhl.c: Likewise.
15266         * math/w_tgamma.c: Likewise.
15267         * math/w_tgammaf.c: Likewise.
15268         * math/w_tgammal.c: Likewise.
15269         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15270         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
15271         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15272         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15273         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15274         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15275         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15276         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15277         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15278         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15279         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15280         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15281         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15282         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15283         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15284         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15285         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15286         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15287         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15288         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15289         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15290         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15291         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15292         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15293         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15294         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15295         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
15296         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15297         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15298         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15299         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
15300         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
15301         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
15302         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
15303         * stdio-common/printf_fp.c: Likewise.
15304         * stdio-common/printf_fphex.c: Likewise.
15305         * stdio-common/printf_size.c: Likewise.
15307 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
15309         [BZ #18470]
15310         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
15311         strnlen.
15312         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
15313         Remove variable.
15314         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
15315         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
15316         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
15317         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
15318         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
15319         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
15320         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
15321         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
15322         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
15323         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
15325         [BZ #18468]
15326         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
15327         weak alias of __wmemchr.  Use libc_hidden_weak.
15328         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
15329         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
15330         instead of wmemchr.
15332 2015-06-02  Roland McGrath  <roland@hack.frob.com>
15334         [BZ #18383]
15335         * elf/tst-tlsalign-extern.c: New file.
15336         * elf/tst-tlsalign-extern-static.c: New file.
15337         * elf/tst-tlsalign-vars.c: New file.
15338         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
15339         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
15340         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
15341         ($(objpfx)tst-tlsalign-extern-static): Likewise.
15342         (test-xfail-tst-tlsalign-extern-static): New variable.
15344 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
15346         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
15347         Use variable name _sc_err instead of err.
15348         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
15349         instead of ret.
15350         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
15351         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
15352         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
15353         (INLINE_SYSCALL): Likewise.
15355         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
15356         * include/string.h (__strnlen): Use libc_hidden_proto.
15357         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
15358         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
15359         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
15360         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
15361         (libc_hidden_def): Undefine and redefine.
15362         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
15363         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
15364         __GI_strnlen.
15365         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
15366         libc_hidden_def.
15367         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
15369         [BZ #18469]
15370         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
15371         weak alias of __towlower.  Use libc_hidden_weak.
15372         (towupper): Rename to __towupper and define as weak alias of
15373         __towupper.  Use libc_hidden_weak.
15374         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
15375         (__towupper): Likewise.
15376         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
15377         __towlower instead of towlower.
15379 2015-06-02  Roland McGrath  <roland@hack.frob.com>
15381         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
15382         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
15384 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15386         * sysdeps/aarch64/libm-test-ulps: Update.
15388 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15390         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
15391         Define.
15392         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15393         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
15394         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
15395         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15396         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
15397         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
15398         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
15400 2015-06-01  Martin Sebor  <msebor@redhat.com>
15402         [BZ #18116]
15403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15404         (__setcontext): Use extended four-operand version of mtsf whenever
15405         possible.
15406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15407         (__novec_swapcontext): Likewise.
15409 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15411         * benchtests/scripts/compare_bench.py: New file.
15412         * benchtests/scripts/import_bench.py (mean): New function.
15413         (split_list): Likewise.
15414         (do_for_all_timings): Likewise.
15415         (compress_timings): Likewise.
15417         * benchtests/scripts/import_bench.py: New file.
15418         * benchtests/scripts/validate_benchout.py: Import import_bench
15419         instead of jsonschema.
15420         (validate_bench): Remove function.
15421         (main): Use import_bench.
15423 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
15425         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
15426         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
15428 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15430         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15432 2015-05-28  Roland McGrath  <roland@hack.frob.com>
15434         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
15435         set THREAD_SELF->tid to a magic value and futex-wake it.
15436         Pass its address to the thread_exit system call.
15437         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
15438         bit is clear.
15439         * sysdeps/nacl/lowlevellock.h: New file.
15440         * sysdeps/nacl/lll_timedwait_tid.c: New file.
15442         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
15443         Add TIMEOUT to current time, don't subtract it.
15445 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
15447         [BZ #2981]
15448         [BZ #18422]
15449         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
15450         ($(objpfx)tst-audit2.out): Also depend on
15451         $(objpfx)tst-auditmod9b.so.
15452         * elf/tst-audit2.c: Include <dlfcn.h>.
15453         (calloc_called): New.
15454         (calloc): Allow to be called more than once.
15455         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
15457 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
15459         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
15460         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
15462 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
15464         * stdlib/monetary.h: Fix comment.
15466 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
15468         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
15469         Avoid using variables in #defines that might cause shadowing.
15470         (INTERNAL_VSYSCALL_CALL): Likewise.
15472 2015-05-26  Roland McGrath  <roland@hack.frob.com>
15474         * sysdeps/nacl/lll_timedlock_wait.c: New file.
15476         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
15477         * nptl/lll_timedlock_wait.c: ... to this new file.
15478         * nptl/Makefile (libpthread-routines): Add it.
15479         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
15480         * nptl/lll_timedwait_tid.c: ... to this new file.
15481         * nptl/Makefile (libpthread-routines): Add it.
15482         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
15483         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
15484         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
15485         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
15486         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
15487         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
15488         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
15489         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
15490         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
15491         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
15493 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15495         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
15496         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
15497         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
15498         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
15499         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
15500         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15501         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15502         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15503         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15504         * sysdeps/unix/sysv/linux/tile/sysdep.h
15505         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15506         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
15507         using vDSO syscall macro.
15509 2015-05-26  Andriy Rysin  <arysin@gmail.com>
15511         [BZ #17293]
15512         * uk_UA: Fix sorting order for Ukrainian locale
15514 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
15516         * stdlib/monetary.h: Fix comment.
15518 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15520         [BZ #18234]
15521         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
15522         st_mtim and st_ctim members.
15523         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
15524         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
15525         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
15526         (struct stat64): Likewise.
15527         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
15528         (struct stat64): Likewise.
15529         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
15530         (struct stat64): Likewise.
15532 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15534         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
15535         Define and include sysdep-vdso.h.
15536         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
15537         Likewise.
15538         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
15539         Likewise.
15540         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
15541         Define with VDSO_SYMBOL and use PTR_MANGLE.
15542         (__vdso_clock_gettime): Likewise.
15543         (__vdso_clock_getres): Likewise.
15544         (_libc_vdso_platform_setup): Likewise.
15545         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
15546         Likewise.
15547         (_libc_vdso_platform_setup): Likewise.
15548         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
15549         Likewise.
15550         (__vdso_clock_gettime): Likewise.
15551         (__vdso_clock_getres): Likewise.
15552         (__vdso_get_tbfreq): Likewise.
15553         (__vdso_getcpu): Likewise.
15554         (__vdso_time): Likewise.
15555         (__vdso_sigtramp_rt64): Likewise.
15556         (__vdso_signtramp32): Likewise.
15557         (__vdso_sigtramp_rt32): Likewise.
15558         (_libc_vdso_platform_setup): Likewise.
15559         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
15560         Likewise.
15561         (__vdso_clock_gettime): Likewise.
15562         (__vdso_clock_getres): Likewise.
15563         (_libc_vdso_platform_setup): Likewise.
15564         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
15565         Likewise.
15566         (__vdso_clock_gettime): Likewise.
15567         (_libc_vdso_platform_setup): Likewise.
15568         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
15569         Likewise.
15570         (__vdso_getcpu): Likewise.
15571         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
15572         Use VDSO_SYMBOL macro to define.
15573         (__vdso_clock_gettime): Likewise.
15574         (__vdso_clock_getres): Likewise.
15575         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
15576         Likewise.
15577         (__vdso_clock_gettime): Likewise.
15578         (__vdso_clock_getres): Likewise.
15579         (__vdso_get_tbfreq): Likewise.
15580         (__vdso_getcpu): Likewise.
15581         (__vdso_time): Likewise.
15582         (__vdso_sigtramp_rt64): Likewise.
15583         (__vdso_signtramp32): Likewise.
15584         (__vdso_sigtramp_rt32): Likewise.
15585         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
15586         Likewise.
15587         (__vdso_clock_gettime): Likewise.
15588         (__vdso_clock_getres): Likewise.
15589         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
15590         Likewise.
15591         (__vdso_clock_gettime): Likewise.
15592         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
15593         Likewise.
15594         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
15595         macro.
15596         (INTERNAL_VSYSCALL): Likewise.
15597         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
15598         Remove macro.
15599         (INTERNAL_VSYSCALL): Likewise.
15600         (INTERNAL_VSYSCALL_NCS): Likewise.
15601         (INTERNAL_VSYSCALL_CALL): New macro.
15602         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
15603         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
15604         Likewise.
15605         (INTERNAL_VSYSCALL): Likewise.
15606         (INTERNAL_VSYSCALL_NCS): Likewise.
15607         (INTERNAL_VSYSCALL_CALL): New macro.
15608         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
15609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15610         (INLINE_VSYSCALL): Remove macro.
15611         (INTERNAL_VSYSCALL): Remove macro.
15612         (INTERNAL_VSYSCALL_NCS): Remove macro.
15613         (INTERNAL_VSYSCALL_CALL): New macro.
15614         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
15615         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
15616         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
15617         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
15618         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
15619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15620         (INLINE_VSYSCALL): Remove macro.
15621         (INTERNAL_VSYSCALL): Likewise.
15622         (INTERNAL_VSYSCALL_NCS): Likewise.
15623         (INTERNAL_VSYSCALL_CALL): New macro.
15624         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
15625         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
15626         PTR_DEMANGLE on vDSO pointer.
15627         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
15628         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
15629         macro.
15630         (INTERNAL_SYSCALL): Likewise.
15631         (INTERNAL_VSYSCALL_NCS): Remove macro.
15632         (INTERNAL_VSYSCALL_CALL): New macro.
15633         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
15634         Remove macro.
15635         (INTERNAL_VSYSCALL): Likewise.
15636         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
15637         sysdep-vdso.h instead of libc-vdso.h.
15638         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
15639         definition.
15640         (INLINE_VSYSCALL): Likewise.
15641         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
15642         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
15643         definition.
15644         (INLINE_VSYSCALL): Likewise.
15645         (INTERNAL_VSYSCALL): Likewise.
15646         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
15647         * sysdeps/unix/sysv/linux/timespec_get.c
15648         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
15649         (timespec_get): Use ANSI prototype.
15650         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
15651         and definition for Linux.
15653 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
15655         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
15656         * include/libc-symbols.h: libmvec_hidden_* macro series added.
15658 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
15660         [BZ #2981]
15661         [BZ #18410]
15662         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
15663         for missing DT_PLTRELSZ.
15665 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
15667         Remove obsolete aliases that broke 'locale -a'
15668         [BZ #18412]
15669         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
15670         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
15671         breaking some applications that use 'locale -a' output.
15672         Change the encoding of this file from Latin-1 to ASCII to avoid
15673         other potential problems with people grepping this file.
15675 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15677         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
15678         -fasynchronous-unwind-tables.
15679         (CFLAGS-sendto.c): Likewise.
15680         (CFLAGS-sendmsg.c): Likewise.
15681         (CFLAGS-connect.c): Likewise.
15682         (CFLAGS-recvmsg.c): Likewise.
15683         (CFLAGS-recvfrom.c): Likewise.
15684         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
15685         (SOCKETCALL): New macro: non-cancellable socketcall.
15686         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
15687         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
15688         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
15689         * sysdeps/unix/sysv/linux/accept.c: New file.
15690         * sysdeps/unix/sysv/linux/bind.c: Likewise.
15691         * sysdeps/unix/sysv/linux/connect.c: Likewise.
15692         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
15693         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
15694         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
15695         * sysdeps/unix/sysv/linux/listen.c: Likewise.
15696         * sysdeps/unix/sysv/linux/recv.c: Likewise.
15697         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
15698         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
15699         * sysdeps/unix/sysv/linux/send.c: Likewise.
15700         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
15701         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
15702         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
15703         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
15704         * sysdeps/unix/sysv/linux/socket.c: Likewise.
15705         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
15706         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
15707         prototype.
15708         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
15709         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
15710         instead of __internal_xxx function.
15711         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
15712         prototype.
15713         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
15714         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
15715         instead of __internal_xxx function.
15716         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
15717         prototype.
15718         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
15719         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
15720         instead of __internal_xxx function.
15721         * sysdeps/unix/sysv/linux/accept.S: Remove file.
15722         * sysdeps/unix/sysv/linux/bind.S: Likewise.
15723         * sysdeps/unix/sysv/linux/connect.S: Likewise.
15724         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
15725         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
15726         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
15727         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
15728         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
15729         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
15730         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
15731         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
15732         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15733         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
15734         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
15735         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
15736         * sysdeps/unix/sysv/linux/listen.S: Likewise.
15737         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
15738         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
15739         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
15740         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
15741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
15742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
15743         * sysdeps/unix/sysv/linux/recv.S: Likewise.
15744         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
15745         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
15746         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
15747         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15748         * sysdeps/unix/sysv/linux/send.S: Likewise.
15749         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
15750         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
15751         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
15752         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
15753         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
15754         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
15755         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
15756         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
15757         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
15758         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
15759         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
15760         socketcall is implemented in GLIBC.
15762 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
15764         * soft-fp/fmadf4.c: Include <libc-internal.h>.
15765         (__fma): Ignore uninitialized warnings around packing.
15766         * soft-fp/fmasf4.c: Include <libc-internal.h>.
15767         (__fmaf): Ignore uninitialized warnings around packing.
15768         * soft-fp/fmatf4.c: Include <libc-internal.h>.
15769         (__fmal): Ignore uninitialized warnings around packing.
15771         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
15772         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15773         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
15774         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15776         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
15777         switch statement into default case.
15778         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
15780         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
15781         a conditional in forcing "inexact".
15782         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15783         Likewise.
15785 2015-05-22  Roland McGrath  <roland@hack.frob.com>
15787         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15788         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
15789         for each INTERNAL_SYSCALL use.
15791 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
15793         [BZ #438]
15794         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
15795         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
15796         variable.
15798         [BZ #18444]
15799         * string/basename.c (basename): Rename to __basename and define as
15800         weak alias of __basename.  Use libc_hidden_weak.
15801         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
15802         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
15803         __basename instead of basename.
15804         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
15805         Remove variable.
15806         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
15808 2015-05-18  Florian Weimer  <fweimer@redhat.com>
15810         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
15811         (_IO_JUMPS_FILE_plus): New.
15812         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
15813         _IO_CAST_FIELD_ACCESS.
15814         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
15815         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
15816         * libio/freopen.c (freopen): Likewise.
15817         * libio/freopen64.c (freopen64): Likewise.
15818         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
15819         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
15820         * libio/iofwide.c (_IO_fwide): Likewise.
15821         * libio/memstream.c (open_memstream): Likewise.
15822         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15823         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
15824         * libio/oldiopopen.c (_IO_old_popen): Likewise.
15826 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
15828         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
15829         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
15830         NADJ.
15831         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
15832         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
15833         NADJ.
15834         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
15835         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
15836         NADJ.
15838         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
15839         (p == 4) case.
15841         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
15842         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
15843         Remove variable.
15844         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
15845         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
15846         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
15848 2015-05-21  Florian Weimer  <fweimer@redhat.com>
15850         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
15851         Adjust jump table label generation macros.
15853 2015-05-21  Florian Weimer  <fweimer@redhat.com>
15855         * stdio-common/vfprintf.c (vfprintf): Move local variables
15856         args_malloced, specs, specs_malloced, and the code after
15857         do_positional to the printf_positional function.
15858         (printf_positional): New function.
15860 2015-05-21  Florian Weimer  <fweimer@redhat.com>
15862         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
15863         function.
15864         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
15865         STEP4_TABLE, process_arg): Move macro definitions
15866         out of the vfprintf function.  (Cosmetic change only.)
15868 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
15870         * benchtests/Makefile (stdio-common-bench): Define.
15871         (benchset): Add stdio-common-bench.
15872         * sprintf-inputs: New file.
15873         * sprintf-source.c: New file.
15875 2015-05-21  Andreas Schwab  <schwab@suse.de>
15877         [BZ #13028]
15878         [BZ #17053]
15879         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
15880         of struct __res_state.
15881         * resolv/res_send.c (__libc_res_nsend): Likewise.
15882         (get_nsaddr): New function.
15883         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
15884         statp directly.
15886 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
15888         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
15889         -D_POSIX_C_SOURCE=199506L.
15891         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
15893         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
15894         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
15895         Do not mention otherwise.
15896         [POSIX] (_XOPEN_VERSION): Do not expect.
15897         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
15898         [POSIX] (_POSIX2_C_BIND): Likewise.
15899         [POSIX] (_POSIX2_VERSION): Likewise.
15900         [POSIX] (_XOPEN_XPG2): Likewise.
15901         [POSIX] (_XOPEN_XPG3): Likewise.
15902         [POSIX] (_XOPEN_XPG4): Likewise.
15903         [POSIX] (_XOPEN_UNIX): Likewise.
15904         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
15905         [POSIX] (_POSIX_BARRIERS): Likewise.
15906         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
15907         [POSIX] (_POSIX_CPUTIME): Likewise.
15908         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
15909         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
15910         [POSIX] (_POSIX_SHELL): Likewise.
15911         [POSIX] (_POSIX_SPAWN): Likewise.
15912         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
15913         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
15914         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
15915         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
15916         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
15917         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
15918         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
15919         [POSIX] (_XBS5_LP64_OFF64): Likewise.
15920         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
15921         [POSIX] (_POSIX_TIMEOUTS): Likewise.
15922         [POSIX] (_POSIX2_PBS): Likewise.
15923         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
15924         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
15925         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
15926         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
15927         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
15928         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
15929         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
15930         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
15931         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
15932         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
15933         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
15934         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
15935         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
15936         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
15937         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
15938         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
15939         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
15940         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
15941         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
15942         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
15943         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
15944         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
15945         [POSIX] (_SC_2_C_BIND): Likewise.
15946         [POSIX] (_SC_2_C_VERSION): Likewise.
15947         [POSIX] (_SC_2_PBS): Likewise.
15948         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
15949         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
15950         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
15951         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
15952         [POSIX] (_SC_2_PBS_TRACK): Likewise.
15953         [POSIX] (_SC_ATEXIT_MAX): Likewise.
15954         [POSIX] (_SC_BARRIERS): Likewise.
15955         [POSIX] (_SC_BASE): Likewise.
15956         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
15957         [POSIX] (_SC_DEVICE_IO): Likewise.
15958         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
15959         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
15960         [POSIX] (_SC_FD_MGMT): Likewise.
15961         [POSIX] (_SC_FIFO): Likewise.
15962         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
15963         [POSIX] (_SC_FILE_LOCKING): Likewise.
15964         [POSIX] (_SC_FILE_SYSTEM): Likewise.
15965         [POSIX] (_SC_IOV_MAX): Likewise.
15966         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
15967         [POSIX] (_SC_NETWORKING): Likewise.
15968         [POSIX] (_SC_PAGE_SIZE): Likewise.
15969         [POSIX] (_SC_PASS_MAX): Likewise.
15970         [POSIX] (_SC_PIPE): Likewise.
15971         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
15972         [POSIX] (_SC_REGEXP): Likewise.
15973         [POSIX] (_SC_SHELL): Likewise.
15974         [POSIX] (_SC_SIGNALS): Likewise.
15975         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
15976         [POSIX] (_SC_SPIN_LOCKS): Likewise.
15977         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
15978         [POSIX] (_SC_USER_GROUPS): Likewise.
15979         [POSIX] (_SC_USER_GROUPS_R): Likewise.
15980         [POSIX] (_SC_STREAMS): Likewise.
15981         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
15982         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
15983         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
15984         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
15985         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
15986         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
15987         [POSIX] (_PC_FILESIZEBITS): Likewise.
15988         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
15989         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
15990         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
15991         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
15992         [POSIX] (uid_t): Likewise.
15993         [POSIX] (gid_t): Likewise.
15994         [POSIX] (off_t): Likewise.
15995         [POSIX] (pid_t): Likewise.
15996         [POSIX] (cuserid): Allow.
15997         (_SC_2_CHAR_TERM): Require constant.
15998         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
15999         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
16000         variable.
16002 2015-05-20  Roland McGrath  <roland@hack.frob.com>
16004         * sysdeps/nacl/pthread-pids.h: New file.
16005         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
16006         (create_thread): Use __nacl_get_tid to initialize PD->tid.
16008         * nptl/pthread-pids.h: New file.
16009         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
16010         * nptl/nptl-init.c: Include <pthread-pids.h>.
16011         (__pthread_initialize_minimal_internal):
16012         Call __pthread_initialize_pids instead of set_tid_address syscall.
16014         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
16015         * sysdeps/posix/usleep.c: ... here.
16017 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16019         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
16020         call_pselect6 object.
16021         [$(subdir) = io]: Remove call_sync_file_range object.
16022         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
16023         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
16024         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
16025         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
16027 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
16029         * math/s_cproj.c: Add include "math_private.h".
16030         * math/s_cprojf.c: Likewise.
16031         * math/s_cprojl.c: Likewise.
16033 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
16035         [BZ #18244]
16036         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
16037         high mantissa bit when testing whether P is a NaN.
16038         * math/libm-test.inc (remainder_test_data): Add more tests.
16039         (remquo_test_data): Likewise.
16041         [BZ #18049]
16042         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
16043         below -32, return the argument, with underflow if subnormal.
16044         * math/auto-libm-test-in: Add more tests of atanh.
16045         * math/auto-libm-test-out: Regenerated.
16047 2015-05-19  Roland McGrath  <roland@hack.frob.com>
16049         [BZ #18434]
16050         * nptl/tst-sem15.c: New file.
16051         * nptl/Makefile (tests): Add it.
16052         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
16053         s/<</>>/ to fix typo in EOVERFLOW check.
16054         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
16056 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16058         * manual/strings.texi (envz_remove): Fix typo in safety
16059         annotations.
16061 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
16062             Steve Ellcey  <sellcey@imgtec.com>
16064         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
16065         in order to avoid strict alias warnings.
16066         (iruserok_af): Ditto for ra.
16068 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
16070         [BZ #17581]
16071         * malloc/hooks.c
16072         (magicbyte): Convert to a function and avoid returning 0x01.
16073         (mem2mem_check): Avoid using a length byte equal to the magic byte.
16074         (mem2chunk_check): Fix unsigned comparisons to zero.
16075         Hoist defs of sz and magic.
16077 2015-05-19  Richard Henderson  <rth@redhat.com>
16079         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
16081         * sysdeps/alpha/fpu/libm-test-ulps: Update.
16083 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16085         [BZ #16159]
16086         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
16087         * malloc/arena.c (arena_lock): Check if arena is corrupt.
16088         (reused_arena): Find a non-corrupt arena.
16089         (heap_trim): Pass arena to unlink.
16090         * malloc/hooks.c (malloc_check_get_size): Pass arena to
16091         malloc_printerr.
16092         (top_check): Likewise.
16093         (free_check): Likewise.
16094         (realloc_check): Likewise.
16095         * malloc/malloc.c (malloc_printerr): Add arena argument.
16096         (unlink): Likewise.
16097         (munmap_chunk): Adjust.
16098         (ARENA_CORRUPTION_BIT): New macro.
16099         (arena_is_corrupt): Likewise.
16100         (set_arena_corrupt): Likewise.
16101         (sysmalloc): Use mmap if there are no usable arenas.
16102         (_int_malloc): Likewise.
16103         (__libc_malloc): Don't fail if arena_get returns NULL.
16104         (_mid_memalign): Likewise.
16105         (__libc_calloc): Likewise.
16106         (__libc_realloc): Adjust for additional argument to
16107         malloc_printerr.
16108         (_int_free): Likewise.
16109         (malloc_consolidate): Likewise.
16110         (_int_realloc): Likewise.
16111         (_int_memalign): Don't touch corrupt arenas.
16112         * malloc/tst-malloc-backtrace.c: New test case.
16114         * Makefile (summarize-tests): Fix return value on success.
16116         * manual/string.texi (Envz Functions): Add envz_remove.
16118 2015-05-18  Roland McGrath  <roland@hack.frob.com>
16120         * sysdeps/posix/opendir.c: Include <stdbool.h>.
16121         (invalid_name): New function, broken out of ...
16122         (__opendirat): ... here.  Call it.
16123         (need_isdir_precheck): New function, broken out of ...
16124         (__opendirat): ... here.  Call it.
16125         Use __fxstatat64, not __xstatat64.
16126         (opendir_oflags): New function, broken out of ...
16127         (__opendirat): ... here.  Call it.
16128         (opendir_tail): New function, broken out of ...
16129         (__opendirat): ... here.  Call it.
16130         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
16131         opendir_tail, rather than punting to __opendirat.
16132         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
16134 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16136         * .gitignore: Ignore generated *.pyc.
16138 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
16140         * include/stdio.h: Define __need_wint_t.
16141         * test-skeleton.c: Avoid `for' loop initial declaration.
16142         * nptl/tst-initializers1.c: Use test-skeleton.c.
16144 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16146         [BZ #18418]
16147         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
16149 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
16151         [BZ #16352]
16152         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
16153         (__ieee754_atanh): Force underflow exception for results with
16154         small absolute value.
16155         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
16156         (__ieee754_atanhf): Force underflow exception for results with
16157         small absolute value.
16158         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
16159         (__ieee754_atanh): Force underflow exception for results with
16160         small absolute value.
16161         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
16162         (__ieee754_atanhf): Force underflow exception for results with
16163         small absolute value.
16164         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
16165         (__ieee754_atanhl): Force underflow exception for results with
16166         small absolute value.
16167         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
16168         (__ieee754_atanhl): Force underflow exception for results with
16169         small absolute value.
16170         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
16171         (__ieee754_atanhl): Force underflow exception for results with
16172         small absolute value.
16173         * math/auto-libm-test-in: Do not allow missing underflow
16174         exceptions from atanh.
16175         * math/auto-libm-test-out: Regenerated.
16177         [BZ #18221]
16178         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
16179         2**-28 as threshold for returning x or +/- 1/x.
16180         * math/auto-libm-test-in: Add more tests of tan.
16181         * math/auto-libm-test-out: Regenerated.
16183         [BZ #18220]
16184         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16185         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
16186         * math/auto-libm-test-in: Add another test of lgamma.
16187         * math/auto-libm-test-out: Regenerated.
16189 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
16191         * stdio-common/printf_fp.c (___printf_fp): Use abs.
16192         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
16193         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
16194         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
16195         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
16196         (ADD2A): Use fabs.  (SUB2A): Use fabs.
16197         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
16198         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
16199         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
16200         (log1): Use fabs.  (my_log2): Use fabs.
16201         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
16202         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
16203         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
16204         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
16205         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
16206         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
16207         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
16208         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
16209         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
16210         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
16211         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
16213 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
16215         [BZ #18217]
16216         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
16217         as threshold for returning 1 - x.
16218         * math/auto-libm-test-in: Add more tests of erfc.
16219         * math/auto-libm-test-out: Regenerated.
16221 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
16223         [BZ #18196]
16224         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
16225         threshold for large arguments.
16226         * math/auto-libm-test-in: Add another test of atan.
16227         * math/auto-libm-test-out: Regenerated.
16229         [BZ #16339]
16230         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
16231         (__log1p): Force underflow exception for results with small
16232         absolute value.
16233         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
16234         (__log1pf): Force underflow exception for results with small
16235         absolute value.
16236         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
16237         (__log1p): Force underflow exception for results with small
16238         absolute value.
16239         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
16240         (__log1pf): Force underflow exception for results with small
16241         absolute value.
16242         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
16243         (__log1pl): Force underflow exception for results with small
16244         absolute value.
16245         * math/auto-libm-test-in: Do not allow missing underflow
16246         exceptions from log1p.
16247         * math/auto-libm-test-out: Regenerated.
16249 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
16250             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16252         [BZ #16704]
16253         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
16255 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
16257         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
16258         (libmvec): New variable.
16259         * configure.ac: Added option for mathvec build.
16260         * configure: Regenerated.
16261         * mathvec/Depend: New file.
16262         * mathvec/Makefile: New file.
16263         * shlib-versions: Added libmvec.
16264         * math/Makefile: Added rule for libm.so installation.
16266         * bits/math-vector.h: New file.
16267         * bits/libm-simd-decl-stubs.h: New header.
16268         * math/Makefile (headers): Added new header
16269         libm-simd-decl-stubs.h.
16270         * math/math.h (__MATHCALL_VEC): New macro.
16272         * math/gen-libm-have-vector-test.sh: Script generates series of macros
16273         for conditions in testing functions.
16274         * math/Makefile: Added call of libm-have-vector-test.sh.
16275         * math/libm-test.inc (HAVE_VECTOR): New macros.
16277         * math/libm-test.inc: START refactored.
16278         * math/test-double.c (TEST_MATHVEC): Add define.
16279         * math/test-float.c: Likewise.
16280         * math/test-idouble.c: Likewise.
16281         * math/test-ifloat.c: Likewise.
16282         * math/test-ildoubl.c: Likewise.
16283         * math/test-ldouble.c: Likewise.
16284         * sysdeps/generic/math-tests-arch.h
16285         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
16286         architecture check.
16288         * math/test-double.c (FUNC_TEST): New macro.
16289         * math/test-float.c: Likewise.
16290         * math/test-idouble.c: Likewise.
16291         * math/test-ifloat.c: Likewise.
16292         * math/test-ildoubl.c: Likewise.
16293         * math/test-ldouble.c: Likewise.
16294         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
16296 2015-05-13  Roland McGrath  <roland@hack.frob.com>
16298         * sysdeps/nacl/fdopendir.c: New file.
16300         * dirent/scandir-tail.c: New file.
16301         * dirent/scandir64-tail.c: New file.
16302         * dirent/Makefile (routines): Add them.
16303         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
16304         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
16305         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
16306         [!SCANDIR] (SCANDIR_TAIL): New macro.
16307         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
16308         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
16309         (SCANDIRAT): Macro removed.
16310         (SCANDIR_TAIL): New macro.
16311         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
16312         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
16313         (SCANDIRAT): Just call __opendirat and __scandir_tail.
16314         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
16315         (READDIR): Macro removed.
16316         (SCANDIR_TAIL): New macro.
16317         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
16318         (SCANDIR_TAIL): New macro.
16320         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
16321         * dirent/scandir-cancel.c: ... to this new file.
16322         * dirent/Makefile (routines): Add it.
16323         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
16324         * sysdeps/unix/sysv/linux/i386/scandir64.c
16325         (SKIP_SCANDIR_CANCEL): Macro removed.
16326         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
16328         * dirent/tst-scandir.c: New file.
16329         * dirent/tst-scandir64.c: New file.
16330         * dirent/Makefile (tests): Add them.
16332 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
16334         [BZ #18409]
16335         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
16337 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16339         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
16340         list.
16342 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
16344         * benchtests/bench-strcoll.c: New benchmark.
16345         * benchtests/Makefile: Generate locales and run benchmark.
16346         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
16347         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
16348         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
16349         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
16350         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
16351         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
16352         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
16353         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
16354         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
16355         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
16356         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
16357         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
16358         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
16359         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
16360         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
16361         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
16362         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
16363         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
16364         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
16365         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
16366         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
16367         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
16368         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
16369         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
16371 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
16373         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
16374         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16376 2015-05-12  Roland McGrath  <roland@hack.frob.com>
16378         * posix/uname-values.h: New file.
16379         * posix/uname.c: Include that instead of <config-name.h>.
16380         * sysdeps/nacl/uname-values.h: New file.
16381         * sysdeps/arm/nacl/uname-values.h: New file.
16383 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
16385         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
16386         splitting into fields.
16388 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
16390         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
16391         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
16392         * locale/localeinfo.h: Add enum collation_encoding_type.
16393         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
16394         * programs/ld-collate.c (collate_output): Add encoding type info.
16395         * string/strcoll_l.c (STRDIFF): New function.
16396         * (STRCOLL): Use STRDIFF to skip over equal prefix.
16397         * wcsmbs/wcscoll_l.c: Define STRDIFF.
16399 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
16401         [BZ #18397]
16402         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
16403         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
16404         <fpu_control.h> instead of <math/fpu_control.c>.
16405         * sysdeps/mips/mips32/fpu/Makefile: New file.
16407 2015-05-11  Andreas Schwab  <schwab@suse.de>
16409         [BZ #18007]
16410         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
16411         nss_endgrent.
16412         (_nss_compat_endgrent): Call nss_endgrent.
16413         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
16414         nss_endpwent.
16415         (_nss_compat_endpwent): Call nss_endpwent.
16416         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
16417         needent, call nss_setspent only if non-zero.
16418         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
16419         (internal_endspent): Don't call nss_endspent.
16420         (_nss_compat_endspent): Call nss_endspent.
16421         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
16422         Remove.  All uses removed.
16423         (internal_setent): Remove parameter stayopen, add parameter
16424         stream.  Use it instead of global variable.
16425         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
16426         (internal_endent, internal_getent): Add parameter stream.  Use it
16427         instead of global variable.
16428         (CONCAT(_nss_files_end,ENTNAME))
16429         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
16430         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
16431         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
16432         uses removed.
16433         (internal_setent, internal_endent): Add parameter stream.  Use it
16434         instead of global variable.
16435         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
16436         stream.
16437         (get_next_alias): Add parameter stream.
16438         (_nss_files_getaliasent_r): Pass global stream.
16439         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
16440         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
16441         (_nss_files_gethostbyname4_r): Pass local stream to
16442         internal_setent, internal_getent and internal_endent.  Remove
16443         locking.
16445 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16447         * tst-strfmon1.c (tests): Update expected currency symbol.
16449 2015-05-08  Roland McGrath  <roland@hack.frob.com>
16451         * sysdeps/nacl/gethostname.c: New file.
16453 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
16455         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
16456         and sinh.
16457         * math/auto-libm-test-out: Regenerated.
16458         * sysdeps/i386/fpu/libm-test-ulps: Update.
16459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16461 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
16463         [BZ #18125]
16464         * stdlib/tst-setcontext3.c: New file.
16465         * stdlib/tst-setcontext3.sh: New file.
16466         * stdlib/Makefile (tests): Add tst-setcontext3.
16467         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
16468         to verify test program created output file.
16469         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
16470         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
16471         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
16472         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
16474 2015-05-06  Roland McGrath  <roland@hack.frob.com>
16476         [BZ #18383]
16477         * elf/tst-tlsalign.c: New file.
16478         * elf/tst-tlsalign-static.c: New file.
16479         * elf/tst-tlsalign-lib.c: New file.
16480         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
16481         (tests-static): Add tst-tlsalign-static.
16482         (modules-names): Add tst-tlsalign-lib.
16483         (test-xfail-tst-tlsalign): New variable.
16484         (test-xfail-tst-tlsalign-static): New variable.
16486         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
16487         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
16489 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
16491         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
16492         csqrt, erfc, sin and sincos.
16493         * math/auto-libm-test-out: Regenerated.
16494         * sysdeps/i386/fpu/libm-test-ulps: Update.
16495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16497 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16499         * sysdeps/aarch64/libm-test-ulps: Update.
16501 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
16503         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
16504         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
16505         * math/auto-libm-test-out: Regenerated.
16506         * sysdeps/i386/fpu/libm-test-ulps: Update.
16507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16509 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
16511         [BZ #18265]
16512         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
16513         (wcsncpy): Likewise.
16515 2015-05-05  Florian Weimer  <fweimer@redhat.com>
16517         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16518         Assume __ASSUME_FALLOCATE is always true.
16519         * sysdeps/unix/sysv/linux/posix_fallocate64.c
16520         (__posix_fallocate64_l64): Likweise.
16521         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
16522         (posix_fallocate): Likewise.
16523         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
16524         (__posix_fallocate64_l64): Likewise.
16525         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16526         [!__ASSUME_FALLOCATE]: Add comment.
16528 2015-05-05  Florian Weimer  <fweimer@redhat.com>
16530         * sysdeps/unix/sysv/linux/i386/Makefile
16531         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
16532         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
16533         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
16534         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16535         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16536         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
16537         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
16539 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
16541         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
16542         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
16543         tgamma.
16544         * math/auto-libm-test-out: Regenerated.
16545         * sysdeps/i386/fpu/libm-test-ulps: Update.
16546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16548 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
16550         * math/auto-libm-test-in: Add more tests of tgamma.
16551         * math/auto-libm-test-out: Regenerated.
16552         * sysdeps/i386/fpu/libm-test-ulps: Update.
16553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16555         * math/auto-libm-test-in: Add more tests of tanh.
16556         * math/auto-libm-test-out: Regenerated.
16557         * sysdeps/i386/fpu/libm-test-ulps: Update.
16558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16560         * math/auto-libm-test-in: Add more tests of tan.
16561         * math/auto-libm-test-out: Regenerated.
16562         * sysdeps/i386/fpu/libm-test-ulps: Update.
16563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16565         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
16566         * math/auto-libm-test-out: Regenerated.
16567         * sysdeps/i386/fpu/libm-test-ulps: Update.
16568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16570         * math/auto-libm-test-in: Add another test of pow.
16571         * math/auto-libm-test-out: Regenerated.
16572         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16574         * math/auto-libm-test-in: Add more tests of lgamma.
16575         * math/auto-libm-test-out: Regenerated.
16576         * sysdeps/i386/fpu/libm-test-ulps: Update.
16577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16579         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
16580         log1p.
16581         * math/auto-libm-test-out: Regenerated.
16582         * sysdeps/i386/fpu/libm-test-ulps: Update.
16583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16585 2015-05-01  Mark Wielaard  <mjw@redhat.com>
16587         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
16588         Elf64_Chdr structs and ELFCOMPRESS constants.
16590 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
16592         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
16593         expm1.
16594         * math/auto-libm-test-out: Regenerated.
16595         * sysdeps/i386/fpu/libm-test-ulps: Update.
16596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16598         * math/auto-libm-test-in: Add more tests of erf and erfc.
16599         * math/auto-libm-test-out: Regenerated.
16600         * sysdeps/i386/fpu/libm-test-ulps: Update.
16601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16603 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16605         * config.h.in (HAVE_AARCH64_BE): Add.
16607 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
16609         * math/auto-libm-test-in: Add more tests of csqrt.
16610         * math/auto-libm-test-out: Regenerated.
16611         * sysdeps/i386/fpu/libm-test-ulps: Update.
16612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16614         * math/auto-libm-test-in: Add more tests of cosh and sinh.
16615         * math/auto-libm-test-out: Regenerated.
16616         * sysdeps/i386/fpu/libm-test-ulps: Update.
16617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16619         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
16621 2015-04-29  Roland McGrath  <roland@hack.frob.com>
16623         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
16624         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
16626         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
16627         (euidaccess, eaccess): Define as weak aliases.
16629         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
16630         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
16631         but __suseconds_t is often 'long int' so some sources assume that
16632         type is being used (e.g. they use %ld to print tv_usec).
16634 2015-04-29  Florian Weimer  <fweimer@redhat.com>
16636         [BZ #18007]
16637         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
16638         (CVE-2014-8121)
16639         * nss/tst-nss-getpwent.c: New file.
16640         * nss/Makefile (tests): Add new test.
16642 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
16644         [BZ #18346]
16645         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
16646         exponents less than 48 as cases where high part of mantissa needs
16647         examining to determine whether argument is integral.
16648         * math/libm-test.inc (round_test_data): Add more tests.
16650 2015-04-28  Mark Wielaard  <mjw@redhat.com>
16652         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
16654 2015-04-27  David S. Miller  <davem@davemloft.net>
16656         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
16657         __tls_get_addr.
16658         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
16660 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
16662         [BZ#18333]
16663         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
16665 2015-04-27  Florian Weimer  <fweimer@redhat.com>
16667         [BZ#18333]
16668         * time/tzset.c (parse_tzname): Return error on memory allocation
16669         failure.
16670         * test-skeleton.c (struct temp_name_list): Change type of name
16671         member to non-const.
16672         (add_temp_file): Create a copy of the file name.
16673         (delete_temp_files): Deallocate memory.
16674         (create_temp_file): Add comment.
16676 2015-04-24  Florian Weimer  <fweimer@redhat.com>
16678         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
16679         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
16681 2015-04-24  Roland McGrath  <roland@hack.frob.com>
16683         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
16684         * sysdeps/arm/configure: Regenerated.
16686 2015-04-24  Florian Weimer  <fweimer@redhat.com>
16688         [BZ #17715]
16689         * time/tzfile.c (__tzfile_read): Check for large values of
16690         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
16691         * time/tzset.c (__tzstring_len): New function, based on the old
16692         __tzstring function.
16693         (__tzstring): Call __tzstring_len.
16694         (parse_tzname): New helper function extracted from
16695         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
16696         the input string.
16697         (parse_offset): New helper function extracted from
16698         __tzset_parse_tz.  Replace switch with fallthrough with
16699         initialization before sscanf.
16700         (parse_rule): Likewise.
16701         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
16702         new-style function definition.
16703         * timezone/Makefile (tests): Add tst-tzset.
16704         (tst-tzset.out): Dependencies on time zone files.
16705         (tst-tzset-ENV): Set TZDIR.
16706         (testdata/XT%): Copy crafted time zone files.
16707         * timezone/README: Mention crafted time zone files.
16708         * timezone/testdata/XT1, timezone/testdata/XT2,
16709         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
16710         files.
16711         * timezone/tst-tzset.c: New test.
16713 2015-04-24  Florian Weimer  <fweimer@redhat.com>
16715         * Makeconfig (+gccwarn): Remove -Winline.
16717 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16719         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
16721 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16723         * NEWS: Mention sysconf() cache information support for s390.
16724         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
16726 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
16728         * math/k_casinh.c (__kernel_casinh): Use __copysign.
16729         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
16730         (__nearbyint): Likewise.
16731         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
16732         (copysignl): Likewise.
16734 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
16736         [BZ #18287]
16737         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
16738         based on padding.  (CVE-2015-1781)
16740 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16742         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
16743         libc-vdso.h.
16744         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
16745         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
16746         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
16747         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16748         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16749         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
16750         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
16751         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16752         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
16753         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
16754         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16755         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16756         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
16757         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
16758         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16759         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
16760         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
16761         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
16762         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
16763         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
16764         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
16765         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
16766         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
16768 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
16770         * stdlib/setenv.c (__add_to_environ):
16771         Dump core quickly if setenv (..., NULL, ...) is called.
16772         This time, do it the right way, and pacify GCC with a pragma.
16774 2015-04-17  Roland McGrath  <roland@hack.frob.com>
16776         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
16777         IMAP->l_prev cannot be null, and #if out the code for the contrary
16778         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
16779         believe that NS (&_dl_ns[NSID]) could point outside the array.
16781         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
16782         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
16783         before using NSID as an index.
16785 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
16787         [BZ #17825]
16788         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
16789         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
16790         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16792 2015-04-17  Roland McGrath  <roland@hack.frob.com>
16794         Add preliminary port to Google Native Client on ARM.
16795         * abi-tags (.*-.*-nacl.*): New entry.
16796         * sysdeps/arm/nacl: New directory.
16797         * sysdeps/nacl: New directory.
16799 2015-04-16  David S. Miller  <davem@davemloft.net>
16801         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
16802         lowlevellock-futex.h
16804 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
16806         * sysdeps/tile/configure.ac: New file.
16807         * sysdeps/tile/configure: Regenerated.
16809 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16811         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
16812         conditionals for weak_alias and libc_hidden_weak.
16813         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
16814         libc_hidden_weak and weak_alias.
16815         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
16816         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
16817         and weak_alias for static one.
16819 2015-04-15  David S. Miller  <davem@davemloft.net>
16821         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16823 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16825         [BZ #18206]
16826         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
16827           Use signed comparision instead of substraction to avoid
16828           overflow bug.
16829         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
16830           Take the sign of ret.
16831         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
16832           Do not expect precise return values. Only the sign matters.
16833         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
16834         * wcsmbs/test-wcsncmp.c: New File.
16835         * string/test-strncmp.c: Add wcsncmp support.
16837 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16839         [BZ #6792]
16840         * math/w_log1p.c: New file.
16841         * math/w_log1pf.c: Likewise.
16842         * math/w_log1pl.c: Likewise.
16843         * math/Makefile (libm-calls): Add w_log1p.
16844         * math/s_log1pl.c (log1pl): Remove weak_alias.
16845         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
16846         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
16847         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
16848         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
16849         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
16850         [NO_LONG_DOUBLE] (log1pl): Likewise.
16851         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
16852         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
16853         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
16854         (log1p): Remove long_double_symbol.
16855         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
16856         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
16857         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
16858         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
16859         remove weak_alias for corresponding log1p function.
16860         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
16861         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
16862         * sysdeps/ia64/fpu/w_log1p.c: New file.
16863         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
16864         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
16865         * math/libm-test.inc (log1p_test_data): Add errno expectations.
16867 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
16869         [BZ #18247]
16870         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
16871         decimal exponent by 1.
16872         * stdlib/tst-strtod-round-data: Add more tests.
16873         * stdlib/tst-strtod-round.c (tests): Regenerated.
16875 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
16877         * math/auto-libm-test-in: Add more tests of clog and clog10.
16878         * math/auto-libm-test-out: Regenerated.
16879         * sysdeps/i386/fpu/libm-test-ulps: Update.
16880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16882 2015-04-09  Roland McGrath  <roland@hack.frob.com>
16884         * Makeconfig (module-cppflags): Exclude all .v.i files.
16885         (skip-module-cppflags): Variable removed.
16887         * configure.ac (libc_config_ok): Initialize before reading
16888         preconfigure scripts, not after.
16889         * configure: Regenerated.
16891         * test-skeleton.c (TIMEOUT): Move #define to top level.
16892         (main): Grok environment variable TEST_DIRECT.  If set, print
16893         test expectation details into that file and then behave as if
16894         given --direct.
16896 2015-04-09  Florian Weimer  <fweimer@redhat.com>
16898         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
16899         warning on 32-bit.
16901 2015-04-08  David S. Miller  <davem@davemloft.net>
16903         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16905 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
16907         * math/auto-libm-test-in: Add more tests of atanh.
16908         * math/auto-libm-test-out: Regenerated.
16909         * sysdeps/i386/fpu/libm-test-ulps: Update.
16910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16912         * math/auto-libm-test-in: Add more tests of atan.
16913         * math/auto-libm-test-out: Regenerated.
16914         * sysdeps/i386/fpu/libm-test-ulps: Update.
16915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16917 2015-04-08  Florian Weimer  <fweimer@redhat.com>
16919         * elf/pldd.c (main): Rewrite to use struct
16920         scratch_buffer instead of extend_alloca.
16921         * elf/pldd-xx.c (find_maps): Likewise.
16922         * grp/initgroups.c: Include <scratch_buffer.h> instead of
16923         <alloca.h>.
16924         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
16925         scratch_buffer instead of extend_alloca.
16926         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
16927         grp/compat-initgroups.c.
16928         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
16929         Rewrite to use struct scratch_buffer instead of extend_alloca.
16930         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
16931         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16933 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
16935         * math/auto-libm-test-in: Add more tests of cbrt.
16936         * math/auto-libm-test-out: Regenerated.
16937         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16939         * math/auto-libm-test-in: Add more tests of cabs.
16940         * math/auto-libm-test-out: Regenerated.
16941         * sysdeps/i386/fpu/libm-test-ulps: Update.
16942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16944         [BZ #18210]
16945         [BZ #18211]
16946         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
16947         (__ieee754_atan2): Set FE_TONEAREST mode for internal
16948         computations.
16949         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
16950         clog10.
16951         * math/auto-libm-test-out: Regenerated.
16952         * sysdeps/i386/fpu/libm-test-ulps: Update.
16953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16955         [BZ #18197]
16956         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
16957         (atan): Set FE_TONEAREST mode for internal computations.
16958         * math/auto-libm-test-in: Add more tests of atan.
16959         * math/auto-libm-test-out: Regenerated.
16961 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
16963         [BZ #17930]
16964         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
16966 2015-04-07  Florian Weimer  <fweimer@redhat.com>
16968         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
16970 2015-04-07  Florian Weimer  <fweimer@redhat.com>
16972         * include/scratch_buffer.h: New file.
16973         * malloc/scratch_buffer_grow.c: Likewise.
16974         * malloc/scratch_buffer_grow_preserve.c: Likewise.
16975         * malloc/scratch_buffer_set_array_size.c: Likewise.
16976         * malloc/tst-scratch_buffer.c: Likewise.
16977         * malloc/Makefile (routines): Add scratch_buffer_grow.
16978         (tests): Add test case.
16979         * malloc/Versions (GLIBC_PRIVATE): Export
16980         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
16981         __libc_scratch_buffer_set_array_size.
16983 2015-04-06  Richard Henderson  <rth@redhat.com>
16985         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
16986         * sysdeps/alpha/fpu/libm-test-ulps: Update.
16988         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
16989         unsigned int before printing.
16991 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16993         [BZ #17596]
16994         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
16995         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16997 2015-04-02  Florian Weimer  <fweimer@redhat.com>
16999         * include/libc-internal.h (libc_max_align_t): Define.
17001 2015-04-02  Andreas Schwab  <schwab@suse.de>
17003         [BZ #16850]
17004         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
17006 2015-04-02  Mel Gorman  <mgorman@suse.de>
17008         [BZ #17195]
17009         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
17010         as well as the main arena.
17012 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
17014         [BZ #18185]
17015         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
17016         sharing L2 cache to 2 for Silvermont/Knights Landing.
17018 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
17020         [BZ #17711]
17021         * config.make.in (have-protected-data): New.
17022         * configure.ac: Check linker support for protected data symbol.
17023         * configure: Regenerated.
17024         * elf/Makefile (modules-names): Add tst-protected1moda and
17025         tst-protected1modb if $(have-protected-data) is yes.
17026         (tests): Add tst-protected1a and tst-protected1b if
17027         $(have-protected-data) is yes.
17028         ($(objpfx)tst-protected1a): New.
17029         ($(objpfx)tst-protected1b): Likewise.
17030         (tst-protected1modb.so-no-z-defs): Likewise.
17031         * elf/tst-protected1a.c: New file.
17032         * elf/tst-protected1b.c: Likewise.
17033         * elf/tst-protected1mod.h: Likewise.
17034         * elf/tst-protected1moda.c: Likewise.
17035         * elf/tst-protected1modb.c: Likewise.
17037 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
17039         [BZ #17711]
17040         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
17041         indicates it is called from do_lookup_x on relocation against
17042         protected data, skip the data definion in the executable from
17043         copy reloc.
17044         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
17045         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
17046         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
17047         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
17048         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
17049         otherwise to 0.
17050         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
17051         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
17052         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
17053         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
17054         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
17055         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
17057 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
17059         * sysdeps/nptl/pthread.h: Remove duplicate definition of
17060         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
17062 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
17064         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
17065         THREAD_SETMEM_NC.
17066         * sysdeps/x86_64/nptl/tls.h: Ditto.
17068 2015-03-27  Roland McGrath  <roland@hack.frob.com>
17070         * dlfcn/tststatic.c (main): Converted to ...
17071         (do_test): ... this.
17072         (TEST_FUNCTION): New macro.
17073         Include test-skeleton.c.
17075 2015-03-26  Alan Modra  <amodra@gmail.com>
17077         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
17078         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
17079         zero for undefined weak.
17080         (elf_machine_plt_conflict): Similarly.
17082 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
17084         * math/auto-libm-test-in: Add more tests of acosh, asinh and
17085         atanh.
17086         * math/auto-libm-test-out: Regenerated.
17087         * sysdeps/i386/fpu/libm-test-ulps: Update.
17088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17090         * math/auto-libm-test-in: Add another test of asin.
17091         * math/auto-libm-test-out: Regenerated.
17092         * sysdeps/i386/fpu/libm-test-ulps: Update.
17093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17095         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
17096         Remove macro.
17097         (LLL_EBX_REG): Likewise.
17098         (LLL_ENTER_KERNEL): Likewise.
17100         * math/auto-libm-test-in: Add more tests of asin.
17101         * math/auto-libm-test-out: Regenerated.
17102         * sysdeps/i386/fpu/libm-test-ulps: Update.
17103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17105         [BZ #18138]
17106         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
17107         libc_do_syscall_args): New structure.
17108         (INTERNAL_SYSCALL_MAIN_0): New macro.
17109         (INTERNAL_SYSCALL_MAIN_1): Likewise.
17110         (INTERNAL_SYSCALL_MAIN_2): Likewise.
17111         (INTERNAL_SYSCALL_MAIN_3): Likewise.
17112         (INTERNAL_SYSCALL_MAIN_4): Likewise.
17113         (INTERNAL_SYSCALL_MAIN_5): Likewise.
17114         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
17115         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
17116         Replace conditional definitions by conditional definitions of ....
17117         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
17118         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
17119         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
17120         (libpthread-sysdep_routines): Add libc-do-syscall.
17121         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
17122         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
17123         to __NR_futex not 240.
17125 2015-03-25  Alan Modra  <amodra@gmail.com>
17127         * NEWS: Advertise TLS optimization.
17128         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
17129         (DT_PPC_NUM): Increment.
17130         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
17131         (CHECK_STATIC_TLS): Use here.
17132         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
17133         TLS descriptors.
17134         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17135         * sysdeps/powerpc/dl-tls.c: New file.
17136         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
17137         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
17138         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
17139         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
17140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
17141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
17142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
17144 2015-03-25  Alan Modra  <amodra@gmail.com>
17146         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
17147         for overlapping .opd entries" to "support...".
17148         * sysdeps/powerpc/powerpc64/configure: Regenerate
17150 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
17152         * math/auto-libm-test-in: Add more tests of acos.
17153         * math/auto-libm-test-out: Regenerated.
17154         * sysdeps/i386/fpu/libm-test-ulps: Update.
17155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17157         * math/auto-libm-test-in: Add more tests of expm1.
17158         * math/auto-libm-test-out: Regenerated.
17159         * sysdeps/i386/fpu/libm-test-ulps: Update.
17160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17162 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
17164         * math/auto-libm-test-in: Add more tests of cosh and sinh.
17165         * math/auto-libm-test-out: Regenerated.
17166         * sysdeps/i386/fpu/libm-test-ulps: Update.
17167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17169         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17172         * math/auto-libm-test-in: Add more tests of log2.
17173         * math/auto-libm-test-out: Regenerated.
17174         * sysdeps/i386/fpu/libm-test-ulps: Update.
17175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17177 2015-03-23  Roland McGrath  <roland@hack.frob.com>
17179         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
17180         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
17181         _IO_IS_APPENDING bit in READ_WRITE instead.
17183 2015-03-23  Florian Weimer  <fweimer@redhat.com>
17185         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
17186         (__determine_cpumask_size): Replace extend_alloca with a
17187         variable-length array.  Do not treat res == 0 as an error.
17189 2015-03-23  Florian Weimer  <fweimer@redhat.com>
17191         [BZ #18100]
17192         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
17193         and integer overflow.
17194         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
17195         (main): Add integer overflow tests.
17196         * manual/pattern.texi (Calling Wordexp): Document additional use
17197         for WRDE_SYNTAX.
17199 2015-03-23  Alan Modra  <amodra@gmail.com>
17201         * config.h.in: Remove HAVE_ASM_PPC_REL16.
17202         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
17203         and false branch of conditional.
17204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17205         Likewise.
17207 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
17209         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
17210         libc-modules.h
17211         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
17212         unused declaration of _hurd_intr_rpc_msg_in_trap.
17213         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
17214         defined instead of whether it is non-zero.
17215         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
17216         input constraint instead of both input and output constraint.  Use ecx
17217         clobber instead of %ecx.
17218         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
17219         mutex_unlock): Use a statement expression instead of an expression list.
17220         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
17221         type to vm_size_t instead of vm_address_t.
17222         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
17223         defined instead of whether it is non-zero.
17224         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
17225         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
17226         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
17227         comparisons with mapaddr.
17228         * nscd/nscd-client.h: Include <time.h>.
17229         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
17230         9th parameter to __vm_region instead of int.
17231         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
17232         * scripts/check-local-headers.sh (exclude): Add device/,
17233         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
17234         cthreads.h.
17236 2015-03-19  Roland McGrath  <roland@hack.frob.com>
17238         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
17239         to account for alignment padding.
17240         * sysdeps/arm/memmove.S: Likewise.
17242 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
17244         * sysdeps/unix/sysv/linux/generic/README: New file.
17246 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
17248         [BZ #18138]
17249         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
17250         (futex_abstimed_wait)
17251         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
17252         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
17253         of lll_futex_timed_wait.
17255 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
17257         [BZ #17542]
17258         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
17260 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
17262         [BZ #17090]
17263         [BZ #17620]
17264         [BZ #17621]
17265         [BZ #17628]
17266         * NEWS: Update.
17267         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
17268         entries with Static TLS too.  Skip entries past the end of the
17269         allocated DTV, from Alan Modra.
17270         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
17271         Static TLS DTV entry set up from...
17272         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
17273         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
17274         * nptl/allocatestack.c (init_one_static_tls): ... and here...
17275         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
17276         for Static TLS.
17277         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
17278         that the slot we find is associated with the given map before
17279         using its generation count.
17280         * nptl_db/db_info.c: Include ldsodefs.h.
17281         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
17282         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
17283         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
17284         (link_map::l_tls_offset): New struct field.
17285         (dtv_t::counter): Likewise.
17286         (rtld_global): New struct.
17287         (_rtld_global): New rtld variable.
17288         (dl_tls_dtv_slotinfo_list): New rtld global field.
17289         (dtv_slotinfo_list): New struct.
17290         (dtv_slotinfo): Likewise.
17291         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
17292         (td_lookup): Rename to...
17293         (td_mod_lookup): ... this.  Use new mod parameter instead of
17294         LIBPTHREAD_SO.
17295         * nptl_db/td_thr_tlsbase.c: Include link.h.
17296         (dtv_slotinfo_list, dtv_slotinfo): New functions.
17297         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
17298         addresses even if the DTV is out of date or missing them.
17299         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
17300         index zero-length arrays.
17301         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
17302         (td_lookup): Make it a macro implemented in terms of...
17303         (td_mod_lookup): ... this declaration.
17304         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
17305         (DB_MAIN_VARIABLE): Likewise.
17307 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17309         [BZ #18134]
17310         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
17312 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
17314         * stdlib/setenv.c (__add_to_environ): Revert previous change.
17316 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
17318         [BZ #18128]
17319         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
17320         (atomic_add, atomic_increment_and_test)
17321         (atomic_decrement_and_test): Fix 64-bit arithmetic.
17323 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
17325         * stdlib/setenv.c (__add_to_environ):
17326         Dump core quickly if setenv (..., NULL, ...) is called.
17328 2015-03-13  Roland McGrath  <roland@hack.frob.com>
17330         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
17331         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
17332         all the necessary asm magic in one place.
17333         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
17334         using those.
17336 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
17338         [BZ #14906]
17339         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
17340         traced file mtime. Use consistent log message.
17341         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
17342         (register_traced_file): Call install_watches. Always set mtime.
17343         (invalidate_cache): Iterate over all trace files. Call install_watches.
17344         (inotify_check_files): Don't inline. Handle watching parent
17345         directories and configuration file movement in and out.
17346         (handle_inotify_events): New function.
17347         (main_loop_poll): Call handle_inotify_events.
17348         (main_loop_epoll): Likewise.
17349         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
17350         (struct traced_file): Use array of inotify fds. Add parent directory,
17351         and basename.
17352         (struct database_dyn): Remove unused file_mtime.
17353         (init_traced_file): New inline function.
17354         (define_traced_file): New macro.
17355         * nss/nss_db/db-init.c: Use define_traced_file.
17356         (_nss_db_init): Use init_traced_file.
17357         * nss/nss_files/files-init.c: Use define_traced_file.
17358         (_nss_files_init): Use init_traced_file.
17360 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
17362         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
17363         [_LIBC]: Do not include <stdlib.h>.
17364         [!_LIBC] (abort): Remove declaration.
17365         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
17366         _FP_STATIC_ASSERT instead of conditionally calling abort.
17367         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
17368         (_FP_EXTEND_CNAN): Likewise.
17369         (FP_TRUNC): Likewise.
17370         (__FP_CLZ): Likewise.
17371         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
17373 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
17375         * manual/string.texi (XPG basename): Fix prototype.
17377 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17379         [BZ #18080]
17380         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
17381         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
17382         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
17383         (__setcontext): Likewise.
17384         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
17385         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
17386         Call rt_sigprocmask syscall one time to set new signal mask
17387         and retrieve the current signal mask instead of two calls.
17388         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
17389         (__swapcontext): Likewise.
17390         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
17391         * stdlib/tst-setcontext2.c: New file.
17393 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17395         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17397 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
17399         [BZ #18093]
17400         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
17401         the wrong size.
17403 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17405         [BZ #18043]
17406         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
17408 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17410         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
17411         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
17412         Remove define.
17413         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
17414         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
17415         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
17416         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
17417         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
17418         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
17419         define.
17420         * nptl_db/td_symbol_list.c (td_lookup): Remove
17421         HAVE_ASM_GLOBAL_DOT_NAME code.
17422         * sysdeps/powerpc/powerpc64/configure.ac: Remove
17423         HAVE_ASM_GLOBAL_DOT_NAME check.
17424         * sysdeps/powerpc/powerpc64/configure: Regenerate.
17425         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
17426         (DOT_LABEL): Remove define.
17427         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
17428         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
17429         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
17430         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
17431         (__TLS_GET_ADDR): Likewise.
17432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
17433         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
17435 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
17437         [BZ #18111]
17438         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
17439         (_FPU_SETCW): Initialize cw from fpsr before storing.
17440         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
17441         (fesetexceptflag): Rewrite using fpu_control.h.
17442         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
17444 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
17446         [BZ #18110]
17447         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
17448         asms.
17449         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
17451 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
17453         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
17454         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
17455         abort.
17456         (_FP_FMA): Likewise.
17457         (_FP_DIV): Likewise.
17459 2015-03-10  Roland McGrath  <roland@hack.frob.com>
17461         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
17462         with 0 in that case.
17463         * Makefile (summarize-tests): New canned sequence, factored out of
17464         commands for targets tests and xtests.  Display summary lines that
17465         don't start with PASS: or XFAIL: rather than ones that do start with
17466         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
17467         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
17468         do start with ERROR: or FAIL:.
17469         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
17470         (except for [$(build-shared) = yes]).
17471         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
17472         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
17473         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
17474         * nptl/Makefile: Revert 2015-03-04 changes.
17475         [$(CXX) empty] (tests-unsupported): New variable.
17476         * debug/Makefile: Likewise.
17478         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
17479         gnulib file.  Replace __attribute with __attribute__ throughout.
17481 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
17483         * sysdeps/hppa/fpu/libm-test-ulps: Update.
17485 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
17487         [BZ #18104]
17488         * math/auto-libm-test-in: Add another test of pow.
17489         * math/auto-libm-test-out: Regenerated.
17491 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17493         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
17494         $(config-cflags-nofma).
17496 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
17498         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
17499         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
17500         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
17501         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
17502         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
17503         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
17504         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
17505         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
17506         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
17507         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
17508         Add comment on closing #endif.
17510 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17512         * posix/wordexp.c (CHAR_IN_SET): New macro.
17513         (parse_param): Use it.
17515 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17517         * sysdeps/powerpc/fpu/libm-test-ulps: update.
17519 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17521         [BZ #18043]
17522         * posix/wordexp.c (parse_param): Fix buffer overflow.
17523         * posix/wordexp-test.c (test_case): Add test case.
17525 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17527         [BZ #18042]
17528         * posix/wordexp.c (parse_backtick): Fix off-by-one.
17529         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
17531 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17533         [BZ #18043]
17534         * posix/wordexp-test.c (test_case): Add test for BZ #18043
17535         (do_bz18043): Delete.
17536         (at_page_end): New.
17537         (testit): Refactor to have words at the edge of unreadable page.
17539 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17541         [BZ #16734]
17542         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
17543         Cleanup read-only streams as well.
17544         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
17546 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17548         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
17549         <bits/libc-lockP.h>
17551 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
17553         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
17554         on [__KERNEL__].
17555         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
17556         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
17557         * soft-fp/op-common.h (_FP_DECL): Likewise.
17559 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
17561         * elf/ifuncdep2.c (global): Replace
17562         __attribute__((visibility("protected"))) with
17563         asm (".protected global").
17564         * elf/ifuncmod1.c (global): Likewise.
17565         * elf/ifuncmod5.c (global): Likewise.
17567 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
17569         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
17570         <asm/sfp-machine.h> instead of <sfp-machine.h>.
17572 2015-03-06  Roland McGrath  <roland@hack.frob.com>
17574         * manual/install.texi (Configuring and compiling):
17575         Document test-wrapper-env-only.
17576         * INSTALL: Regenerated.
17578 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17580         [BZ #18043]
17581         * posix/wordexp.c (parse_param): Fix buffer overflow.
17582         * posix/wordexp-test.c (do_bz18043): Add test case.
17584 2015-03-06  Vincent Bernat  <vincent@bernat.im>
17586         * time/tst-strptime2.c (do_test): Ensure failing tests are
17587         reported correctly.
17588         * time/tst-strptime3.c (do_test): Likewise.
17590 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
17592         Fix aio_error thread-safety.
17593         * sysdeps/pthread/aio_error.c: New file
17594         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
17595         synchronization.
17597 2015-03-06  Florian Weimer  <fweimer@redhat.com>
17599         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
17600         (group_number, vfprintf): Use it.
17601         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
17602         (JUMP, REF): Use it.
17603         (WORK_BUFFER_SIZE): New enum constant.
17604         (process_arg, vfprintf): Use it.
17606 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
17608         * manual/errno.texi (Error Messages): Complete example function
17609         by adding missing #define.
17610         (program_invocation_name): Add statement indicating GNU
17611         extension and reference which header file declares the variable.
17612         (program_invocation_short_name): Likewise.
17614 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
17616         * manual/errno.texi (Error Messages): Delete strerror ISO C89
17617         compatibility note.
17619 2015-03-05  Roland McGrath  <roland@hack.frob.com>
17621         * Makeconfig (test-wrapper-env-only): New variable.
17622         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
17623         then use that with $(test-wrapper-env-only) rather than using
17624         $(test-wrapper-env) $(run-program-env) $($*-ENV).
17626 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
17628         [BZ #18082]
17629         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
17630         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
17631         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
17632         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
17633         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
17634         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
17635         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
17636         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
17637         Likewise.
17638         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
17639         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
17640         Likewise.
17641         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
17642         Likewise.
17643         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
17644         Likewise.
17645         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
17646         Likewise.
17647         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
17648         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
17649         Likewise.
17650         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
17651         Likewise.
17652         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
17653         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
17655 2015-03-04  Roland McGrath  <roland@hack.frob.com>
17657         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
17658         (ETH_ALEN): New macro.
17659         (struct ether_addr): Use it for length of ether_addr_octet.
17661         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
17662         (setdb): Don't call __nss_configure_lookup for "rpc".
17663         (do_test): Don't call test_rpc.
17664         (output_rpcent, test_rpc): Functions moved ...
17665         * sunrpc/test-rpcent.c: ... to this new file.
17666         * sunrpc/Makefile (tests): Add it.
17668         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
17669         __xpg_sigpause.
17670         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
17671         * nptl/tst-signal6.c: Likewise.
17672         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
17673         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
17675         * configure.ac (libc_cv_cxx_link_ok): New check.
17676         Reset CXX to empty if it fails to link.
17677         * configure: Regenerated.
17678         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
17679         bug-atexit3-lib only if $(CXX) is nonempty.
17680         * nptl/Makefile (tests): Likewise for tst-cancel24.
17681         (tests, tests-static): Likewise for tst-cancel24-static.
17682         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
17683         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
17684         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
17685         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
17687 2015-03-04  Andreas Schwab  <schwab@suse.de>
17689         [BZ #17631]
17690         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
17691         for non-GCC compilers.
17692         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17693         Likewise.
17695 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17697         [BZ #17776]
17698         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
17699         integer before bitwise and assembly operations.
17700         (feclearexcept): Likewise.
17701         * math/test-fenvinline.c: New file.
17702         * math/Makefile: Add test-fenvinline test.
17704 2015-03-03  Alan Modra  <amodra@gmail.com>
17706         [BZ #16512]
17707         * scripts/localplt.awk: Strip off symbol version.
17708         * NEWS: Mention bug fix.
17710 2015-03-02  Roland McGrath  <roland@hack.frob.com>
17712         * sysdeps/pthread/timer_routines.c
17713         (timer_free_list, thread_free_list, thread_active_list): Make static.
17715 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
17717         [BZ #17779]
17718         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17719         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
17720         Undefine.
17721         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17722         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
17723         Likewise.
17724         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17725         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
17726         Likewise.
17728 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
17730         [BZ #18036]
17731         * posix/fnmatch_loop.c (END): Detect invalid pattern.
17732         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
17734 2015-03-02  Andreas Schwab  <schwab@suse.de>
17736         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
17737         variable name.
17739 2015-03-02  Florian Weimer  <fweimer@redhat.com>
17741         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
17742         Return error status.
17744 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
17746         [BZ #15969]
17747         * locale/findlocale.c (_nl_find_locale): Introduce const
17748         version of loc_name and drop unsafe type casts.
17750 2015-02-27  Roland McGrath  <roland@hack.frob.com>
17752         * dlfcn/tststatic2.c (main): Converted to ...
17753         (do_test): ... this.
17754         (TEST_FUNCTION): New macro.
17755         Include test-skeleton.c.
17757 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
17759         [BZ #17711]
17760         * elf/Makefile (tests): Add vismain only if PIE is enabled.
17761         (tests-pie): Add vismain.
17762         (CFLAGS-vismain.c): New.
17763         * elf/vismain.c: Add comments for PIE requirement.
17765 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
17767         [BZ #18046]
17768         [BZ #18047]
17769         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
17770         0x1p-56L as threshold for just returning the argument.
17771         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
17772         0x1p-32L as threshold for just returning the argument.
17773         * math/auto-libm-test-in: Add more tests of atanh.
17774         * math/auto-libm-test-out: Regenerated.
17775         * sysdeps/i386/fpu/libm-test-ulps: Update.
17776         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
17778 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
17780         * string/bcopy.c (bcopy): Call memmove for performance.
17782 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
17784         * string/bzero.c (__bzero): Call memset for performance.
17786 2015-02-27  John David Anglin  <dave.anglin@bell.net>
17788         [BZ #18068]
17789         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
17790         to 00100000.
17792 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
17794         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
17796 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
17798         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
17799         (__kernel_standard): Use CSTR macro when setting exc.name.
17800         * sysdeps/ieee754/Makefile [$(subdir) = math]
17801         (CFLAGS-k_standard.c): Remove variable.
17803         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
17804         setting p and q from "else if" to "else".
17805         (qzero): Likewise.
17806         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
17807         (qone): Likewise.
17808         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
17809         (qzerof): Likewise.
17810         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
17811         (qonef): Likewise.
17812         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
17813         (qzero): Likewise.
17814         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
17815         (qone): Likewise.
17817         [BZ #18038]
17818         [BZ #18039]
17819         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
17820         return pi/2 for arguments below 0x1p-113L.
17821         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
17822         return pi/2 for arguments below 0x1p-106L.
17823         * math/auto-libm-test-in: Add more tests of acos.
17824         * math/auto-libm-test-out: Regenerated.
17826         [BZ #16351]
17827         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
17828         (MO): New macro.
17829         (__ieee754_asin): Force underflow exception for results with small
17830         absolute value.
17831         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
17832         (MO): New macro.
17833         (__ieee754_asinf): Force underflow exception for results with
17834         small absolute value.
17835         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
17836         (__ieee754_asin): Force underflow exception for results with small
17837         absolute value.
17838         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
17839         (__ieee754_asinf): Force underflow exception for results with
17840         small absolute value.
17841         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
17842         (__ieee754_asinl): Force underflow exception for results with
17843         small absolute value.
17844         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
17845         (__ieee754_asinl): Force underflow exception for results with
17846         small absolute value.
17847         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
17848         (__ieee754_asinl): Force underflow exception for results with
17849         small absolute value.
17850         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
17851         Include <math.h>.
17852         * math/auto-libm-test-in: Do not mark underflow exceptions as
17853         possibly missing for bug 16351.
17854         * math/auto-libm-test-out: Regenerated.
17856         [BZ #18030]
17857         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
17858         of power of 2 down when low part has opposite sign.
17859         * math/libm-test.inc (logb_test_data): Add more tests.
17861 2015-02-26  Andreas Schwab  <schwab@suse.de>
17863         [BZ #18032]
17864         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
17865         over collating symbol inside a bracket expression.  Minor cleanup.
17866         * posix/tst-fnmatch3.c (do_test): Add test case.
17868 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
17870         [BZ #18029]
17871         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
17872         Adjust exponent of power of 2 down when low part has opposite
17873         sign.
17874         * math/libm-test.inc (ilogb_test_data): Add more tests.
17876 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
17878         [BZ #15969]
17879         * locale/findlocale.c (_nl_find_locale): Fix constness error in
17880         the previous change.
17882         [BZ #15969]
17883         * locale/findlocale.c (_nl_find_locale): Retry archive search
17884         after alias expansion.
17886 2015-02-25  Roland McGrath  <roland@hack.frob.com>
17888         * iconv/tst-iconv3.c (main): Converted to ...
17889         (do_test): ... this.
17890         (TEST_FUNCTION): New macro.
17891         Include test-skeleton.c.
17893         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
17894         (convert): Make function static.
17895         (test_unalign): Likewise.  Add const to argument pointee types.
17896         (main): Replace with static function do_test.
17897         Print "Succeeded." only if RET is zero.
17898         (TEST_FUNCTION): New macro.
17899         Include test-skeleton.c.
17901         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
17902         returns a null pointer.
17904 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17906         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
17907         to __memcpy_ppc only for static builds.
17909 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
17911         [BZ #18020]
17912         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
17913         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
17914         * math/auto-libm-test-in: Add more tests of asinh.
17915         * math/auto-libm-test-out: Regenerated.
17916         * sysdeps/i386/fpu/libm-test-ulps: Update.
17917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17919 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
17921         [BZ #15850]
17922         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
17923         and ip6_mtuinfo definitions here.
17924         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
17925         in this define too.  Update comment.
17927 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
17929         * elf/sprof.c (load_shobj): Tweak error message to match others.
17931 2015-02-24  Kevin Easton  <kevin@guarana.org>
17933         [BZ #16145] (partial fix)
17934         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
17935         to reduce lock contention.
17937 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
17939         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
17940         (struct timex): Update time comment.
17941         (ADJ_SETOFFSET): Define.
17943 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
17945         [BZ #18019]
17946         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17947         2**56 not 2**28 as threshold for log (2x) formula.
17948         * math/auto-libm-test-in: Add more tests of acosh.
17949         * math/auto-libm-test-out: Regenerated.
17950         * sysdeps/i386/fpu/libm-test-ulps: Update.
17951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17953 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
17955         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
17956         parenthesis around the buf assignment.
17957         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
17959 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
17961         [BZ #16783]
17962         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
17963         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
17964         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
17965         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
17966         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
17967         * math/libm-test.inc (scalb_test_data): Add more tests.
17969 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
17971         [BZ #17916]
17972         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
17973         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
17975 2015-02-24  Eric Rannaud  <e@nanocritical.com>
17977         [BZ #17523]
17978         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
17979         * io/bits/fcntl2.h (open): Use it.
17980         (openat): Likewise.
17981         * io/open.c (__libc_open): Likewise.
17982         * io/open64.c (__libc_open64): Likewise.
17983         * io/open64_2.c (__open64_2): Likewise.
17984         * io/open_2.c (__open_2): Likewise.
17985         * io/openat.c (__openat): Likewise.
17986         * io/openat64.c (__openat64): Likewise.
17987         * io/openat64_2.c (__openat64_2): Likewise.
17988         * io/openat_2.c (__openat_2): Likewise.
17989         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
17990         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
17991         * sysdeps/posix/open64.c (__libc_open64): Likewise.
17992         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
17993         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
17994         (__open_nocancel): Likewise.
17995         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
17996         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
17997         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
17999 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18001         [BZ #14841]
18002         * resolv/gethnamaddr.c (getanswer): Skip logging if
18003         RES_USE_DNSSEC is set.
18004         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18006 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
18008         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
18010 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
18012         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
18013         201304L, for Unicode 7.
18015 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
18017         [BZ #17836]
18018         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
18019         shared library.  Add gmon-start.os otherwise.
18020         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
18021         $(objpfx)gmon-start.os if builing shared library.
18022         ($(objpfx)g$(static-start-installed-name)): Likewise.
18024 2015-02-23  Andreas Schwab  <schwab@suse.de>
18026         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
18028 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
18030         [BZ #17269]
18031         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
18032         (enlarge_userbuf): Likewise.
18034 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
18036         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
18037         * math/atest-exp.c (TIMEOUT): Adjust to 200.
18038         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
18039         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
18041 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
18043         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
18044         expression inside statement expression.
18046 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18048         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
18049         <sysdeps/nptl/lowlevellock.h> and remove macros and
18050         functions that are now defined there.
18051         (SYS_futex): Remove.
18052         (lll_compare_and_swap): Remove.
18053         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
18055 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
18057         [BZ #17999]
18058         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
18059         instead of scandirat.
18060         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
18061         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
18062         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
18063         __scandirat.
18064         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
18065         (__scandirat): Declare.  Use libc_hidden_proto.
18066         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
18067         Remove variable.
18068         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
18070 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
18072         [BZ #15319]
18073         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
18074         (MO): New macro.
18075         (__ieee754_atan2): For results with small absolute value, force
18076         underflow exception and remove excess range and precision from
18077         return value.
18078         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
18079         (MO): New macro.
18080         (__ieee754_atan2f): For results with small absolute value, force
18081         underflow exception and remove excess range and precision from
18082         return value.
18083         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
18084         (MO): New macro.
18085         (__atan): For results with small absolute value, force underflow
18086         exception and remove excess range and precision from return value.
18087         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
18088         (MO): New macro.
18089         (__atanf): For results with small absolute value, force underflow
18090         exception and remove excess range and precision from return value.
18091         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
18092         <math.h>.
18093         (__ieee754_atan2): Force underflow exception for results with
18094         small absolute value.
18095         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
18096         <math_private.h>.
18097         (atan): Force underflow exception for results with small absolute
18098         value.
18099         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
18100         (__atanf): Force underflow exception for results with small
18101         absolute value.
18102         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
18103         <math.h>.
18104         (__atanl): Force underflow exception for results with small
18105         absolute value.
18106         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
18107         (__atanl): Force underflow exception for results with small
18108         absolute value.
18109         * sysdeps/x86/fpu/bits/mathinline.h
18110         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
18111         (__ieee754_atan2): Only define inline for long double.
18112         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
18113         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
18114         * math/auto-libm-test-in: Do not mark underflow exceptions as
18115         possibly missing for bug 15319.  Add more tests of atan2.
18116         * math/auto-libm-test-out: Regenerated.
18117         * math/libm-test.inc (casin_test_data): Do not mark underflow
18118         exceptions as possibly missing for bug 15319.
18119         (casinh_test_data): Likewise.
18120         * sysdeps/i386/fpu/libm-test-ulps: Update.
18122 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
18124         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
18125         * sysdeps/mips/bits/endian.h: Fix comments.
18127 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
18129         [BZ #17996]
18130         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
18131         (hdestroy_r): Likewise.
18132         (hsearch_r): Likewise.
18133         (__hcreate_r): Declare and use libc_hidden_proto.
18134         (__hdestroy_r): Likewise.
18135         (__hsearch_r): Likewise.
18136         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
18137         (hcreate): Call __hcreate_r instead of hcreate_r.
18138         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
18139         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
18140         as weak alias of __hcreate_r.
18141         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
18142         __hdestroy_r.
18143         (hsearch_r): Rename to __hsearch_r and define as weak alias of
18144         __hsearch_r.
18145         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
18146         Remove variable.
18147         (test-xfail-XPG4/search.h/linknamespace): Likewise.
18148         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
18149         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
18150         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
18152 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18154         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
18155         arena_lock into a single arena_get.
18157 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
18159         * dl-reloc.c: Inlucde libc-internal.h.
18160         (_dl_try_allocate_static_tls): Call ALIGN_UP.
18161         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
18162         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
18163         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
18164         (grow_heap): Likewise.
18165         * malloc/malloc.c: Include libc-internal.h.
18166         (do_check_malloc): Call powerof2.
18167         (sysmalloc): Use pagesize. Call ALIGN_UP.
18168         (systrim): Use pagesize.
18169         (mremap_chunk): Use pagesize. Call ALIGN_UP.
18170         (__libc_valloc): Use pagesize.
18171         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
18173 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
18175         [BZ #17991]
18176         * include/sys/resource.h (__getrlimit64): Declare.  Use
18177         libc_hidden_proto.
18178         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
18179         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
18180         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
18181         getrlimit64.
18182         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
18183         __getrlimit64.
18184         [!getrlimit64] (getrlimit64): Define as weak alias of
18185         __getrlimit64.  Use libc_hidden_weak.
18186         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
18187         using __getrlimit64 not __new_getrlimit64.
18188         (__GI_getrlimit64): Likewise.
18189         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
18190         Likewise.
18191         (__GI_getrlimit64): Likewise.
18192         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
18193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
18194         (getrlimit): Add __getrlimit64 alias.
18195         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
18196         Likewise.
18197         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
18198         Remove variable.
18199         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
18200         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
18202 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
18204         * libio/fileops.c: Add missing sys/mman.h
18205         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
18207 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
18209         * manual/math.texi (Errors in Math Functions): Clarify goals
18210         regarding inexact and underflow exceptions.
18212 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
18214         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
18215         * sysdeps/mips/memset.S: Ditto.
18217 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
18219         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
18221 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18223         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
18224         (__v1longjmp): Remove versioned symbol.
18225         (__v1siglongjmp): Remove alias and versioned symbol.
18226         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
18227         (__v2siglongjmp): Likewise.
18229 2015-02-16  Torvald Riegel  <triegel@redhat.com>
18231         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
18233 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
18235         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
18237 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
18239         [BZ #17987]
18240         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
18241         zero result does not depend on the sign resulting from
18242         subtraction.
18243         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18244         Likewise.
18245         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
18246         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
18247         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18248         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
18249         * math/libm-test.inc (remquo_test_data): Add more tests.
18251 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
18253         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
18254         Problem reported by J William Piggott.
18256 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
18258         [BZ #17978]
18259         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
18260         products 4 * y and 2 * y where those would overflow.
18261         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18262         Likewise.
18263         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
18264         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
18265         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18266         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
18267         * math/libm-test.inc (remquo_test_data): Add more tests.
18269         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
18271         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
18272         [defined _COMPILING_NEWLIB].
18273         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
18274         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
18276         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
18277         [!defined __mips_isa_rev || __mips_isa_rev < 6].
18279 2015-02-16  Torvald Riegel  <triegel@redhat.com>
18281         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
18282         acquired.
18284 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
18286         [BZ #17792]
18287         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
18288         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
18289         HOST_STACK_END_ADDR): Likewise.
18291 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
18293         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
18294         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
18295         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
18297 2015-02-13  Roland McGrath  <roland@hack.frob.com>
18299         * sysdeps/generic/c++-types.data: New file.
18300         * sysdeps/generic/ld.abilist: New file.
18301         * sysdeps/generic/libBrokenLocale.abilist: New file.
18302         * sysdeps/generic/libanl.abilist: New file.
18303         * sysdeps/generic/libc.abilist: New file.
18304         * sysdeps/generic/libcrypt.abilist: New file.
18305         * sysdeps/generic/libdl.abilist: New file.
18306         * sysdeps/generic/libm.abilist: New file.
18307         * sysdeps/generic/libpthread.abilist: New file.
18308         * sysdeps/generic/libresolv.abilist: New file.
18309         * sysdeps/generic/librt.abilist: New file.
18311 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
18313         [BZ #17569]
18314         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18315         Compute absolute value of x as modified by fmod, not original
18316         value of x.
18317         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
18318         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
18319         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
18320         RUN_TEST_ffI_f1_mod8.
18321         (remquo_test_data): Add more tests.
18323 2015-02-13  Roland McGrath  <roland@hack.frob.com>
18325         * sysdeps/init_array/pt-crti.S: New file.
18327 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
18329         [BZ #17967]
18330         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
18331         __builtin_fmaf instead of relying on contraction of a * b + c.
18333 2015-02-12  J William Piggott  <elseifthen@gmx.com>
18335         [BZ #17969]
18336         * manual/time.texi: correct the zoneinfo path in the TZ Variable
18337         node.
18339 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
18341         [BZ #17964]
18342         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
18343         __builtin_fma instead of relying on contraction of a * b + c.
18345 2015-02-12  Roland McGrath  <roland@hack.frob.com>
18347         * Makeconfig (ASFLAGS): Add -Werror=undef.
18348         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
18349         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
18350         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
18352         * Makeconfig (after-link): New variable.
18353         (+link-pie, +link-pie-tests): Use it.
18354         (+link-static, +link-static-tests): Likewise.
18355         (+link, +link-tests): Likewise.
18356         * Makerules (build-module, build-module-asneeded): Likewise.
18357         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
18358         Likewise.
18359         * elf/Makefile ($(objpfx)ld.so): Likewise.
18361 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
18363         [BZ #17965]
18364         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
18365         both struct timeval and struct timespec.
18367 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
18369         [BZ #16560]
18370         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18371         and redefine.
18372         (__ieee754_exp2l): Do not multiply small fractional parts by
18373         M_LN2l.
18374         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
18375         small argument.
18376         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18377         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18378         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
18379         * math/auto-libm-test-in: Add more tests of exp2.
18380         * math/auto-libm-test-out: Regenerated.
18382 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18384         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
18385         unaligned path.
18387 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18389         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
18390         little endian.
18392 2015-02-12  Andreas Schwab  <schwab@suse.de>
18394         [BZ #15790]
18395         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
18396         Filter out elision flags from value returned in kind.
18397         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
18398         * nptl/tst-pthread-mutexattr.c: New file.
18400 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18402         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
18403         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
18404         into gnu-gnu, and update comment to refer to abi-tags.
18406 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
18408         [BZ #15467]
18409         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
18410         (__sincos): Set errno to EDOM for infinite argument.
18411         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
18412         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
18413         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
18414         (__sincosl): Set errno to EDOM for infinite argument.
18415         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
18416         (__sincosl): Set errno to EDOM for infinite argument.
18417         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
18418         (__sincosl): Set errno to EDOM for infinite argument.
18419         * math/libm-test.inc (sincos_test_data): Test errno setting.
18421 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
18423         * string/strxfrm_l.c: Remove #define STRCMP.
18424         * string/strcoll_l.c: Remove #define STRLEN.
18425         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
18426         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
18428 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
18430         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
18431         * sysdeps/mips/mips32/sfp-machine.h: ... here.
18432         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
18433         * sysdeps/mips/mips64/Makefile: ... here.
18434         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
18435         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
18436         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
18437         * sysdeps/mips/mips64/sfp-machine.h: ... here.
18438         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
18439         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
18440         * sysdeps/mips/mips64/n64/Implies: Likewise.
18442 2015-02-10  Roland McGrath  <roland@hack.frob.com>
18444         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
18445         <sys/time.h>, <string.h>, and <errno.h>.
18446         (dest_offset, dest_address, value, zero): Remove unused variables.
18447         (ldouble): Remove typedef.
18448         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
18449         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
18450         1).  Fix code style.
18451         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
18452         (check): Function removed.
18453         (CHECK): New macro.
18454         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
18455         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
18456         Don't call set_sigaction_FP and remove_sigaction_FP here.
18457         (ldouble_test): Just use 'long double' as macro argument, no need for
18458         the 'ldouble' typedef.
18459         (do_test): Set up SIGFPE handler at start, using plain signal rather
18460         than sigaction.  Fix code style.
18462 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
18464         [BZ #17949]
18465         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
18466         jump label.
18468 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18470         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
18471         * sysdeps/powerpc/powerpc32/configure: Regenerated.
18473         * sysdeps/powerpc/configure.ac: Remove file.
18474         * sysdeps/powerpc/configure: Likewise.
18476         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
18477         [sysdep_routines]: Remove wordcopy-power6 object.
18478         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
18479         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
18480         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
18481         (__memmove_ppc32): Likewise.
18482         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
18483         file.
18484         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
18485         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
18486         Remove preprocessor.
18488         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
18489         [sysdep_routines]: Remove wide chars objects.
18490         [wcsmbs]: New rule for wide char objects.
18492         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18493         Remove wordcopy-power6 obejct.
18494         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
18495         Use local call for wordcopy and memcpy symbols.
18496         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
18497         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
18498         implementation for loader.
18499         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
18501         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18502         Remove wordcopy-power7 object.
18503         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
18504         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
18505         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
18506         (_wordcopy_fwd_dest_aligned): Likewise.
18507         (_wordcopy_bwd_aligned): Likewise.
18508         (_wordcopy_bwd_dest_aligned): Likewise.
18510         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
18511         Rewrite to call __memmove_ppc instead of include default
18512         implementation.
18514         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18515         Remove wide chars objects.
18516         [wcsmbs]: New rule for wide char objects.
18518 2015-02-09  Andreas Schwab  <schwab@suse.de>
18520         [BZ #17912]
18521         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
18522         in terms of __O_DIRECTORY.
18524 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18526         * time/getdate.c: Include <stdbool.h>.
18527         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
18528         call PTR_MANGLE.
18529         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
18530         PTR_DEMANGLE.
18532 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
18534         Add ersatz _Static_assert on older C hosts
18535         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
18536         pre-C11 C platform that is not known to support _Static_assert.
18538 2015-02-07  Richard Braun  <rbraun@sceen.net>
18540         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
18541         sigstate.
18542         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
18544 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18546         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
18547         priority against unexistent AIO_PRIO_DELTA_MAX.
18548         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
18549         instead of int.
18550         * misc/fchflags.c (fchflags): Likewise.
18551         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
18552         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
18553         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
18554         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
18555         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
18556         Declare macros.
18557         [__USE_MISC] (chflags, fchflags): Declare functions.
18558         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
18559         EINVAL when nfds is greater than FD_SETSIZE.
18560         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
18561         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
18562         45.
18563         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
18564         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
18565         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
18566         MACH_RCV_TIMED_OUT.
18567         * hurd/hurd/signal.h (_hurd_self_sigstate,
18568         _hurd_critical_section_lock, _hurd_critical_section_unlock):
18569         Explicit casts from void *.
18570         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
18571         * abi-tags: Rename gnu-gnu os into gnu.
18573         [BZ #4719]
18574         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
18575         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
18576         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
18577         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
18578         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
18579         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
18581         [BZ #17944]
18582         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
18583         duplicates ADDR->sun_path with sockaddr LEN limitation.
18584         * sysdeps/mach/hurd/connect.c: Include <string.h>
18585         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
18586         * sysdeps/mach/hurd/sendmsg.c: Likewise.
18587         * sysdeps/mach/hurd/sendto.c: Likewise.
18588         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
18589         implementing it by hand.
18591 2015-02-06  Roland McGrath  <roland@hack.frob.com>
18593         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
18594         Use sfi_breg on ldr.
18595         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
18596         Likewise.
18598         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
18599         it's defined.
18600         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
18601         Test SIGSETXID only if it's defined.
18603         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
18605         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
18606         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
18608         * nptl/tst-align2.c: Moved ...
18609         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
18610         * nptl/Makefile (tests): Remove tst-align2.
18611         * sysdeps/unix/sysv/linux/Makefile
18612         [$(subdir) = nptl] (tests): Add tst-align-clone.
18613         * nptl/tst-getpid1.c: Moved ...
18614         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
18615         * nptl/tst-getpid2.c: Moved ...
18616         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
18617         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
18618         * sysdeps/unix/sysv/linux/Makefile
18619         [$(subdir) = nptl] (tests): ... here.
18620         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
18621         * sysdeps/unix/sysv/linux/Makefile
18622         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
18624         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
18625         Drop trailing \n from perror argument.  Use return rather than exit.
18627         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
18628         on [SA_SIGINFO].
18629         * nptl/tst-cancel21.c (do_test): Likewise.
18630         * debug/tst-backtrace6.c: Include <signal.h> first thing.
18631         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
18632         [!SA_SIGINFO]: Make it a stub test.
18634         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
18635         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
18637         * posix/tst-getlogin.c: Move to ...
18638         * login/tst-getlogin.c: ... here.
18639         * posix/Makefile (tests): Move tst-getlogin to ...
18640         * login/Makefile (tests): ... here.
18642         * libio/tst-atime.c (do_test): Move local variables SV and E
18643         inside [ST_NOATIME] conditional.
18645         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
18647         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
18649         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
18650         (wait_code): New function replaces macro.
18651         Call nanosleep rather than syscall.
18653         * nptl/pt-system.c: Rewritten.  Put everything under
18654         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
18655         Use IFUNC to redirect when possible.
18657         * nptl/pt-longjmp.c: Rewritten.  Put everything under
18658         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
18659         Use IFUNC to redirect when possible.
18661         * nptl/pt-fork.c: Rewritten.  Put everything under
18662         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
18663         Use IFUNC to redirect when possible.
18664         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
18666         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
18667         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
18668         unconditionally nowadays.  This included the only reference to
18669         __vdso_clock_gettime that appears outside libc proper.
18670         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
18671         Remove version set (containing only __vdso_clock_gettime).
18672         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
18673         Add attribute_hidden.
18674         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
18675         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
18676         libc_hidden_data_def.
18677         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18678         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18680         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
18681         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
18682         setrpcent, and getrpcport to ...
18683         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
18684         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
18685         getrpcbynumber_r, and getrpcent_r to ...
18686         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
18687         * inet/getrpcbyname.c: Moved ...
18688         * sunrpc/getrpcbyname.c: ... here.
18689         * inet/getrpcbyname_r.c: Moved ...
18690         * sunrpc/getrpcbyname_r.c: ... here.
18691         * inet/getrpcbynumber.c: Moved ...
18692         * sunrpc/getrpcbynumber.c: ... here.
18693         * inet/getrpcbynumber_r.c: Moved ...
18694         * sunrpc/getrpcbynumber_r.c: ... here.
18695         * inet/getrpcent.c: Moved ...
18696         * sunrpc/getrpcent.c: ... here.
18697         * inet/getrpcent_r.c: Moved ...
18698         * sunrpc/getrpcent_r.c: ... here.
18699         * inet/Makefile (routines): Move those to ...
18700         * sunrpc/Makefile (routines): ... here.
18701         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
18702         the $(subdirs) list.
18703         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
18704         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
18705         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
18706         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
18708         * elf/Makefile (routines): Include $(all-dl-routines), not just
18709         $(dl-routines).
18710         (rtld-routines): Likewise.  Use = rather than :=.
18711         * sysdeps/aarch64/Makefile [$(subdir) = elf]
18712         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
18713         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
18714         * sysdeps/arm/Makefile: Likewise.
18715         * sysdeps/i386/Makefile: Likewise.
18716         * sysdeps/x86_64/Makefile: Likewise.
18717         * sysdeps/hppa/Makefile [$(subdir) = elf]
18718         (sysdep_routines, sysdep-rtld-routines): Don't add
18719         $(sysdep-dl-routines) to these.
18720         * sysdeps/ia64/Makefile: Likewise.
18721         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
18722         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
18723         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
18724         Don't add dl-static to these; sysdep-dl-routines alone is enough.
18725         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
18726         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
18727         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
18728         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
18729         * sysdeps/powerpc/Makefile [$(subdir) = elf]
18730         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
18731         these; sysdep-dl-routines alone is enough.
18733 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
18735         [BZ #17932]
18736         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
18737         where multiplication results in zero and third argument is finite
18738         and nonzero.
18739         * math/auto-libm-test-in: Add more tests of fma.
18740         * math/auto-libm-test-out: Regenerated.
18742         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
18743         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
18744         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
18745         (_FP_CMP_EQ): Likewise.
18746         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
18748         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
18749         extra argument CHECK_NAN.  Redefine as wrapper around
18750         _FP_EXTEND_CNAN.
18752 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
18754         * version.h (RELEASE): Set to "stable".
18755         (VERSION): Set to "2.21"
18756         * include/features.h (__GLIBC_MINOR__): Set to 21.
18758         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
18760 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18761             Paul Eggert  <eggert@cs.ucla.edu>
18763         [BZ #16618]
18764         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
18765         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
18766         size in bytes. Store needed elements in wpmax. Use needed size
18767         in bytes for extend_alloca.
18769 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
18771         * manual/install.texi: Latest tested versions are GCC 4.9.2,
18772         binutls 2.25, and texinfo 5.2.
18773         * INSTALL: Regenerate.
18774         * sysdeps/nios2/configure: Regenerate.
18775         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
18776         * manual/contrib.texi: Update.
18777         * po/be.po: Update.
18778         * po/bg.po: Update.
18779         * po/ca.po: Update.
18780         * po/cs.po: Update.
18781         * po/da.po: Update.
18782         * po/de.po: Update.
18783         * po/el.po: Update.
18784         * po/eo.po: Update.
18785         * po/es.po: Update.
18786         * po/fi.po: Update.
18787         * po/fr.po: Update.
18788         * po/gl.po: Update.
18789         * po/hr.po: Update.
18790         * po/hu.po: Update.
18791         * po/ia.po: Update.
18792         * po/id.po: Update.
18793         * po/it.po: Update.
18794         * po/ja.po: Update.
18795         * po/ko.po: Update.
18796         * po/lt.po: Update.
18797         * po/nb.po: Update.
18798         * po/nl.po: Update.
18799         * po/pl.po: Update.
18800         * po/pt_BR.po: Update.
18801         * po/ru.po: Update.
18802         * po/rw.po: Update.
18803         * po/sk.po: Update.
18804         * po/sl.po: Update.
18805         * po/sv.po: Update.
18806         * po/tr.po: Update.
18807         * po/uk.po: Update.
18808         * po/vi.po: Update.
18809         * po/zh_CN.po: Update.
18810         * po/zh_TW.po: Update.
18812         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
18813         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
18814         * sysdeps/hppa/dl-irel.h: Remove #warning.
18815         * sysdeps/hppa/entry.h: Provide prototype for
18816         __canonicalize_funcptr_for_compare and cast argument.
18817         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
18818         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
18819         * sysdeps/hppa/sotruss-lib.c: New file.
18820         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
18821         (atomic_compare_and_exchange_val_acq): Use __typeof__.
18822         (atomic_compare_and_exchange_bool_acq): Likewise.
18823         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
18824         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
18826         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
18827         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
18828         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
18830 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
18832         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
18833         called function in non-PIC case.
18835 2015-01-31  David S. Miller  <davem@davemloft.net>
18837         * sysdeps/sparc/sparc32/bits/atomic.h
18838         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
18839         unlock not after it.
18840         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
18841         volatile register usage warnings from the compiler.
18843         * sysdeps/sparc/nptl/sem_init.c: Delete.
18844         * sysdeps/sparc/nptl/sem_post.c: Delete.
18845         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
18846         * sysdeps/sparc/nptl/sem_wait.c: Delete.
18847         * sysdeps/sparc/sparc32/sem_init.c: New file.
18848         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
18849         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
18850         padding explicitly initialized.
18851         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
18852         padding for in-semaphore spinlock.
18853         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
18854         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
18855         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
18856         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
18857         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
18858         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
18859         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
18860         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
18861         version.
18862         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
18863         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
18865 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
18867         [BZ #17801]
18868         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18869         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
18870         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
18871         New.
18872         (index_AVX_Fast_Unaligned_Load): Likewise.
18873         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
18874         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
18875         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
18876         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
18877         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
18878         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
18879         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
18880         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
18881         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
18883 2015-01-29  Andreas Schwab  <schwab@suse.de>
18885         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
18887 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
18889         [BZ #17892]
18890         * nscd/nscd_stat.c (send_stats): Initialize DATA.
18892 2015-01-28  Martin Sebor  <msebor@redhat.com>
18894         * math/README.libm-test: Clarify. Add "How to read the test output."
18896 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
18898         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
18899         Define to 0.
18901 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
18903         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
18904         (__HAVE_64B_ATOMICS): Define to 0.
18906 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18908         [BZ #17885]
18909         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
18910         value to set as new flag.
18912         [BZ #16576]
18913         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
18914         and use _ARCH_PPCSQ instead.
18915         (__ieee754_sqrt): Likewise.
18916         (__ieee754_sqrtf): Likewise.
18917         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
18918         _ARCH_PPCSQ is defined.
18919         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
18920         fsqrt instruction.
18921         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
18922         _ARCH_PPCSQ is defined.
18923         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
18924         fsqrts instruction.
18925         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
18927 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18929         * iconv/loop.c: Suppress array out of bound warning caused by GCC
18930         bug (GCC BZ #64739).
18932 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
18934         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
18935         Mark _retval as used.
18936         (lll_futex_wake_unlock): Likewise.
18937         (lll_futex_timed_wait_requeue_pi): Likewise.
18939         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
18940         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
18941         register variables.
18943         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
18944         libm_hidden_def.
18946         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
18947         (__bswap_64): Mark as __always_inline.
18949 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
18951         [BZ #15378]
18952         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
18953         when none of the search directories exist.
18955 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18957         [BZ #17869]
18958         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
18959         power8 in .machine directive.
18961         [BZ #17868]
18962         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
18963         set dependency from opd value.
18965 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
18967         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18968         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
18969         architecture.
18971 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
18973         [BZ #17870]
18974         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
18975         with uint64_t.
18976         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
18977         (uint64_t) 1.
18978         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
18979         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
18980         Replace 1UL with (uint64_t) 1.
18981         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
18982         int with uint64_t.
18984 2015-01-23  Roland McGrath  <roland@hack.frob.com>
18986         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
18987         (if_freenameindex): Likewise.
18989         * resource/getrlimit64.c: Add missing libc_hidden_def.
18991 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
18993         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
18994         __label__.
18995         (_FP_FMA): Likewise.
18996         (_FP_TO_INT_ROUND): Likewise.
18997         (_FP_FROM_INT): Likewise.
18999 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19001         [BZ #16418]
19002         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
19003         Make code racy and cancel safe.
19005 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
19007         * sysdeps/arm/unwind-resume.h: Fix copyright year.
19008         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
19009         attribution.
19011         * pwd/tst-getpw.c: Rewrite.
19013         [BZ #17702]
19014         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
19015         (modules-names): Add moddummy1 and moddummy2.
19016         ($(objpfx)tst-rec-dlopen): Define.
19017         * dlfcn/moddummy1.c: New file.
19018         * dlfcn/moddummy2.c: New file.
19019         * dlfcn/tst-rec-dlopen.c: New file.
19020         * elf/dl-cache.c (_dl_load_cache_lookup):
19021         Return char*. Copy result with alloca/strcpy/strdup.
19022         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
19023         returns char*. Free cached. If not saving realname
19024         free cached.
19025         * elf/dl-open.c (dl_open_worker): Do not assert that
19026         _r_debug->r_state is RT_CONSISTENT.
19027         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
19028         returns char*.
19030 2015-01-21  Torvald Riegel  <triegel@redhat.com>
19031             Carlos O'Donell  <carlos@redhat.com>
19033         [BZ #12674]
19034         * nptl/sem_waitcommon.c: New file.
19035         * nptl/sem_wait.c: Include sem_waitcommon.c.
19036         (__sem_wait_cleanup, do_futex_wait): Remove.
19037         (__new_sem_wait): Adapt.
19038         (__new_sem_trywait): New function.
19039         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
19040         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
19041         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
19042         (sem_timedwait): Adapt.
19043         * nptl/sem_post.c (__new_sem_post): Adapt.
19044         (futex_wake): New function.
19045         (__old_sem_post): Add release MO fence.
19046         * nptl/sem_open.c (sem_open): Adapt.
19047         * nptl/sem_init.c (__new_sem_init): Adapt.
19048         (futex_private_if_supported): New function.
19049         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
19050         (__old_sem_getvalue): Add using previous code.
19051         * sysdeps/nptl/internaltypes.h: Adapt.
19052         * nptl/tst-sem13.c (do_test): Adapt.
19053         * nptl/tst-sem11.c (main): Adapt.
19054         * nptl/sem_trywait.c: Remove.
19055         * nptl/DESIGN-sem.txt: Remove.
19056         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
19057         (gen-as-const-headers): Remove structsem.sym.
19058         * nptl/structsem.sym: Remove.
19059         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
19060         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
19061         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
19062         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
19063         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
19064         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
19065         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
19066         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
19067         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
19068         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
19069         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
19070         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
19071         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
19072         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
19073         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
19074         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
19075         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
19076         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
19077         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
19078         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
19079         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
19080         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
19082 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
19084         * INSTALL: Regenerated.
19086         * po/libc.pot: Regenerated.
19088 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
19089             Sandra Loosemore  <sandra@codesourcery.com>
19090             Andrew Jenner  <andrew@codesourcery.com>
19091             Joseph Myers  <joseph@codesourcery.com>
19092             Nathan Sidwell  <nathan@codesourcery.com>
19094         * NEWS: Mention new Nios II port.
19095         * sysdeps/nios2/Implies: New file.
19096         * sysdeps/nios2/Makefile: New file.
19097         * sysdeps/nios2/Subdirs: New file.
19098         * sysdeps/nios2/Versions: New file.
19099         * sysdeps/nios2/__longjmp.S: New file.
19100         * sysdeps/nios2/abort-instr.h: New file.
19101         * sysdeps/nios2/backtrace.c: New file.
19102         * sysdeps/nios2/bits/endian.h: New file.
19103         * sysdeps/nios2/bits/fenv.h: New file.
19104         * sysdeps/nios2/bits/link.h: New file.
19105         * sysdeps/nios2/bits/setjmp.h: New file.
19106         * sysdeps/nios2/bsd-_setjmp.S: New file.
19107         * sysdeps/nios2/bsd-setjmp.S: New file.
19108         * sysdeps/nios2/configure: New generated file.
19109         * sysdeps/nios2/configure.ac: New file.
19110         * sysdeps/nios2/crti.S: New file.
19111         * sysdeps/nios2/crtn.S: New file.
19112         * sysdeps/nios2/dl-init.c: New file.
19113         * sysdeps/nios2/dl-machine.h: New file.
19114         * sysdeps/nios2/dl-sysdep.h: New file.
19115         * sysdeps/nios2/dl-tls.h: New file.
19116         * sysdeps/nios2/dl-trampoline.S: New file.
19117         * sysdeps/nios2/gccframe.h: New file.
19118         * sysdeps/nios2/gmp-mparam.h: New file.
19119         * sysdeps/nios2/jmpbuf-offsets.h: New file.
19120         * sysdeps/nios2/jmpbuf-unwind.h: New file.
19121         * sysdeps/nios2/ldsodefs.h: New file.
19122         * sysdeps/nios2/libc-tls.c: New file.
19123         * sysdeps/nios2/libm-test-ulps: New file.
19124         * sysdeps/nios2/machine-gmon.h: New file.
19125         * sysdeps/nios2/math-tests.h: New file.
19126         * sysdeps/nios2/math_private.h: New file.
19127         * sysdeps/nios2/memusage.h: New file.
19128         * sysdeps/nios2/nptl/Makefile: New file.
19129         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
19130         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
19131         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
19132         * sysdeps/nios2/nptl/pthreaddef.h: New file.
19133         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
19134         * sysdeps/nios2/nptl/tls.h: New file.
19135         * sysdeps/nios2/preconfigure: New file.
19136         * sysdeps/nios2/s_fma.c: New file.
19137         * sysdeps/nios2/s_fmaf.c: New file.
19138         * sysdeps/nios2/setjmp.S: New file.
19139         * sysdeps/nios2/sfp-machine.h: New file.
19140         * sysdeps/nios2/sotruss-lib.c: New file.
19141         * sysdeps/nios2/stackguard-macros.h: New file.
19142         * sysdeps/nios2/stackinfo.h: New file.
19143         * sysdeps/nios2/start.S: New file.
19144         * sysdeps/nios2/sysdep.h: New file.
19145         * sysdeps/nios2/tls-macros.h: New file.
19146         * sysdeps/nios2/tst-audit.h: New file.
19147         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
19148         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
19149         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
19150         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
19151         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
19152         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
19153         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
19154         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
19155         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
19156         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
19157         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
19158         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
19159         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
19160         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
19161         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
19162         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
19163         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
19164         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
19165         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
19166         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
19167         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
19168         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
19169         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
19170         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
19171         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
19172         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
19173         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
19174         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
19175         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
19176         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
19177         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
19178         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
19179         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
19180         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
19181         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
19182         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
19183         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
19184         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
19185         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
19186         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
19187         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
19188         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
19189         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
19190         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
19192 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19194         [BZ #17844]
19195         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
19196         (getutent): Use weak_alias in non SHARED case
19197         and default_symbol_version in SHARED case.
19198         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
19199         (getutent_r, pututline): Likewise.
19200         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
19201         (getutid): Likewise.
19202         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
19203         (getutid_r): Likewise.
19204         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
19205         (getutline): Likewise.
19206         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
19207         (getutline_r): Likewise.
19208         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
19209         (updwtmp): Likewise.
19211 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19213         [BZ #17848]
19214         * sysdeps/s390/s390-32/memcmp.S
19215         (memcmp_g5): Rename to __memcmp_g5.
19216         * sysdeps/s390/s390-32/memcpy.S
19217         (memcpy_g5): Rename to __memcpy_g5.
19218         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19219         (memcpy_mvcle) Rename to __memcpy_mvcle.
19220         * sysdeps/s390/s390-32/memset.S
19221         (memset_g5): Rename to __memset_g5.
19222         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19223         (IFUNC_RESOLVE): Prefix ifunc-resolve function
19224         and use prefixed functions.
19225         * sysdeps/s390/s390-32/multiarch/memcmp.S
19226         (memcmp_z196): Rename to __memcmp_z196.
19227         (memcmp_z10): Rename to __memcmp_z10.
19228         (memcmp): Set alias to __memcmp_g5.
19229         (bcmp): Set alias to __memcmp_g5.
19230         * sysdeps/s390/s390-32/multiarch/memcpy.S
19231         (memcpy_z196): Rename to __memcpy_z196.
19232         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19233         (memcpy_z10): Rename to __memcpy_z10.
19234         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19235         (memcpy): Set alias to __memcpy_g5.
19236         * sysdeps/s390/s390-32/multiarch/memset.S
19237         (memset_z196): Rename to __memset_z196.
19238         Jump to __memset_mvcle instead of memset_mvcle.
19239         (memset_z10): Rename to __memset_z10.
19240         Jump to __memset_mvcle instead of memset_mvcle.
19241         (memset_mvcle) Rename to __memset_mvcle.
19242         (memset): Set alias to __memset_g5.
19243         * sysdeps/s390/s390-64/memcmp.S
19244         (memcmp_z900): Rename to __memcmp_z900.
19245         * sysdeps/s390/s390-64/memcpy.S
19246         (memcpy_z900): Rename to __memcpy_z900.
19247         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19248         (memcpy_mvcle) Rename to __memcpy_mvcle.
19249         * sysdeps/s390/s390-64/memset.S
19250         (memset_z900): Rename to __memset_z900.
19251         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
19252         (IFUNC_RESOLVE): Prefix ifunc-resolve function
19253         and use prefixed functions.
19254         * sysdeps/s390/s390-64/multiarch/memcmp.S
19255         (memcmp_z196): Rename to __memcmp_z196.
19256         (memcmp_z10): Rename to __memcmp_z10.
19257         (memcmp): Set alias to __memcmp_z900.
19258         (bcmp): Set alias to __memcmp_z900.
19259         * sysdeps/s390/s390-64/multiarch/memcpy.S
19260         (memcpy_z196): Rename to __memcpy_z196.
19261         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19262         (memcpy_z10): Rename to __memcpy_z10.
19263         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19264         (memcpy): Set alias to __memcpy_z900.
19265         * sysdeps/s390/s390-64/multiarch/memset.S
19266         (memset_z196): Rename to __memset_z196.
19267         Jump to __memset_mvcle instead of memset_mvcle.
19268         (memset_z10): Rename to __memset_z10.
19269         Jump to __memset_mvcle instead of memset_mvcle.
19270         (memset_mvcle) Rename to __memset_mvcle.
19271         (memset): Set alias to __memset_z900.
19273 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
19275         [BZ #17748]
19276         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
19277         __fesetenv instead of fesetenv.
19279 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19281         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
19282         macro.
19284 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19286         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
19287         regression on LE.
19289         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
19290         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
19291         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19292         strncmp-power8 object.
19293         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19294         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
19295         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
19296         * NEWS: Update.
19298 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19299             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19301         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
19302         trailing byte check.
19304 2015-01-13  David S. Miller  <davem@davemloft.net>
19306         * include/signal.h (__sigreturn): Guard with __USE_MISC.
19308 2015-01-13  Roland McGrath  <roland@hack.frob.com>
19310         * login/logout.c (logout): Use memset rather than bzero.
19311         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
19312         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
19313         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
19314         (_gethtbyaddr): Likewise.
19315         * locale/programs/simple-hash.c (bcopy): Macro removed.
19317 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19319         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19320         Add strcmp-power8 object.
19321         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19322         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
19323         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
19324         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
19325         __strcmp_power8 implementation.
19326         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
19327         * NEWS: Update.
19329         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19330         Add strncpy-power8 and stpncpy-power8 objects.
19331         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19332         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
19333         implementations.
19334         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
19335         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
19336         __stpncpy_power8 implementation.
19337         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
19338         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
19339         __strncpy_power8 implementation.
19340         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
19341         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
19342         * NEWS: Update.
19344         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
19345         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
19346         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
19348         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19349         strncat-power8 object.
19350         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
19351         __strcat_power8 implementation.
19352         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19353         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
19354         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
19355         optimized strcat for power8.
19357         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19358         strcpy-power8 and stpcpy-power8 objects.
19359         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19360         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
19361         implementations.
19362         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
19363         multiarch stpcpy implementation for POWER8.
19364         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
19365         multiarch strcpy implementation for POWER8.
19366         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
19367         __strcpy_power8 function.
19368         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
19369         stpcpy for POWER8.
19370         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
19371         strcpy for POWER8.
19372         * NEWS: Update.
19374 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
19376         [BZ #16009]
19377         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
19378         weights and rules. Use do_xfrm_cached if data fits in cache,
19379         do_xfrm otherwise.  Moved former main loop to...
19380         * (do_xfrm_cached): New function.
19381         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
19382         find_idx, find_position and stack_push.
19383         * (find_idx): New function.
19384         * (find_position): Likewise.
19385         * localedata/sort-test.sh: Added test run for do_xfrm.
19386         * localedata/xfrm-test.c (main): Added command line option
19387         -nocache to run the test with strings that are too large for
19388         the STRXFRM cache.
19390 2015-01-13  Torvald Riegel  <triegel@redhat.com>
19392         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
19393         variable to lll_futex_wake call, not the value itself.
19395 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
19397         [BZ #17803]
19398         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
19399         twom64.  Adjust value to 0x1p-64L.
19400         (__scalblnl): Only return standard underflowing result for K <=
19401         -64 not K <= -63; adjust exponent for underflowing result by 64
19402         not 63.
19403         * math/libm-test.inc (scalbn_test_data): Add more tests.
19404         (scalbln_test_data): Likewise.
19406         [BZ #17834]
19407         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
19408         0x1p63L.
19409         (__scalblnl): Get new exponent of adjusted subnormal value from ES
19410         not HX.
19411         * math/libm-test.inc (scalbn_test_data): Add more tests.
19412         (scalbln_test_data): Likewise.
19414 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19415             Stefani Seibold  <stefani@seibold.net>
19417         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
19418         (sysdep_routines): Add dl-vdso here, ...
19419         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
19420         (sysdep_routines): ... not here.
19421         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
19422         fallback when vDSO is not presented.
19423         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
19424         Define with libc_hidden_proto/libc_hidden_data_def definitions.
19425         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
19426         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
19427         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
19428         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
19429         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
19430         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
19431         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
19432         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
19433         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
19434         fallback configurable symbol when vDSO is not available.
19435         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
19436         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
19437         be able to redefine fallback symbol when vDSO is not available.
19438         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
19439         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
19441 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19443         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
19444         (TLS_INIT_TP): Add tm_capable initialization.
19445         (TLS_DEFINE_INIT_TP): Likewise.
19446         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
19447         TCB.
19448         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
19449         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
19450         calculation.
19451         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
19452         transactoion is lock elision is built and TCB tm_capable is set.
19453         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
19454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19455         (INTERNAL_SYSCALL_NCS): Likewise.
19456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19457         (INTERNAL_SYSCALL_NCS): Likewise.
19458         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
19460         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
19461         for powerpc.
19462         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19463         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
19464         and remove it for 32 bits case.
19465         [pthread_rwlock_t] (__rwelision): New field for lock elision.
19466         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
19467         initialization.
19468         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
19469         Disable lock elision with rdlocks if elision is not available.
19471         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
19472         (sysdep_routines): Add lock elision objects.
19473         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19474         [pthread_mutex_t] (__spins): Rework to add lock elision field.
19475         [pthread_mutex_t] (__elision): Add field.
19476         [__PTHREAD_SPINS]: Adjust to init lock elision field.
19477         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
19478         elision definitions for powerpc.
19479         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
19480         implementation of lock elision for powerpc.
19481         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
19482         implementation of timed lock elision for powerpc.
19483         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
19484         implementation of trylock with lock elision for powerpc.
19485         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
19486         implementaion of unlock for lock elision for powerpc.
19487         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
19488         automatic enable lock elision for mutexes.
19489         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
19490         transaction execution definitions for powerpc.
19491         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
19492         definitions.
19493         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
19494         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
19495         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
19496         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
19497         * NEWS: Update.
19499 2015-01-09  Roland McGrath  <roland@hack.frob.com>
19501         * sysdeps/posix/shm-directory.c: Use <> rather than ""
19502         for #include of <shm-directory.h>.
19504 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
19506         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
19507         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
19509 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
19511         [BZ #17791]
19512         * NEWS: Mention bug fix.
19513         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
19514         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
19515         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
19517 2015-01-09  Torvald Riegel <triegel@redhat.com>
19519         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
19521 2015-01-09  Torvald Riegel <triegel@redhat.com>
19523         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
19525 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
19527         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
19528         pointer and cast to uintptr_t.
19530 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
19532         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
19533         removed.
19534         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
19536 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
19538         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
19539         of 0.
19541 2015-01-08  Roland McGrath  <roland@hack.frob.com>
19543         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
19544         <nptl/pthreadP.h> instead.
19545         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
19547         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
19548         already defined.
19549         [__SIGRTMIN] (init): Function removed.
19550         [__SIGRTMIN] (initialized): Variable removed.
19551         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
19552         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
19553         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
19554         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
19555         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
19556         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
19557         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
19558         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
19559         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
19560         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
19561         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
19562         * sysdeps/nptl/allocrtsig.c: New file.
19563         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
19564         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
19565         * sysdeps/generic/testrtsig.h: File removed.
19567         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
19568         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
19570         * nptl/nptl-init.c (pthread_functions): Conditionalize
19571         .ptr__nptl_setxid initialization on [SIGSETXID].
19573         * sysdeps/nptl/sys/procfs.h: New file.
19574         * nptl_db/Makefile (headers): Add it.
19575         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
19577         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
19578         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
19579         * nptl/pthread_attr_setaffinity.c: Include it.
19580         * nptl/pthread_setattr_default_np.c: Likewise.
19581         * nptl/check-cpuset.h: New file.
19583 2015-01-08  Richard Henderson  <rth@redhat.com>
19585         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
19586         (CFLAGS-tst-execstack-prog.c): Likewise.
19587         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
19589 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
19590             Sandra Loosemore  <sandra@codesourcery.com>
19591             Andrew Jenner  <andrew@codesourcery.com>
19592             Joseph Myers  <joseph@codesourcery.com>
19593             Nathan Sidwell  <nathan@codesourcery.com>
19595         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
19596         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
19597         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
19598         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
19599         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
19600         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
19601         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
19602         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
19603         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
19604         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
19605         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
19606         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
19607         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
19608         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
19609         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
19610         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
19611         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
19613 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19615         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
19616         timespec struct member in syscall macro.
19617         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
19618         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
19619         first timeval struct member in syscall macro.
19620         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
19622 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
19624         [BZ #17748]
19625         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
19626         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
19627         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
19628         __feupdateenv and define as weak alias of __feupdateenv.  Use
19629         libm_hidden_weak.
19630         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
19631         libm_hidden_def.
19632         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
19633         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
19634         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
19635         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
19636         libm_hidden_def.
19637         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
19638         __feupdateenv and define as weak alias of __feupdateenv.  Use
19639         libm_hidden_weak.
19640         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
19641         libm_hidden_def.
19642         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
19643         __feupdateenv and define as weak alias of __feupdateenv.  Use
19644         libm_hidden_weak.
19645         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
19646         libm_hidden_def.
19647         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19648         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
19649         (__feupdateenv): Likewise.
19650         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
19651         __feupdateenv and define as weak alias of __feupdateenv.  Use
19652         libm_hidden_weak.
19653         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19654         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
19655         libm_hidden_def.
19656         * sysdeps/tile/math_private.h (__feupdateenv): New inline
19657         function.
19658         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
19659         libm_hidden_def.
19660         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
19661         __feupdateenv instead of feupdateenv.
19662         (default_libc_feupdateenv_test): Likewise.
19663         (libc_feresetround_ctx): Likewise.
19665 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19667         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
19668         prototype.
19670 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
19672         * posix/regcomp.c (parse_bracket_exp): Initialize type to
19673         COLL_SYM in a couple of places to avoid uninitialized variable
19674         wanings on tilegx gcc 4.8.2.
19676 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
19678         * sysdeps/aarch64/strcpy.S: New file.
19679         * sysdeps/aarch64/stpcpy.S: New file.
19680         * NEWS: Updated.
19682 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
19684         * sysdeps/aarch64/strrchr.S: New file.
19685         * NEWS: Updated.
19687 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
19689         [BZ #17658]
19690         * stdlib/setenv.c: Fix memory leak when setting large,
19691         duplicate string.
19693 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
19695         [BZ #17273]
19696         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
19697         and tabs from buffer before parsing fstab entry.
19698         * misc/tst-mntent.c (main): Add test for mount entry with
19699         trailing spaces and tabs.
19701 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
19703         [BZ #17748]
19704         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
19705         * math/fesetround.c (fesetround): Rename to __fesetround and
19706         define as weak alias of __fesetround.  Use libm_hidden_weak.
19707         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
19708         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
19709         * sysdeps/arm/fesetround.c (fesetround): Likewise.
19710         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
19711         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
19712         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
19713         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
19714         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
19715         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
19716         __fesetround_inline.
19717         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
19718         __fesetround_inline instead of __fesetround.
19719         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
19720         __fesetround and define as weak alias of __fesetround.  Use
19721         libm_hidden_weak.  Call __fesetround_inline instead of
19722         __fesetround.
19723         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
19724         __fesetround and define as weak alias of __fesetround.  Use
19725         libm_hidden_weak.
19726         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
19727         Likewise.
19728         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
19729         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19730         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
19731         * sysdeps/tile/math_private.h (__fesetround): New inline function.
19732         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
19733         __fesetround and define as weak alias of __fesetround.  Use
19734         libm_hidden_weak.
19735         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
19736         __fesetround instead of fesetround.
19737         (default_libc_feholdexcept_setround): Likewise.
19738         (libc_feholdsetround_ctx): Likewise.
19739         (libc_feholdsetround_noex_ctx): Likewise.
19741         [BZ #17748]
19742         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
19743         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
19744         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
19745         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
19746         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19747         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
19748         define as weak alias of __fesetenv.  Use libm_hidden_weak.
19749         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
19750         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19751         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
19752         define as weak alias of __fesetenv.  Use libm_hidden_weak.
19753         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19754         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
19755         define as weak alias of __fesetenv.  Use libm_hidden_weak.
19756         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
19757         libm_hidden_def.
19758         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
19759         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
19760         Likewise.
19761         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
19762         define as weak alias of __fesetenv.  Use libm_hidden_weak.
19763         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19764         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19765         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
19766         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
19767         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
19768         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
19769         __fesetenv instead of fesetenv.
19770         (libc_feresetround_noex_ctx): Likewise.
19771         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
19772         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
19773         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
19774         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
19775         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
19776         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
19777         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19778         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
19779         (__feupdateenv): Likewise.
19780         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19781         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19782         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19783         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
19785 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
19787         [BZ #17806]
19788         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
19789         addresses have been freed.
19791 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
19793         * resolv/res_init.c (__res_vinit): Improve comments about nserv
19794         and nservall.
19796 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
19798         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
19799         Clean up check_pf allocation pattern. addresses
19801 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19803         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
19804         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
19805         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
19806         * nptl/pthread_exit.c (__pthread_exit): Likewise.
19807         * nptl/pthread_join.c (pthread_join): Likewise.
19808         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
19809         * sysdeps/posix/waitid.c (__waitid): Likewise.
19810         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
19811         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
19812         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
19813         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
19814         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
19815         Likewise.
19816         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
19817         (__libc_pread64): Likewise.
19818         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
19819         (__libc_pwrite): Likewise.
19820         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
19821         (__libc_pwrite64): Likewsie.
19822         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
19823         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
19824         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
19825         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
19826         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
19827         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
19828         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
19830         Likewise.
19831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19832         (__libc_pread64): Likewise.
19833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
19834         Likewise.
19835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19836         (__libc_pwrite64): Likewise.
19837         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
19838         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
19839         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
19840         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
19841         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
19842         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
19843         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
19844         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
19845         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
19846         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
19847         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
19848         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
19849         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
19850         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
19851         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
19852         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
19853         Likewise.
19855 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
19857         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
19858         (CFLAGS-test-double.c): Likewise.
19859         (CFLAGS-test-ldouble.c): Likewise.
19860         (CPPFLAGS-test-ifloat.c): Likewise.
19861         (CPPFLAGS-test-idouble.c): Likewise.
19862         (CPPFLAGS-test-ildoubl.c): Likewise.
19863         (CFLAGS-test-test-fenv.c): Remove variable.
19864         (CFLAGS-test-misc.c): Likewise.
19866 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
19868         [BZ #17797]
19869         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
19870         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
19871         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
19872         CLOCKS_PER_SEC == 1000000.
19873         * time/clocktest.c (main): Replace %ld with %jd and cast to
19874         intmax_t.
19876 2015-01-05  Roland McGrath  <roland@hack.frob.com>
19878         * sysdeps/generic/unwind-resume.h: New file.
19879         * sysdeps/gnu/unwind-resume.c: Include it.
19880         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
19881         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
19882         argument list.
19883         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
19884         global rather than static.
19885         (_Unwind_Resume): Update user.
19886         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
19887         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
19888         rather than static.  Add __attribute__ ((cold)).
19889         (_Unwind_Resume, __gcc_personality_v0): Update callers.
19890         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
19891         * sysdeps/arm/arm-unwind-resume.S: New file.
19892         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
19893         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
19894         * sysdeps/arm/Makefile [$(subdir) = csu]
19895         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
19896         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
19897         Add rt-arm-unwind-resume.
19898         [$(subdir) = nptl]
19899         (libpthread-sysdep_routines, libpthread-shared-only-routines):
19900         Add pt-arm-unwind-resume.
19901         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
19902         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
19904 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
19906         [BZ #17748]
19907         * include/fenv.h (__feholdexcept): Declare.  Use
19908         libm_hidden_proto.
19909         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
19910         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
19911         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19912         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
19913         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
19914         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
19915         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
19916         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19917         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
19918         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
19919         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19920         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
19921         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
19922         (feholdexcept): Likewise.
19923         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
19924         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19925         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19926         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19927         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
19928         __feholdexcept instead of feholdexcept.
19929         (default_libc_feholdexcept_setround): Likewise.
19931 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
19933         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
19934         to avoid using stl/str to align destination.
19936 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
19938         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
19940 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
19942         [BZ #17796]
19943         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
19944         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
19945         Define as weak alias not strong alias.
19947 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
19949         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
19950         bltzal with addiupc.
19951         (RTLD_START): Ditto.
19953 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
19955         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
19956         for __vdso_* functions in declarations.
19957         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
19958         definitions.
19959         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
19960         INTERNAL_VSYSCALL): Use struct return types to check for error.
19962         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
19963         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
19964         function with cast from llround().
19965         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
19966         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
19967         Define.
19969 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
19971         [BZ #17793]
19972         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
19973         Define as weak alias not strong alias.
19975         [BZ #17635]
19976         * ctype/ctype-c99.c: New file.  isblank implementation moved from
19977         ...
19978         * ctype/ctype-extn.c: ... here.
19979         (__isblank_l): Move to ...
19980         * ctype/ctype-c99_l.c: ... here.  New file.
19981         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
19982         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
19983         Remove variable.
19984         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
19985         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
19986         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
19987         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
19988         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
19990         [BZ #17777]
19991         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
19992         (posix_fadvise64): Define as weak alias not strong alias.
19993         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19994         (posix_fallocate64): Likewise.
19995         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
19996         Remove variable.
19997         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
19998         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
19999         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
20000         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
20001         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
20003 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
20005         [BZ #16191]
20006         * NEWS: Mention bug fix.
20007         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
20008         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
20009         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
20010         (HOST_STACK_END_ADDR): Likewise.
20012 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
20014         [BZ #17748]
20015         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
20016         * math/fegetround.c (fegetround): Rename to __fegetround and
20017         define as weak alias of __fegetround.  Use libm_hidden_weak.
20018         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
20019         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
20020         * sysdeps/arm/fegetround.c (fegetround): Likewise.
20021         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
20022         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20023         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
20024         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
20025         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
20026         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20027         Undefine after rather than before function definition; use
20028         parentheses around function name in definition.
20029         (__fegetround): Also undefine macro after function definition.
20030         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
20031         __fegetround and define as weak alias of __fegetround.  Use
20032         libm_hidden_weak.  Do not undefine as macro.
20033         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20034         Likewise.
20035         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
20036         __fegetround and define as weak alias of __fegetround.  Use
20037         libm_hidden_weak.
20038         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20039         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20040         * sysdeps/tile/math_private.h (__fegetround): New inline function.
20041         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
20042         __fegetround and define as weak alias of __fegetround.  Use
20043         libm_hidden_weak.
20044         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
20045         __fegetround instead of fegetround.
20047         [BZ #17782]
20048         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
20049         Condition macro definition on [__USE_MISC].
20051         [BZ #17781]
20052         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
20053         (struct sigaction): Change type of sa_flags field to int.
20055         [BZ #17780]
20056         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
20057         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
20058         __glibc_reserved0.
20060         * nptl/version.c (banner): Use single year in copyright notice.
20062         * NEWS: Update copyright dates.
20063         * catgets/gencat.c (print_version): Likewise.
20064         * csu/version.c (banner): Likewise.
20065         * debug/catchsegv.sh: Likewise.
20066         * debug/pcprofiledump.c (print_version): Likewise.
20067         * debug/xtrace.sh (do_version): Likewise.
20068         * elf/ldconfig.c (print_version): Likewise.
20069         * elf/ldd.bash.in: Likewise.
20070         * elf/pldd.c (print_version): Likewise.
20071         * elf/sotruss.sh: Likewise.
20072         * elf/sprof.c (print_version): Likewise.
20073         * iconv/iconv_prog.c (print_version): Likewise.
20074         * iconv/iconvconfig.c (print_version): Likewise.
20075         * locale/programs/locale.c (print_version): Likewise.
20076         * locale/programs/localedef.c (print_version): Likewise.
20077         * login/programs/pt_chown.c (print_version): Likewise.
20078         * malloc/memusage.sh (do_version): Likewise.
20079         * malloc/memusagestat.c (print_version): Likewise.
20080         * malloc/mtrace.pl: Likewise.
20081         * manual/libc.texinfo: Likewise.
20082         * nptl/version.c (banner): Likewise.
20083         * nscd/nscd.c (print_version): Likewise.
20084         * nss/getent.c (print_version): Likewise.
20085         * nss/makedb.c (print_version): Likewise.
20086         * posix/getconf.c (main): Likewise.
20087         * scripts/test-installation.pl: Likewise.
20088         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20090 2015-01-02  Will Newton  <will.newton@linaro.org>
20092         * sysdeps/arm/armv7/configure: Removed.
20093         * sysdeps/arm/armv7/configure.ac: Likewise.
20095 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
20097         * All files with FSF copyright notices: Update copyright dates
20098         using scripts/update-copyrights.
20099         * intl/plural.c: Regenerated.
20100         * locale/programs/charmap-kw.h: Likewise.
20101         * locale/programs/locfile-kw.h: Likewise.
20103 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20105         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
20107 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
20109         [BZ #17748]
20110         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
20111         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
20112         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
20113         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
20114         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20115         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
20116         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20117         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
20118         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20119         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20120         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20121         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20122         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20123         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20124         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
20125         libm_hidden_def.
20126         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
20127         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
20128         Likewise.
20129         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20130         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20131         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20132         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20133         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
20134         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
20135         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
20136         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
20137         __fegetenv instead of fegetenv.
20138         (libc_feholdsetround_noex_ctx): Likewise.
20140 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
20142         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
20143         (Elf_MIPS_ABIFlags_v0): New structure.
20144         (EF_MIPS_FP64): Define.
20145         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
20146         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
20147         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
20148         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
20149         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
20150         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
20151         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
20152         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
20153         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
20154         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
20155         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
20156         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
20157         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
20158         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
20159         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
20160         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
20161         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
20162         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
20163         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
20164         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
20165         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
20166         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
20167         field.
20168         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
20169         EF_MIPS_FP64.
20170         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
20171         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
20172         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
20173         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
20174         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
20175         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
20176         * sysdeps/mips/tst-abi-interlink.c: Likewise.
20177         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
20178         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
20179         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
20180         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
20181         record the current FP ABI extension.
20182         (mips-mode-switch): Define to show if kernel headers support mode
20183         switching.
20184         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20185         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
20186         supported SYSV ABI version to 3.
20187         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
20188         feature.
20190 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20191             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20193         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
20194         path.
20195         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
20197 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
20199         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
20200         __fegetround and redefine to call __fegetround.  Remove condition
20201         on [!__NO_MATH_INLINES].
20202         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
20203         function.
20204         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
20205         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20206         Remove macro.
20207         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
20208         instead of <fenv_libc.h>.
20209         (__llrintl): Call fegetround instead of __fegetround.
20210         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
20211         instead of <fenv_libc.h>.
20212         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20213         (__lrintl): Call fegetround instead of __fegetround.
20214         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
20215         instead of <fenv_libc.h>.
20216         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20217         (__rintl): Call fegetround instead of __fegetround.
20219 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20221         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
20222         arrays.
20224 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
20226         [BZ #17775]
20227         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
20228         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
20229         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
20231 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20233         * sysdeps/i386/tls-macros.h: Include <features.h>.
20234         (TLS_LE): Use non-PIC version for GCC >= 5.0.
20235         (TLS_IE): Likewise.
20236         (TLS_LD): Likewise.
20237         (TLS_GD): Likewise.
20238         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
20239         define for GCC >= 5.0.
20241 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
20243         * math/test-fenv.c (test_single_exception, set_single_exc,
20244         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
20245         feexcp_mask_test, feenable_test, fe_single_test): Add
20246         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
20247         case where they are not used.
20248         * math/libm-test.inc: Likewise.
20249         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
20250         unused in the absence of FP rounding/exception support.
20251         * stdio-common/tst-printf-round.c: Likewise.
20252         * stdlib/tst-strtod-round.c: Likewise.
20253         * stdlib/tst-strtod-underflow.c: Likewise.
20255 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
20257         [BZ #17723]
20258         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
20259         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
20260         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20261         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20262         libm_hidden_weak.
20263         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
20264         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
20265         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
20266         libm_hidden_def.
20267         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20268         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20269         libm_hidden_weak.
20270         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
20271         Likewise.
20272         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
20273         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20274         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20275         libm_hidden_weak.
20276         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
20277         libm_hidden_def.
20278         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20279         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
20280         (__feraiseexcept): Likewise.
20281         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20282         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20283         libm_hidden_weak.
20284         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
20285         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
20286         libm_hidden_def.
20287         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
20288         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
20289         Use libm_hidden_def.
20290         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
20291         libm_hidden_def.
20292         (feraiseexcept): Define as weak not strong alias.  Use
20293         libm_hidden_weak.
20294         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
20295         New inline function.  Factored out of ...
20296         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
20297         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
20298         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
20299         feraiseexcept.
20300         * math/w_acos.c (__acos): Likewise.
20301         * math/w_asin.c (__asin): Likewise.
20302         * math/w_ilogb.c (__ilogb): Likewise.
20303         * math/w_j0.c (y0): Likewise.
20304         * math/w_j1.c (y1): Likewise.
20305         * math/w_jn.c (yn): Likewise.
20306         * math/w_log.c (__log): Likewise.
20307         * math/w_log10.c (__log10): Likewise.
20308         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
20309         * sysdeps/aarch64/fpu/math_private.h
20310         (libc_feupdateenv_test_aarch64): Likewise.
20311         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
20312         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
20313         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
20314         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
20315         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
20316         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
20317         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
20318         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20319         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20320         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20322 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
20324         [BZ #17732]
20325         * io/test-utime.c (main): Replace %ld with %jd and cast to
20326         intmax_t.
20327         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
20328         * nptl/tst-mutex5.c: Include <stdint.h>.
20329         (do_test): Replace %ld with %jd and cast to intmax_t.
20330         * posix/tst-regex.c (run_test): Likewise.
20331         (run_test_backwards): Likewise.
20332         * rt/tst-clock.c: Include <stdint.h>.
20333         (clock_test): Replace %ld with %jd and cast to intmax_t.
20334         * rt/tst-cpuclock1.c: Include <stdint.h>.
20335         (do_test): Replace %lu with %ju and cast to uintmax_t.
20336         * rt/tst-cpuclock2.c: Include <stdint.h>.
20337         (do_test): Replace %lu with %ju and cast to uintmax_t.
20338         * rt/tst-mqueue1.c: Include <stdint.h>.
20339         (check_attrs): Replace %ld with %jd and cast to intmax_t.
20340         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
20341         intmax_t.
20342         * rt/tst-mqueue4.c (do_test): Likewise.
20343         * rt/tst-timer4.c: Include <stdint.h>.
20344         (check_ts): Replace %ld with %jd and cast to intmax_t.
20345         (do_test): Likewise.
20346         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
20347         and cast to intmax_t.
20348         * sysdeps/pthread/tst-timer.c (main): Likewise.
20349         * time/clocktest.c (main): Likewise.
20350         * time/tst-posixtz.c (do_test): Likewise.
20351         * timezone/tst-timezone.c (main): Likewise.
20353 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20354             H.J. Lu  <hongjiu.lu@intel.com>
20356         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
20357         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
20358         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
20359         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
20360         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
20361         version if bit_Fast_Unaligned_Load is set.
20362         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20363         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20364         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20365         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20366         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20367         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20368         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20369         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
20370         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
20371         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
20372         to 4.
20373         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
20374         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
20375         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
20376         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
20378 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
20380         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
20381         instead of #if to avoid a Wundef warning.
20382         * stdlib/tst-limits.c (do_test): Likewise.
20384         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
20385         parallel other exception macros.
20386         (fegetenv): Convert from macro to extern inline so that it applies
20387         retroactively to inline functions already seen by the compiler.
20388         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
20390         * posix/Makefile (before-compile): Use $(objpfx) for
20391         posix-conf-vars-def.h.
20393 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20395         * posix/getconf.c (main): Use size_t for type of I.
20396         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
20397         NSPEC.
20399         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
20400         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
20401         * posix/posix-envs.def: Likewise.
20402         * sysdeps/posix/sysconf.c: Likewise.
20403         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
20404         (specs): Remove array.
20405         * scripts/gen-posix-conf-vars.awk: Support generation of specs
20406         array.
20408         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
20409         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
20410         (__sysconf): Use CONF_IS_* macros.
20412         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
20413         ($(objpfx)posix-conf-vars-def.h): New target.
20414         * posix/posix-conf-vars.list: New file.
20415         * posix/posix-conf-vars.h: New file.
20416         * posix/confstr.c: Include posix-conf-vars.h.
20417         (confstr): Use CONF_IS_* macros.
20418         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
20419         CONF_IS_* macros.
20420         * scripts/gen-posix-conf-vars.awk: New file.
20422 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
20424         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
20425         fegetround): Add no-op macros to avoid linknamespace issues.
20427         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
20428         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
20430         * sysdeps/unix/sysv/linux/tile/sysdep.h
20431         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
20432         assembly-specific section to avoid a redefinition warning.
20434         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
20435         long before casting to pointer to avoid a cast warning.
20437 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
20439         * sysdeps/tile/tilegx/Implies: New file.
20441 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
20443         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
20445 2014-12-23  Florian Weimer  <fweimer@redhat.com>
20447         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
20449 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
20451         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
20452         not define.
20453         * sysdeps/unix/sysv/linux/utimes.c: Do not include
20454         <kernel-features.h>.
20455         (__utimes) [__NR_utimes]: Make code unconditional.
20456         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
20457         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20458         (__ASSUME_UTIMES): Do not undefine.
20459         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20460         (__ASSUME_UTIMES): Likewise.
20461         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20462         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
20463         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
20464         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
20466 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
20468         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
20470 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
20472         [BZ #17747]
20473         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
20474         alias to weak alias for j0l, y0l.
20475         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
20476         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
20478         [BZ #17746]
20479         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
20480         conversion.
20482 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
20484         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
20485         to zero if not already defined.
20487 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
20489         [BZ #17724]
20490         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
20491         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
20492         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
20493         (char *) casts added.
20494         * sysdeps/ieee754/k_standardf.c: New file.
20495         * sysdeps/ieee754/k_standardl.c: Likewise.
20496         * math/Makefile (libm-support): Remove k_standard.
20497         (libm-calls): Add k_standard.
20499 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
20501         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
20502         Optimize to avoid an unnecessary FPCR read.
20504 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
20506         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
20507         Optimize to reduce FPCR/FPSR accesses.
20509 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
20511         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
20512         Call libc_fetestexcept_aarch64.
20514 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
20516         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
20517         Call libc_fesetround_aarch64.
20519 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
20521         [BZ #17733]
20522         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
20523         (__bind): Do not define as weak alias.
20524         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
20525         define.
20526         (__getsockname): Do not define as weak alias.
20528 2014-12-22  Will Newton  <will.newton@linaro.org>
20530         * manual/install.texi: Document that we require bison 2.7
20531         or above.
20532         * INSTALL: Regenerate.
20533         * configure.ac: Use AC_CHECK_PROG_VER instead of
20534         AC_PATH_PROG when checking for bison and check for
20535         version 2.7 or above.
20536         * configure: Regenerate.
20538 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
20540         [BZ #17745]
20541         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
20542         * sysdeps/tile/ffsll.c (ffsll): To here.
20544         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
20546 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
20548         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
20549         if not defined.
20550         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
20551         definition.
20552         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
20553         hidden ___tls_get_addr.
20554         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
20555         hidden __tls_get_addr.
20556         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
20557         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
20558         Likewise.
20560 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
20562         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
20563         _dl_init call.
20565 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
20567         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
20568         from "call _dl_init@PLT".
20569         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
20571 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
20573         * manual/search.texi: (Array Sort Function): Clarify stable sorting
20574         guarantees.
20576 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
20578         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
20580 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
20582         [BZ #17744]
20583         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
20584         strnlen.
20586 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
20588         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
20589         of multu on MIPSr6.
20590         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
20591         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
20592         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
20593         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
20594         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
20596 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
20598         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
20599         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
20600         (PTR_SUBU): Use subu for mips32r6/mips64r6.
20601         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
20602         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
20603         mips32r6/mips64r6.
20604         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
20606 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
20608         * string/strncat.c (STRNCAT): Simplify implementation.
20610 2014-12-19  David S. Miller  <davem@davemloft.net>
20612         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
20613         access the quad as both a long double and as a series of 4 words.
20615         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
20616         link_map->l_info array access.
20618 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
20620         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
20622         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
20623         * math/atest-exp2.c (TIMEOUT): Likewise.
20624         * math/atest-sincos.c (TIMEOUT): Likewise.
20626 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
20628         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
20629         -Wno-error with -fno-builtin-lround.
20631 2014-12-19  Torvald Riegel  <triegel@redhat.com>
20633         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
20634         Contains futex constants and functions moved over from ...
20635         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
20636         <lowlevellock-futex.h>.
20637         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
20638         (lll_timedwait_tid): Add comments and parentheses around macro
20639         arguments.
20641 2014-12-19  Torvald Riegel  <triegel@redhat.com>
20643         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
20644         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
20645         (__lll_private_flag): Remove.
20646         (lll_futex_wait): Likewise.
20647         (lll_futex_timed_wait): Likewise.
20648         (lll_futex_wake): Likewise.
20649         (lll_futex_requeue): Likewise.
20650         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
20651         (__lll_timedwait_tid): Spell out argument names.
20652         (lll_timedwait_tid): Add comments and parentheses around macro
20653         arguments.
20654         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
20655         LLL_SHARED and LLL_PRIVATE usable from assembly code.
20657 2014-12-19  Torvald Riegel  <triegel@redhat.com>
20659         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
20660         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
20661         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20662         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
20663         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
20664         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
20665         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
20666         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
20667         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
20668         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
20669         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
20670         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
20671         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
20672         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
20673         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
20674         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
20675         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
20676         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
20677         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
20679 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
20681         * sysdeps/x86_64/x32/Makefile: New file.
20683 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
20685         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
20686         1L with (mp_limb_t) 1.
20688 2014-12-17  Roland McGrath  <roland@hack.frob.com>
20690         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
20691         * nptl/libc_pthread_init.c: ... here.
20692         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
20693         * nptl/register-atfork.c: ... here.
20695         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
20696         Use pthread_sigmask rather than INTERNAL_SYSCALL.
20697         Use assert_perror to check its return value.
20698         (__gai_create_helper_thread): Likewise.
20700         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
20702         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
20704 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
20706         [BZ #17725]
20707         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
20708         __profil_counter.
20709         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
20710         Likewise.
20711         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
20712         Likewise.
20713         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
20714         Likewise.
20715         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
20716         (profil_counter): Likewise.
20717         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
20718         (profil_counter): Likewise.
20719         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
20720         Likewise.
20721         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
20722         Likewise.
20723         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
20724         (profil_counter): Likewise.
20725         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
20726         Likewise.
20727         [!__profil_counter] (profil_counter): Define as weak alias of
20728         __profil_counter.
20729         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
20730         (profil_counter): Rename to __profil_counter.
20731         [!__profil_counter] (profil_counter): Define as weak alias of
20732         __profil_counter.
20733         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
20734         (profil_counter): Rename to __profil_counter.
20735         [!__profil_counter] (profil_counter): Define as weak alias of
20736         __profil_counter.
20737         * sysdeps/posix/profil.c: Update comment referring to
20738         profil_counter.
20739         (__profil): Use __profil_counter instead of profil_counter.
20740         * sysdeps/posix/sprofil.c (profil_counter): Rename to
20741         __profil_counter.  Use __profil_counter_ushort and
20742         __profil_counter_uint in definitions.
20743         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
20744         instead of profil_counter_uint and profil_counter_ushort.
20746         [BZ #17722]
20747         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
20748         define as weak alias of __inet_makeaddr.
20749         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
20750         as weak alias of __inet_addr.
20751         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
20752         as weak alias of __inet_pton.  Use libc_hidden_weak.
20753         * include/arpa/inet.h (__inet_pton): Declare.  Use
20754         libc_hidden_proto.
20755         (inet_makeaddr): Don't use libc_hidden_proto.
20756         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
20757         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
20758         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
20759         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
20760         Remove variable.
20761         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
20762         (test-xfail-POSIX/time.h/linknamespace): Likewise.
20764 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
20766         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
20768 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20770         * stdio-common/bug-vfprintf-nargs.c (do_test):
20771         Cast value to intptr_t to avoid format warning
20772         for usage with PRIdPTR printing macro.
20774 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20776         * libio/tst-widetext.c (do_test):
20777         Use format type %td instead of %Zd for ptrdiff_t
20778         in order to avoid format warning.
20780 2014-12-17  Andreas Schwab  <schwab@suse.de>
20782         * nscd/mem.c (gc): Add size_t cast to match printf format.
20784 2014-12-16  Roland McGrath  <roland@hack.frob.com>
20786         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
20787         (init): Apply PTR_MANGLE to pointers before storing them.
20788         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
20789         before using them.
20791 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
20793         [BZ #17719]
20794         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
20795         define as weak alias of __memrchr.
20796         (__memrchr): Do not define as strong alias of memrchr.
20797         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
20798         Remove variable.
20799         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
20800         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
20801         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
20803         [BZ #17717]
20804         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
20805         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
20806         (if_indextoname): Rename to __if_indextoname and define as weak
20807         alias of __if_indextoname.  Use libc_hidden_weak.
20808         (if_freenameindex): Rename to __if_freenameindex and define as
20809         weak alias of __if_freenameindex.
20810         (if_nameindex): Rename to __if_nameindex and define as weak alias
20811         of __if_nameindex.
20812         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
20813         __if_nametoindex and define as weak alias of __if_nametoindex.
20814         Use libc_hidden_weak.
20815         (if_freenameindex): Rename to __if_freenameindex and define as
20816         weak alias of __if_freenameindex.
20817         (if_nameindex): Rename to __if_nameindex and define as weak alias
20818         of __if_nameindex.
20819         (if_indextoname): Rename to __if_indextoname and define as weak
20820         alias of __if_indextoname.  Use libc_hidden_weak.
20821         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
20822         __if_nametoindex and define as weak alias of __if_nametoindex.
20823         Use libc_hidden_weak.
20824         (if_freenameindex): Rename to __if_freenameindex and define as
20825         weak alias of __if_freenameindex.  Use libc_hidden_weak.
20826         (if_nameindex_netlink): Use __if_freenameindex instead of
20827         if_freenameindex.
20828         (if_nameindex): Rename to __if_nameindex and define as weak alias
20829         of __if_nameindex.  Use libc_hidden_weak.
20830         (if_indextoname): Rename to __if_indextoname and define as weak
20831         alias of __if_indextoname.  Use libc_hidden_weak.
20832         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
20833         libc_hidden_proto.
20834         [!_ISOMAC] (__if_freenameindex): Likewise.
20835         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
20836         if_nametoindex.
20837         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
20838         variable.
20839         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
20840         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
20841         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
20842         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
20843         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
20844         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
20845         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
20847         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
20848         Remove variable.
20849         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
20850         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
20852 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20854         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
20855         subscript above bounds'
20857         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
20858         bounds.
20860 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
20862         * libio/tst-fopenloc.c: Use test-skeleton.c.
20864         * stdlib/tst-bsearch.c: Use test-skeleton.c.
20865         (entry): Rename to ITEM.
20866         (do_test, comp): Adjust.
20868         * stdio-common/tst-fseek.c: Use test-skeleton.c.
20870 2014-12-16  Torvald Riegel  <triegel@redhat.com>
20872         * string/tester.c: Include <libc-internal.h>.
20873         (test_memset): Ignore -Wmemset-transposed-args.
20875 2014-12-16  Torvald Riegel  <triegel@redhat.com>
20877         * misc/tst-mntent2.c (do_test): Fix warning.
20879 2014-12-16  Torvald Riegel  <triegel@redhat.com>
20881         * elf/tst-unique4lib.cc(a): Mark as used.
20883 2014-12-16  Florian Weimer  <fweimer@redhat.com>
20885         [BZ #17630]
20886         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
20887         names.
20889 2014-12-16  Allan McRae  <allan@archlinux.org>
20891         * stdio-common/Makefile (tests): Re-add bug26.
20893 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
20895         [BZ #17657]
20896         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
20897         static array.
20899 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
20901         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
20902         (__lll_lock_wait): Likewise.
20903         (__lll_timedlock_wait): Likewise.
20904         (__lll_timedwait_tid): Likewise.
20905         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
20906         (__lll_robust_timedlock_wait): Likewise.
20907         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
20908         (lll_cond_trylock): Likewise.
20909         (__lll_lock): Likewise.
20910         (__lll_robust_lock): Likewise.
20911         (__lll_cond_lock): Likewise.
20912         (lll_robust_cond_lock): Likewise.
20913         (__lll_timedlock): Likewise.
20914         (__lll_robust_timedlock): Likewise.
20915         (__lll_unlock): Likewise.
20916         (__lll_robust_unlock): Likewise.
20917         (lll_wait_tid): Likewise.
20918         (lll_timedwait_tid): Likewise.
20920 2014-12-15  Torvald Riegel  <triegel@redhat.com>
20922         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
20924 2014-12-15  Torvald Riegel  <triegel@redhat.com>
20926         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
20928 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
20930         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
20931         * stdio-common/tst-sprintf.c: Likewise.
20933 2014-12-15  Torvald Riegel  <triegel@redhat.com>
20935         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
20937 2014-12-15  Jeff Law  <law@redhat.com>
20939         [BZ #16617]
20940         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
20941         on the heap.  (CVE-2012-3406)
20942         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
20943         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
20944         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
20946 2014-12-15  Will Newton  <will.newton@linaro.org>
20948         * manual/install.texi: Bump required version of texinfo
20949         to 4.7 from 4.5.
20950         * INSTALL: Regenerated.
20951         * configure.ac: Check for makeinfo version 4.7 and above.
20952         * configure: Regenerated.
20954 2014-12-12  Roland McGrath  <roland@hack.frob.com>
20956         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
20957         PREFIX, string constant to insert between directory and name.
20958         * sysdeps/posix/shm_open.c: Update caller.
20959         * sysdeps/posix/shm_unlink.c: Likewise.
20960         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
20961         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
20962         (SEM_SHM_PREFIX): New macro.
20963         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
20964         [$(have-thread-library) = no].
20965         * nptl/Makefile (libpthread-routines): Add shm-directory.
20966         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
20967         * sysdeps/nptl/shm-directory.h: New file.
20968         * sysdeps/posix/shm-directory.c
20969         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
20970         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
20971         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
20972         INTERNAL_SYSCALL.
20973         (__where_is_shmfs): Function removed.
20974         (mountpoint, defaultmount, defaultdir, __namedsem_once):
20975         Variables removed.
20976         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
20977         Use SHM_GET_NAME.
20978         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
20980         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
20981         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
20982         unconditional for use inside libpthread.
20983         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
20985 2014-12-12  Roland McGrath  <roland@hack.frob.com>
20987         * nptl/pthread_getaffinity.c: New file.
20988         * nptl/pthread_setaffinity.c: New file.
20989         * nptl/pthread_getname.c: New file.
20990         * nptl/pthread_setname.c: New file.
20992         * nptl/pthread_create.c (START_THREAD_DEFN)
20993         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
20995 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20996             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20998         * resolv/res_send.c (send_vc): Disable warning resplen may
20999         be used uninitialized.
21001 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21003         * nptl/tst-mutex6.c
21004         (ATTR_NULL): New define checks ATTR against NULL.
21005         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
21006         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
21008 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
21010         [BZ #17581]
21011         * malloc/hooks.c
21012         (mem2mem_check): Revert my previous change.
21013         (malloc_check_get_size): Revert my previous change.
21014         (mem2chunk_check): Revert my previous change.
21016 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21018         * sysdeps/posix/shm-directory.c: New file.
21019         * sysdeps/posix/shm-directory.h: New file.
21020         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
21021         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
21022         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
21023         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
21024         Transmute EPERM to EACCES.
21025         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
21026         from ...
21027         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
21028         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
21030 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21032         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
21033         pointer and cast to uintptr_t.
21034         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
21035         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
21036         Add cast to avoid warning.
21037         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
21039 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
21041         * nptl/semaphore.h: Move to ...
21042         * sysdeps/pthread/semaphore.h: ... here.
21043         * Makefile (installed-headers): Change nptl/semaphore.h to
21044         sysdeps/pthread/semaphore.h.
21046 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21048         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
21049         generated error format strings.
21051         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
21052         -Wformat-extra-args warnings for scanf formats.
21053         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
21054         test of zero-length format (duh).
21055         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
21056         corner-case scanf format test.
21057         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
21058         generated fprintf format string.
21059         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
21060         corner-case sprintf format tests.
21061         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
21062         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
21063         -Wformat-extra-args warnings throughout.
21064         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
21065         (CFLAGS-scanf4.c): Likewise.
21066         (CFLAGS-scanf7.c): Likewise.
21067         (CFLAGS-tst-sprintf.c): Likewise.
21068         (CFLAGS-tst-printf.c): Likewise.
21069         (CFLAGS-tst-printfsz.c): Likewise.
21071 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
21073         * include/cpio.h: New file.
21074         * include/fmtmsg.h: Likewise.
21076         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
21077         corresponding format argument to size_t.
21078         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
21079         arguments.
21080         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
21081         corresponding format argument to size_t.
21082         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
21083         arguments.
21084         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
21085         corresponding format argument to size_t.
21086         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
21087         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
21088         (CFLAGS-tst-mbswcs2.c): Likewise.
21089         (CFLAGS-tst-mbswcs3.c): Likewise.
21090         (CFLAGS-tst-mbswcs4.c): Likewise.
21091         (CFLAGS-tst-mbswcs5.c): Likewise.
21092         (CFLAGS-tst-trans.c): Likewise.
21094 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21096         * posix/regexbug1.c (main): Use "%s" format with regerror results,
21097         rather than assuming they won't contain any '%'s.
21099 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
21101         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
21102         inhibit_loop_to_libcall to avoid recursive calls.
21103         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
21104         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
21106 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
21108         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
21109         prototype.
21111 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
21113         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
21114         integer value instead of boolean.
21116 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
21118         * malloc/malloc.c: Fix powerof2 check.
21120 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21122         * locale/programs/locfile.h (maybe_swap_uint32):
21123         Remove inline and add unused attribute.
21125 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21127         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
21128         Truncating assembler expression to a .long expression.
21130 2014-12-11  Andreas Schwab  <schwab@suse.de>
21132         * elf/rtld.c (struct map_args): Constify str member.
21133         (do_preload): Constify fname argument.
21135 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21137         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
21138         constants definition.
21140 2014-12-11  Andreas Schwab  <schwab@suse.de>
21142         [BZ #16657]
21143         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
21144         FORCE_ELISION instead of DO_ELISION.
21145         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
21146         Remove.
21147         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
21148         Likewise.
21150         * iconvdata/gconv-modules: Remove duplicate entry.
21152 2014-12-11  Will Newton  <will.newton@linaro.org>
21154         Merge gettext 0.19.3 into intl/.
21156         This involves a number of cosmetic changes to comments
21157         and ANSI function definitions and prototypes throughout
21158         all the files. The gettext copyright header is used but
21159         with the date ranges taken from the glibc copy.
21161         * NEWS: Add gettext merge to 2.21.
21162         * intl/bindtextdom.c: Switch to gettext copyright.
21163         Use ANSI definitions and prototypes.
21164         Use gl_* locking primitives rather than __libc_* ones.
21165         Use __builtin_expect rather than __glibc_likely/unlikely.
21166         * intl/dcgettext.c: Switch to gettext copyright.
21167         Use ANSI definitions and prototypes.
21168         * intl/dcigettext.c: Switch to gettext copyright.
21169         Use ANSI definitions and prototypes.
21170         (INTDIV0_RAISES_SIGFPE): New define.
21171         Use gl_* locking primitives rather than __libc_* ones.
21172         Include eval-plural.h instead of plural-eval.c.
21173         Use __builtin_expect rather than __glibc_likely/unlikely.
21174         * intl/dcngettext.c: Switch to gettext copyright.
21175         Use ANSI definitions and prototypes.
21176         * intl/dgettext.c: Likewise.
21177         * intl/dngettext.c: Likewise.
21178         * intl/plural-eval.c: Renamed to...
21179         * intl/eval-plural.h: ...this.
21180         * intl/explodename.c: Switch to gettext copyright.
21181         Use ANSI definitions and prototypes.
21182         (_nl_explode_name): Use strchr instead of __rawmemchr.
21183         * intl/finddomain.c: Switch to gettext copyright.
21184         Use ANSI definitions and prototypes.
21185         Use gl_* locking primitives rather than __libc_* ones.
21186         (_nl_find_domain): Use malloc rather than alloca for
21187         allocation of temporary locale name.
21188         * intl/gettext.c: Switch to gettext copyright.
21189         Use ANSI definitions and prototypes.
21190         * intl/gettextP.h: Switch to gettext copyright.
21191         Use ANSI definitions and prototypes.
21192         Use gl_* locking primitives rather than __libc_* ones.
21193         * intl/gmo.h: Switch to gettext copyright.
21194         (struct sysdep_string): Move struct segment_pair outside of
21195         struct definition.
21196         * intl/hash-string.c: Use ANSI definitions and prototypes.
21197         * intl/hash-string.h: Switch to gettext copyright.
21198         Use ANSI definitions and prototypes.
21199         * intl/l10nflist.c: Switch to gettext copyright.
21200         Use ANSI definitions and prototypes.
21201         (_nl_normalize_codeset): Avoid integer overflow.
21202         * intl/loadinfo.h: Switch to gettext copyright.
21203         Use ANSI definitions and prototypes.
21204         (LIBINTL_DLL_EXPORTED): New define.
21205         (PATH_SEPARATOR): New define.
21206         * intl/loadmsgcat.c: Switch to gettext copyright.
21207         * intl/localealias.c: Switch to gettext copyright.
21208         Use ANSI definitions and prototypes.
21209         (_nl_expand_alias): Use PATH_SEPARATOR.
21210         * intl/ngettext.c: Switch to gettext copyright.
21211         Use ANSI definitions and prototypes.
21212         * intl/plural-exp.c: Likewise.
21213         * intl/plural-exp.h: Switch to gettext copyright.
21214         Use ANSI definitions and prototypes.
21215         (struct expression): Move definition of enum operator outside
21216         of struct definition.
21217         * intl/plural.c: Regenerate.
21218         * intl/plural.y: Switch to gettext copyright.
21219         Use ANSI definitions and prototypes.
21220         Port to bison 3.0.
21221         * intl/textdomain.c: Switch to gettext copyright.
21222         Use ANSI definitions and prototypes.
21223         Use gl_* locking primitives rather than __libc_* ones.
21225 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
21227         * debug/warning-nop.c: Add used atrribute.
21229 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21231         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
21233         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
21234         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
21235         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
21237 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21238             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21240         [BZ #17634]
21241         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
21242         Undefine after defining function.  Define as weak alias of
21243         __wcschr.  Use libc_hidden_weak.
21244         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
21245         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
21246         (libc_hidden_def): Also define __GI___wcschr alias.
21247         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
21248         __wcschr and define as weak alias of __wcschr.
21249         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
21250         __wcschr.
21251         [!WCSCHR] (DEFAULT_WCSCHR): Define.
21252         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
21253         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
21254         libc_hidden_weak.  Do not use libc_hidden_def.
21255         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
21256         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
21257         __GI___wcschr alias.
21258         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
21259         [IS_IN (libc)] (wcschr): Define as macro expanding to
21260         __redirect_wcschr.
21261         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
21262         [IS_IN (libc)] (__wcschr_power6): Likewise.
21263         [IS_IN (libc)] (__wcschr_power7): Likewise.
21264         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
21265         instead of wcschr.
21266         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
21267         __libc_wcschr.
21268         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
21269         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
21270         __wcschr and define as weak alias of __wcschr.  Use
21271         libc_hidden_builtin_def.
21272         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
21273         as weak alias of __wcschr.  Use libc_hidden_weak.
21274         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
21275         wcschr.
21276         * time/era.c (_nl_init_era_entries): Likewise.
21277         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
21278         variable.
21279         (test-xfail-XPG3/time.h/linknamespace): Likewise.
21280         (test-xfail-XPG4/time.h/linknamespace): Likewise.
21282 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21284         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
21285         format for long int variable.
21287 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
21289         [BZ #10672]
21290         * manual/search.texi: (Array Sort Function): Remove claim how to make
21291         qsort stable.
21293 2014-12-10  Andreas Schwab  <schwab@suse.de>
21295         [BZ #12847]
21296         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
21297         user-controlled locks.
21299 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
21301         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
21302         register.
21304 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21306         * configure.ac (--disable-werror): New configure option.
21307         (enable_werror): New AC_SUBST.
21308         * configure: Regenerated.
21309         * config.make.in (enable-werror): New variable.
21310         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
21311         -Wno-error=undef.
21312         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
21313         * manual/install.texi (Configuring and compiling): Document
21314         --disable-werror.
21315         * INSTALL: Regenerated.
21316         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
21317         (CFLAGS-tst-chk2.c): Likewise.
21318         (CFLAGS-tst-chk3.c): Likewise.
21319         (CFLAGS-tst-chk4.cc): Likewise.
21320         (CFLAGS-tst-chk5.cc): Likewise.
21321         (CFLAGS-tst-chk6.cc): Likewise.
21322         (CFLAGS-tst-lfschk1.c): Likewise.
21323         (CFLAGS-tst-lfschk2.c): Likewise.
21324         (CFLAGS-tst-lfschk3.c): Likewise.
21325         (CFLAGS-tst-lfschk4.cc): Likewise.
21326         (CFLAGS-tst-lfschk5.cc): Likewise.
21327         (CFLAGS-tst-lfschk6.cc): Likewise.
21329         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
21330         (main): Disable -Wdeprecated-declarations around calls to
21331         register_printf_function.
21333         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
21334         (do_test): Disable -Wdiv-by-zero around some calls to
21335         fwrite_unlocked and fread_unlocked.
21337         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
21338         (DIAG_POP_NEEDS_COMMENT): Likewise.
21339         (_DIAG_STR1): Likewise.
21340         (_DIAG_STR): Likewise.
21341         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
21342         * stdio-common/bug21.c: Include <libc-internal.h>.
21343         (do_test): Disable -Wformat around call to sscanf.
21344         * stdio-common/scanf14.c: Include <libc-internal.h>.
21345         (main): Disable -Wformat around some calls to scanf functions.
21347 2014-12-09  Torvald Riegel  <triegel@redhat.com>
21349         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
21351 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21353         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
21354         stack variable alignment.
21356 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
21358         [BZ #17682]
21359         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
21360         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
21361         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
21362         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
21363         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
21364         __getrlimit instead of getrlimit.
21365         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
21366         __gettimeofday instead of gettimeofday.
21367         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21368         Likewise.
21369         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21370         Likewise.
21371         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21372         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
21373         Remove variable.
21374         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
21375         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
21377 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21379         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
21380         for wide-character tests.
21382 2014-12-04  Roland McGrath  <roland@hack.frob.com>
21384         * io/openat64.c: #include <libc-internal.h>
21385         (__openat64): Prototypify.  Use ignore_value on MODE.
21386         * io/openat.c: Likewise.
21387         * misc/reboot.c: #include <libc-internal.h>
21388         (reboot): Prototypify.  Use ignore_value on HOWTO.
21389         * misc/ptrace.c: #include <libc-internal.h>
21390         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
21392 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
21394         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
21395         XPG4, UNIX98 and XOPEN2K.
21396         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
21397         Remove variable.
21398         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
21400 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21402         * libio/fileops.c: Use ISO C style for function definitions.
21403         * libio/iofopen.c: Likewise.
21404         * libio/wfileops.c: Likewise.
21406         [BZ #17653]
21407         * libio/fileops.c (_IO_new_file_underflow): Unset cached
21408         offset on EOF.
21409         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
21410         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
21411         (fgets_func): Function pointer to fgets and fgetws.
21412         (do_ftell_test): Add test to verify ftell value after read
21413         EOF.
21414         (do_test): Set fgets_func.
21416         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
21417         O_TRUNC flag for w and w+ modes.
21418         (do_rewind_test): Likewise.
21419         (do_ftell_test): Likewise.
21420         (do_write_test): Likewise.
21422         [BZ #17647]
21423         * libio/fileops.c (do_ftell): Seek only when there are
21424         unflushed writes.
21425         * libio/wfileops.c (do_ftell_wide): Likewise.
21426         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
21427         test case.
21428         (do_one_test): Call it.
21430 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
21432         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
21433         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
21434         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
21435         Remove variable.
21436         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
21437         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
21438         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
21440 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
21442         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
21443         Remove variable.
21444         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
21446         [BZ #17668]
21447         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
21448         as weak alias of __getifaddrs.  Use libc_hidden_weak.
21449         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
21450         __freeifaddrs.  Use libc_hidden_weak.
21451         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
21452         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
21453         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
21454         __freeifaddrs.  Use libc_hidden_weak.
21455         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
21456         __getifaddrs and define as weak alias of __getifaddrs.  Use
21457         libc_hidden_weak.
21458         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
21459         __freeifaddrs.  Use libc_hidden_weak.
21460         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
21461         Remove variable.
21462         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
21463         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
21465 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
21467         [BZ #17601]
21468         * sysdeps/mips/start.S (__start): Use indirect jump to call
21469         __libc_start_main.
21471 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
21473         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
21475         * nptl/tst-mutex1.c: Include <stdbool.h>.
21476         [!ATTR] (ATTR_NULL): New macro.
21477         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
21478         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
21479         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
21481         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
21482         to char *.
21484         [BZ #17665]
21485         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
21486         Change conditional to [__USE_MISC].
21488         [BZ #17664]
21489         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
21490         fgets_unlocked.
21491         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
21492         __fgets_unlocked.
21493         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
21494         fgets_unlocked.
21495         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
21496         Remove variable.
21497         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
21498         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
21499         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
21500         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
21501         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
21502         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
21503         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
21504         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
21505         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
21507         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
21509 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21511         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21512         Remove strpbrk objects.
21513         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21514         (__libc_ifunc_impl_list): Remove strpbrk implementation.
21515         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
21516         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
21517         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
21518         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
21520         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21521         Remove strcspn objects.
21522         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21523         (__libc_ifunc_impl_list): Remove strcspn implementation.
21524         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
21525         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
21526         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
21527         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
21529         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21530         Remove strspn objetcs.
21531         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21532         (__libc_ifunc_impl_list): Remove strspn implementation.
21533         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
21534         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
21535         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
21536         * sysdeps/powerpc/powerpc64/strspn.S: New file.
21538 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
21540         [BZ #17581]
21541         * malloc/hooks.c
21542         (mem2mem_check): Add a terminator to the chain of checking blocks.
21543         (malloc_check_get_size): Use it here.
21544         (mem2chunk_check): Ditto.
21546 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21548         * sysdeps/powerpc/powerpc64/strtok.S: New file.
21549         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
21551 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
21553         * bits/ioctl-types.h: Indent preprocessor directives correctly.
21555         * nptl/nptl-init.c: Include libc-internal.h.
21556         (__pthread_initialize_minimal_internal): Use ROUND_UP.
21558         * elf/ldconfig.c (search_dir): Expand comment.
21560 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
21562         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
21563         variable.
21564         (linknamespace-symlist-stdlibs-tests): Likewise.
21565         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
21566         instead of $(objpfx)symlist-stdlibs.
21567         (linknamespace-libs-isoc): New variable.
21568         (linknamespace-libs): Use $(linknamespace-libs-isoc).
21569         (linknamespace-libs-ISO): New variable.
21570         (linknamespace-libs-ISO99): Likewise.
21571         (linknamespace-libs-ISO11): Likewise.
21572         (linknamespace-libs-XPG3): Likewise.
21573         (linknamespace-libs-XPG4): Likewise.
21574         (linknamespace-libs-POSIX): Likewise.
21575         (linknamespace-libs-UNIX98): Likewise.
21576         (linknamespace-libs-XOPEN2K): Likewise.
21577         (linknamespace-libs-POSIX2008): Likewise.
21578         (linknamespace-libs-XOPEN2K8): Likewise.
21579         ($(objpfx)symlist-stdlibs): Replace by
21580         $(linknamespace-symlist-stdlibs-tests).  Use
21581         $(linknamespace-libs-$*) as set of libraries.
21582         ($(linknamespace-header-tests)): Update dependencies.  Use
21583         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
21584         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
21585         * conform/linknamespace.pl: Remove comment about considering
21586         definitions of symbols from irrelevant libraries.
21588 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
21590         [BZ #13862]
21591         * elf/dl-tls.c: Include <atomic.h>.
21592         (oom): Remove #ifdef SHARED/#endif.
21593         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
21594         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
21595         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
21596         big enough.
21597         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
21598         * nptl/Makefile (tests): Add tst-stack4.
21599         (modules-names): Add tst-stack4mod.
21600         ($(objpfx)tst-stack4): New.
21601         (tst-stack4mod.sos): Likewise.
21602         ($(objpfx)tst-stack4.out): Likewise.
21603         ($(tst-stack4mod.sos)): Likewise.
21604         (clean): Likewise.
21605         * nptl/tst-stack4.c: New file.
21606         * nptl/tst-stack4mod.c: Likewise.
21608 2014-11-27  J. Brown  <jb999@gmx.de>
21610         * sysdeps/x86/bits/string.h: Add recent CPUs.
21612 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
21614         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
21615         sigblock.
21617         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
21618         feof.
21620         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
21621         variable.
21623 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
21625         * nscd/connections.c: Include libc-internal.h because of macro
21626         usage ignore_value.
21628 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21630         * string/bits/string3.h (__warn_memset_zero_len): Don't
21631         declare for gcc newer than 5.0.
21632         (memset): Don't test for zero-length __LEN for gcc newer than
21633         5.0.
21635 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
21637         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
21638         size_t for %zu format.
21640         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
21641         difference, not %ju.
21643 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
21645         * include/libc-internal.h (ignore_value): New macro.
21646         * nscd/connections.c (restart): Wrap calls to setuid and setgid
21647         with ignore_value.
21649         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
21650         definition.
21652         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
21653         pthread_cleanup_push to void *.
21655         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
21656         Undefine.
21658         [BZ #16619]
21659         [BZ #16740]
21660         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
21661         instead of 1L << 52.
21663         * libio/bug-rewind.c (do_test): Check fwscanf return values.
21664         * libio/bug-rewind2.c (do_test): Likewise.
21666         * debug/test-stpcpy_chk-ifunc.c: Remove file.
21667         * debug/test-strcpy_chk-ifunc.c: Likewise.
21668         * wcsmbs/test-wcschr-ifunc.c: Likewise.
21669         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
21670         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
21671         * wcsmbs/test-wcslen-ifunc.c: Likewise.
21672         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
21673         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
21674         * Rules [$(multi-arch) = no] (tests): Do not filter out
21675         $(tests-ifunc).
21676         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
21677         * debug/Makefile (tests-ifunc): Remove variable.
21678         (tests): Do not add $(tests-ifunc).
21679         * wcsmbs/Makefile (tests-ifunc): Remove variable.
21680         (tests): Do not add $(tests-ifunc).
21681         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
21682         [TEST_IFUNC]: Remove conditionals.
21683         * string/test-string.h (TEST_IFUNC): Remove macro.
21684         [TEST_IFUNC]: Remove conditionals.
21686         * string/test-strchr.c [!WIDE] (L): New macro.
21687         [WIDE] (L): Likewise.
21688         (check1): Use CHAR instead of char.  Use L on string and character
21689         constants.
21691 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
21693         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
21694         tests.
21695         * sysdeps/powerpc/bits/atomic.h
21696         (__arch_atomic_exchange_and_add_32_acq): Add definition.
21697         (__arch_atomic_exchange_and_add_32_rel): Likewise.
21698         (atomic_exchange_and_add_acq): Likewise.
21699         (atomic_exchange_and_add_rel): Likewise.
21700         * sysdeps/powerpc/powerpc32/bits/atomic.h
21701         (__arch_atomic_exchange_and_add_64_acq): Add definition.
21702         (__arch_atomic_exchange_and_add_64_rel): Likewise.
21703         * sysdeps/powerpc/powerpc64/bits/atomic.h
21704         (__arch_atomic_exchange_and_add_64_acq): Add definition.
21705         (__arch_atomic_exchange_and_add_64_rel): Likewise.
21707 2014-11-26  Torvald Riegel  <triegel@redhat.com>
21709         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
21710         Change synchronization of __sched_fifo_min_prio and
21711         __sched_fifo_max_prio.
21712         * nptl/pthread_mutexattr_getprioceiling.c
21713         (pthread_mutexattr_getprioceiling): Likewise.
21714         * nptl/pthread_mutexattr_setprioceiling.c
21715         (pthread_mutexattr_setprioceiling): Likewise.
21716         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
21717         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
21718         Likewise.
21720 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
21722         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
21723         void.
21725 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
21727         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
21728         third argument const.
21730 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
21732         fnmatch: work around GCC compiler warning bug with uninit var
21733         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
21734         This works around a bug with x86-64 GCC 4.9.2 and earlier
21735         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
21736         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
21737         used uninitialized in this function [-Wmaybe-uninitialized]".
21739 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
21741         * posix/bug-regex31.c (main): Return RES not 0.
21743 2014-11-25  Anton Blanchard <anton@samba.org>
21745         * sysdeps/powerpc/bits/atomic.h
21746         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
21748 2014-11-24  Sterling Augustine  <saugustine@google.com>
21750         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
21752 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
21754         [BZ #17608]
21755         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
21757 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
21759         [BZ #17633]
21760         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
21761         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
21762         variable.
21763         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
21764         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
21766 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
21768         * string/strncpy.c (strncpy): Improve performance by using memset.
21770 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
21772         * string/strcpy.c (strcpy):
21773         Improve performance by using strlen and memcpy.
21775 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
21777         * string/strcoll_l.c (get_next_seq): __always_inline.
21778         * string/strcoll_l.c (do_compare): __always_inline.
21780 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21782         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
21783         defined.
21784         * include/mqueue.h: Likewise.
21785         * include/stdlib.h: Likewise.
21787         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
21788         (get_null_defines): Adjust.
21789         * sunrpc/Makefile: Adjust comment.
21790         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
21791         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
21792         (CFLAGS-interp.c): Likewise.
21793         (CFLAGS-ldconfig.c): Likewise.
21794         (CPPFLAGS-.os): Likewise.
21795         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21796         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
21797         * extra-modules.mk (extra-modules.mk): Likewise.
21798         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
21799         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
21800         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
21801         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
21802         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
21803         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
21804         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
21805         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
21806         * iconvdata/Makefile (CPPFLAGS): Likewise.
21807         (cpp-srcs-left): Add libof for all iconvdata routines.
21808         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
21809         * include/assert.h: Likewise.
21810         * include/ctype.h: Likewise.
21811         * include/errno.h: Likewise.
21812         * include/libc-symbols.h: Likewise.
21813         * include/math.h: Likewise.
21814         * include/netdb.h: Likewise.
21815         * include/resolv.h: Likewise.
21816         * include/stdio.h: Likewise.
21817         * include/stdlib.h: Likewise.
21818         * include/string.h: Likewise.
21819         * include/sys/stat.h: Likewise.
21820         * include/wctype.h: Likewise.
21821         * intl/l10nflist.c: Likewise.
21822         * libidn/idn-stub.c: Likewise.
21823         * libio/libioP.h: Likewise.
21824         * nptl/libc_multiple_threads.c: Likewise.
21825         * nptl/pthreadP.h: Likewise.
21826         * posix/regex_internal.h: Likewise.
21827         * resolv/res_hconf.c: Likewise.
21828         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
21829         * sysdeps/arm/memmove.S: Likewise.
21830         * sysdeps/arm/sysdep.h: Likewise.
21831         * sysdeps/generic/_itoa.h: Likewise.
21832         * sysdeps/generic/symbol-hacks.h: Likewise.
21833         * sysdeps/gnu/errlist.awk: Likewise.
21834         * sysdeps/gnu/errlist.c: Likewise.
21835         * sysdeps/i386/i586/memcpy.S: Likewise.
21836         * sysdeps/i386/i586/memset.S: Likewise.
21837         * sysdeps/i386/i686/memcpy.S: Likewise.
21838         * sysdeps/i386/i686/memmove.S: Likewise.
21839         * sysdeps/i386/i686/mempcpy.S: Likewise.
21840         * sysdeps/i386/i686/memset.S: Likewise.
21841         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
21842         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21843         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
21844         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
21845         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21846         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21847         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
21848         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21849         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
21850         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21851         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21852         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21853         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21854         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21855         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21856         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21857         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
21858         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
21859         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
21860         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21861         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21862         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21863         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21864         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21865         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21866         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21867         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
21868         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21869         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
21870         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
21871         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21872         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21873         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21874         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21875         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21876         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21877         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21878         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21879         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21880         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21881         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21882         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21883         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21884         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
21885         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21886         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21887         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
21888         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
21889         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21890         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21891         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21892         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
21893         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
21894         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21895         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21896         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
21897         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21898         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
21899         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
21900         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21901         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21902         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21903         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
21904         * sysdeps/nptl/bits/libc-lock.h: Likewise.
21905         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
21906         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
21907         * sysdeps/posix/closedir.c: Likewise.
21908         * sysdeps/posix/opendir.c: Likewise.
21909         * sysdeps/posix/readdir.c: Likewise.
21910         * sysdeps/posix/rewinddir.c: Likewise.
21911         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
21912         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
21913         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21914         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21915         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21916         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
21917         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
21918         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
21919         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
21920         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
21921         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
21922         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
21923         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
21924         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
21925         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
21926         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
21927         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
21928         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
21929         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
21930         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
21931         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
21932         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
21933         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
21934         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
21935         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
21936         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
21937         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
21938         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
21939         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
21940         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
21941         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
21942         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
21943         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
21944         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
21945         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
21946         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
21947         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21948         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21949         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
21950         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
21951         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
21952         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
21953         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
21954         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
21955         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
21956         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
21957         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
21958         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
21959         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
21960         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
21961         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
21962         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
21963         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
21964         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
21965         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
21966         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
21967         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
21968         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
21969         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
21970         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
21971         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
21972         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
21973         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
21974         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
21975         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
21976         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
21977         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
21978         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
21979         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
21980         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
21981         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
21982         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
21983         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
21984         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
21985         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
21986         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
21987         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
21988         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
21989         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
21990         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
21991         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
21992         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
21993         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
21994         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
21995         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21996         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
21997         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
21998         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
21999         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
22000         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22001         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
22002         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
22003         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
22004         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22005         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22006         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
22007         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22008         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22009         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
22010         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
22011         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22012         * sysdeps/unix/alpha/sysdep.S: Likewise.
22013         * sysdeps/unix/alpha/sysdep.h: Likewise.
22014         * sysdeps/unix/make-syscalls.sh: Likewise.
22015         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22016         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22017         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22018         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
22019         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22020         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
22021         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
22022         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22023         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22024         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
22025         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22026         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22027         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22028         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
22029         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22030         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22031         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22032         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
22033         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
22034         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22035         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
22036         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22037         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22038         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22039         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22040         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22041         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
22043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
22044         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
22045         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22046         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22047         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22048         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22049         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
22050         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22051         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22052         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22053         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
22054         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
22055         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22056         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22057         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22058         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
22059         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22060         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22061         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22062         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22063         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22064         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22065         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22066         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22067         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22068         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22069         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
22070         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22071         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22072         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22073         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
22074         * sysdeps/x86_64/memcpy.S: Likewise.
22075         * sysdeps/x86_64/memmove.c: Likewise.
22076         * sysdeps/x86_64/memset.S: Likewise.
22077         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
22078         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22079         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22080         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
22081         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
22082         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22083         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22084         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22085         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22086         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22087         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22088         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22089         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
22090         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22091         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22092         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
22093         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22094         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22095         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22096         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22097         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
22098         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22099         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22100         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22101         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22102         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22103         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22104         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
22105         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
22106         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22107         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
22108         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22109         * sysdeps/x86_64/strcmp.S: Likewise.
22111         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
22113         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
22114         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
22115         * elf/rtld-Rules: Likewise.
22116         * elf/setup-vdso.h: Likewise.
22117         * include/assert.h: Likewise.
22118         * include/bits/stdlib-float.h: Likewise.
22119         * include/errno.h: Likewise.
22120         * include/sys/stat.h: Likewise.
22121         * include/unistd.h: Likewise.
22122         * sysdeps/aarch64/setjmp.S: Likewise.
22123         * sysdeps/alpha/setjmp.S: Likewise.
22124         * sysdeps/arm/__longjmp.S: Likewise.
22125         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
22126         * sysdeps/arm/setjmp.S: Likewise.
22127         * sysdeps/arm/sysdep.h: Likewise.
22128         * sysdeps/generic/_itoa.h: Likewise.
22129         * sysdeps/generic/dl-sysdep.h: Likewise.
22130         * sysdeps/generic/ldsodefs.h: Likewise.
22131         * sysdeps/i386/dl-tls.h: Likewise.
22132         * sysdeps/i386/setjmp.S: Likewise.
22133         * sysdeps/m68k/setjmp.c: Likewise.
22134         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
22135         * sysdeps/mach/hurd/opendir.c: Likewise.
22136         * sysdeps/posix/getcwd.c: Likewise.
22137         * sysdeps/posix/opendir.c: Likewise.
22138         * sysdeps/posix/profil.c: Likewise.
22139         * sysdeps/powerpc/dl-procinfo.h: Likewise.
22140         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22141         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22142         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
22143         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22144         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
22145         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
22146         * sysdeps/s390/dl-tls.h: Likewise.
22147         * sysdeps/s390/s390-32/setjmp.S: Likewise.
22148         * sysdeps/s390/s390-64/setjmp.S: Likewise.
22149         * sysdeps/sh/sh3/setjmp.S: Likewise.
22150         * sysdeps/sh/sh4/setjmp.S: Likewise.
22151         * sysdeps/unix/alpha/sysdep.h: Likewise.
22152         * sysdeps/unix/arm/sysdep.S: Likewise.
22153         * sysdeps/unix/i386/sysdep.S: Likewise.
22154         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22155         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
22156         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22157         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22158         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22159         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
22160         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
22161         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22162         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
22163         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
22164         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
22165         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22166         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22169         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22170         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22171         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22172         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22173         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22174         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22175         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22176         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22177         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22178         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22179         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22180         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22181         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22182         * sysdeps/x86_64/setjmp.S: Likewise.
22184         * include/math.h: Use IS_IN instead of IS_IN_libm.
22185         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
22186         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22187         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22188         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
22189         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22190         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22191         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22192         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22193         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22194         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22195         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
22196         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
22197         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
22198         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
22199         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
22200         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
22201         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
22202         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
22203         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
22204         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
22205         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
22206         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
22207         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
22208         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
22209         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
22210         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
22211         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
22212         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
22213         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
22214         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
22215         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
22216         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22217         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
22218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22219         Likewise.
22220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
22221         Likewise.
22222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
22223         Likewise.
22224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
22225         Likewise.
22226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
22227         Likewise.
22228         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22229         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
22230         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22231         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22232         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22233         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
22235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
22236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
22237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
22238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
22239         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
22240         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
22241         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
22242         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
22243         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22244         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
22245         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
22246         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22247         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22248         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
22249         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
22250         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
22251         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
22252         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
22253         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22254         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
22256         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
22257         * nptl/pthreadP.h: Likewise.
22258         * nptl_db/structs.def: Likewise.
22259         * sysdeps/arm/sysdep.h: Likewise.
22260         * sysdeps/nptl/bits/libc-lock.h: Likewise.
22261         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
22262         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
22263         * sysdeps/unix/alpha/sysdep.h: Likewise.
22264         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22265         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22266         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22267         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22268         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22269         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22270         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22271         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22272         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22273         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22274         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22275         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22276         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22277         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
22279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
22280         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22281         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22282         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22283         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22284         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22285         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22286         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22287         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22288         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
22289         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22291         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
22292         * nptl/pthreadP.h: Likewise.
22293         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22294         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22295         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22296         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22297         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22298         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22299         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22300         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22301         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22302         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22303         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22304         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
22306         Likewise.
22307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
22308         Likewise.
22309         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22310         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22311         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22312         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22313         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22314         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22315         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22316         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22318         * dlfcn/dladdr.c: Use IS_IN.
22319         * dlfcn/dladdr1.c: Likewise.
22320         * dlfcn/dlclose.c: Likewise.
22321         * dlfcn/dlerror.c: Likewise.
22322         * dlfcn/dlinfo.c: Likewise.
22323         * dlfcn/dlmopen.c: Likewise.
22324         * dlfcn/dlopen.c: Likewise.
22325         * dlfcn/dlsym.c: Likewise.
22326         * dlfcn/dlvsym.c: Likewise.
22328         * include/ifaddrs.h: Use IS_IN.
22329         * inet/check_pf.c: Likewise.
22330         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22331         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
22333         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
22334         IS_IN_ldconfig.
22335         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
22336         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
22338         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
22339         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
22340         IS_IN (libc).
22342         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
22344         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
22345         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22346         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
22347         * include/libc-symbols.h (IS_IN_LIB): New macro.
22348         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
22349         * include/netdb.h: Likewise.
22350         * include/stap-probe.h: Remove all uses of IN_LIB.
22352         * Makeconfig (module-cppflags-real): Define MODULE_NAME
22353         instead of IN_MODULE.
22354         * include/libc-symbols.h (IN_MODULE): Define using
22355         MODULE_NAME.
22356         (PASTE_NAME, PASTE_NAME1): New macros.
22357         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
22358         of IN_LIB.
22359         (STAP_PROBE_ASM): Likewise.
22361 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22363         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
22364         __mach_init in dlopened libc.
22366 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
22368         * sysdeps/arm/preconfigure.ac: Delete EABI check.
22369         * sysdeps/arm/preconfigure: Regenerate.
22371 2014-11-21  Roland McGrath  <roland@hack.frob.com>
22373         * nptl/pthread_create.c (__pthread_create_2_1): Set
22374         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
22375         when copying values from IATTR into PD.
22377 2014-11-21  Will Newton  <will.newton@linaro.org>
22378             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
22380         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
22381         Refactor inline-asm.  Also add comment.
22383         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
22384         ElfW macro instead of hardcoded Elf64 types.
22385         (la_aarch64_gnu_pltenter): Likewise.
22386         * sysdeps/aarch64/dl-machine.h
22387         (elf_machine_runtime_setup): Use ElfW(Addr).
22389         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
22390         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
22391         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
22392         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
22393         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
22394         (R_AARCH64_TLS_DTPMOD64): Rename to ..
22395         (R_AARCH64_TLS_DTPMOD): This.
22396         (R_AARCH64_TLS_DTPREL64): Rename to ...
22397         (R_AARCH64_TLS_DTPREL): This.
22398         (R_AARCH64_TLS_TPREL64): Rename to ...
22399         (R_AARCH64_TLS_TPREL): This.
22400         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
22401         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
22402         R_AARCH64_TLS_TPREL64.
22403         (elf_machine_rela): Likewise.
22405 2014-11-21  Torvald Riegel  <triegel@redhat.com>
22407         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
22408         by setting it to 0.  64b atomics are not supported currently.
22410 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22412         [BZ #16469]
22413         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
22414         search domain names.
22416 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22418         [BZ #16469]
22419         * NEWS: Update.
22420         * resolv/res_query.c (__libc_res_nquerydomain): Retain
22421         trailing dot.
22422         * posix/tst-getaddrinfo5.c: New.
22423         * posix/Makefile (tests): Add it.
22425 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22427         [BZ #14498]
22428         * NEWS: Fixed.
22429         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
22430         after parsing line but before break_if_match.
22431         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
22432         if there is a protocol mismatch.
22434 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
22436         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
22437         because the potential race is on the user-supplied stream.
22439 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22441         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
22442         string literal if not passed a buffer.
22443         * manual/job.texi (ctermid): Update reasoning, note deviation
22444         from posix, suggest mtasurace when not passed a buffer, for
22445         future non-preliminary safety notes.
22447 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22449         * manual/users.texi (cuserid): Fix MT-Safety note for the case
22450         of not passing it a buffer.
22451         Reported by Peng Haitao.
22453 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22455         * manual/Makefile ($(objpfx)stamp-summary): Require
22456         check-safety.sh to pass.
22457         * manual/check-safety.sh: Wish for verification that every
22458         @deftypefn and @deftypefun is followed by a @safety remark.
22460 2014-11-20  Roland McGrath  <roland@hack.frob.com>
22462         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
22464         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
22465         PTHREAD_CANCEL_ASYNCHRONOUS.
22466         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
22467         send SIGCANCEL.
22469         * nptl/default-sched.h: New file.
22470         * sysdeps/unix/sysv/linux/default-sched.h: New file.
22471         * nptl/pthread_create.c: Include it.
22472         (__pthread_create_2_1): Use collect_default_sched instead of making
22473         Linux syscalls here directly.
22475 2014-11-20  Torvald Riegel  <triegel@redhat.com>
22477         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
22478         __pthread_once): Use C11 atomics.
22480 2014-11-20  Torvald Riegel  <triegel@redhat.com>
22482         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
22484 2014-11-20  Torvald Riegel  <triegel@redhat.com>
22486         * include/atomic.h (__atomic_link_error, __atomic_check_size,
22487         atomic_thread_fence_acquire, atomic_thread_fence_release,
22488         atomic_thread_fence_seq_cst, atomic_load_relaxed,
22489         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
22490         atomic_compare_exchange_weak_relaxed,
22491         atomic_compare_exchange_weak_acquire,
22492         atomic_compare_exchange_weak_release,
22493         atomic_exchange_acquire, atomic_exchange_release,
22494         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
22495         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
22496         atomic_fetch_and_acquire,
22497         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
22499 2014-11-20  Torvald Riegel  <triegel@redhat.com>
22501         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
22502         USE_ATOMIC_COMPILER_BUILTINS): Define.
22503         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
22504         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22505         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
22506         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22507         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
22508         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22509         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
22510         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22511         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
22512         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22513         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
22514         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22515         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
22516         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22517         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
22518         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22519         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
22520         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22521         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
22522         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22523         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
22524         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22525         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
22526         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22527         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
22528         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22529         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
22530         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22531         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
22532         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22533         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
22534         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22535         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
22536         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22537         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
22538         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22539         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
22540         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22541         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
22542         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22544 2014-11-19  Roland McGrath  <roland@hack.frob.com>
22546         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
22547         the sched_priority value here.  It was already checked when the user
22548         called pthread_attr_setschedparam.
22550         * nptl/tst-bad-schedattr.c: New file.
22551         * nptl/Makefile (tests): Add it.
22553 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
22554             Florian Weimer  <fweimer@redhat.com>
22555             Joseph Myers  <joseph@codesourcery.com>
22556             Adam Conrad  <adconrad@0c3.net>
22557             Andreas Schwab  <schwab@suse.de>
22558             Brooks  <bmoses@google.com>
22560         [BZ #17625]
22561         * wordexp-test.c (__dso_handle): Add prototype.
22562         (__register_atfork): Likewise.
22563         (__app_register_atfork): New function.
22564         (registered_forks): New global.
22565         (register_fork): New function.
22566         (test_case): Add 3 new tests for WRDE_CMDSUB.
22567         (main): Call __app_register_atfork.
22568         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
22569         fork count is non-zero fail the test.
22570         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
22571         is set.
22572         (parse_dollars): Remove check for WRDE_NOCMD.
22573         (parse_dquote): Likewise.
22575 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22577         * Makeconfig (built-modules): List non-library modules to be
22578         built.
22579         (module-cppflags): Include libc-modules.h for
22580         everything except shlib-versions.v.i.
22581         (CPPFLAGS): Use it.
22582         (before-compile): Add libc-modules.h.
22583         ($(common-objpfx)libc-modules.h,
22584         $(common-objpfx)libc-modules.stmp): New targets.
22585         (common-generated): Add libc-modules.h and libc-modules.stmp.
22586         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
22587         * include/libc-symbols.h: Don't include libc-modules.h.
22588         * include/libc-modules.h: Remove file.
22589         * scripts/gen-libc-modules.awk: New script to generate
22590         libc-modules.h.
22591         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
22592         Depend on libc-modules.stmp.
22594         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
22596         * Makeconfig (in-module): Get value of libof set for the
22597         translation unit.
22598         (CPPFLAGS): Use $(in-module).
22599         * Makerules: Don't suffix routine names for nonlib.
22600         * include/libc-modules.h: New file.
22601         * include/libc-symbols.h: Include libc-modules.h
22602         (IS_IN): New macro to replace IS_IN_* macros.
22603         * elf/Makefile: Set libof-* for each routine.
22604         * elf/rtld-Rules: Likewise.
22605         * extra-modules.mk: Likewise.
22606         * iconv/Makefile: Likewise.
22607         * iconvdata/Makefile: Likewise.
22608         * locale/Makefile: Likewise.
22609         * malloc/Makefile: Likewise.
22610         * nss/Makefile: Likewise.
22611         * sysdeps/gnu/Makefile: Likewise.
22612         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
22613         * sysdeps/unix/sysv/linux/Makefile: Likewise.
22614         * sysdeps/s390/s390-64/Makefile: Likewise.
22615         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
22616         CPPFLAGS for nscd instead of nonlib.
22618 2014-11-18  Roland McGrath  <roland@hack.frob.com>
22620         * nptl/createthread.c: New file.
22622         * nptl/createthread.c: Moved ...
22623         * sysdeps/unix/sysv/linux/createthread.c: ... here.
22625         * nptl/createthread.c: Add proper top-line comment.
22626         (do_clone): Folded into ...
22627         (create_thread): ... here.  Take new arguments STOPPED_START and
22628         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
22629         increment __nptl_threads, do event-reporting logic, do
22630         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
22631         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
22632         resource cleanup if sched_setaffinity or sched_setscheduler fails,
22633         just send SIGCANCEL.
22634         * nptl/pthread_create.c: Forward-declare create_thread before
22635         including createthread.c.
22636         (start_thread): Use new macro START_THREAD_DEFN to replace defining
22637         declaration, and new macro START_THREAD_SELF to replace argument.
22638         Remove return statement.
22639         (report_thread_creation): New function.
22640         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
22641         synchronization logic, and __nptl_nthreads increment here, around
22642         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
22643         PD->parent_cancelhandling here, before create_thread.  When
22644         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
22645         __deallocate_stack, and ENOMEM translation here.
22647 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
22649         [BZ #17616]
22650         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
22651         (mptwo): Rename to __mptwo.
22652         (__inv): Use __mptwo instead of mptwo.
22653         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
22654         (mptwo): Rename to __mptwo.
22655         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
22656         of mpone and __mptwo instead of mptwo.
22657         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
22658         instead of mpone.
22659         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22660         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
22661         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
22662         of mpone and __mptwo instead of mptwo.
22663         (__mpranred): Use __mpone instead of mpone.
22664         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
22665         variable.
22666         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
22667         (test-xfail-ISO99/math.h/linknamespace): Likewise.
22668         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
22669         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
22670         (test-xfail-ISO11/math.h/linknamespace): Likewise.
22671         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
22672         (test-xfail-XPG3/math.h/linknamespace): Likewise.
22673         (test-xfail-XPG4/math.h/linknamespace): Likewise.
22674         (test-xfail-POSIX/math.h/linknamespace): Likewise.
22675         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
22676         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
22677         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
22678         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
22679         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
22680         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
22681         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
22682         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
22683         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
22684         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
22686 2014-11-18  Tom de Vries  <tom@codesoucery.com>
22688         * manual/signal.texi (Primitives Interrupted by Signals): In section,
22689         replace BSD Handler xref with BSD Signal Handling.
22691 2014-11-17  Richard Henderson  <rth@redhat.com>
22693         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
22694         (_FP_PACK_RAW_2): Remove.
22695         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
22696         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
22697         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
22698         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
22699         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
22700         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
22701         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
22702         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
22703         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
22704         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
22705         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
22706         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
22707         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
22708         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
22709         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
22710         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
22712 2014-11-14  Roland McGrath  <roland@hack.frob.com>
22714         * signal/signal.h [__USE_MISC]
22715         (struct sigvec): Remove type.
22716         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
22717         (sigvec): Remove declaration.
22718         * sysdeps/posix/sigvec.c: Moved ...
22719         * signal/sigvec.c: ... here, replacing old file.
22720         (struct sigvec): New type, copied from old signal.h definition.
22721         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
22722         (__sigvec): Convert definition to prototype.
22723         (sigvec): Replace weak_alias with compat_symbol.
22724         * signal/Versions (libc: GLIBC_2.21): New version set.
22725         * include/signal.h: Remove __sigvec declaration.
22726         * sysdeps/unix/bsd/sigvec.c: Remove file.
22727         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
22728         * manual/signal.texi (BSD Handler): Remove subsection.
22729         Move siginterrupt up to ...
22730         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
22731         (Blocking in BSD): Fold subsection into its parent.
22732         * NEWS: Mention sigvec removal.
22734 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
22736         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
22737         (DLA_FMS): Make definition conditional only on [__FMA4__].
22738         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
22739         definition.
22741         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
22742         Make definition conditional only on [PROF].
22743         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
22744         definition.
22745         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
22746         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
22748         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
22749         !__GNUC__].
22750         * include/signal.h (__sigpause): Move declaration above call to
22751         libc_hidden_proto.
22752         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
22753         variable.
22754         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
22755         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
22757 2014-11-14  David S. Miller  <davem@davemloft.net>
22759         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
22760         Define before including <string/memcpy.c> and <string/mempcpy.c>.
22762 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
22764         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
22765         * configure: Regenerated.
22766         * manual/install.texi (Tools for Compilation): Document a
22767         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
22768         compiler verified to work.
22769         * INSTALL: Regenerated.
22771         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
22772         redeclare with asm name.
22773         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
22774         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
22775         including <string.h>.
22776         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22777         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
22778         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22779         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
22780         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22781         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22782         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22784 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
22786         * stdlib/strtol.c (__strtol): Use prototype definition.
22788         [BZ #17594]
22789         * stdlib/strtol.c (SYM__): New macro.
22790         (SYM__1): Likewise.
22791         (__strtol): Likewise.
22792         (strtol): Rename to __strtol and define as weak alias of
22793         __strtol.  Use libc_hidden_weak.
22795 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22797         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
22798         Use numbered labels in inline assembly.
22800 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22802         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
22803         Add setjmp LIBC_PROBE.
22804         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
22805         Likewise.
22806         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
22807         Add longjmp, longjmp_target LIBC_PROBE.
22808         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
22809         Likewise.
22811 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22813         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22814         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
22815         to get rid of unused variable warning.
22817 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22819         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
22820         Check for unwind_backtrace ==  NULL only in SHARED case.
22821         (__backchain_backtrace): Compile only in SHARED case.
22822         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
22823         Likewise.
22824         (__backchain_backtrace): Declare as static.
22826 2014-11-12  Roland McGrath  <roland@hack.frob.com>
22828         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
22829         (__libc_multiple_threads_ptr): Variable moved ...
22830         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
22832 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
22834         * conform/GlibcConform.pm: New file.
22835         * conform/conformtest.pl: Use GlibcConform module.
22836         * conform/linknamespace.pl: New file.
22837         * conform/list-header-symbols.pl: Likewise.
22838         * conform/Makefile (linknamespace-symlists-base): New variable.
22839         (linknamespace-symlists-tests): Likewise.
22840         (linknamespace-header-base): Likewise.
22841         (linknamespace-header-tests): Likewise.
22842         (tests-special): Add new tests.
22843         ($(linknamespace-symlists-tests)): New rule.
22844         (linknamespace-libs): New variable.
22845         ($(objpfx)symlist-stdlibs): New rule.
22846         ($(linknamespace-header-tests)): Likewise.
22847         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
22848         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
22849         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
22850         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
22851         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
22852         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
22853         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
22854         (test-xfail-ISO/math.h/linknamespace): Likewise.
22855         (test-xfail-ISO/signal.h/linknamespace): Likewise.
22856         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
22857         (test-xfail-ISO/time.h/linknamespace): Likewise.
22858         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
22859         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
22860         (test-xfail-ISO99/math.h/linknamespace): Likewise.
22861         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
22862         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
22863         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
22864         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
22865         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
22866         (test-xfail-ISO11/math.h/linknamespace): Likewise.
22867         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
22868         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
22869         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
22870         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
22871         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
22872         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
22873         (test-xfail-XPG3/math.h/linknamespace): Likewise.
22874         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
22875         (test-xfail-XPG3/search.h/linknamespace): Likewise.
22876         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
22877         (test-xfail-XPG3/time.h/linknamespace): Likewise.
22878         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
22879         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
22880         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
22881         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
22882         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
22883         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
22884         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
22885         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
22886         (test-xfail-XPG4/math.h/linknamespace): Likewise.
22887         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
22888         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
22889         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
22890         (test-xfail-XPG4/search.h/linknamespace): Likewise.
22891         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
22892         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
22893         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
22894         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
22895         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
22896         (test-xfail-XPG4/time.h/linknamespace): Likewise.
22897         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
22898         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
22899         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
22900         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
22901         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
22902         (test-xfail-POSIX/math.h/linknamespace): Likewise.
22903         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
22904         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
22905         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
22906         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
22907         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
22908         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
22909         (test-xfail-POSIX/time.h/linknamespace): Likewise.
22910         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
22911         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
22912         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
22913         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
22914         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
22915         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
22916         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
22917         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
22918         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
22919         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
22920         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
22921         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
22922         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
22923         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
22924         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
22925         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
22926         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
22927         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
22928         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
22929         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
22930         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
22931         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
22932         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
22933         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
22934         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
22935         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
22936         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
22937         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
22938         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
22939         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
22940         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
22941         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
22942         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
22943         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
22944         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
22945         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
22946         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
22947         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
22948         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
22949         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
22950         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
22951         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
22952         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
22953         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
22954         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
22955         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
22956         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
22957         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
22958         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
22959         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
22960         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
22961         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
22962         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
22963         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
22964         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
22965         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
22966         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
22967         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
22968         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
22969         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
22970         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
22971         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
22972         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
22973         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
22974         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
22975         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
22976         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
22977         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
22978         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
22979         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
22980         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
22981         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
22982         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
22983         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
22984         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
22985         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
22986         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
22987         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
22988         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
22989         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
22990         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
22991         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
22992         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
22993         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
22994         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
22995         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
22996         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
22997         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
22998         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
22999         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
23000         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
23001         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
23002         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
23003         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
23004         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
23005         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
23006         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
23007         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
23009         [BZ #17589]
23010         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
23011         of fgets_unlocked.
23013         [BZ #17585]
23014         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
23015         (memmem): Rename to __memmem and define as weak alias of
23016         __memmem.  Use libc_hidden_weak.
23017         (__memmem): Use libc_hidden_def.
23018         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
23019         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
23020         memmem.
23022         [BZ #17582]
23023         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
23024         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
23025         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
23026         and define as weak alias of __fgets_unlocked.  Use
23027         libc_hidden_weak.
23028         (__fgets_unlocked): Use libc_hidden_def.
23029         * include/stdio.h (__fgets_unlocked): Declare.  Use
23030         libc_hidden_proto.
23031         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
23032         __fgets_unlocked instead of fgets_unlocked.
23033         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
23034         (GET_NPROCS_CONF_PARSER): Likewise.
23035         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
23036         (GET_NPROCS_CONF_PARSER): Likewise.
23038         [BZ #17574]
23039         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
23040         weak alias of __wmemset.  Use libc_hidden_weak.
23041         (__wmemset): Use libc_hidden_def.
23042         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
23043         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
23044         of wmemset.
23046         [BZ #17573]
23047         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
23048         with asm name __mempcpy.
23049         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
23051         [BZ #17572]
23052         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
23053         and define as weak alias of __rawmemchr.
23054         (__rawmemchr): Do not define as strong alias of rawmemchr.
23056         [BZ #17571]
23057         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
23058         alias of __qsort_r.
23059         (qsort): Call __qsort_r instead of qsort_r.
23060         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
23061         (__qsort_r): Declare.  Call libc_hidden_proto.
23062         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
23063         instead of qsort_r.
23064         * nscd/gai.c (__qsort_r): Define to qsort_r.
23065         * posix/tst-rfc3484.c (__qsort_r): Likewise.
23066         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
23067         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
23069         [BZ #17570]
23070         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
23071         define as weak alias of __malloc_info.
23073         [BZ #17584]
23074         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
23075         as weak alias of __rewinddir.  Don't use libc_hidden_def.
23076         (__rewinddir): Use libc_hidden_def.
23077         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
23078         as weak alias of __rewinddir.  Don't use libc_hidden_def.
23079         (__rewinddir): Use libc_hidden_def.
23080         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
23081         weak alias of __rewinddir.  Don't use libc_hidden_def.
23082         (__rewinddir): Use libc_hidden_def.
23083         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
23084         (__rewinddir): Use libc_hidden_proto.
23085         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
23086         rewinddir.
23087         (__getcwd): Use __rewinddir instead of rewinddir.
23089         [BZ #17583]
23090         * libio/fileno.c (fileno): Rename to __fileno and define as weak
23091         alias of __fileno.  Use libc_hidden_weak.
23092         (__fileno): Use libc_hidden_def.
23093         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
23094         * libio/ftello.c (ftello): Rename to __ftello and define as weak
23095         alias of __ftello.
23096         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
23097         __ftello.
23098         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
23099         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
23100         libc_hidden_def.
23101         (fread_unlocked): Don't use libc_hidden_ver.
23102         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
23103         and define as weak alias of __fread_unlocked.  Don't use
23104         libc_hidden_def.
23105         (__fread_unlocked): Use libc_hidden_def.
23106         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
23107         (ftello): Don't use libc_hidden_proto.
23108         (__ftello): Declare.  Use libc_hidden_proto.
23109         (fread_unlocked): Don't use libc_hidden_proto.
23110         (__fread_unlocked): Declare.  Use libc_hidden_proto.
23111         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
23112         and __ftello instead of fileno, fread_unlocked and ftello.
23114 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23116         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
23117         GOT12.
23118         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
23119         Likewise.
23120         (_dl_start_user): Likewise.
23121         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
23123 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
23124             Siddhesh Poyarekar  <siddhesh@redhat.com>
23126         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
23127         Move argv and envp down instead of moving argc up.
23128         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
23130 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
23132         [BZ #17506]
23133         * test-skeleton.c (main): Return successful if one of
23134         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
23135         * string/tst-strcoll-overflow.c: Define expected status.
23137 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
23139         [BZ #17475]
23140         * locale/iso-639.def: Define Bhili and Tulu language codes.
23142 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
23144         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
23146 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
23148         [BZ #17555]
23149         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
23151 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
23153         * configure.ac: Updated check of minimal required version to
23154         2.22.
23155         * manual/install.texi (Tools for Compilation): Updated version
23156         number.
23157         * configure: Regenerated.
23158         * INSTALL: Likewise.
23160 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
23162         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
23163         __tls_get_addr.
23165 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
23167         * include/sys/wait.h (__libc_waitpid): Remove declaration.
23168         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
23169         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23170         libc_hidden_weak.
23171         (waitpid): Define as alias of __waitpid.
23172         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
23173         __waitpid.
23174         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23175         libc_hidden_weak.
23176         (waitpid): Define as alias of __waitpid.
23177         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
23178         __libc_waitpid alias.
23179         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
23180         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
23181         Likewise.
23182         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
23183         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
23184         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
23185         alias.
23186         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
23187         __waitpid.
23188         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23189         libc_hidden_weak.
23190         (waitpid): Define as alias of __waitpid.
23192 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
23194         * manual/llio.texi: Add comment that write safety has been
23195         fixed in Linux.
23197         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
23198         (localplt-build-dso): Add elf/ld.so.
23199         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
23200         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
23201         and free for ld.so.
23202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
23203         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
23204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
23205         Likewise.
23206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
23207         Likewise.
23208         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
23209         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
23210         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
23211         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
23212         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
23213         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
23214         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
23215         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
23216         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
23217         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
23218         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
23220 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
23222         [BZ #14132]
23223         * include/libc-symbols.h (INTUSE): Remove macro.
23224         (INTDEF): Likewise.
23225         (INTVARDEF): Likewise.
23226         (_INTVARDEF): Likewise.
23227         (INTDEF2): Likewise.
23228         (INTVARDEF2): Likewise.
23229         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
23230         rtld_hidden_def instead of INTVARDEF.
23231         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
23232         (_dl_starting_up_internal): Remove declaration.
23233         (_dl_starting_up): Use rtld_hidden_proto.
23234         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
23235         declaration.
23236         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
23237         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
23238         _dl_starting_up.
23239         * elf/dl-writev.h (_dl_writev): Likewise.
23240         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
23241         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
23242         _dl_starting_up_internal.
23244 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23246         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
23247         test-skeleton.c.
23249 2014-11-05  Will Newton  <will.newton@linaro.org>
23251         * benchtests/Makefile: (bench-malloc): Add malloc thread
23252         scalability benchmark.
23253         * benchtests/bench-malloc-threads.c: New file.
23255 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
23257         * sysdeps/aarch64/strchrnul.S: New file.
23259 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23261         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
23262         definition.
23263         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
23264         Likwise.
23265         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
23266         Likewise.
23267         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
23268         Likewise.
23269         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
23270         Likewise.
23271         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
23272         Likewise.
23274 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
23276         * catgets/test-gencat.c: Use test-skeleton.c.
23277         * catgets/tst-catgets.c: Likewise.
23278         * csu/tst-empty.c: Likewise.
23279         * elf/tst-audit2.c: Likewise.
23280         * elf/tst-global1.c: Likewise.
23281         * elf/tst-pathopt.c: Likewise.
23282         * elf/tst-piemod1.c: Likewise.
23283         * elf/tst-tls10.c: Likewise.
23284         * elf/tst-tls11.c: Likewise.
23285         * elf/tst-tls12.c: Likewise.
23286         * gnulib/tst-gcc.c: Likewise.
23287         * iconvdata/tst-e2big.c: Likewise.
23288         * iconvdata/tst-loading.c: Likewise.
23289         * iconv/tst-iconv1.c: Likewise.
23290         * iconv/tst-iconv2.c: Likewise.
23291         * inet/test-inet6_opt.c: Likewise.
23292         * inet/tst-gethnm.c: Likewise.
23293         * inet/tst-network.c: Likewise.
23294         * inet/tst-ntoa.c: Likewise.
23295         * intl/tst-codeset.c: Likewise.
23296         * intl/tst-gettext2.c: Likewise.
23297         * intl/tst-gettext3.c: Likewise.
23298         * intl/tst-ngettext.c: Likewise.
23299         * intl/tst-translit.c: Likewise.
23300         * io/test-stat.c: Likewise.
23301         * libio/test-fmemopen.c: Likewise.
23302         * libio/tst-freopen.c: Likewise.
23303         * libio/tst-sscanf.c: Likewise.
23304         * libio/tst-ungetwc1.c: Likewise.
23305         * libio/tst-ungetwc2.c: Likewise.
23306         * libio/tst-widetext.c: Likewise.
23307         * localedata/tst-ctype.c: Likewise.
23308         * localedata/tst-digits.c: Likewise.
23309         * localedata/tst-leaks.c: Likewise.
23310         * localedata/tst-mbswcs1.c: Likewise.
23311         * localedata/tst-mbswcs2.c: Likewise.
23312         * localedata/tst-mbswcs3.c: Likewise.
23313         * localedata/tst-mbswcs4.c: Likewise.
23314         * localedata/tst-mbswcs5.c: Likewise.
23315         * localedata/tst-setlocale.c: Likewise.
23316         * localedata/tst-trans.c: Likewise.
23317         * localedata/tst-wctype.c: Likewise.
23318         * localedata/tst-xlocale1.c: Likewise.
23319         * login/tst-grantpt.c: Likewise.
23320         * malloc/tst-calloc.c: Likewise.
23321         * malloc/tst-malloc.c: Likewise.
23322         * malloc/tst-mallocstate.c: Likewise.
23323         * malloc/tst-mcheck.c: Likewise.
23324         * malloc/tst-mtrace.c: Likewise.
23325         * malloc/tst-obstack.c: Likewise.
23326         * math/atest-exp2.c: Likewise.
23327         * math/atest-exp.c: Likewise.
23328         * math/atest-sincos.c: Likewise.
23329         * math/test-matherr.c: Likewise.
23330         * math/test-misc.c: Likewise.
23331         * math/test-powl.c: Likewise.
23332         * math/tst-definitions.c: Likewise.
23333         * misc/tst-dirname.c: Likewise.
23334         * misc/tst-efgcvt.c: Likewise.
23335         * misc/tst-fdset.c: Likewise.
23336         * misc/tst-hsearch.c: Likewise.
23337         * misc/tst-mntent2.c: Likewise.
23338         * nptl/tst-sem7.c: Likewise.
23339         * nptl/tst-sem8.c: Likewise.
23340         * nptl/tst-sem9.c: Likewise.
23341         * nss/test-netdb.c: Likewise.
23342         * posix/tst-fnmatch.c: Likewise.
23343         * posix/tst-getlogin.c: Likewise.
23344         * posix/tst-gnuglob.c: Likewise.
23345         * posix/tst-mmap.c: Likewise.
23346         * pwd/tst-getpw.c: Likewise.
23347         * resolv/tst-inet_ntop.c: Likewise.
23348         * rt/tst-timer.c: Likewise.
23349         * stdio-common/test-fseek.c: Likewise.
23350         * stdio-common/test-popen.c: Likewise.
23351         * stdio-common/test-vfprintf.c: Likewise.
23352         * stdio-common/tst-cookie.c: Likewise.
23353         * stdio-common/tst-fileno.c: Likewise.
23354         * stdio-common/tst-gets.c: Likewise.
23355         * stdio-common/tst-obprintf.c: Likewise.
23356         * stdio-common/tst-perror.c: Likewise.
23357         * stdio-common/tst-sprintf2.c: Likewise.
23358         * stdio-common/tst-sprintf3.c: Likewise.
23359         * stdio-common/tst-sprintf.c: Likewise.
23360         * stdio-common/tst-swprintf.c: Likewise.
23361         * stdio-common/tst-tmpnam.c: Likewise.
23362         * stdio-common/tst-unbputc.c: Likewise.
23363         * stdio-common/tst-wc-printf.c: Likewise.
23364         * stdlib/tst-environ.c: Likewise.
23365         * stdlib/tst-fmtmsg.c: Likewise.
23366         * stdlib/tst-limits.c: Likewise.
23367         * stdlib/tst-rand48-2.c: Likewise.
23368         * stdlib/tst-rand48.c: Likewise.
23369         * stdlib/tst-random2.c: Likewise.
23370         * stdlib/tst-random.c: Likewise.
23371         * stdlib/tst-strtol.c: Likewise.
23372         * stdlib/tst-strtoll.c: Likewise.
23373         * stdlib/tst-tls-atexit.c: Likewise.
23374         * stdlib/tst-xpg-basename.c: Likewise.
23375         * string/test-ffs.c: Likewise.
23376         * string/tst-bswap.c: Likewise.
23377         * string/tst-inlcall.c: Likewise.
23378         * string/tst-strtok.c: Likewise.
23379         * string/tst-strxfrm.c: Likewise.
23380         * sysdeps/x86_64/tst-audit10.c: Likewise.
23381         * sysdeps/x86_64/tst-audit3.c: Likewise.
23382         * sysdeps/x86_64/tst-audit4.c: Likewise.
23383         * sysdeps/x86_64/tst-audit5.c: Likewise.
23384         * time/tst-ftime_l.c: Likewise.
23385         * time/tst-getdate.c: Likewise.
23386         * time/tst-mktime3.c: Likewise.
23387         * time/tst-mktime.c: Likewise.
23388         * time/tst-posixtz.c: Likewise.
23389         * time/tst-strptime2.c: Likewise.
23390         * time/tst-strptime3.c: Likewise.
23391         * wcsmbs/tst-btowc.c: Likewise.
23392         * wcsmbs/tst-mbrtowc.c: Likewise.
23393         * wcsmbs/tst-mbsrtowcs.c: Likewise.
23394         * wcsmbs/tst-wchar-h.c: Likewise.
23395         * wcsmbs/tst-wcpncpy.c: Likewise.
23396         * wcsmbs/tst-wcrtomb.c: Likewise.
23397         * wcsmbs/tst-wcsnlen.c: Likewise.
23398         * wcsmbs/tst-wcstof.c: Likewise.
23400 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
23402         [BZ #14132]
23403         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
23404         INTDEF.
23405         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
23406         declaration.
23407         (_dl_mcount): Use rtld_hidden_proto.
23408         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
23409         _dl_mcount.
23410         * elf/rtld.c (_rtld_global_ro): Likewise.
23412         [BZ #14132]
23413         * elf/dl-init.c (_dl_init): Don't use INTDEF.
23414         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
23415         of _dl_init_internal.
23416         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
23417         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
23418         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
23419         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
23420         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
23421         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
23422         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
23423         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
23424         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
23425         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
23426         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
23427         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
23428         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23429         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23430         * sysdeps/tile/dl-start.S (_start): Likewise.
23431         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
23432         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
23434         [BZ #14132]
23435         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
23436         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
23437         (rtld_progname): Make macro definition unconditional.
23438         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
23439         INTDEF.
23440         (dlmopen_doit): Do not use INTUSE with _dl_argv.
23441         (dl_main): Likewise.
23442         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23443         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
23444         instead of _dl_argv_internal.
23445         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23446         __GI__dl_argv instead of INTUSE(_dl_argv).
23447         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
23448         __GI__dl_argv instead of _dl_argv_internal.
23450         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
23451         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
23452         macro.
23453         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
23454         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
23455         New macro.
23456         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
23457         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
23458         macro.
23459         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
23460         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
23462 2014-11-04  Andreas Schwab  <schwab@suse.de>
23464         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
23466 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23468         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
23469         mtvsrd instruction in binary form.
23471 2014-11-03  Andreas Schwab  <schwab@suse.de>
23473         [BZ #17522]
23474         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
23475         for less than MB_LEN_MAX use a local buffer of that size.
23476         * libio/tst-fputws.c: New file.
23477         * libio/Makefile (tests): Add tst-fputws.
23479 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
23481         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
23482         the size of the fpu_fr.fpu_dregs[] array.
23484 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
23486         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
23487         (__nanosleep): Do not define as alias.
23488         (nanosleep): Define as alias of __nanosleep.
23489         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
23490         __libc_nanosleep name.
23492 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
23494         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
23495         install.texi in comment.
23497 2014-10-31  Torvald Riegel  <triegel@redhat.com>
23499         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
23500         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
23501         ... add here and use lwsync or sync ...
23502         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
23503         ... and add here using lwsync.
23505 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
23507         * elf/dl-machine-reject-phdr.h: New file.
23508         * elf/dl-load.c: #include that.
23509         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
23510         if that returned true.
23512 2014-10-31  Roland McGrath  <roland@hack.frob.com>
23514         [BZ #17496]
23515         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
23516         gen-as-const-headers chunk.  Add a big scare comment after the last
23517         safe place to touch before-compile.
23519 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
23521         * manual/install.texi (Tools for Compilation): Update autoconf
23522         version requirements.
23523         * INSTALL: Regenerated.
23525         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
23526         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
23527         (__libc_pselect): Likewise.
23529         [BZ #14138]
23530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
23531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23535 2014-10-31  Torvald Riegel  <triegel@redhat.com>
23537         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
23538         correct barrier instruction.
23539         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
23540         Likewise.
23541         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
23542         Likewise.
23544 2014-10-30  Roland McGrath  <roland@hack.frob.com>
23546         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
23547         after defining inlines.  Instead, just use parens to defeat macro
23548         expansion of __isctype in its declaration.
23550 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
23552         * include/sys/uio.h (__libc_readv): Remove declaration.
23553         (__libc_writev): Likewise.
23554         * misc/readv.c (__libc_readv): Rename to __readv.
23555         (__readv): Do not define as alias.
23556         (readv): Define as alias of __readv.
23557         * misc/writev.c (__libc_writev): Rename to __writev.
23558         (__writev): Do not define as alias.
23559         (writev): Define as alias of __writev.
23560         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
23561         (__readv): Do not define as alias.
23562         (readv): Define unconditionally as alias of __readv.
23563         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
23564         (__writev): Do not define as alias.
23565         (writev): Define unconditionally as alias of __writev.
23566         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
23567         name.
23568         (writev): Do not define __libc_writev name.
23570 2014-10-30  Roland McGrath  <roland@hack.frob.com>
23572         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
23573         (convert_charseq): New function, broken out of ...
23574         (use_from_charmap): ... here.  Call it.
23575         (use_to_charmap): Use convert_charseq and free instead of duplicating
23576         its code with a variable-length stack struct.
23578 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
23580         * include/fcntl.h (__libc_creat): Remove declaration.
23581         * io/creat.c (__libc_creat): Rename to creat.
23582         (creat): Do not define as alias.
23583         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
23584         of creat instead of __libc_creat.
23585         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
23586         to creat.
23587         (creat): Do not define as alias.
23588         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
23589         __libc_creat.
23590         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
23591         __libc_creat name.
23592         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
23593         Likewise.
23595 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
23597         * manual/llio.texi: Add comments discussing why write() may be
23598         considered MT-unsafe on Linux.
23600 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
23602         * dl-load.c (local_strdup): Remove.
23603         (expand_dynamic_string_token): Use __strdup.
23604         (decompose_rpath): Likewise.
23605         (_dl_map_object): Likewise.
23607 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
23609         [BZ #14132]
23610         * sysdeps/generic/unwind-dw2-fde.c
23611         (__register_frame_info_bases_internal): Do not declare.
23612         (__register_frame_info_table_bases_internal): Likewise.
23613         (__deregister_frame_info_bases_internal): Likewise.
23614         (__register_frame_info_bases): Declare and use hidden_proto before
23615         definition.  Use hidden_def instead of INTDEF.
23616         (__register_frame_info_table_bases): Likewise.
23617         (__deregister_frame_info_bases): Likewise.
23618         (__register_frame_info): Do not use INTUSE.
23619         (__register_frame): Likewise.
23620         (__register_frame_info_table): Likewise.
23621         (__register_frame_table): Likewise.
23622         (__deregister_frame_info): Likewise.
23623         (__deregister_frame): Likewise.
23625 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
23627         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23628         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
23629         not undefine.
23630         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
23631         Likewise.
23632         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
23633         Likewise.
23635 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
23637         [BZ #14138]
23638         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
23639         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
23640         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
23641         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
23642         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
23643         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
23644         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
23645         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
23646         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
23647         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
23648         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
23649         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
23650         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
23651         syscall.
23652         (setfsuid): Likewise.
23653         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
23654         (setfsuid): Likewise.
23655         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
23656         (setfsuid): Likewise.
23657         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
23658         Likewise.
23659         (setfsuid): Likewise.
23660         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
23661         (setfsuid): Likewise.
23662         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
23663         Likewise.
23664         (setfsuid): Likewise.
23666 2014-10-27  Andreas Schwab  <schwab@suse.de>
23668         [BZ #17501]
23669         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
23670         check for Slow_SSE4_2 feature bit.
23671         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
23672         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23673         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
23674         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
23676 2014-10-24  Roland McGrath  <roland@hack.frob.com>
23678         * configure.ac: Validate compiler version with a empirical test of
23679         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
23680         $CC -v output.
23681         * configure: Regenerated.
23683         * inet/htons.c (htons): Prototypify.
23684         * inet/htonl.c (htonl): Likewise.
23686 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23688         * string/strncat.c (strncat): Improve performance by using strlen.
23690 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23692         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
23694 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23696         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
23697         Call libc_fetestexcept_aarch64.
23699 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23701         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
23702         Call libc_feholdexcept_aarch64.
23704 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23706         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
23707         Call get_rounding_mode.
23709 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23711         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23712         Simplify logic.
23714 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23716         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
23717         Simplify logic.
23719 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
23721         [BZ #14138]
23722         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
23723         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
23724         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
23725         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
23726         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
23727         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
23728         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
23729         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
23730         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
23731         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
23732         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23733         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
23734         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
23735         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
23736         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
23737         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
23738         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
23739         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
23740         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
23741         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
23742         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
23743         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
23744         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
23745         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
23746         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
23747         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
23748         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
23749         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
23750         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
23751         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
23752         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
23753         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
23754         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
23755         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
23756         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
23757         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
23758         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
23759         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
23760         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
23761         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
23762         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
23763         syscall.
23764         (geteuid): Likewise.
23765         (getgid): Likewise.
23766         (getuid): Likewise.
23767         (getresgid): Likewise.
23768         (getresuid): Likewise.
23769         (getgroups): Likewise.
23770         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
23771         (geteuid): Likewise.
23772         (getgid): Likewise.
23773         (getuid): Likewise.
23774         (getresgid): Likewise.
23775         (getresuid): Likewise.
23776         (getgroups): Likewise.
23777         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
23778         (geteuid): Likewise.
23779         (getgid): Likewise.
23780         (getuid): Likewise.
23781         (getresgid): Likewise.
23782         (getresuid): Likewise.
23783         (getgroups): Likewise.
23784         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
23785         Likewise.
23786         (geteuid): Likewise.
23787         (getgid): Likewise.
23788         (getuid): Likewise.
23789         (getresgid): Likewise.
23790         (getresuid): Likewise.
23791         (getgroups): Likewise.
23792         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
23793         (geteuid): Likewise.
23794         (getgid): Likewise.
23795         (getuid): Likewise.
23796         (getresgid): Likewise.
23797         (getresuid): Likewise.
23798         (getgroups): Likewise.
23799         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
23800         Likewise.
23801         (geteuid): Likewise.
23802         (getgid): Likewise.
23803         (getuid): Likewise.
23804         (getgroups): Likewise.
23806         [BZ #14138]
23807         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
23808         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
23809         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
23810         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23811         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
23812         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
23813         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
23814         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
23815         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
23816         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
23817         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
23818         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
23819         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
23820         __chown.
23821         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
23822         (lchown): Likewise.
23823         (fchown): Likewise.
23824         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
23825         Likewise.
23826         (lchown): Likewise.
23827         (fchown): Likewise.
23828         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
23829         (lchown): Likewise.
23830         (fchown): Likewise.
23831         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
23832         Likewise.
23833         (lchown): Likewise.
23834         (fchown): Likewise.
23836 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23838         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
23839         Simplify logic.
23841 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23843         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
23844         Cleanup logic.
23846 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23848         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
23849         Remove unused include.
23851 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23853         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
23854         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
23855         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
23856         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
23858 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
23859             Helge Deller <deller@gmx.de>
23861         [BZ #17508]
23862         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
23863         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
23864         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
23866 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
23868         [BZ #14132]
23869         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
23870         Remove macro definition.
23871         (__ashrdi3_v_glibc20): Likewise.
23872         (__lshrdi3_v_glibc20): Likewise.
23873         (__cmpdi2_v_glibc20): Likewise.
23874         (__ucmpdi2_v_glibc20): Likewise.
23875         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
23876         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
23877         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
23878         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
23879         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
23880         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
23882 2014-10-22  Roland McGrath  <roland@hack.frob.com>
23884         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
23885         old GNU extension [0] syntax.
23886         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
23887         alloca rather than an array member with variable length.
23888         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
23889         * nscd/nscd.c (invalidate_db): New function, broken out of ...
23890         (parse_opt): ... here.  Likewise use alloca there.
23891         Validate the -i argument before checking for rootness.
23892         (send_shutdown): New function, broken out of ...
23893         (parse_opt): ... here.
23895 2014-10-22  Roland McGrath  <roland@hack.frob.com>
23897         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
23898         macro to get at the _rt_local_ro field.
23899         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
23900         ([PIC] case) or _dl_hwcap ([!PIC] case).
23901         * sysdeps/arm/setjmp.S: Likewise.
23903         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
23904         * sysdeps/arm/configure.ac: New check to define it.
23905         * sysdeps/arm/configure: Regenerated.
23906         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
23907         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
23908         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
23909         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
23910         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
23911         Use move/movt pair instead of a load.
23912         (LDST_GLOBAL): Macro removed.
23913         (LDR_GLOBAL): New macro replaces it.
23914         (LDR_HIDDEN): New macro.
23915         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
23916         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
23918         * setjmp/tst-setjmp-static.c: New file.
23919         * setjmp/Makefile (tests): Add it.
23920         (tests-static): New variable.
23922 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
23924         [BZ #17485]
23925         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
23927 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
23929         [BZ #14132]
23930         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
23932 2014-10-21  Roland McGrath  <roland@hack.frob.com>
23934         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
23936 2014-10-20  Roland McGrath  <roland@hack.frob.com>
23938         * io/fts.c (dirent_not_directory): New function.
23939         (fts_build): Call it.
23941 2014-10-20  Roland McGrath  <roland@hack.frob.com>
23943         * nptl/version.c (__nptl_main): Use normal __write rather than
23944         INTERNAL_SYSCALL.
23945         (banner): Update copyright years.
23947         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
23948         gettimeofday.
23949         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
23950         * nptl/pthread_cond_timedwait.c: Likewise.
23951         * nptl/pthread_mutex_timedlock.c: Likewise.
23952         * nptl/sem_timedwait.c: Likewise.
23954         * sysdeps/nptl/bits/libc-lock.h
23955         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
23956         (__libc_lock_init_recursive): Return void, not 0.
23957         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
23958         (__libc_rwlock_init): Likewise.
23959         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
23961 2014-10-20  Torvald Riegel  <triegel@redhat.com>
23963         [BZ #15215]
23964         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
23965         (__pthread_once_slow): ... here.
23966         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
23967         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
23969 2014-10-20  Torvald Riegel  <triegel@redhat.com>
23971         [BZ #15215]
23972         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
23973         __PTHREAD_ONCE_FORK_GEN_INCR): New.
23974         * sysdeps/nptl/fork.c (__libc_fork): Use them.
23975         * nptl/pthread_once.c (__pthread_once): Likewise.
23976         Update comments.
23978 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
23980         [BZ #14138]
23981         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
23982         name.
23983         (writev): Use __libc_writev as strong name.
23984         * sysdeps/unix/sysv/linux/readv.c: Remove file.
23985         * sysdeps/unix/sysv/linux/writev.c: Likewise.
23987 2014-10-17  Roland McGrath  <roland@hack.frob.com>
23989         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
23991         * sysdeps/i386/nptl/tls.h
23992         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
23993         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
23994         New macros.
23995         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
23996         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
23997         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
23998         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
23999         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
24000         Call CHECK_THREAD_SYSINFO instead of doing an assert.
24002         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24003         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
24004         on [__NR_futex].
24005         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
24006         broken out of ...
24007         (__pthread_mutex_init): ... here.  Call it.
24008         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
24009         Conditionalize PI cases on [__NR_futex].
24010         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
24011         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
24012         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
24014         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
24015         conditional on [SIGSETXID].
24016         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
24017         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
24018         is defined.  Likewise for SIGSETXID.
24019         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
24020         Conditionalize definitions on [SIGSETXID].
24021         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
24022         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
24023         unblocking on [SIGCANCEL].
24025         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
24026         [__NR_set_robust_list].
24028 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24030         * string/strcoll_l.c (get_next_seq): Fix up formatting.
24031         (do_compare): Likewise.
24033 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
24035         [BZ #15884]
24036         * string/strcoll_l.c: Don't include stdio.h.
24037         (coll_seq): Remove members idxarr and rulearr.
24038         (get_next_seq_cached): Remove function.
24039         (get_next_seq): Likewise.
24040         (get_next_seq_nocache): Rename to get_next_seq.
24041         (do_compare): Remove function.
24042         (do_compare_nocache): Rename to do_compare.
24043         (STRCOLL): Remove weight and rules cache.
24045 2014-10-16  Roland McGrath  <roland@hack.frob.com>
24047         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
24048         * sysdeps/arm/sfp-machine.h: ... to here.
24049         * sysdeps/arm/Implies: Remove arm/soft-fp.
24051 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
24053         * conform/data/sys/utsname.h-data (*_t): Allow.
24054         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
24055         [POSIX] (WEXITED): Do not expect constant.
24056         [POSIX] (WSTOPPED): Likewise.
24057         [POSIX] (WNOHANG): Likewise.
24058         [POSIX] (WNOWAIT): Likewise.
24059         [POSIX] (siginfo_t): Do not expect type or elements.
24060         [POSIX] (pid_t): Do not expect type.
24061         [POSIX] (signal.h): Do not allow header.
24062         [POSIX] (sys/resource.h): Likewise.
24063         [POSIX] (si_*): Do not allow pattern.
24064         [POSIX] (W*): Likewise.
24065         [POSIX] (P_*): Likewise.
24066         [POSIX] (BUS_*): Likewise.
24067         [POSIX] (CLD_*): Likewise.
24068         [POSIX] (FPE_*): Likewise.
24069         [POSIX] (ILL_*): Likewise.
24070         [POSIX] (POLL_*): Likewise.
24071         [POSIX] (SEGV_*): Likewise.
24072         [POSIX] (SI_*): Likewise.
24073         [POSIX] (TRAP_*): Likewise.
24074         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
24075         variable.
24077 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
24079         [BZ #12926]
24080         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
24081         infinite loop when __recvmsg returns 0.
24083 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
24085         * CANCEL-FCT-WAIVE: Remove file.
24086         * CANCEL-FILE-WAIVE: Likewise.
24088         [BZ #14132]
24089         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
24090         instead of INTVARDEF.
24091         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
24092         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
24093         rtld_hidden_data_def instead of INTVARDEF.
24094         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
24095         * elf/dl-deps.c (expand_dst): Likewise.
24096         * elf/dl-load.c (_dl_dst_count): Likewise.
24097         (_dl_dst_substitute): Likewise.
24098         (decompose_rpath): Likewise.
24099         (_dl_init_paths): Likewise.
24100         (open_path): Likewise.
24101         (_dl_map_object): Likewise.
24102         * elf/rtld.c (dl_main): Likewise.
24103         (process_dl_audit): Likewise.
24104         (process_envvars): Likewise.
24105         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
24106         Remove declaration.
24107         (__libc_enable_secure): Use rtld_hidden_proto.
24109 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24111         * elf/dl-load.c
24112         (add_path): New function broken out of _dl_rtld_di_serinfo.
24113         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
24115 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
24117         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
24118         parentheses around macro arguments.
24119         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
24120         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
24121         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
24122         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
24123         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
24124         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
24125         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
24126         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
24127         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
24128         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
24129         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
24130         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
24131         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
24132         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
24133         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
24134         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
24135         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
24136         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
24137         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
24138         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
24139         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
24140         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
24141         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
24142         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
24143         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
24144         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
24145         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
24146         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
24147         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
24148         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
24149         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
24150         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
24151         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
24152         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
24153         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
24154         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
24155         Likewise.
24156         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
24157         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
24158         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
24159         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
24160         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
24161         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
24162         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
24163         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
24164         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
24165         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
24166         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
24167         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
24168         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
24169         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
24170         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
24171         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
24172         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
24173         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
24174         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
24175         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
24176         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
24177         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
24178         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
24179         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
24180         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
24181         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
24182         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
24183         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
24184         (_FP_FRAC_SRS_1): Likewise.
24185         (_FP_FRAC_CLZ_1): Likewise.
24186         (_FP_MUL_MEAT_1_imm): Likewise.
24187         (_FP_MUL_MEAT_1_wide): Likewise.
24188         (_FP_MUL_MEAT_1_hard): Likewise.
24189         (_FP_SQRT_MEAT_1): Likewise.
24190         (_FP_FRAC_ASSEMBLE_1): Likewise.
24191         (_FP_FRAC_DISASSEMBLE_1): Likewise.
24192         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
24193         (__FP_CLZ_2): Likewise.
24194         (_FP_MUL_MEAT_2_wide): Likewise.
24195         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
24196         (_FP_MUL_MEAT_2_gmp): Likewise.
24197         (_FP_MUL_MEAT_2_120_240_double): Likewise.
24198         (_FP_SQRT_MEAT_2): Likewise.
24199         (_FP_FRAC_ASSEMBLE_2): Likewise.
24200         (_FP_FRAC_DISASSEMBLE_2): Likewise.
24201         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
24202         (_FP_FRAC_CLZ_4): Likewise.
24203         (_FP_MUL_MEAT_4_wide): Likewise.
24204         (_FP_MUL_MEAT_4_gmp): Likewise.
24205         (_FP_SQRT_MEAT_4): Likewise.
24206         (_FP_FRAC_ASSEMBLE_4): Likewise.
24207         (_FP_FRAC_DISASSEMBLE_4): Likewise.
24208         * soft-fp/op-common.h (_FP_CMP): Likewise.
24209         (_FP_CMP_EQ): Likewise.
24210         (_FP_CMP_UNORD): Likewise.
24211         (_FP_TO_INT): Likewise.
24212         (_FP_FROM_INT): Likewise.
24213         [!__FP_CLZ] (__FP_CLZ): Likewise.
24214         (_FP_DIV_HELP_imm): Likewise.
24215         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
24216         Likewise.
24217         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
24218         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
24219         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
24220         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
24221         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
24222         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
24223         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
24224         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
24225         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
24226         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
24227         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
24228         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
24229         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
24230         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
24231         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
24232         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
24233         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
24234         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
24235         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
24236         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
24237         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
24238         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
24239         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
24240         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
24241         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
24242         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
24243         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
24244         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
24245         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
24246         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
24247         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
24248         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
24249         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
24250         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
24251         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
24252         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
24253         (FP_UNPACK_RAW_SP): Likewise.
24254         (FP_PACK_RAW_S): Likewise.
24255         (FP_PACK_RAW_SP): Likewise.
24256         (FP_UNPACK_S): Likewise.
24257         (FP_UNPACK_SP): Likewise.
24258         (FP_UNPACK_SEMIRAW_S): Likewise.
24259         (FP_UNPACK_SEMIRAW_SP): Likewise.
24260         (FP_PACK_S): Likewise.
24261         (FP_PACK_SP): Likewise.
24262         (FP_PACK_SEMIRAW_S): Likewise.
24263         (FP_PACK_SEMIRAW_SP): Likewise.
24264         (_FP_SQRT_MEAT_S): Likewise.
24265         (FP_CMP_S): Likewise.
24266         (FP_CMP_EQ_S): Likewise.
24267         (FP_CMP_UNORD_S): Likewise.
24268         (FP_TO_INT_S): Likewise.
24269         (FP_FROM_INT_S): Likewise.
24271         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
24273         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
24274         (FP_EX_INVALID_IMZ): Likewise.
24275         (FP_EX_INVALID_IMZ_FMA): Likewise.
24276         (FP_EX_INVALID_ISI): Likewise.
24277         (FP_EX_INVALID_ZDZ): Likewise.
24278         (FP_EX_INVALID_IDI): Likewise.
24279         (FP_EX_INVALID_SQRT): Likewise.
24280         (FP_EX_INVALID_CVI): Likewise.
24281         (FP_EX_INVALID_VC): Likewise.
24282         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
24283         "invalid" exceptions.
24284         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
24285         (_FP_ADD_INTERNAL): Likewise.
24286         (_FP_MUL): Likewise.
24287         (_FP_FMA): Likewise.
24288         (_FP_DIV): Likewise.
24289         (_FP_CMP_CHECK_NAN): Likewise.
24290         (_FP_SQRT): Likewise.
24291         (_FP_TO_INT): Likewise.
24292         (FP_EXTEND): Likewise.
24294 2014-10-09  Allan McRae  <allan@archlinux.org>
24296         * po/fr.po: Update French translation from translation project.
24298 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
24300         [BZ #14132]
24301         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
24302         of INTDEF.
24303         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
24304         (__cxa_atexit): Use libc_hidden_proto.
24305         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
24307         [BZ #14132]
24308         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
24309         declaration.
24310         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
24311         [!_ISOMAC] (__iswspace_l_internal): Likewise.
24312         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
24313         [!_ISOMAC] (__iswctype_internal): Likewise.
24314         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
24315         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
24316         alias.
24317         (fcntl): Remove __fcntl_internal alias.
24318         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
24319         __connect_internal alias.
24320         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
24321         Likewise.
24323         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
24324         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
24325         FP_DENORM_ZERO.
24326         (_FP_CHECK_FLUSH_ZERO): New macro.
24327         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
24328         (_FP_CMP): Likewise.
24329         (_FP_CMP_EQ): Likewise.
24330         (_FP_TO_INT): Do not set inexact for subnormal arguments if
24331         FP_DENORM_ZERO.
24332         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
24333         (FP_TRUNC): Likewise.
24335         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
24336         treated as invalid conversion, not as normal exponent.
24338         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
24339         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
24340         (_FP_CMP_EQ): Likewise.
24341         (_FP_CMP_UNORD): Likewise.
24342         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
24343         (FP_CMP_EQ_D): Likewise.
24344         (FP_CMP_UNORD_D): Likewise.
24345         * soft-fp/extended.h (FP_CMP_E): Likewise.
24346         (FP_CMP_EQ_E): Likewise.
24347         (FP_CMP_UNORD_E): Likewise.
24348         * soft-fp/quad.h (FP_CMP_Q): Likewise.
24349         (FP_CMP_EQ_Q): Likewise.
24350         (FP_CMP_UNORD_Q): Likewise.
24351         * soft-fp/single.h (FP_CMP_S): Likewise.
24352         (FP_CMP_EQ_S): Likewise.
24353         (FP_CMP_UNORD_S): Likewise.
24354         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
24355         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
24356         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
24357         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
24358         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
24359         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
24360         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
24361         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
24362         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
24363         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
24364         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
24365         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
24366         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
24367         to FP_CMP_Q.
24368         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
24369         FP_CMP_Q.
24370         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
24371         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
24372         FP_CMP_EQ_Q.
24373         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
24374         FP_CMP_Q.
24375         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
24376         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
24377         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
24378         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
24379         FP_CMP_EQ_Q.
24380         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
24381         FP_CMP_Q.
24382         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
24383         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
24384         FP_CMP_EQ_Q.
24385         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
24386         FP_CMP_Q.
24387         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
24388         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
24389         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
24390         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
24391         FP_CMP_EQ_Q.
24393         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
24394         a subnormal result, set the underflow exception if trapping on
24395         underflow is enabled.
24396         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
24397         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
24398         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
24399         redefine to 0.
24400         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
24401         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
24402         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
24403         * soft-fp/extendxftf2.c (__extendxftf2): Use
24404         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
24406         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
24407         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
24408         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24409         FP_HANDLE_EXCEPTIONS.
24410         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
24411         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24412         FP_HANDLE_EXCEPTIONS.
24413         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
24414         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24415         FP_HANDLE_EXCEPTIONS.
24416         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
24417         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24418         FP_HANDLE_EXCEPTIONS.
24420 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
24422         [BZ #14132]
24423         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
24424         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
24425         use INTUSE.
24426         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
24427         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
24428         Remove alias.
24429         (__adjtimex): Define using libc_hidden_ver.
24430         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
24431         Remove declaration.
24432         (ntp_gettime): Call __adjtimex directly.
24433         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
24434         Remove declaration.
24435         (ntp_gettimex): Call __adjtimex directly.
24436         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
24437         __adjtimex_internal alias.
24439 2014-10-08  Roland McGrath  <roland@hack.frob.com>
24441         [BZ #17460]
24442         * nscd/nscd.c (more_help): Rewrite list of tables collection
24443         using xstrdup and asprintf.
24445         * nscd/nscd_conf.c: Remove local xstrdup declaration.
24447 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24448             Roland McGrath  <roland@hack.frob.com>
24450         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
24451         (do_lookup_unique): ... local function 'enter' here; update callers.
24453 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
24455         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
24456         compat_symbol calls on [SHARED].
24457         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
24458         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
24459         Remove.
24460         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
24461         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
24462         (oldsetrlimit): Remove.
24463         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
24464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
24465         (lchown): New syscall entry.
24466         (oldsetrlimit): Remove.
24467         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
24468         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
24469         (oldsetrlimit): Remove.
24470         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
24472         [BZ #14138]
24473         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
24474         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
24475         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
24476         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
24477         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
24478         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
24479         (fchown): Likewise.
24480         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
24481         (fchown): Likewise.
24482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
24483         Likewise.
24485 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24487         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
24488         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
24489         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
24490         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
24491         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
24492         Likewise.
24493         (__old_sem_post): Likewise.
24495 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
24497         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
24498         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
24499         HAVE_CLOCK_GETTIME_VSYSCALL macros.
24500         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
24501         Use INLINE_VSYSCALL macro.
24502         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
24503         __vdso_clock_gettime.
24504         * sysdeps/unix/sysv/linux/tile/init-first.c
24505         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
24506         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
24507         __vdso_clock_gettime.
24509         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
24510         to set up frame more cleanly.
24512         * sysdeps/tile/memcmp.c: New file.
24514         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
24516         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
24517         * sysdeps/tile/tilegx/strcasestr.c: New file.
24518         * sysdeps/tile/tilegx/strnlen.c: New file.
24519         * sysdeps/tile/tilegx/strstr.c: New file.
24521         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
24523 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
24525         * nptl/tst-setuid3.c: Write errors to stdout.
24527 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24529         * elf/dl-deps.c
24530         (preload): New functions broken out of _dl_map_object_deps.
24531         (_dl_map_object_deps):  Remove a nested function. Update call sites.
24533 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
24535         [BZ #14138]
24536         * sysdeps/unix/sysv/linux/execve.c: Remove file.
24537         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
24539 2014-10-01  Steve Ellcey  <sellcey@mips.com>
24541         * sysdeps/mips/strcmp.S: New.
24543 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
24545         [BZ #14138]
24546         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
24547         (linkat): Likewise.
24548         (mkdirat): Likewise.
24549         (readlinkat): Likewise.
24550         (renameat): Likewise.
24551         (symlinkat): Likewise.
24552         (unlinkat): Likewise.
24553         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
24554         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
24555         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
24556         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
24557         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
24558         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
24559         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
24561 2014-09-30  Will Newton  <will.newton@linaro.org>
24563         * math/math.h: Define long double math functions if
24564         _LIBC_TEST is defined.
24565         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
24567         * localedata/Makefile: Move assignment to tests-special
24568         into an ifdef testing run-built-tests.
24569         * timezone/Makefile: Likewise.
24571 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
24573         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
24574         with $(BASH) not $(SHELL).
24576 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
24577             Matthew LeGendre  <legendre1@llnl.gov>
24579         [BZ #17411]
24580         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
24581         l_reloc_result.
24583 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24585         * stdio-common/printf_fp.c
24586         (hack_digit): New function, broken out of ...
24587         (__printf_fp): ... local function here.  Update call sites.
24588         hack_digit now takes an additional parameter that is a pointer
24589         to a struct of the referenced locals.  Those locals moved inside
24590         the struct and references updated.
24592 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
24594         * aclocal.m4: Require autoconf 2.69.
24595         * configure: Regenerated.
24596         * sysdeps/aarch64/configure: Likewise.
24597         * sysdeps/alpha/configure: Likewise.
24598         * sysdeps/arm/armv7/configure: Likewise.
24599         * sysdeps/arm/configure: Likewise.
24600         * sysdeps/ia64/configure: Likewise.
24601         * sysdeps/mach/configure: Likewise.
24602         * sysdeps/mips/configure: Likewise.
24603         * sysdeps/s390/configure: Likewise.
24604         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
24605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
24607         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
24608         file.
24609         * sysdeps/ia64/configure.ac: Likewise.
24611 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
24613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
24614         specify symbol version for ld.so.  Do not include entry for
24615         libpthread.
24616         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
24617         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
24618         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
24620         [BZ #14171]
24621         * Makeconfig [$(build-shared) = yes]
24622         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
24623         makefiles.
24624         [$(build-shared) = yes && $(soversions.mk-done) = t]
24625         ($(common-objpfx)gnu/lib-names.h): Remove rule.
24626         [$(build-shared) = yes && $(soversions.mk-done) = t]
24627         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
24628         to Makerules.
24629         [$(build-shared) = yes && $(soversions.mk-done) = t]
24630         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
24631         here.
24632         [$(build-shared) = yes && $(soversions.mk-done) = t]
24633         (common-generated): Don't append gnu/lib-names.h and
24634         gnu/lib-names.stmp here.
24635         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
24636         (lib-names-h-abi): New variable.
24637         [$(build-shared) = yes && $(soversions.mk-done) = t]
24638         (lib-names-stmp-abi): Likewise.
24639         [$(build-shared) = yes && $(soversions.mk-done) = t &&
24640         abi-variants] (before-compile): Append
24641         $(common-objpfx)$(lib-names-h-abi).
24642         [$(build-shared) = yes && $(soversions.mk-done) = t &&
24643         abi-variants] (common-generated): Append gnu/lib-names.h.
24644         [$(build-shared) = yes && $(soversions.mk-done) = t &&
24645         abi-variants] (install-others-nosubdir): Depend on
24646         $(inst_includedir)/$(lib-names-h-abi).
24647         [$(build-shared) = yes && $(soversions.mk-done) = t &&
24648         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
24649         [$(build-shared) = yes && $(soversions.mk-done) = t]
24650         ($(common-objpfx)$(lib-names-h-abi)): New rule.
24651         [$(build-shared) = yes && $(soversions.mk-done) = t]
24652         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
24653         [$(build-shared) = yes && $(soversions.mk-done) = t]
24654         (common-generated): Append $(lib-names-h-abi) and
24655         $(lib-names-stmp-abi).
24656         * scripts/lib-names.awk: Do not handle multi being set.
24657         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
24658         Remove variable.
24659         (abi-lp64_be-ld-soname): Likewise.
24660         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
24661         Likewise.
24662         (abi-hard-ld-soname): Likewise.
24663         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
24664         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
24665         Remove variable.
24666         (abi-o32_hard-ld-soname): Likewise.
24667         (abi-o32_soft_2008-ld-soname): Likewise.
24668         (abi-o32_hard_2008-ld-soname): Likewise.
24669         (abi-n32_soft-ld-soname): Likewise.
24670         (abi-n32_hard-ld-soname): Likewise.
24671         (abi-n32_soft_2008-ld-soname): Likewise.
24672         (abi-n32_hard_2008-ld-soname): Likewise.
24673         (abi-n64_soft-ld-soname): Likewise.
24674         (abi-n64_hard-ld-soname): Likewise.
24675         (abi-n64_soft_2008-ld-soname): Likewise.
24676         (abi-n64_hard_2008-ld-soname): Likewise.
24677         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
24678         Likewise.
24679         (abi-64-v2-ld-soname): Likewise.
24680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
24681         ld.so entries.
24682         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
24683         variable.
24684         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
24685         entry.
24686         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
24687         variable.
24688         (abi-64-ld-soname): Likewise.
24689         (abi-x32-ld-soname): Likewise.
24690         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
24691         entry.
24692         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
24694 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
24696         [BZ #14138]
24697         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
24698         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
24699         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
24700         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
24701         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
24702         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
24703         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
24704         syscall entry for GLIBC_2.2 symbol version.
24705         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
24706         Likewise.
24707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
24708         (setrlimit): Likewise.
24709         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
24710         Likewise.
24712 2014-09-23  Will Newton  <will.newton@linaro.org>
24714         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
24715         _LINUX_ARM_SYSDEP_H include guard too.
24716         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
24717         define.
24719 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
24721         * sysdeps/unix/sysv/linux/eventfd.c:
24722         Make first argument unsigned.
24723         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
24724         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
24726 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
24728         [BZ #16852]
24729         * socket/recvmmsg.c (recvmmsg): Drop const argument.
24730         * socket/sys/socket.h: Likewise.
24731         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
24733 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24735         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
24737 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
24739         * time/tst-ftime.c: New test.
24740         * time/Makefile (tests): Add tst-ftime.
24742 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
24744         * soft-fp/extended.h: Fix comment formatting.
24745         * soft-fp/op-1.h: Likewise.
24746         * soft-fp/op-2.h: Likewise.
24747         * soft-fp/op-4.h: Likewise.
24748         * soft-fp/op-8.h: Likewise.
24749         * soft-fp/op-common.h: Likewise.
24750         * soft-fp/soft-fp.h: Likewise.
24752         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
24754 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
24756         [BZ #6652]
24757         * Makeconfig (soversions-default-setname): Remove variable.
24758         ($(common-objpfx)soversions.i): Don't pass default_setname to
24759         soversions.awk.
24760         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
24761         oldest_abi to abi-versions.awk.
24762         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
24763         * config.make.in (oldest-abi): Remove variable.
24764         * configure.ac (--enable-oldest-abi): Remove configure option.
24765         * configure: Regenerated.
24766         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
24767         text.
24768         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
24769         * scripts/soversions.awk: Do not handle default_setname variable.
24770         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
24771         variable.
24772         * sysdeps/mach/hurd/configure: Regenerated.
24773         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
24774         variable.
24775         * sysdeps/unix/sysv/linux/configure: Regenerated.
24777 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24779         * elf/Makefile (CFLAGS-interp.c): Remove.
24780         ($(elf-objpfx)runtime-linker.h): Generate header with linker
24781         path string.
24782         * elf/interp.c: Include generated runtime-linker.h
24784         * Makerules (lib%.so): Don't include $(+interp) in
24785         prerequisites.
24786         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
24787         * dlfcn/eval.c: Remove file.
24789         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
24790         macros.
24792         [BZ #17266]
24793         * misc/sys/cdefs.h: Define __extern_always_inline for clang
24794         4.2 and newer.
24796         [BZ #17370]
24797         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
24799 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24800             Jakub Jelinek  <jakub@redhat.com>
24802         [BZ #17266]
24803         * libio/stdio.h: Check definition of __fortify_function
24804         instead of __extern_always_inline to include bits/stdio2.h.
24805         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
24806         check if __extern_always_inline is defined.
24807         [__USE_MISC || __USE_XOPEN]: Likewise.
24808         [__USE_ISOC99] Likewise.
24809         * misc/sys/cdefs.h (__fortify_function): Define only if
24810         __extern_always_inline is defined.
24811         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
24812         __extern_always_inline and __extern_inline only for g++-4.3
24813         and newer or a compatible gcc.
24815 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
24817         [BZ #17371]
24818         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
24819         last change to handle zero prefix length.
24821 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24823         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
24824         _SC_REGEX_VERSION.
24826         * posix/getconf.c (vars): Add _POSIX_IPV6 and
24827         _POSIX_RAW_SOCKETS.
24829 2014-09-13  Allan McRae  <allan@archlinux.org>
24831         * po/ru.po: Update Russian translation from translation project.
24833 2014-09-12  Roland McGrath  <roland@hack.frob.com>
24835         * locale/programs/locale.c (show_locale_vars): Inline local function
24836         into its sole call site.  Clean up some style nits.
24837         (print_item): New function, broken out of ...
24838         (show_info): ... local function here.  Clean up style nits.
24840         * locale/programs/ld-ctype.c (set_one_default): New function, broken
24841         out of ...
24842         (set_class_defaults): ... local function set_default here.
24843         Define set_default as a macro locally to pass constant parameters.
24844         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
24845         rather than a shared local.
24847         * stdlib/rpmatch.c (try): New function, broken out of ...
24848         (rpmatch): ... local function here.  Also, prototypify definition.
24850 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
24852         * scripts/soversions.awk: Do not handle configuration names.
24853         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
24854         vendor and os variables to soversions.awk.
24855         * configure.ac: Do not modify gnu-* host_os.
24856         * configure: Regenerated
24857         * shlib-versions: Remove first column with configuration names.
24858         * nptl/shlib-versions: Likewise.
24859         * nptl_db/shlib-versions: Likewise.
24860         * sysdeps/hppa/shlib-versions: Likewise.
24861         * sysdeps/m68k/shlib-versions: Likewise.
24862         * sysdeps/mach/hurd/shlib-versions: Likewise.
24863         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
24864         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
24865         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
24866         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
24867         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
24868         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
24869         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
24870         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
24871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
24872         Likewise.
24873         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
24874         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
24875         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
24876         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
24877         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
24878         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
24879         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
24880         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
24882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
24883         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
24884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
24885         Regenerated.
24886         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
24887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
24888         Condition symbol version definitions on [HAVE_ELFV2_ABI].
24890         * shlib-versions: Remove OS-specific entries.  Moved to files in
24891         sysdeps.
24892         * sysdeps/mach/hurd/shlib-versions: New file.
24893         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
24895         * nptl/shlib-versions: Remove architecture-specific entries.
24896         Moved to files in sysdeps.
24897         * shlib-versions: Likewise.
24898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
24899         file.
24900         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
24901         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
24902         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
24903         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
24905         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
24906         (UDP_NO_CHECK6_RX): Likewise.
24908 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24910         * sysdeps/posix/sysconf.c (__sysconf): Spell
24911         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
24913 2014-08-12  Florian Weimer  <fweimer@redhat.com>
24915         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
24916         loading.
24917         * iconv/Versions (__gconv_transliterate): Export for use from
24918         gconv modules.
24919         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
24920         (struct __gconv_trans_data, __gconv_trans_fct,
24921         __gconv_trans_context_fct, __gconv_trans_query_fct,
24922         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
24923         definitions.
24924         (struct __gconv_step_data): Remove __trans member.
24925         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
24926         longer hidden.  Remove unused trans_data argument.
24927         * iconv/gconv_int.h (struct trans_struct): Remove definition.
24928         (__gconv_translit_find): Remove declaration.
24929         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
24930         prototype.
24931         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
24932         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
24933         trans_data argument.  Add hidden definition.
24934         (__gconv_translit_find): Remove.
24935         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
24936         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
24937         * iconv/skeleton.c: Remove transliteration initialization.
24938         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
24939         __gconv_step_data initialization.
24940         * libio/iofwide.c (__libio_translit_): Remove.
24941         (_IO_fwide): Adjust struct __gconv_step_data initialization.
24942         * wcsmbs/btowc.c (__btowc): Likewise.
24943         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24944         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
24945         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
24946         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
24947         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
24948         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
24949         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
24950         * wcsmbs/wctob.c (wctob): Likewise.
24952 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24954         [BZ #16194]
24955         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
24956         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
24957         register usage.
24958         * sysdeps/x86/Makefile: Adjust.
24960 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24961             Roland McGrath  <roland@hack.frob.com>
24963         * locale/weight.h: Add include guard.
24964         (findidx): Make static rather than auto; take new parameters
24965         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
24966         * locale/weightwc.h: Likewise.
24967         * posix/fnmatch_loop.c
24968         (FCT): Change type of EXTRA from int32_t to wint_t.
24969         Don't include either header inside the function.
24970         Call FINDIDX rather than findidx, and pass new arguments.
24971         #undef FINDIDX at the end of the file.
24972         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
24973         FINDIDX before including fnmatch_loop.c for the non-wide version.
24974         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
24975         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
24976         for the wide version.
24977         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
24978         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
24979         Pass new arguments to findidx.
24980         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
24981         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
24982         Don't #include it inside the function.  Pass new arguments to findidx.
24983         * posix/regex_internal.h
24984         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
24985         (re_string_elem_size_at): Don't #include it inside the function.
24986         Pass new arguments to findidx.
24987         * string/strcoll_l.c: #include WEIGHT_H at top level.
24988         (get_next_seq): Don't #include it inside the function.
24989         Pass new arguments to findidx.
24990         (get_next_seq_nocache): Likewise.
24991         * string/strxfrm_l.c: #include WEIGHT_H at top level.
24992         (STRXFRM): Don't #include it inside the function.
24993         Pass new arguments to findidx.
24995 2014-09-11  Florian Weimer  <fweimer@redhat.com>
24997         [BZ #17344]
24998         * malloc/malloc.c (unlink): Turn asserts into a call to
24999         malloc_printerr.
25001 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
25003         [BZ #17370]
25004         * libio/wfileops (do_ftell_wide): Free OUT.
25006 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
25008         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
25010 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25012         [BZ #17363]
25013         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
25014         group if the current group is empty.
25016 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25018         * benchtests/bench-memset.c (test_main): Add more test from size
25019         from 32 to 512 bytes.
25020         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25021         Add POWER8 memset object.
25022         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25023         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
25024         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
25025         implementation.
25026         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
25027         Likewise.
25028         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
25029         multiarch POWER8 memset optimization.
25030         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
25031         POWER8 memset optimization.
25033         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25034         Remove bzero multiarch objects.
25035         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
25036         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
25037         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
25038         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
25039         Remove define.
25040         [__bzero]: Redefine to specific name.
25041         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25042         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25043         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
25044         define.
25045         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25046         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
25048 2014-09-10  Florian Weimer  <fweimer@redhat.com>
25050         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
25051         warnings into errors.
25053         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
25054         __cxa_thread_atexit_impl prototype.
25056 2014-09-09  Steve Ellcey  <sellcey@mips.com>
25058         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
25059         Fix capitalization of error message.
25061 2014-09-09  Steve Ellcey  <sellcey@mips.com>
25063         * sysdeps/mips/preconfigure: Modify ABI tests.
25065 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
25067         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
25069 2014-09-07  Roland McGrath  <roland@hack.frob.com>
25070             Carlos O'Donell  <carlos@systemhalted.org>
25072         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
25073         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
25074         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
25075         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
25076         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
25077         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
25078         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
25079         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
25080         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
25081         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
25082         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
25083         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
25084         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
25085         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
25086         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
25087         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
25088         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
25089         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
25090         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
25091         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
25092         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
25093         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
25094         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
25095         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
25096         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
25097         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
25098         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
25099         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
25100         Deconditionalize the code that was previously under [RESET_PID].
25101         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
25102         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
25103         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
25104         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
25105         include sysdep.h.
25107 2014-09-08  Allan McRae  <allan@archlinux.org>
25109         * version.h (RELEASE): Set to "development".
25110         (VERSION): Set to "2.20.90"
25112 2014-09-07  Allan McRae  <allan@archlinux.org
25114         * version.h (RELEASE): Set to "stable".
25115         (VERSION): Set to "2.20"
25116         * include/features.h (__GLIBC_MINOR__): Set to 20.
25118         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
25119         Liebler.
25121         * po/ko.po: Update Korean translation from translation project.
25123 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
25125         [BZ #17354]
25126         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
25127         macro for handling signed relocations.
25129 2014-09-03  Florian Weimer  <fweimer@redhat.com>
25131         [BZ #17325]
25132         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
25133         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
25134         assert.
25135         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
25136         * iconvdata/ibm935.c (BODY): Likewise.
25137         * iconvdata/ibm937.c (BODY): Likewise.
25138         * iconvdata/ibm939.c (BODY): Likewise.
25139         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
25140         assert.
25141         * iconvdata/Makefile (iconv-test.out): Pass module list to test
25142         script.
25143         * iconvdata/run-iconv-test.sh: New test loop for checking for
25144         decoder crashers.
25146 2014-09-02  Khem Raj  <raj.khem@gmail.com>
25148         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
25149         libm_hidden_ver.
25151 2014-09-01  Allan McRae  <allan@archlinux.org>
25153         * po/eo.po: Update Esperanto translation from translation project.
25155         * po/ca.po: Update Catalan translation from translation project.
25157 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25159         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
25160         __proc_dostop call.
25162 2014-08-27  Mark Wielaard  <mjw@redhat.com>
25164         [BZ #17319]
25165         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
25166         to call set_thread_area instead of hand written asm.
25167         (__NR_set_thread_area): Removed define.
25168         (TLS_FLAG_WRITABLE): Likewise.
25169         (__ASSUME_SET_THREAD_AREA): Remove check.
25170         (TLS_EBX_ARG): Remove define.
25171         (TLS_LOAD_EBX): Likewise.
25173 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25175         Simplify atomicity of socket creation in bind.
25177         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
25178         looking up the name after linking the file.
25180 2014-08-27  Allan McRae  <allan@archlinux.org>
25182         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25184 2014-08-26  Florian Weimer  <fweimer@redhat.com>
25186         [BZ #17187]
25187         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
25188         trans_compare, open_translit, __gconv_translit_find):
25189         Remove module loading code.
25191 2014-08-26  Allan McRae  <allan@archlinux.org>
25193         * po/vi.po: Update Vietnamese translation from translation project.
25195         * po/uk.po: Update Ukrainian translation from translation project.
25197         * po/fr.po: Update French translation from translation project.
25199         * po/ru.po: Update Russian translation from translation project.
25201         * po/pl.po: Update Polish translation from translation project.
25203         * po/cs.po: Update Czech translation from translation project.
25205         * po/de.po: Update German translation from translation project.
25207         * po/bg.po: Update Bulgarian translation from translation project.
25209         * po/sv.po: Update Sweedish translation from translation project.
25211         * po/nl.po: Update Dutch translation from translation project.
25213         * po/es.po: Update Spanish translation from translation project.
25215 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25217         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
25219         * catgets/Makefile (CPPFLAGS-gencat): Remove.
25220         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
25221         (CPPFLAGS-iconvconfig): Likewise.
25222         * timezone/Makefile (CPPFLAGS-zic): Likewise.
25224         * include/libc-symbols.h: Remove unnecessary check for
25225         NOT_IN_libc.
25226         * nptl/pthreadP.h: Likewise.
25227         * sysdeps/aarch64/setjmp.S: Likewise.
25228         * sysdeps/alpha/setjmp.S: Likewise.
25229         * sysdeps/arm/sysdep.h: Likewise.
25230         * sysdeps/i386/setjmp.S: Likewise.
25231         * sysdeps/m68k/setjmp.c: Likewise.
25232         * sysdeps/posix/getcwd.c: Likewise.
25233         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25234         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
25235         * sysdeps/s390/s390-32/setjmp.S: Likewise.
25236         * sysdeps/s390/s390-64/setjmp.S: Likewise.
25237         * sysdeps/sh/sh3/setjmp.S: Likewise.
25238         * sysdeps/sh/sh4/setjmp.S: Likewise.
25239         * sysdeps/unix/alpha/sysdep.h: Likewise.
25240         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25241         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25242         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
25243         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25246         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25247         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25248         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25249         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25250         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25251         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25252         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25253         * sysdeps/x86_64/setjmp.S: Likewise.
25255 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
25257         [BZ #17263]
25258         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
25259         <stdint.h>.
25260         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
25261         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
25263 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25265         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
25267         [BZ #17262]
25268         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
25269         and __x86_64__ when disabling x87 inline functions.
25271 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
25273         [BZ #17259]
25274         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
25275         asm statement with __cpuid_count.
25277 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
25279         * configure.ac: Change __ehdr_start code to dereference the struct.
25280         Run readelf on the output to look for relocations.
25281         * configure: Regenerated.
25283 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
25285         [BZ #17261]
25286         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
25287         value to 0.
25288         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
25290 2014-08-12  Roland McGrath  <roland@hack.frob.com>
25292         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
25294 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
25296         [BZ #16892]
25297         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
25298         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
25300 2014-08-12  Sean Anderson  <seanga2@gmail.com>
25302         * malloc/malloc.c: Fix typo in comment.
25304 2014-08-09  Allan McRae  <allan@archlinux.org>
25306         * Regenerate libc.po.
25308 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
25310         * intl/tst-gettext2.sh: Check every lang file for creation.
25312 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
25314         * sysdeps/aarch64/fpu/math_private.h
25315         (libc_feholdsetround_noex_aarch64_ctx): New function.
25317 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
25319         * sysdeps/arm/armv6/strcpy.S (strcpy):
25320         Fix performance issue in misaligned cases.
25322 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25324         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
25325         Move definition from termios.h.
25326         (struct termio): Likewise.
25327         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25328         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
25329         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
25330         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
25331         Likewise.
25332         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
25333         Move definition to ioctl-types.h
25334         (struct termio): Likewise.
25335         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25336         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
25337         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
25338         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
25339         Likewise.
25341 2014-08-05  Richard Henderson  <rth@redhat.com>
25343         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
25344         exceptions.
25345         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
25346         Add fraiseexcpt.
25347         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
25348         Use __feraiseexcept.
25349         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
25350         Protect libm symbols with IS_IN_libm.
25352         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
25354 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
25356         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
25358 2014-08-04  Will Newton  <will.newton@linaro.org>
25360         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
25361         file.
25363 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
25365         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
25366         variants for each function.
25368 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25370         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
25371         appended ...
25372         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
25373         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
25374         appended ...
25375         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
25376         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
25377         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
25378         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
25379         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
25380         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
25381         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
25382         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
25383         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
25384         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
25385         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
25386         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
25387         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
25388         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
25389         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
25390         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
25391         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
25392         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
25393         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
25394         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
25395         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
25396         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
25397         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
25398         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
25399         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
25400         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
25401         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
25402         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
25403         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
25404         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
25405         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
25406         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
25407         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
25408         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
25409         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
25410         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
25411         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
25412         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
25413         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
25414         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
25415         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
25416         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
25417         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
25418         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
25419         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
25420         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
25421         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
25422         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
25423         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
25424         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
25425         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
25426         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
25427         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
25428         Update #include.
25429         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
25430         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
25432 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25434         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
25435         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
25436         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
25437         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
25438         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
25439         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
25441 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25443         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
25444         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
25445         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25446         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
25448 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25450         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
25451         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
25452         (__libc_vfork): Define function under this name.
25453         (__vfork): Define as an alias.
25454         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
25455         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
25457 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25459         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
25460         that was previously under [RESET_PID].
25461         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
25463 2014-08-04  Andreas Schwab  <schwab@suse.de>
25465         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
25467 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
25469         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
25470         (main): Likewise.
25472 2014-08-01  Roland McGrath  <roland@hack.frob.com>
25474         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
25476 2014-08-01  Richard Henderon  <rth@redhat.com>
25478         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
25479         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
25480         typo in exact zero test.
25481         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25482         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25483         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25485 2014-08-01  Roland McGrath  <roland@hack.frob.com>
25487         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
25488         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
25489         * sysdeps/arm/sysdep.h: ... here.
25490         [!__ASSEMBLER__]: Include <stdint.h>.
25492 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
25494         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
25495         (HAVE_WCTYPE_H): Likewise.
25496         (HAVE_ISWCTYPE): Likewise.
25497         (ENABLE_NLS): Likewise.
25498         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
25499         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
25501         * posix/regex_internal.c: Check if DEBUG is defined and is
25502         set.
25504         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
25505         (HAVE_MBSRTOWCS): Likewise.
25506         * posix/fnmatch.c: Include string.h unconditionally.
25508 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
25510         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
25511         reversal.
25513 2014-07-31  Roland McGrath  <roland@hack.frob.com>
25515         * sysdeps/generic/safe-fatal.h: New file.
25516         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
25517         * nptl/forward.c: Include it.
25518         (__pthread_unwind): Use __safe_fatal as default action, rather
25519         than a bogus use of INTERNAL_SYSCALL that could never work.
25521         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
25522         * configure.ac (libc_cv_builtin_trap): New test.
25523         * configure: Regenerated.
25524         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
25525         (ABORT_INSTRUCTION): Define using __builtin_trap.
25527         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
25528         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
25529         * sysdeps/nptl/nptl-signals.h: New file.
25530         * nptl/pthreadP.h: Include <nptl-signals.h>.
25532 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
25534         * sysdeps/s390/s390-64/utf16-utf32-z9.c
25535         (ONE_DIRECTION): Define.
25536         * sysdeps/s390/s390-64/utf8-utf16-z9.c
25537         (ONE_DIRECTION): Define.
25538         * sysdeps/s390/s390-64/utf8-utf32-z9.c
25539         (ONE_DIRECTION): Define.
25541 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
25543         * sysdeps/s390/Makefile: Delete file.
25544         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
25545         * sysdeps/s390/__longjmp.c: Delete file.
25546         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
25547         Remove fields __flags and __reserved.
25548         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
25549         and add versioning.
25550         * sysdeps/s390/rtld-__longjmp.c: Delete file.
25551         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
25552         * sysdeps/s390/rtld-setjmp.S: Likewise.
25553         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
25554         * sysdeps/s390/s390-32/__longjmp.c: ... here.
25555         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
25556         * sysdeps/s390/s390-32/setjmp.S: ... here.
25557         Add versioning.
25558         (__sigsetjmp): Remove setting __flags field.
25559         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
25560         * sysdeps/s390/s390-64/__longjmp.c: ... here.
25561         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
25562         * sysdeps/s390/s390-64/setjmp.S: ... here.
25563         Add versioning.
25564         (__sigsetjmp): Remove setting __flags field.
25565         * sysdeps/s390/setjmp.S: Delete file.
25566         * sysdeps/s390/sigjmp.c: Likewise.
25567         * sysdeps/s390/v1-longjmp.c: Likewise.
25568         * sysdeps/s390/v1-setjmp.h: Likewise.
25569         * sysdeps/s390/v1-sigjmp.c: Likewise.
25570         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
25571         Remove v1-longjmp_chk.
25572         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
25573         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
25574         Include debug/longjmp_chk.c and add versioning.
25575         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
25576         Include nptl/pt-longjmp.c and add versioning.
25577         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
25578         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
25579         Include __longjmp.c.
25580         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
25581         Move to ...
25582         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
25583         (__getcontext): Remove setting __flags field.
25584         Add versioning.
25585         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25586         Don't restore upper high grps.
25587         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
25588         Likewise.
25589         (__swapcontext): Remove setting uc_flags field.
25590         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
25591         Delete file.
25592         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
25593         Include __longjmp.c.
25594         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
25595         Move to ...
25596         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
25597         (__getcontext): Remove setting __flags field.
25598         Add versioning.
25599         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
25600         (__swapcontext): Remove setting uc_flags field.
25601         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
25602         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
25603         Remove fields uc_high_gprs and __reserved.
25604         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
25605         New file with reverted content.
25606         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
25607         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
25608         Regenerated.
25609         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
25610         Regenerated.
25612 2014-07-31  Andreas Schwab  <schwab@suse.de>
25614         * config.h.in (HAVE_IFUNC): Define to 0.
25615         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
25616         definedness.
25618 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
25620         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25621         memmove-avx-unaligned, memcpy-avx-unaligned and
25622         mempcpy-avx-unaligned.
25623         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25624         Add tests for AVX memcpy functions.
25625         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
25626         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
25627         memcpy_chk.
25628         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
25629         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
25630         memmove_chk.
25631         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
25632         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
25633         mempcpy_chk.
25634         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
25635         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
25636         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
25638 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25640         [BZ #17213]
25641         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
25642         powerpc64le.
25644 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
25646         [BZ #16839]
25647         * manual/llio.texi: Add section about open file description locks.
25648         * manual/examples/ofdlocks.c: Example of open file description
25649         lock usage.
25650         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
25651         F_OFD_SETLK, and F_OFD_SETLKW.
25653 2014-07-23  Allan McRae  <allan@archlinux.org>
25655         * po/es.po: Update Spanish translation from translation project.
25657 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
25659         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
25661 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
25663         [BZ #17078]
25664         * sysdeps/arm/dl-machine.h (elf_machine_rela)
25665         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
25666         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
25668 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
25670         [BZ #17088]
25671         * math/fesetenv.c (__fesetenv)
25672         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
25673         * math/feupdateenv.c (__feupdateenv)
25674         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
25676         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
25677         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
25678         (__ASSUME_SOCKETCALL): Do not define.
25680         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
25681         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
25682         (__ASSUME_SOCKETCALL): Do not define.
25683         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
25684         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
25685         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
25686         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
25687         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25688         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
25689         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25690         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25692         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
25693         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
25694         (__ASSUME_SOCKETCALL): Do not define.
25695         (__ASSUME_IPC64): Define unconditionally.
25696         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
25697         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
25698         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
25699         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25700         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
25701         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25702         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
25703         Likewise.
25705         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
25706         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
25707         (__ASSUME_SOCKETCALL): Do not define.
25708         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
25709         (__ASSUME_FUTEX_LOCK_PI): Likewise.
25710         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
25711         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
25712         (__ASSUME_REQUEUE_PI): Define unconditionally.
25713         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
25714         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
25715         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25716         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
25717         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25718         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25720         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
25721         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
25722         (__ASSUME_SOCKETCALL): Do not define.
25723         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
25724         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25725         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25726         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
25727         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25728         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25730         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
25731         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
25732         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
25733         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
25734         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25735         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
25736         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25737         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
25738         (__ASSUME_GETCPU_SYSCALL): Likewise.
25740         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
25741         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
25742         cases for individual architectures.
25743         * sysdeps/gnu/configure: Regenerated.
25744         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
25745         LIBC_SLIBDIR_RTLDDIR.
25746         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
25747         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
25748         LIBC_SLIBDIR_RTLDDIR.
25749         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
25750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
25751         LIBC_SLIBDIR_RTLDDIR.
25752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
25753         Regenerated.
25754         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
25755         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
25756         file.
25757         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
25758         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
25759         file.
25760         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
25761         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
25762         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
25763         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
25765         * sysdeps/aarch64/shlib-versions: Move to ...
25766         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
25767         * sysdeps/alpha/shlib-versions: Move to ...
25768         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
25769         * sysdeps/arm/shlib-versions: Move to ...
25770         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
25771         * sysdeps/hppa/shlib-versions: Move all contents except for
25772         libgcc_s entry to ...
25773         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
25774         entry from ...
25775         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
25776         * sysdeps/ia64/shlib-versions: Move to ...
25777         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
25778         entry from ...
25779         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
25780         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
25781         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
25782         * sysdeps/microblaze/shlib-versions: Move to ...
25783         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
25784         * sysdeps/mips/shlib-versions: Move to ...
25785         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
25786         entry from ...
25787         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
25788         * sysdeps/tile/shlib-versions: Move to ...
25789         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
25790         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
25791         from ...
25792         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
25793         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
25794         entry from ...
25795         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
25797 2014-07-17  Will Newton  <will.newton@linaro.org>
25799         * sysdeps/arm/bits/atomic.h
25800         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
25801         (__arch_compare_and_exchange_bool_16_int): Likewise.
25802         (__arch_compare_and_exchange_bool_64_int): Likewise.
25804         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
25805         into an #else block.
25807 2014-07-16  Roland McGrath  <roland@hack.frob.com>
25809         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
25810         just Linux configurations.  Test empirically that the compiler sets
25811         __ARM_EABI__, rather than using the tuple to decide.
25812         * sysdeps/arm/preconfigure: Regenerated.
25813         * sysdeps/unix/sysv/linux/arm/configure: File removed.
25814         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
25815         contents appended ...
25816         * sysdeps/arm/configure.ac: ... here.
25817         * sysdeps/arm/configure: Regenerated.
25819 2014-07-15  Roland McGrath  <roland@hack.frob.com>
25821         * nptl/pthread_kill.c: New file.
25822         * nptl/pthread_sigmask.c: New file.
25823         * nptl/pthread_sigqueue.c: New file.
25825         * sysdeps/nptl/lowlevellock.h: New file.
25826         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
25827         * sysdeps/nptl/lowlevellock-futex.h: New file.
25829         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
25830         Remove dead declarations.
25832 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
25834         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
25835         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
25836         config-cflags-avx2.
25837         * sysdeps/x86_64/configure.ac: Likewise.
25838         * sysdeps/i386/configure: Regenerated.
25839         * sysdeps/x86_64/configure: Likewise.
25840         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25841         memset-avx2 only if config-cflags-avx2 is yes.
25842         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25843         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
25844         defined.
25845         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
25846         only if HAVE_AVX2_SUPPORT is defined.
25847         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25849 2014-07-14  Alan Modra  <amodra@gmail.com>
25851         [BZ #17153]
25852         * elf/elf.h (DT_PPC64_NUM): Correct value.
25853         * NEWS: Add to fixed bug list.
25855 2014-07-13  Jim Meyering  <meyering@fb.com>
25857         [BZ 17150]
25858         regex: don't deref NULL upon heap allocation failure
25859         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
25860         failure in one more place.
25861         To trigger the segfault, configure grep -with-included-regex,
25862         build it, and run these commands:
25863         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
25865 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
25867         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
25869 2014-07-11  Richard Henderson  <rth@redhat.com>
25871         * sysdeps/aarch64/libm-test-ulps: Update.
25873 2014-07-10  Florian Weimer  <fweimer@redhat.com>
25875         [BZ #17135]
25876         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
25877         * nptl/allocatestack.c (__nptl_setxid_error): New function.
25878         (__nptl_setxid): Initialize error member.  Call
25879         __nptl_setxid_error.
25880         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
25881         * nptl/descr.h (struct xid_command): Add error member.
25882         * nptl/tst-setuid3.c: New file.
25883         * nptl/Makefile (tests): Add it.
25885 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25887         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
25888         New define.
25889         (__lll_trylock): Use __lll_base_trylock.
25890         (__lll_cond_trylock): Likewise.
25892 2014-07-10  Roland McGrath  <roland@hack.frob.com>
25894         * nptl/pthread_create.c (start_thread): Use atomic_or and
25895         lll_futex_wake directly rather than lll_robust_dead.
25896         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
25897         (lll_robust_dead): Macro removed.
25898         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
25899         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
25900         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
25901         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25902         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25903         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
25904         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
25905         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25906         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
25907         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25908         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25909         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25910         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25911         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25912         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25914         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
25915         Use atomic_compare_and_exchange_val_acq directly rather than
25916         lll_robust_trylock.
25917         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
25918         (__lll_robust_trylock, lll_robust_trylock): Removed.
25919         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
25920         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
25921         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25922         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25923         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
25924         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
25925         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25926         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
25927         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25928         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25929         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25930         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25931         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25932         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25934 2014-07-02  Florian Weimer  <fweimer@redhat.com>
25936         * manual/locale.texi (Locale Names): New section documenting
25937         locale name syntax.  Adjust menu and node chaining accordingly.
25938         (Choosing Locale): Reference Locale Names, Locale Categories.
25939         Mention setting LC_ALL=C.  Reflect that name syntax is now
25940         documented.
25941         (Locale Categories): New section title.  Reference Locale Names.
25942         LC_ALL is an environment variable, but not a category.
25943         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
25944         description, now in Locale Name.  Reference that section.  Locale
25945         name syntax is now documented.
25947 2014-07-02  Florian Weimer  <fweimer@redhat.com>
25949         [BZ #17137]
25950         * locale/findlocale.c (name_present, valid_locale_name): New
25951         functions.
25952         (_nl_find_locale): Use the loc_name variable to store name
25953         candidates.  Call name_present and valid_locale_name to check and
25954         validate locale names.  Return an error if the locale is invalid.
25956 2014-07-02  Florian Weimer  <fweimer@redhat.com>
25958         * locale/setlocale.c (setlocale): Use strdup for allocating
25959         composite name copy.
25961 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25963         Sync up with gnulib.
25964         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
25965         [!_LIBC && ENABLE_NLS]: Include gettext.h.
25966         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
25967         and _GL_ARG_NONNULL.
25968         [USE_UNLOCKED_IO]: Include unlocked-io.h.
25969         [!_LIBC]: Include code for Windows and Cygwin.
25970         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
25971         Include prototype for int strerror_r.
25972         [!_LIBC] (is_open): New function.
25973         (flush_stdout): New function.
25974         (print_errno_message): Use it.
25975         (error): Likewise.
25976         (error_at_line): Likewise.
25977         (error_tail) Add function attribute macros.  Use
25978         __builtin_expect.
25980         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
25982         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
25984         * io/ftw.c: Include sys/param.h unconditionally.
25986         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
25988         [BZ #17125]
25989         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
25990         libc_freeres_ptr.
25991         (freecache): New function to free CACHE on exit.
25993         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
25994         initialization.
25996 2014-07-09  David S. Miller  <davem@davemloft.net>
25998         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26000         * sysdeps/sparc/nptl/internaltypes.h: Delete.
26001         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
26002         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
26003         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
26004         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
26005         * sysdeps/sparc/nptl/sem_init.c: Likewise.
26006         * sysdeps/sparc/nptl/sem_post.c: Likewise.
26007         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
26008         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
26009         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
26010         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
26011         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
26012         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
26014 2014-07-09  Andreas Schwab  <schwab@suse.de>
26016         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
26017         output.
26018         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
26019         (do_test): Likewise.
26021         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26023 2014-07-09  Will Newton  <will.newton@linaro.org>
26025         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
26026         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
26027         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
26028         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
26029         * sysdeps/hppa/start.S (_start): Likewise.
26031 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26033         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
26035         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
26036         defined.
26038 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26040         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
26041         after checking that it is non-NULL.
26043         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
26045 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26047         * sysdeps/powerpc/memmove.c: Remove file.
26048         * sysdeps/powerpc/powerpc32/power4/memcopy.h
26049         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
26050         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
26051         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
26052         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
26053         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
26054         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
26055         string memmove instead of removed powerpc one.
26057         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26058         [weak_alias]: Fix compiler warning due trailing data.
26059         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
26060         [weak_alias]: Likewise.
26061         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
26062         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
26064         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26065         (__libc_ifunc_impl_list): Add memmove functions.
26067 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26069         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
26070         Remove code.
26071         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
26072         Likewise.
26073         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
26074         Likewise.
26075         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
26076         Likewise.
26077         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
26078         Likewise.
26079         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
26080         Likewise.
26081         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
26082         Likewise.
26083         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
26084         Likewise.
26085         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
26086         Likewise.
26087         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
26088         Likewise.
26089         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
26090         Likewise.
26091         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
26092         Likewise.
26093         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
26094         Likewise.
26095         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
26096         Likewise.
26097         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
26098         Likewise.
26099         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
26100         Likewise.
26101         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
26102         Likewise.
26104 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26106         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
26107         to avoid alignment traps in non-cacheable memory.
26108         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
26110         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
26111         multiarch objects.
26112         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
26113         file: multiarch power7 memmove.
26114         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
26115         multiarch default memmove.
26116         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
26117         multiarch memove for powerpc32/power4.
26119         * string/bcopy.c: Use full path to include memmove.c.
26120         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
26121         multiarch objects.
26122         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
26123         bcopy for powerpc64.
26124         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
26125         bcopy for powerpc64.
26126         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
26127         and memmove implementations.
26128         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
26129         optimized multiarch memmove for POWER7/powerpc64.
26130         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
26131         default multiarch memmove for powerpc64.
26132         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
26133         multiarch for powerpc64.
26134         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
26135         for POWER7/powerpc64.
26136         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
26137         memmove for POWER7/powerpc64.
26139         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
26140         glibc default one.
26142         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
26143         __ELF_NATIVE_CLASS equal to 64.
26145 2014-07-07  Roland McGrath  <roland@hack.frob.com>
26147         * sysdeps/nptl/lowlevellock.h: File removed.
26149         * NEWS: NPTL is no longer an add-on!
26150         * nptl/internaltypes.h: Moved ...
26151         * sysdeps/nptl/internaltypes.h: ... here.
26152         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
26153         * sysdeps/nptl/fork.c: Likewise.
26154         * sysdeps/nptl/gai_misc.h: Likewise.
26155         * sysdeps/nptl/librt-cancellation.c: Likewise.
26156         * sysdeps/nptl/jmp-unwind.c: Likewise.
26157         * sysdeps/nptl/setxid.h: Likewise.
26158         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
26159         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
26160         * sysdeps/unix/sysv/linux/arm/Implies: New file.
26161         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
26162         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
26163         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
26164         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
26165         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
26166         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
26167         * sysdeps/unix/sysv/linux/mips/Implies: New file.
26168         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
26169         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
26170         * sysdeps/unix/sysv/linux/sh/Implies: New file.
26171         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
26172         * sysdeps/unix/sysv/linux/tile/Implies: New file.
26173         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
26174         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
26175         * nptl/Makeconfig: Moved ...
26176         * sysdeps/nptl/Makeconfig: ... here.
26177         * nptl/configure: File removed.
26178         * nptl/ANNOUNCE: File removed.
26179         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
26180         * sysdeps/unix/sysv/linux/configure: Regenerated.
26182         * nptl/Makefile (routines): Add libc_pthread_init,
26183         libc_multiple_threads, register-atfork and unregister-atfork.
26184         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
26185         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
26186         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
26187         pthread-pi-defines.sym, structsem.sym.
26188         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
26189         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
26190         [$(subdir) = nptl] (tests): Add tst-setgetname.
26191         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
26192         * sysdeps/unix/sysv/linux/sigaction.c: Just include
26193         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
26194         [!LIBC_SIGACTION]: Remove aliases.
26195         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
26196         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
26197         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
26198         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
26199         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
26200         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
26201         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26202         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26203         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
26204         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
26205         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
26206         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
26207         __libc_allocate_rtsig_private.
26208         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
26209         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
26210         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
26211         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
26212         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
26213         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
26214         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
26215         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
26216         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
26217         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
26218         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
26219         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
26220         * nptl/internaltypes.h: ... here.
26221         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
26222         * sysdeps/nptl/jmp-unwind.c: ... here.
26223         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
26224         * nptl/libc-lowlevellock.c: ... here.
26225         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
26226         * nptl/libc_multiple_threads.c: ... here.
26227         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
26228         * nptl/libc_pthread_init.c: ... here.
26229         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
26230         * nptl/lowlevelbarrier.sym: ... here.
26231         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
26232         * nptl/lowlevelcond.sym: ... here.
26233         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
26234         * nptl/lowlevellock.c: ... here.
26235         * nptl/lowlevellock.h: Moved ...
26236         * sysdeps/nptl/lowlevellock.h: ... here.
26237         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
26238         * nptl/lowlevelrobustlock.c: ... here.
26239         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
26240         * nptl/lowlevelrobustlock.sym: ... here.
26241         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
26242         * nptl/lowlevelrwlock.sym: ... here.
26243         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
26244         * nptl/pt-fork.c: ... here.
26245         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
26246         * nptl/pthread-pi-defines.sym: ... here.
26247         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
26248         * nptl/pthread_attr_getaffinity.c: ... here.
26249         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
26250         * nptl/pthread_attr_setaffinity.c: ... here.
26251         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
26252         * nptl/pthread_mutex_cond_lock.c: ... here.
26253         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
26254         Update #include.
26255         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
26256         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
26257         * nptl/pthread_once.c: ... here, replacing old file.
26258         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
26259         * nptl/pthread_yield.c: ... here.
26260         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
26261         * nptl/register-atfork.c: ... here.
26262         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
26263         * nptl/sem_post.c: ... here.
26264         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
26265         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
26266         * nptl/sem_timedwait.c: ... here.
26267         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
26268         * nptl/sem_trywait.c: ... here.
26269         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
26270         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
26271         * nptl/sem_wait.c: ... here.
26272         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
26273         * nptl/structsem.sym: ... here.
26274         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
26275         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
26276         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
26277         * nptl/unregister-atfork.c: ... here.
26278         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
26279         * nptl/unwindbuf.sym: ... here.
26280         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
26281         * sysdeps/nptl/fork.c: ... here.
26282         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
26283         * sysdeps/nptl/fork.h: ... here.
26284         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
26285         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
26286         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
26287         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
26288         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
26289         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
26290         * sysdeps/unix/sysv/linux/getpid.c: ... here.
26291         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
26292         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
26293         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
26294         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
26295         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
26296         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
26297         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
26298         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
26299         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
26300         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
26301         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
26302         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
26303         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
26304         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
26305         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
26306         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
26307         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
26308         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
26309         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
26310         * sysdeps/unix/sysv/linux/raise.c: ... here.
26311         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
26312         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
26313         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
26314         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
26315         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
26316         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
26317         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
26318         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
26319         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
26320         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
26321         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
26322         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
26323         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
26324         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
26325         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
26327 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26329         * sysdeps/generic/memcopy.h: Add comment for
26330         MEMCPY_OK_FOR_FWD_MEMMOVE.
26332 2014-07-04  Will Newton  <will.newton@linaro.org>
26334         * string/memchr.c: Merge from gnulib.
26335         [_LIBC]: Remove conditionals.
26336         (__ptr_t): Remove define.
26337         (LONG_MAX_32_BITS): Likewise.
26338         (LONG_MAX): Likewise.
26339         (MEMCHR): Use ANSI prototype and optimize algorithm.
26341         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
26343 2014-07-03  Roland McGrath  <roland@hack.frob.com>
26345         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
26346         (lll_futex_timed_wait_bitset): Fix syscall argument count.
26348         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
26349         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
26350         in a bare environment with no <stdlib.h> installed.
26351         * sysdeps/nptl/configure: Regenerated.
26353         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
26355         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
26356         AC_EGREP_CPP for kernel header checks, so they only succeed if
26357         including <linux/version.h> actually works right.
26358         * sysdeps/unix/sysv/linux/configure: Regenerated.
26360         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
26361         value so it's not diagnosed as unused.
26363         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
26364         thing) with "ifeq ($(subdir),rt)".
26366 2014-07-03  Richard Henderson  <rth@redhat.com>
26368         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
26369         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
26370         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
26372         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
26373         (math_force_eval): New.
26375         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
26376         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
26378         * sysdeps/alpha/fpu/s_round.c: Remove file.
26379         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
26381         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
26382         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
26383         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
26384         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
26385         (_dl_start, print_statistics): Likewise.
26386         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
26387         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
26389         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26390         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26391         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26392         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26393         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
26394         (HP_SMALL_TIMING_AVAIL): Define.
26395         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26396         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
26397         (HP_SMALL_TIMING_AVAIL): Define.
26398         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26399         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26401         * sysdeps/aarch64/hp-timing.h: New file.
26403         * sysdeps/generic/hp-timing.h: Remove dead comment.
26404         * sysdeps/generic/hp-timing-common.h: New file.
26405         * sysdeps/alpha/hp-timing.h: Include it.
26406         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
26407         * sysdeps/i386/i686/hp-timing.h: Likewise.
26408         * sysdeps/ia64/hp-timing.h: Likewise.
26409         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26410         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26411         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26412         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26413         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
26414         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
26415         (hp_timing_t): New.
26417         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
26418         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
26419         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
26420         * elf/rtld.c (_dl_start_final): Likewise.
26421         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
26422         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26423         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26424         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26425         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26426         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
26427         (HP_TIMING_DIFF_INIT): Remove.
26428         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26429         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
26430         (HP_TIMING_DIFF_INIT): Remove.
26431         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26432         * sysdeps/i386/i686/hp-timing.c: Remove file.
26433         * sysdeps/x86_64/hp-timing.c: Remove file.
26434         * sysdeps/ia64/hp-timing.c: Remove file.
26435         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
26436         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
26437         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
26438         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
26440         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
26441         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
26442         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
26443         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
26444         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
26445         (HP_TIMING_ACCUM): Remove.
26446         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
26447         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
26448         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
26450         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
26451         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
26452         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
26453         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
26454         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
26455         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
26456         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
26457         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
26459         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
26461 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
26463         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
26465 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26467         Sync up with gettext.
26468         * intl/loadmsgcat.c: Define O_BINARY if not defined.
26469         [_MSC_VER]: Include malloc.h
26470         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
26471         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
26472         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
26473         TEMP_FAILURE_RETRY.  Cast return of alloca.
26474         [!_LIBC] Call gl_rwlock_init.
26475         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
26477 2014-07-02  Roland McGrath  <roland@hack.frob.com>
26479         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
26480         before checking its value.
26482 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26484         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
26486         * debug/memcpy_chk.c: Don't include pagecopy.h.
26487         * debug/mempcpy_chk.c: Likewise.
26488         * string/memcpy.c: Likewise.
26489         * string/memmove.c: Likewise.
26490         * sysdeps/powerpc/memmove.c: Likewise.
26491         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
26492         definition of PAGE_COPY_FWD_MAYBE here...
26493         * sysdeps/generic/pagecopy.h: ... from here.
26494         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
26496 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26497             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26499         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
26500         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
26501         optimizations.
26502         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26503         (__libc_ifunc_impl_list): Likewise.
26504         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
26505         multiarch strcat for PPC64.
26506         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
26507         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
26509 2014-07-02  Roland McGrath  <roland@hack.frob.com>
26511         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
26513 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26515         * intl/loadmsgcat.c: Remove declaration of
26516         get_sysdep_segment_value.
26517         (get_sysdep_segment_value): Use ISO C style.
26518         (_nl_load_domain): Use ISO C style.  Get rid of redundant
26519         semicolon.  Fix typo and formatting in comment.
26520         (_nl_unload_domain): Use ISO C style.
26522         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
26524 2014-07-02  Will Newton  <will.newton@linaro.org>
26526         * malloc/obstack.c: Merge from gnulib master.
26527         [HAVE_CONFIG_H]: Remove conditional code.
26528         [!_LIBC]: Include config.h.
26529         [!ELIDE_CODE]: Don't include inttypes.h, include
26530         stdint.h unconditionally.
26531         (print_and_abort): Mark as _Noreturn.
26532         (_obstack_allocated_p): Mark as __attribute_pure__.
26533         (obstack_free): Rename to __obstack_free.
26534         [!__attribute__]: Remove conditional code.
26535         * malloc/obstack.h: Merge from gnulib master.
26536         [__cplusplus]: Move conditional down.
26537         [!__attribute_pure__]: Define __attribute_pure__ here
26538         if it is not already defined.
26539         (_obstack_memory_used): Mark as __attribute_pure__.
26540         [!__obstack_free]: Define as obstack_free.
26541         [__GNUC__]: Remove check for ancient NeXT gcc.
26543 2014-07-02  Will Newton  <will.newton@linaro.org>
26544             Paul Eggert  <eggert@cs.ucla.edu>
26546         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
26548 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26550         * resolv/gethnamaddr.c: Add comment warning that the file is
26551         not maintained.
26553 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
26555         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
26556         entries.
26558         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
26559         entry for aio_cancel and aio_cancel64.
26560         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
26561         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
26562         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
26563         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
26564         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
26565         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
26566         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
26567         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
26568         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
26569         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
26570         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
26571         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
26572         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
26574 2014-07-01  Roland McGrath  <roland@hack.frob.com>
26576         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
26577         * nptl/pthread_mutex_lock.c: Likewise.
26578         * nptl/pthread_mutex_timedlock.c: Likewise.
26579         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
26581 2014-07-01  Richard henderson  <rth@redhat.com>
26583         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
26584         (__isnan, __isnanl): Remove.
26585         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
26587         * sysdeps/alpha/fpu/libm-test-ulps: Update.
26589 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
26591         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26593 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26595         * resolv/nss_dns/dns-host.c (getanswer_r)
26596         [MULTI_PTRS_ARE_ALIASES]: Remove code.
26598 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
26600         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26601         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
26602         undefine.
26603         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
26604         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
26606 2014-07-01  Roland McGrath <roland@hack.frob.com>
26608         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
26609         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
26611         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
26612         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
26614         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
26615         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
26616         ... here.
26617         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
26618         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
26620         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
26621         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
26622         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
26623         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
26625         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
26626         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
26627         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
26628         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
26629         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
26630         Moved ...
26631         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
26632         ... here.
26633         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
26634         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
26635         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
26636         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
26637         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
26638         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
26639         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
26640         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
26641         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
26642         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
26643         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
26644         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
26645         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
26646         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
26647         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
26648         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
26649         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
26650         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
26651         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
26652         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
26653         ... here.
26654         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
26655         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
26656         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
26657         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
26658         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
26659         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
26660         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
26661         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
26663 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
26665         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
26666         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
26667         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
26668         Add sysdep.
26670 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26674 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
26676         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
26677         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26679         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26681         * sysdeps/arm/libm-test-ulps: Regenerated.
26683 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
26684             Roland McGrath <roland@hack.frob.com>
26686         * test-skeleton.c (signal_handler): Kill the whole process group
26687         before killing the child individually.
26688         (main): Report any failure on `setpgid'.
26690 2014-06-30  Roland McGrath  <roland@hack.frob.com>
26692         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
26693         from _TLS_H to _ARM_NPTL_TLS_H.
26694         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
26695         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
26697 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
26699         [BZ #16539]
26700         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
26701         (__expm1l): Return argument unchanged when small but not
26702         subnormal.
26704         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
26705         include macro name.
26706         (_FP_UNPACK_RAW_1_P): Likewise.
26707         (_FP_PACK_RAW_1): Likewise.
26708         (_FP_PACK_RAW_1_P): Likewise.
26709         (_FP_MUL_MEAT_1_wide): Likewise.
26710         (_FP_MUL_MEAT_DW_1_hard): Likewise.
26711         (_FP_MUL_MEAT_1_hard): Likewise.
26712         (_FP_DIV_MEAT_1_imm): Likewise.
26713         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
26714         (_FP_DIV_MEAT_1_udiv): Likewise.
26715         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
26716         (_FP_UNPACK_RAW_2): Likewise.
26717         (_FP_UNPACK_RAW_2_P): Likewise.
26718         (_FP_PACK_RAW_2): Likewise.
26719         (_FP_PACK_RAW_2_P): Likewise.
26720         (_FP_MUL_MEAT_DW_2_wide): Likewise.
26721         (_FP_MUL_MEAT_2_wide): Likewise.
26722         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
26723         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
26724         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
26725         (_FP_MUL_MEAT_2_gmp): Likewise.
26726         (_FP_DIV_MEAT_2_udiv): Likewise.
26727         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
26728         (_FP_FRAC_SRL_4): Likewise.
26729         (_FP_FRAC_SRST_4): Likewise.
26730         (_FP_FRAC_SRS_4): Likewise.
26731         (_FP_UNPACK_RAW_4): Likewise.
26732         (_FP_UNPACK_RAW_4_P): Likewise.
26733         (_FP_PACK_RAW_4): Likewise.
26734         (_FP_PACK_RAW_4_P): Likewise.
26735         (_FP_MUL_MEAT_DW_4_wide): Likewise.
26736         (_FP_MUL_MEAT_4_wide): Likewise.
26737         (_FP_MUL_MEAT_4_gmp): Likewise.
26738         (umul_ppppmnnn): Likewise.
26739         (_FP_DIV_MEAT_4_udiv): Likewise.
26740         (__FP_FRAC_ADD_4): Likewise.
26741         (__FP_FRAC_SUB_3): Likewise.
26742         (__FP_FRAC_SUB_4): Likewise.
26743         (__FP_FRAC_DEC_3): Likewise.
26744         (__FP_FRAC_DEC_4): Likewise.
26745         (__FP_FRAC_ADDI_4): Likewise.
26746         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
26747         (_FP_FRAC_SRL_8): Likewise.
26748         (_FP_FRAC_SRS_8): Likewise.
26750         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
26751         include macro name.
26752         (FP_UNPACK_RAW_EP): Likewise.
26753         (FP_PACK_RAW_E): Likewise.
26754         (FP_PACK_RAW_EP): Likewise.
26755         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
26756         (_FP_ISSIGNAN): Likewise.
26757         (_FP_ADD_INTERNAL): Likewise.
26758         (_FP_FMA): Likewise.
26759         (_FP_CMP): Likewise.
26760         (_FP_SQRT): Likewise.
26761         (_FP_TO_INT): Likewise.
26762         (_FP_FROM_INT): Likewise.
26763         (FP_EXTEND): Likewise.
26764         (_FP_DIV_MEAT_N_loop): Likewise.
26766 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
26768         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
26769         throughout.
26771 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
26773         [BZ #17097]
26774         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
26775         result with correct sign in case of exponents that produce
26776         overflow except for X very close to 1.
26778 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
26780         mktime: merge #if/#ifdef usage from glibc
26781         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
26782         as that works with both Glibc's and Gnulib's style.
26783         See thread starting at Siddhesh Poyarekar's bug report at:
26784         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
26786 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26788         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
26789         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
26790         * sysdeps/tile/tilegx/memmove.c: Remove file.
26792 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
26794         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
26795         abi-name definition.
26796         * scripts/soversions.awk: Do not handle or generate ABI lines.
26797         * shlib-versions: Remove ABI entries.
26798         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
26799         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
26801 2014-06-27  Roland McGrath  <roland@hack.frob.com>
26803         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
26804         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
26805         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
26806         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
26807         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
26808         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
26809         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
26810         Moved ...
26811         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
26812         ... here.
26813         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
26814         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
26815         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
26816         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
26817         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
26818         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
26819         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
26820         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
26821         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
26822         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
26823         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
26824         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
26825         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
26826         Moved ...
26827         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
26828         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
26829         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
26830         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
26831         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
26832         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
26833         Moved ...
26834         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
26835         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
26836         Moved ...
26837         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
26838         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
26839         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
26840         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
26841         Moved ...
26842         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
26843         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
26844         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
26845         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
26846         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
26847         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
26848         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
26849         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
26850         Moved ...
26851         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
26852         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
26853         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
26854         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
26855         Moved ...
26856         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
26857         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
26858         Moved ...
26859         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
26860         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
26861         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
26862         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
26863         Moved ...
26864         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
26865         ... here.
26866         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
26867         Identical file removed.
26868         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
26869         Moved ...
26870         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
26871         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
26872         Identical file removed.
26873         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
26874         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
26875         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
26876         Moved ...
26877         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
26878         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
26879         Identical file removed.
26880         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
26881         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
26882         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
26883         Identical file removed.
26884         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
26885         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
26886         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
26887         Identical file removed.
26888         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
26889         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
26890         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
26891         Identical file removed.
26892         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
26893         Moved ...
26894         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
26895         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
26896         Identical file removed.
26897         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
26898         Moved ...
26899         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
26900         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
26901         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
26902         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
26903         Identical file removed.
26904         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
26905         Moved ...
26906         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
26907         ... here.
26908         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
26909         Identical file removed.
26910         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
26911         Moved ...
26912         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
26913         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
26914         Identical file removed.
26915         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
26916         Moved ...
26917         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
26918         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
26919         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
26920         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
26921         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
26922         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
26923         Moved ...
26924         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
26925         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
26926         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
26928         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
26929         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
26930         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
26931         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
26932         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
26934 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
26936         [BZ #17092]
26937         * nscd/nscd.c (monitor_child): Return exit status of child
26938         instead of return value from wait syscall.
26940 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
26942         * configure.ac (libc_commonpagesize): Remove variable.
26943         (libc_relro_required): Likewise.
26944         (libc_cv_z_relro): Remove configure test.
26945         * configure: Regenerated.
26946         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
26947         variable.
26948         (libc_relro_required): Likewise.
26949         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
26950         (libc_relro_required): Likewise.
26951         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
26952         (libc_relro_required): Likewise.
26953         * sysdeps/arm/preconfigure: Regenerated.
26954         * sysdeps/ia64/preconfigure: Remove file.
26955         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
26956         variable.
26957         (libc_relro_required): Likewise.
26959         [BZ #16561]
26960         [BZ #16562]
26961         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
26962         (__ieee754_yn): Set FE_TONEAREST mode internally and then
26963         recompute overflowing results in original rounding mode.
26964         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
26965         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
26966         recompute overflowing results in original rounding mode.
26967         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
26968         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
26969         recompute overflowing results in original rounding mode.
26970         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
26971         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
26972         recompute overflowing results in original rounding mode.
26973         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
26974         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
26975         recompute overflowing results in original rounding mode.
26976         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
26977         (libc_feholdsetround_ctx): New macro.
26978         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
26979         * sysdeps/i386/fpu/libm-test-ulps: Update.
26980         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
26982 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
26984         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
26985         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
26986         corresponding .cpsetup call.
26988 2014-06-26  Roland McGrath  <roland@hack.frob.com>
26990         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
26991         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
26992         * sysdeps/arm/Makefile [$(subdir) = csu]
26993         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
26994         (static-only-routines): Add aeabi_read_tp here.
26995         (shared-only-routines): Add libc-aeabi_read_tp here.
26996         (CFLAGS-libc-start.c): Add -fexceptions here.
26997         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
26998         (sysdep_routines, static-only-routines, shared-only-routines):
26999         Don't add to these here.
27000         (CFLAGS-libc-start.c): Likewise.
27002         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
27003         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
27004         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
27005         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
27006         * sysdeps/arm/Makefile [$(subdir) = rt]
27007         (librt-sysdep_routines, librt-shared-only-routines):
27008         Append rt-aeabi_unwind_cpp_pr1 here.
27009         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
27010         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
27011         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
27012         (libpthread-sysdep_routines, libpthread-shared-only-routines):
27013         Append nptl-aeabi_unwind_cpp_pr1 here.
27014         (tests): Filter out tst-cleanupx4 here.
27015         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
27016         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
27017         Don't do those here.
27019 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27021         * scripts/list-sources.sh: Do not handle ports specially.
27023 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27025         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
27026         * sysdeps/arm/feupdateenv.c: Likewise.
27028         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
27030 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27032         * manual/texinfo.tex: Update to version 2014-05-05.10 with
27033         trailing whitespace removed.
27034         * scripts/config.guess: Update to version 2014-03-23.
27035         * scripts/config.sub: Update to version 2014-05-01
27036         * scripts/install-sh: Update to version 2013-12-25.23.
27037         * scripts/move-if-change: Update from gnulib.
27039 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27041         * debug/memmove_chk.c: Remove pagecopy.h include.
27043 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
27045         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
27046         identical to gnulib mktime.
27048 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27050         * configure.ac: Do not test for machine being rs6000.  Do not test
27051         for powerpc*-*soft.
27052         * configure: Regenerated.
27054         [BZ #11505]
27055         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
27056         test.
27057         * configure: Regenerated.
27058         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
27059         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
27060         Remove configure test.
27061         * sysdeps/arm/configure: Regenerated.
27062         * sysdeps/nptl/configure.ac: Do not check
27063         libc_cv_asm_cfi_directives.
27064         * sysdeps/nptl/configure: Regenerated.
27065         * sysdeps/x86_64/nptl/configure.ac: Remove file.
27066         * sysdeps/x86_64/nptl/configure: Remove generated file.
27067         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
27068         unconditional.
27069         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
27071 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27073         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
27074         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
27075         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
27076         it is defined.
27078         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
27079         instead of whether it is defined.
27080         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
27081         * sysdeps/hppa/dl-machine.h: Likewise.
27082         * sysdeps/ia64/dl-machine.h: Likewise.
27083         * sysdeps/m68k/dl-machine.h: Likewise.
27084         * sysdeps/microblaze/dl-machine.h: Likewise.
27085         * sysdeps/mips/dl-machine.: Likewise.
27086         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27087         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27088         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27089         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27090         * sysdeps/sh/dl-machine.h: Likewise.
27091         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27092         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27093         * sysdeps/tile/dl-machine.h: Likewise.
27094         * sysdeps/x86_64/dl-machine.h: Likewise.
27096         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
27097         code.
27098         (verify_persistent_db): Likewise.
27100 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27102         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
27103         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
27104         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
27105         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
27106         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27107         Moved ...
27108         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
27109         ... here.
27110         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
27111         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
27112         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
27113         Identical file removed.
27114         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
27115         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
27116         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
27117         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
27118         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
27119         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
27120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
27121         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
27122         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
27123         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
27124         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27125         Moved ...
27126         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
27127         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
27128         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
27129         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
27130         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
27131         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27132         Moved ...
27133         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
27134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
27135         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
27136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
27137         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
27138         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27139         Identical file removed.
27140         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
27141         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
27142         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
27143         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
27144         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27145         Moved ...
27146         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
27147         ... here.
27148         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
27149         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
27150         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
27151         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
27152         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
27153         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
27154         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
27155         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
27156         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
27157         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
27158         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27159         Moved ...
27160         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
27161         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
27162         Moved ...
27163         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
27164         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
27165         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
27166         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27167         Moved ...
27168         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
27169         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
27170         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
27172         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
27173         folded into ...
27174         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
27175         * sysdeps/unix/sysv/linux/s390/Versions
27176         (libpthread: GLIBC_2.19): New version set.
27177         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
27178         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
27179         (librt: GLIBC_2.3.3): New version set.
27180         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
27181         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
27182         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
27183         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
27184         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
27185         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
27186         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
27187         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
27188         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
27189         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
27190         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
27191         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
27192         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
27193         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
27194         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
27195         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
27196         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
27197         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
27198         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
27199         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
27200         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
27201         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
27202         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
27203         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
27204         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
27205         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
27206         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
27207         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
27208         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
27209         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
27210         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
27211         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
27212         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
27213         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
27214         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
27215         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
27216         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
27217         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
27218         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
27219         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
27220         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
27221         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
27222         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
27223         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
27224         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
27226         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
27227         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
27228         (__libc_vfork): Define the function under this name.
27229         [!NOT_IN_libc] (__vfork): Make this an alias.
27230         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
27231         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
27232         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
27233         (__libc_vfork): Define the function under this name.
27234         [!NOT_IN_libc] (__vfork): Make this an alias.
27235         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
27236         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
27237         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
27238         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
27239         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
27240         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27242         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
27243         code that was previously under [RESET_PID].
27244         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
27245         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
27246         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
27248         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
27249         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
27250         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
27251         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
27252         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
27253         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
27254         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
27255         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
27256         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
27257         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
27258         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
27259         Moved ...
27260         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
27261         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
27262         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
27263         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
27264         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
27265         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
27266         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
27267         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
27268         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
27269         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
27270         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
27271         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
27272         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
27273         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
27274         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
27275         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
27276         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
27277         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
27278         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
27279         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
27280         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
27281         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
27282         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
27283         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
27284         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
27285         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
27286         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
27287         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
27288         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
27290 2014-06-25  Roland McGrath  <roland@hack.frob.com>
27292         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
27293         that was previously under [RESET_PID].
27294         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
27296 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
27298         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
27299         not undefine and redefine.
27300         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
27301         [O_CLOEXEC]: Make code unconditional.
27302         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
27303         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
27304         <kernel-features.h>.
27305         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
27306         conditional variable definition.
27307         (shm_open) [O_CLOEXEC]: Make code unconditional.
27308         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
27309         code.
27311         * configure.ac (USE_REGPARMS): Don't define here.
27312         * configure: Regenerated.
27313         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
27314         * sysdeps/i386/configure: Regenerated.
27316         * nptl/createthread.c: Don't include kernel-features.h.
27317         * nptl/pthread_cancel.c: Likewise.
27318         * nptl/pthread_condattr_setclock.c: Likewise.
27319         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
27320         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
27321         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
27322         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
27323         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
27324         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
27325         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
27326         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
27327         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
27328         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
27329         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
27330         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
27331         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
27332         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
27333         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
27334         * nscd/gai.c: Likewise.
27335         * nss/nss_db/db-open.c: Likewise.
27336         * sysdeps/generic/ldsodefs.h: Likewise.
27337         * sysdeps/sh/nptl/tls.h: Likewise.
27338         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
27339         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
27340         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
27341         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
27342         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
27343         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
27344         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
27345         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27346         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27347         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
27348         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
27349         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27350         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
27351         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
27352         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
27353         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
27354         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
27355         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
27356         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
27357         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
27358         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
27359         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
27360         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
27361         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
27362         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
27363         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
27364         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
27365         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
27366         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
27367         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
27368         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
27369         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
27370         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
27371         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27372         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27373         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
27374         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27375         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
27376         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
27377         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
27378         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
27379         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
27380         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
27381         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27382         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
27383         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
27384         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
27385         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
27386         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
27387         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
27388         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
27389         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
27390         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
27391         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
27392         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
27393         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27394         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
27395         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
27396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
27398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
27399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
27400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
27401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
27402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
27403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
27404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
27407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
27408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
27409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
27410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
27411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
27416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
27417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
27418         * sysdeps/unix/sysv/linux/pread.c: Likewise.
27419         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
27420         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
27421         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
27422         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
27423         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
27424         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
27425         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
27426         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
27427         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
27428         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
27429         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
27430         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
27431         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
27432         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
27433         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
27434         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
27435         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
27436         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
27437         * sysdeps/unix/sysv/linux/system.c: Likewise.
27438         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
27439         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
27440         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27441         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27442         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27443         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
27444         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27446         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
27447         * configure: Regenerated.
27448         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
27450         * configure.ac (base_machine): Do not set specially for particular
27451         machines here.
27452         * configure: Regenerated.
27453         * sysdeps/powerpc/preconfigure: Move machine and base_machine
27454         settings from configure.ac.
27455         * sysdeps/i386/preconfigure: New file.
27456         * sysdeps/s390/preconfigure: Likewise.
27457         * sysdeps/sh/preconfigure: Likewise.
27458         * sysdeps/sparc/preconfigure: Likewise.
27460 2014-06-25  Roland McGrath  <roland@hack.frob.com>
27462         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
27463         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
27464         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
27465         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
27466         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
27467         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
27468         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
27469         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
27470         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
27471         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
27472         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
27473         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
27474         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
27475         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
27476         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
27477         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
27478         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
27479         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
27480         * sysdeps/sparc/sparc64/Makefile: ... appended here.
27482         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
27483         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
27484         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
27485         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
27486         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
27487         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
27488         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
27489         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
27490         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
27491         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
27492         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
27493         * sysdeps/sparc/sparc32/sem_post.c: ... here.
27494         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
27495         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
27496         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
27497         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
27498         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
27499         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
27500         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
27501         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
27502         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
27503         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
27504         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
27505         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
27506         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
27507         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
27508         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
27509         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
27510         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
27511         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
27512         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
27513         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
27514         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
27515         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
27516         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
27517         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
27518         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
27519         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
27521         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
27522         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
27523         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
27524         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
27525         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
27526         Moved ...
27527         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
27528         ... here.
27529         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
27530         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
27531         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
27532         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
27533         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
27534         Moved ...
27535         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
27536         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
27537         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
27538         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
27539         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
27540         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
27541         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
27542         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27543         Moved ...
27544         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
27545         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27546         Moved ...
27547         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
27548         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
27549         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
27550         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27551         Moved ...
27552         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
27553         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
27554         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
27555         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
27556         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
27557         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
27558         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
27559         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
27560         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
27561         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27562         Moved ...
27563         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
27564         ... here.
27565         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
27566         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
27567         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
27568         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
27569         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
27570         Moved ...
27571         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
27572         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
27573         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
27574         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
27575         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
27576         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
27577         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
27578         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27579         Moved ...
27580         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
27581         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27582         Moved ...
27583         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
27584         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
27585         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
27586         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27587         Moved ...
27588         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
27589         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
27590         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
27591         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
27592         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
27594 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
27596         * timezone/checktab.awk: Update from tzcode 2014e.
27597         * timezone/private.h: Likewise.
27598         * timezone/tzfile.h: Likewise.
27599         * timezone/zdump.c: Likewise.
27600         * timezone/zic.c: Likewise.
27602         * sysdeps/unix/sysv/linux/kernel-features.h
27603         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
27604         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
27605         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
27606         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27607         Remove conditional code.
27609 2014-06-25  Will Newton  <will.newton@linaro.org>
27611         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
27612         (_dl_arm_cap_flags): Add HWCAP2 values.
27613         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
27614         (_DL_HWCAP_COUNT): Increase to 37.
27615         (_DL_HWCAP_LAST): New define.
27616         (_DL_HWCAP2_LAST): New define.
27617         (_dl_procinfo): Add support for printing
27618         AT_HWCAP2 entries.
27619         (_dl_string_hwcap): Use _dl_hwcap_string.
27621 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27623         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27625 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
27627         * README: Do not mention ports directory.
27629         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
27630         Remove macro.
27631         * sysdeps/unix/sysv/linux/futimes.c: Do not include
27632         <kernel-features.h>.
27633         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
27634         conditional variable definition.
27635         (__futimes): Update comment.
27636         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
27637         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
27639         [BZ #16560]
27640         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
27641         arguments close to 0.
27642         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
27643         Likewise.
27644         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
27645         Likewise.
27646         * math/auto-libm-test-in: Add more tests of exp10.
27647         * math/auto-libm-test-out: Regenerated.
27648         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27650         * sysdeps/unix/sysv/linux/kernel-features.h
27651         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
27652         * sysdeps/unix/sysv/linux/readv.c: Do not include
27653         <kernel-features.h>.
27654         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
27655         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
27656         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
27657         unconditional.
27658         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
27659         conditional code.
27660         * sysdeps/unix/sysv/linux/writev.c: Do not include
27661         <kernel-features.h>.
27662         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
27663         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
27664         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
27665         unconditional.
27666         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
27667         conditional code.
27669 2014-06-25  Will Newton  <will.newton@linaro.org>
27671         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
27672         comment changes throughout the file.  Remove checks
27673         for HAVE_*_H definitions that are not required.
27674         (__gen_tempname): Call abort if an unknown kind value is
27675         passed.
27677 2014-06-25  Andreas Schwab  <schwab@suse.de>
27679         [BZ #17086]
27680         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
27681         scalbln, scalblnf, scalblnl in libc.
27683 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27685         [BZ #17086]
27686         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
27687         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
27688         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
27690 2014-06-24  Roland McGrath  <roland@hack.frob.com>
27692         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
27693         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
27694         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
27695         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
27696         Update #include.
27697         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
27698         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
27699         Update #include.
27700         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
27701         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
27702         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
27703         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
27704         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
27705         * sysdeps/x86/bits/pthreadtypes.h: ... here.
27706         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
27707         * sysdeps/x86/bits/semaphore.h: ... here.
27708         * sysdeps/x86/nptl/elide.h: Moved ...
27709         * sysdeps/x86/elide.h: ... here.
27710         * sysdeps/x86_64/nptl/Implies: File removed.
27711         * sysdeps/i386/nptl/Implies: File removed.
27713 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
27715         [BZ #16539]
27716         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
27717         return the argument for normal arguments with exponent below -64.
27718         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27719         Likewise.
27720         * math/auto-libm-test-in: Add another test of expm1.
27721         * math/auto-libm-test-out: Regenerated.
27723         [BZ #16287]
27724         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
27725         calling __erfcl for arguments at least 16.
27726         * math/auto-libm-test-in: Add more tests of erf.
27727         * math/auto-libm-test-out: Regenerated.
27729         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
27730         individual architectures.
27731         * sysdeps/unix/sysv/linux/configure: Regenerated.
27732         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
27733         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
27734         * sysdeps/unix/sysv/linux/powerpc/configure.ac
27735         (ldd_rewrite_script): Define variable.
27736         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
27738         file.
27739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
27740         generated file.
27741         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
27742         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
27743         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
27744         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
27745         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
27746         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
27747         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
27748         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
27750 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27752         [BZ #17084]
27753         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
27754         Rename member __data.d to __data.__elision_data.
27756 2014-06-24  Wilco  <wdijkstr@arm.com>
27758         * NEWS: Add 16918 to fixed bug list.
27760 2014-06-24  Wilco  <wdijkstr@arm.com>
27762         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
27764 2014-06-24  Wilco  <wdijkstr@arm.com>
27766         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
27767         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
27768         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
27769         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
27770         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
27771         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
27772         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
27773         Use _FPU_MASK_RM.
27775 2014-06-24  Wilco  <wdijkstr@arm.com>
27777         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
27779 2014-06-24  Wilco  <wdijkstr@arm.com>
27781         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
27782         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
27783         * sysdeps/arm/fesetround.c (fesetround): Remove space.
27784         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
27786 2014-06-24  Wilco  <wdijkstr@arm.com>
27788         [BZ #16918]
27789         * sysdeps/arm/feupdateenv.c (feupdateenv):
27790         Rewrite to reduce FPSCR accesses and fix return value.
27792 2014-06-24  Wilco  <wdijkstr@arm.com>
27794         * sysdeps/arm/fclrexcpt.c (feclearexcept):
27795         Optimize to avoid unnecessary FPSCR writes.
27796         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
27797         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
27798         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
27799         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
27801 2014-06-24  Wilco  <wdijkstr@arm.com>
27803         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
27804         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
27805         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
27806         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
27807         Call libc_fetestexcept_vfp.
27808         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
27809         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
27810         __SOFTFP__ ifdef so that they can be built for softfp.
27812 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27814         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
27815         argument type signed char.
27817         * Makerules (check-abi): Dump diff of symlist if the test
27818         fails.
27820 2014-06-23  Roland McGrath  <roland@hack.frob.com>
27822         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
27823         using abort.
27825         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
27826         Remove unused variable ST.
27828 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
27830         [BZ #16354]
27831         [BZ #17061]
27832         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
27833         small arguments before calling __expm1.
27834         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
27835         small arguments before calling __expm1f.
27836         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
27837         small arguments before calling __expm1l.
27838         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
27839         Likewise.
27840         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
27841         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
27842         spurious underflow for some cosh tests.
27843         * math/auto-libm-test-out: Regenerated.
27844         * sysdeps/i386/fpu/libm-test-ulps: Update.
27846         [BZ #17050]
27847         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
27848         (__ieee754_y1): Set errno if return value overflows.
27849         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
27850         (__ieee754_y1f): Set errno if return value overflows.
27851         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
27852         (__ieee754_y1l): Set errno if return value overflows.
27853         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
27854         (__ieee754_y1l): Set errno if return value overflows.
27855         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
27856         * math/auto-libm-test-out: Regenerated.
27858         * math/gen-auto-libm-tests.c: Document use of
27859         ignore-zero-inf-sign.
27860         (input_flag_type): Add value flag_ignore_zero_inf_sign.
27861         (input_flags): Add ignore-zero-inf-sign.
27862         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
27863         * math/gen-libm-test.pl (generate_testfile): Handle
27864         ignore-zero-inf-sign.
27865         * math/auto-libm-test-in: Mark some cpow tests with
27866         ignore-zero-inf-sign and some with xfail-rounding.
27867         * math/auto-libm-test-out: Regenerated.
27868         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
27869         * sysdeps/i386/fpu/libm-test-ulps: Update.
27870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27872         [BZ #16315]
27873         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
27874         overflowing or underflowing operations take place with sign of
27875         result.
27876         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27877         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27878         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
27879         (__ieee754_pow): Recompute overflowing and underflowing results in
27880         original rounding mode.
27881         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
27882         (__powl_helper): Allow negative argument X and scale negated value
27883         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
27884         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
27885         overflowing or underflowing operations take place with sign of
27886         result.
27887         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
27888         Include <math.h>.
27889         * math/auto-libm-test-in: Add more tests of pow.
27890         * math/auto-libm-test-out: Regenerated.
27891         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
27892         (pow_tonearest_test_data): Remove.
27893         (pow_test_tonearest): Likewise.
27894         (pow_towardzero_test_data): Likewise.
27895         (pow_test_towardzero): Likewise.
27896         (pow_downward_test_data): Likewise.
27897         (pow_test_downward): Likewise.
27898         (pow_upward_test_data): Likewise.
27899         (pow_test_upward): Likewise.
27900         (main): Don't call removed functions.
27901         * sysdeps/i386/fpu/libm-test-ulps: Update.
27902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27904 2014-06-23  Roland McGrath  <roland@hack.frob.com>
27906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
27907         Moved ...
27908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
27909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27910         Moved ...
27911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
27912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27913         Moved ...
27914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
27915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27916         Moved ...
27917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
27918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27919         File removed.
27920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27921         File removed.
27922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
27923         File removed.
27924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
27925         File removed.
27926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
27927         File removed.
27928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
27929         File removed.
27930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
27931         File removed.
27932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27933         File removed.
27934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
27935         File removed.
27936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27937         File removed.
27938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
27939         File removed.
27940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
27941         File removed.
27942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
27943         Moved ...
27944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
27945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
27946         Moved ...
27947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
27948         ... here.
27949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
27950         Moved ...
27951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
27952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
27953         Moved ...
27954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
27955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
27956         Moved ...
27957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
27958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
27959         Moved ...
27960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
27961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
27962         Moved ...
27963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
27964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
27965         Moved ...
27966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
27967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
27968         Moved ...
27969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
27970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
27971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
27972         ... here.
27973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
27974         Moved ...
27975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
27976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
27977         Moved ...
27978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
27979         ... here.
27980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
27981         Moved ...
27982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27983         ... here.
27984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27985         Moved ...
27986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
27987         ... here.
27988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27989         Moved ...
27990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
27991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
27992         Moved ...
27993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
27994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
27995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
27996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
27997         Moved ...
27998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
27999         ... here.
28000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
28001         Moved ...
28002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
28003         ... here.
28004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
28005         Moved ...
28006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
28007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
28008         Moved ...
28009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
28010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
28011         Moved ...
28012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
28013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28014         Moved ...
28015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
28016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
28017         Moved ...
28018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
28019         ... here.
28020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
28021         Moved ...
28022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
28023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
28024         Moved ...
28025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
28026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
28027         Moved ...
28028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
28029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
28030         Moved ...
28031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
28032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
28033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
28034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
28035         Moved ...
28036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
28037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
28038         Moved ...
28039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
28040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
28041         Moved ...
28042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
28043         ... here.
28044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28045         Moved ...
28046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
28047         ... here.
28048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
28049         Moved ...
28050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
28051         ... here.
28052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
28053         Moved ...
28054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
28055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
28056         Moved ...
28057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
28058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
28059         Moved ...
28060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
28061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
28062         Moved ...
28063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
28064         ... here.
28065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
28066         Moved ...
28067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
28068         ... here.
28069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
28070         Moved ...
28071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
28072         ... here.
28073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
28074         Moved ...
28075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
28076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28077         Moved ...
28078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
28080 2014-06-23  Will Newton  <will.newton@linaro.org>
28081             Wilco  <wdijkstr@arm.com>
28083         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
28084         implementation.  Include get-rounding-mode.h.
28085         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
28086         [!libc_feholdsetround_noex_ctx]: Define
28087         libc_feholdsetround_noex_ctx.
28088         [!libc_feholdsetround_noexf_ctx]: Define
28089         libc_feholdsetround_noexf_ctx.
28090         [!libc_feholdsetround_noexl_ctx]: Define
28091         libc_feholdsetround_noexl_ctx.
28092         (libc_feholdsetround_ctx): New function.
28093         (libc_feresetround_ctx): New function.
28094         (libc_feholdsetround_noex_ctx): New function.
28095         (libc_feresetround_noex_ctx): New function.
28097 2014-06-23  Roland McGrath  <roland@hack.frob.com>
28099         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
28100         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
28101         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
28102         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
28103         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
28104         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
28106         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
28107         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
28108         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
28109         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
28110         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
28111         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
28112         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
28113         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
28114         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
28115         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
28116         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
28117         Moved ...
28118         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
28119         ... here.
28120         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
28121         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
28122         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
28123         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
28124         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
28125         Moved ...
28126         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
28127         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
28128         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
28129         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
28130         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
28131         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
28132         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
28133         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
28134         Moved ...
28135         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
28136         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
28137         Moved ...
28138         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
28139         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
28140         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
28141         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
28142         Moved ...
28143         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
28144         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
28145         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
28146         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
28147         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
28148         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
28149         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
28150         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
28151         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
28152         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
28153         Moved ...
28154         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
28155         ... here.
28156         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
28157         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
28158         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
28159         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
28160         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
28161         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
28162         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
28163         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
28164         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
28165         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
28166         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
28167         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
28168         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
28169         Moved ...
28170         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
28171         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
28172         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
28173         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
28174         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
28175         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
28176         Moved ...
28177         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
28178         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
28179         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
28180         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
28181         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
28183         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
28184         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
28185         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
28186         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
28187         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
28188         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
28189         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
28190         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
28191         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
28192         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
28193         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
28194         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
28195         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
28196         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
28197         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
28198         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
28199         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
28200         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
28201         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
28202         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
28203         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
28204         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
28205         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
28206         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
28207         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
28208         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
28209         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
28210         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
28212 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
28214         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28215         (FALLOC_FL_COLLAPSE_RANGE): New macro.
28216         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
28217         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
28218         (IPV6_PMTUDISC_INTERFACE): Likewise.
28219         (IPV6_PMTUDISC_OMIT): Likewise.
28221 2014-06-23  Andreas Schwab  <schwab@suse.de>
28223         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
28224         Remove unused errout label.
28226 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28228         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
28229         macro: hardware supports Vector Crypto instructions.
28231 2014-06-23  Will Newton  <will.newton@linaro.org>
28233         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
28234         rather than __builtin_expect.
28236         * elf/dl-lookup.c (undefined_msg): Remove variable.
28237         (_dl_lookup_symbol_x): Replace undefined_msg with string
28238         literal.
28240         * elf/dl-lookup.c (do_lookup_unique): New function.
28241         (do_lookup_x): Move STB_GNU_UNIQUE handling code
28242         to a separate function.
28244 2014-06-23  Andreas Schwab  <schwab@suse.de>
28246         [BZ #17079]
28247         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
28248         before reading the next line.
28250 2014-06-23  Will Newton  <will.newton@linaro.org>
28252         * test-skeleton.c (signal_handler): Use printf and %m
28253         rather than perror.  Use printf rather than fprintf to
28254         stderr.  Use puts rather than fputs to stderr.
28255         (main): Likewise.
28257 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
28259         * nscd/nscd.c (thread_info_t): Remove typedef.
28260         (thread_info): Remove variable.
28262 2014-06-21  Allan McRae  <allan@archlinux.org>
28264         * NEWS: Mention CVE-2014-4043.
28266 2014-06-20  Roland McGrath  <roland@hack.frob.com>
28268         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
28269         * nptl/smp.h: ... here.
28271         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
28273         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
28274         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
28275         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
28276         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
28278         * nptl/allocatestack.c: Include <stack-aliasing.h>.
28279         * nptl/stack-aliasing.h: New file.
28280         * sysdeps/i386/i686/stack-aliasing.h: New file.
28281         * sysdeps/i386/i686/nptl/Makefile: File removed.
28282         * sysdeps/x86_64/stack-aliasing.h: New file.
28283         * sysdeps/x86_64/nptl/Makefile
28284         (CFLAGS-pthread_create.c): Variable removed.
28286         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
28287         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
28288         old file.
28289         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
28290         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
28291         old file.
28293 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
28295         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28296         (__ASSUME_SIGFRAME_V2): Remove macro.
28297         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
28298         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
28299         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
28300         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
28301         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
28302         Declare as function.  Remove conditional macro definitions.
28303         (__default_rt_sa_restorer): Likewise.
28304         (__default_sa_restorer_v1): Remove declaration.
28305         (__default_sa_restorer_v2): Likewise.
28306         (__default_rt_sa_restorer_v1): Likewise.
28307         (__default_rt_sa_restorer_v2): Likewise.
28308         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
28309         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
28310         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
28312 2014-06-20  Roland McGrath  <roland@hack.frob.com>
28314         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
28315         (libpthread-routines): Add sysdep.
28316         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
28317         * sysdeps/unix/sysv/linux/sparc/Versions
28318         (libpthread: GLIBC_2.3.3): New version set.
28319         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
28320         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
28321         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
28322         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
28323         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
28324         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
28325         Moved ...
28326         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
28327         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
28328         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
28329         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
28330         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
28331         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
28332         * sysdeps/sparc/nptl/sem_init.c: ... here.
28333         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
28334         * sysdeps/sparc/nptl/sem_post.c: ... here.
28335         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
28336         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
28337         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
28338         * sysdeps/sparc/nptl/sem_wait.c: ... here.
28339         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
28340         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
28341         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
28342         (libpthread-routines): Add cpu_relax.
28343         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
28344         File removed.
28345         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
28346         (librt: GLIBC_2.3.3): New version set.
28347         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
28348         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
28349         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
28350         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
28351         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
28352         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
28353         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
28354         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
28355         Moved ...
28356         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
28357         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
28358         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
28359         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
28360         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
28361         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
28362         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
28363         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
28364         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
28365         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
28366         Moved ...
28367         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
28368         Update #include.
28369         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
28370         Moved ...
28371         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
28372         Update #include.
28373         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
28374         Moved ...
28375         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
28376         Update #include.
28377         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
28378         Moved ...
28379         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
28380         Update #include.
28381         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
28382         Moved ...
28383         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
28384         Update #include.
28385         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
28386         Moved ...
28387         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
28388         Update #include.
28389         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
28390         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
28391         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
28392         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
28393         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
28394         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
28395         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
28396         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
28397         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
28398         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
28399         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
28400         Moved ...
28401         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
28402         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
28403         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
28404         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
28405         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
28407 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
28409         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
28410         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
28411         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
28412         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
28413         * nscd/nscd.c: Likewise.
28414         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
28415         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
28416         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
28417         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
28419         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
28420         <kernel-features.h>.
28421         (init_mq_netlink): Remove conditional have_sock_cloexec
28422         definitions.  Remove code conditional on have_sock_cloexec < 0.
28423         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
28424         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
28425         * sysdeps/unix/sysv/linux/opensock.c: Do not include
28426         <kernel-features.h>.
28427         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
28428         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
28430 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
28432         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28433         Add tests for memset_chk and memset.
28435         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
28436         with AVX2_Usable.
28438 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
28440         [BZ #16046]
28441         * elf/tst-dl-iter-static.c: New file.
28442         * elf/Makefile (tests-static): Add tst-dl-iter-static.
28444         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
28445         error.
28447 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
28449         * sysdeps/unix/sysv/linux/kernel-features.h
28450         (__ASSUME_F_GETOWN_EX): Remove macro.
28451         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
28452         <kernel-features.h>.
28453         (miss_F_GETOWN_EX): Remove variable or macro.
28454         (do_fcntl): Do not check miss_F_GETOWN_EX.
28455         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
28457         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
28458         Remove macro.
28459         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
28460         [!__ASSUME_AT_RANDOM]: Remove conditional code.
28461         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
28463         * sysdeps/unix/sysv/linux/kernel-features.h
28464         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
28465         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
28466         [ADJ_OFFSET_SS_READ]: Make code unconditional.
28467         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
28469 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
28471         [BZ #17075]
28472         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
28473         Fix calculation of the symbol's value.
28474         * sysdeps/arm/tst-armtlsdescloc.c: New file.
28475         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
28476         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
28477         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
28478         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
28479         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
28480         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
28481         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
28482         (modules-names): Add `tst-armtlsdescmod',
28483         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
28484         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
28485         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
28486         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
28487         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
28488         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
28489         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
28490         ($(objpfx)tst-armtlsdescloc): New dependency.
28491         ($(objpfx)tst-armtlsdescextnow): Likewise.
28492         ($(objpfx)tst-armtlsdescextlazy): Likewise.
28493         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
28494         TLS scheme support.
28495         * sysdeps/arm/configure: Regenerate.
28497 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
28499         * include/fcntl.h (__atfct_seterrno): Remove prototype.
28500         (__atfct_seterrno_2): Likewise.
28501         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
28502         <kernel-features.h>.
28503         (__ASSUME_ATFCTS): Do not undefine and redefine.
28504         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
28505         (__have_atfcts): Remove conditional definition.
28506         (__fxstatat([__NR_fstatat64]: Make code unconditional.
28507         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
28508         unreachable if [__ASSUME_ATFCTS].
28509         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
28510         not undefine and redefine.
28511         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
28512         <kernel-features.h>.
28513         (faccessat) [__NR_faccessat]: Make code unconditional.
28514         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
28515         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
28516         <kernel-features.h>.
28517         (fchmodat) [__NR_fchmodat]: Make code unconditional.
28518         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
28519         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
28520         <kernel-features.h>.
28521         (fchownat) [__NR_fchownat]: Make code unconditional.
28522         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
28523         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
28524         <kernel-features.h>.
28525         (futimesat) [__NR_futimesat]: Make code unconditional.
28526         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
28527         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
28528         <kernel-features.h>.
28529         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
28530         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
28531         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
28532         <kernel-features.h>.
28533         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
28534         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
28535         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
28536         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
28537         <kernel-features.h>.
28538         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
28539         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
28540         * sysdeps/unix/sysv/linux/linkat.c: Do not include
28541         <kernel-features.h>.
28542         (linkat) [__NR_linkat]: Make code unconditional.
28543         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
28544         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
28545         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
28546         <kernel-features.h>.
28547         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
28548         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
28549         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
28550         <kernel-features.h>.
28551         (mkdirat) [__NR_mkdirat]: Make code unconditional.
28552         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
28553         * sysdeps/unix/sysv/linux/openat.c: Do not include
28554         <kernel-features.h>.
28555         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
28556         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
28557         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
28558         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
28559         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
28560         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
28561         <kernel-features.h>.
28562         (readlinkat) [__NR_readlinkat]: Make code unconditional.
28563         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
28564         result of INLINE_SYSCALL directly, not via int variable.
28565         * sysdeps/unix/sysv/linux/renameat.c: Do not include
28566         <kernel-features.h>.
28567         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
28568         (renameat) [__NR_renameat]: Make code unconditional.
28569         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
28570         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
28571         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
28572         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
28573         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
28574         (__ASSUME_ATFCTS): Do not undefine and redefine.
28575         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
28576         <kernel-features.h>.
28577         (symlinkat) [__NR_symlinkat]: Make code unconditional.
28578         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
28579         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
28580         <kernel-features.h>.
28581         (unlinkat) [__NR_unlinkat]: Make code unconditional.
28582         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
28583         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
28584         (__ASSUME_ATFCTS): Do not undefine and redefine.
28585         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
28586         <kernel-features.h>.
28587         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
28588         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
28589         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
28590         <kernel-features.h>.
28591         (__xmknodat) [__NR_mknodat]: Make code unconditional.
28592         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
28594 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
28596         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
28598 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
28600         [BZ #17069]
28601         * posix/regcomp.c (parse_reg_exp): Deallocate partially
28602         constructed tree before returning error.
28603         * posix/bug-regexp36.c: Expand test case.
28605 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
28607         [BZ #6803]
28608         * math/libm-test.inc (scalbln_test_date):
28609         Add errno expectations.
28610         * math/w_scalblnf.c: New File.
28611         Add wrapper which checks for setting errno to ERANGE.
28612         Add weak_alias for corresponding scalbln function.
28613         * math/w_scalbln.c: Likewise.
28614         * math/w_scalblnl.c: Likewise.
28615         * math/Makefile (libm-calls): Add w_scalbln.
28616         * sysdeps/ieee754/flt-32/s_scalblnf.c:
28617         Remove weak_alias for corresponding scalbln function.
28618         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28619         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28620         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28621         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28622         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
28623         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
28624         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
28625         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
28626         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
28627         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
28628         Remove long_double_symbol for scalblnl function in libm, libc.
28629         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
28630         Add wrapper which checks for setting errno to ERANGE.
28631         Add long_double_symbol for scalblnl function in libm, libc.
28632         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
28633         Remove long_double_symbol for scalblnl in libm.
28634         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
28635         Add wrapper which checks for setting errno to ERANGE.
28636         Add long_double_symbol for scalblnl function in libm.
28637         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
28638         Do not use wrapper because of own implementation.
28640 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
28642         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
28643         3 bytes for __pad1 for x32.
28644         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
28646 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
28647             H.J. Lu  <hongjiu.lu@intel.com>
28649         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
28650         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
28651         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28652         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28653         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
28655 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
28657         [BZ #17069]
28658         * posix/regcomp.c (parse_expression): Deallocate partially
28659         constructed tree before returning error.
28660         * posix/Makefile.c (tests): Add bug-regex36.
28661         (generated): Add bug-regex36.mtrace.
28662         (tests-special): Add $(objpfx)bug-regex36-mem.out
28663         (bug-regex36-ENV): New variable.
28664         ($(objpfx)bug-regex36-mem.out): New rule.
28665         * posix/bug-regex36.c: New file.
28667 2014-06-19  Will Newton  <will.newton@linaro.org>
28669         * malloc/malloc.c (systrim): If extra is zero then return
28670         early.
28672 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28674         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
28676 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
28678         * sysdeps/aarch64/strchr.S: New file.
28680 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
28682         [BZ #17022]
28683         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
28684         from arguments -2 or below.
28685         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
28686         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
28688 2014-06-18  Andreas Schwab  <schwab@suse.de>
28690         [BZ #17062]
28691         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
28692         of a bracket expr not to run off the end of the string.
28693         * posix/Makefile (tests): Add tst-fnmatch3.
28694         * posix/tst-fnmatch3.c: New file.
28696 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
28698         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
28699         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
28700         [$(cross-compiling) = no]: Likewise.
28701         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
28702         [$(cross-compiling) = no]: Likewise.
28704 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28706         [BZ #17031]
28707         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
28708         double, adjusted for any remainder from the high double.
28709         * math/libm-test.inc (nearbyint): Add tests.
28710         (rint): Likewise.
28712 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28714         * nptl/sysdeps/powerpc/Makefile: Moved ...
28715         * sysdeps/powerpc/nptl/Makefile: ... here.
28716         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
28717         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
28718         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
28719         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
28720         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
28721         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
28722         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
28723         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
28724         * nptl/sysdeps/powerpc/tls.h: Moved ...
28725         * sysdeps/powerpc/nptl/tls.h: ... here.
28727 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
28729         [BZ #16681]
28730         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
28731         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
28732         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
28733         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
28734         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
28735         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
28736         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
28737         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
28738         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
28740 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
28742         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28744 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
28746         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
28747         defined operator.
28749         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
28750         $TIMEOUTFACTOR.
28752 2014-06-16  Florian Weimer  <fweimer@redhat.com>
28754         [BZ #17058]
28755         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
28756         non-executed part of the test.
28758 2014-06-16  Andreas Schwab  <schwab@suse.de>
28760         * string/bits/string2.h (strdup, strndup): Update feature guard.
28762 2014-06-14  David S. Miller  <davem@davemloft.net>
28764         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28766 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
28768         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
28769         that was previously under [RESET_PID].
28770         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
28772         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
28773         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
28774         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
28775         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28776         (__libc_vfork): New strong alias.
28777         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
28779 2014-06-14 Andi Kleen  <ak@linux.intel.com>
28781         * sysdeps/generic/elide.h: New file.
28783 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28785         * Makefile (installed-headers): Adjust path of pthread.h header.
28787 2014-06-13  Roland McGrath  <roland@hack.frob.com>
28789         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
28790         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
28791         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
28792         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
28794         * nptl/sysdeps/s390/Makefile: Moved ...
28795         * sysdeps/s390/nptl/Makefile: ... here.
28796         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
28797         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
28798         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
28799         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
28800         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
28801         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
28802         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
28803         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
28804         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
28805         * sysdeps/s390/nptl/pthreaddef.h: ... here.
28806         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
28807         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
28808         * nptl/sysdeps/s390/tls.h: Moved ...
28809         * sysdeps/s390/nptl/tls.h: ... here.
28811         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
28812         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
28814 2014-06-13  David S. Miller  <davem@davemloft.net>
28816         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
28817         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
28818         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
28819         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
28820         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
28821         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
28822         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
28823         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
28824         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
28825         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
28826         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
28827         Remove RESET_PID cpp guards.
28828         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
28829         Remove RESET_PID cpp guards.
28830         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
28832 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
28834         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
28835         __sp to uintptr_t.
28837 2014-06-13  Andi Kleen  <ak@linux.intel.com>
28839         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
28840         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
28841         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
28842         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
28843         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
28844         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
28845         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
28846         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
28847         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
28848         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
28849         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
28850         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
28851         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
28852         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
28853         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
28854         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
28855         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
28856         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
28857         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
28858         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
28860         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
28861         (pthread_rwlock_rdlock): Add elision.
28862         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
28863         (pthread_rwlock_wrlock): Add elision.
28864         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
28865         (pthread_rwlock_trywrlock): Add elision.
28866         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
28867         (pthread_rwlock_tryrdlock): Add elision.
28868         * nptl/pthread_rwlock_unlock.c: Include elide.h.
28869         (pthread_rwlock_tryrdlock): Add elision unlock.
28870         * nptl/sysdeps/pthread/pthread.h:
28871         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
28872         (PTHREAD_RWLOCK_INITIALIZER,
28873         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
28874         Handle new elision field.
28875         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
28876         * sysdeps/arm/nptl/bits/pthreadtypes.h
28877         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28878         * sysdeps/sh/nptl/bits/pthreadtypes.h
28879         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28880         * sysdeps/tile/nptl/bits/pthreadtypes.h
28881         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28882         * sysdeps/a/nptl/bits/pthreadtypes.h
28883         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28884         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
28885         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28886         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
28887         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28888         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
28889         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28890         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
28891         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28892         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
28893         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28894         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
28895         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28896         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
28897         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28898         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
28899         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28900         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
28901         (elision_init): Set try_xbegin to zero when no RTM.
28902         * sysdeps/x86/nptl/bits/pthreadtypes.h
28903         (pthread_rwlock_t): Change __pad1 to __rwelision.
28904         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28906 2014-06-13  Andi Kleen  <ak@linux.intel.com>
28908         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
28909         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
28910         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
28911         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
28913 2014-06-13  Meador Inge  <meadori@codesourcery.com>
28915         [BZ #16996]
28916         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
28917         that the cached result has been set before returning it.
28919 2014-06-12  Roland McGrath  <roland@hack.frob.com>
28921         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
28922         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
28923         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
28924         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
28925         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
28926         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
28928         * nptl/sysdeps/sparc/Makefile: Moved ...
28929         * sysdeps/sparc/nptl/Makefile: ... here.
28930         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
28931         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
28932         * nptl/sysdeps/sparc/tls.h: Moved ...
28933         * sysdeps/sparc/nptl/tls.h: ... here.
28934         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
28935         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
28936         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
28937         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
28938         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
28939         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
28940         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
28941         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
28942         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
28943         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
28944         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
28945         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
28946         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
28947         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
28948         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
28949         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
28950         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
28951         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
28952         Update #include.
28953         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
28954         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
28955         Update #include.
28956         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
28957         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
28958         Update #include.
28959         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
28960         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
28961         Update #include.
28963         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
28965         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
28966         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
28968         * sysdeps/pthread/posix-timer.h: Include <list.h>.
28969         (struct list_links): Type removed.
28970         (struct thread_node, struct timer_node): Replace struct list_links
28971         with struct list_head.
28972         (list_unlink_ip): Likewise.
28973         * sysdeps/pthread/timer_routines.c
28974         (timer_free_list, thread_free_list, thread_active_list): Likewise.
28975         (list_append, list_insbefore): Likewise.
28976         (list_init): Function removed.
28977         (thread_init, init_module): Use INIT_LIST_HEAD instead.
28978         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
28979         * sysdeps/pthread/Makefile: ... here, new file.
28981         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
28982         * sysdeps/nptl/Implies: ... here.
28983         * sysdeps/unix/sysv/linux/Implies: Add nptl.
28984         * nptl/sysdeps/pthread/list.h: Moved ...
28985         * include/list.h: ... here.
28986         * nptl/sysdeps/pthread/createthread.c: Moved ...
28987         * nptl/createthread.c: ... here.
28988         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
28989         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
28990         * nptl/pt-longjmp.c: ... here.
28991         * nptl/sysdeps/pthread/Makefile: Moved ...
28992         * sysdeps/nptl/Makefile: ... here.
28993         * nptl/sysdeps/pthread/Subdirs: Moved ...
28994         * sysdeps/nptl/Subdirs: ... here.
28995         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
28996         * sysdeps/nptl/aio_misc.h: ... here.
28997         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
28998         * sysdeps/nptl/bits/libc-lock.h: ... here.
28999         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
29000         * sysdeps/nptl/bits/libc-lockP.h: ... here.
29001         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
29002         * sysdeps/nptl/bits/stdio-lock.h: ... here.
29003         * nptl/sysdeps/pthread/configure: Moved ...
29004         * sysdeps/nptl/configure: ... here.
29005         * nptl/sysdeps/pthread/configure.ac: Moved ...
29006         * sysdeps/nptl/configure.ac: ... here.
29007         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
29008         * sysdeps/nptl/gai_misc.h: ... here.
29009         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
29010         * sysdeps/nptl/librt-cancellation.c: ... here.
29011         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
29012         * sysdeps/nptl/malloc-machine.h: ... here.
29013         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
29014         * sysdeps/nptl/pthread-functions.h: ... here.
29015         * nptl/sysdeps/pthread/pthread.h: Moved ...
29016         * sysdeps/nptl/pthread.h: ... here.
29017         * nptl/sysdeps/pthread/setxid.h: Moved ...
29018         * sysdeps/nptl/setxid.h: ... here.
29019         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
29020         * sysdeps/nptl/sigfillset.c: ... here.
29021         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
29022         * sysdeps/nptl/tcb-offsets.h: ... here.
29023         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
29024         * sysdeps/nptl/tst-mqueue8x.c: ... here.
29025         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
29026         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
29027         * nptl/sysdeps/pthread/allocalim.h: Moved ...
29028         * sysdeps/pthread/allocalim.h: ... here.
29029         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
29030         * sysdeps/pthread/bits/sigthread.h: ... here.
29031         * nptl/sysdeps/pthread/flockfile.c: Moved ...
29032         * sysdeps/pthread/flockfile.c: ... here.
29033         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
29034         * sysdeps/pthread/ftrylockfile.c: ... here.
29035         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
29036         * sysdeps/pthread/funlockfile.c: ... here.
29037         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
29038         * sysdeps/pthread/posix-timer.h: ... here.
29039         * nptl/sysdeps/pthread/timer_create.c: Moved ...
29040         * sysdeps/pthread/timer_create.c: ... here.
29041         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
29042         * sysdeps/pthread/timer_delete.c: ... here.
29043         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
29044         * sysdeps/pthread/timer_getoverr.c: ... here.
29045         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
29046         * sysdeps/pthread/timer_gettime.c: ... here.
29047         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
29048         * sysdeps/pthread/timer_routines.c: ... here.
29049         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
29050         * sysdeps/pthread/timer_settime.c: ... here.
29051         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
29052         * sysdeps/pthread/tst-timer.c: ... here.
29053         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
29054         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
29056         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
29057         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
29059         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
29060         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
29061         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
29062         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
29063         Update #include target.
29064         * nptl/sysdeps/i386/i686/Makefile: Moved ...
29065         * sysdeps/i386/i686/nptl/Makefile: ... here.
29066         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
29067         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
29068         Update #include target.
29069         * nptl/sysdeps/i386/i686/tls.h: Moved ...
29070         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
29071         * nptl/sysdeps/i386/Makefile: Moved ...
29072         * sysdeps/i386/nptl/Makefile: ... here.
29073         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
29074         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
29075         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
29076         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
29077         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
29078         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
29079         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
29080         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
29081         * sysdeps/i386/nptl/pthreaddef.h: ... here.
29082         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
29083         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
29084         * nptl/sysdeps/i386/tls.h: Moved ...
29085         * sysdeps/i386/nptl/tls.h: ... here.
29087         * sysdeps/sh/Makefile [$(subdir) = csu]
29088         (gen-as-const-headers): Add tcb-offsets.sym.
29089         * nptl/sysdeps/sh/Makefile: File removed.
29090         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
29091         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
29092         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
29093         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
29094         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
29095         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
29096         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
29097         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
29098         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
29099         * sysdeps/sh/nptl/pthreaddef.h: ... here.
29100         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
29101         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
29102         * nptl/sysdeps/sh/tls.h: Moved ...
29103         * sysdeps/sh/nptl/tls.h: ... here.
29104         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
29105         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
29106         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
29107         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
29108         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
29109         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
29110         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
29111         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
29112         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
29113         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
29114         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
29115         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
29116         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
29117         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
29118         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
29119         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
29120         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
29121         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
29122         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
29123         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
29124         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
29125         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
29126         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
29127         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
29128         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
29129         Moved ...
29130         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
29131         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
29132         Moved ...
29133         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
29134         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
29135         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
29136         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
29137         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
29138         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
29139         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
29140         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
29141         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
29142         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
29143         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
29144         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
29145         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
29146         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
29147         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
29148         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
29149         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
29150         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
29151         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
29153 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29155         * posix/spawn_faction_addopen.c: Include string.h.
29157 2014-06-11  Roland McGrath  <roland@hack.frob.com>
29159         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
29160         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
29161         * nptl/sysdeps/x86_64/Makefile: Moved ...
29162         * sysdeps/x86_64/nptl/Makefile: ... here.
29163         * nptl/sysdeps/x86_64/configure: Moved ...
29164         * sysdeps/x86_64/nptl/configure: ... here.
29165         * nptl/sysdeps/x86_64/configure.ac: Moved ...
29166         * sysdeps/x86_64/nptl/configure.ac: ... here.
29167         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
29168         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
29169         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
29170         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
29171         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
29172         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
29173         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
29174         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
29175         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
29176         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
29177         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
29178         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
29179         * nptl/sysdeps/x86_64/tls.h: Moved ...
29180         * sysdeps/x86_64/nptl/tls.h: ... here.
29181         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
29182         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
29183         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
29184         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
29186         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
29188 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29190         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29192 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
29194         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
29195         type.
29196         [POSIX] (off_t): Likewise.
29197         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
29198         [POSIX] (S_ISBLK): Require macro.
29199         [POSIX] (S_ISCHR): Likewise.
29200         [POSIX] (S_ISDIR): Likewise.
29201         [POSIX] (S_ISFIFO): Likewise.
29202         [POSIX] (S_ISREG): Likewise.
29203         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
29204         optional-macro.
29205         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
29206         type.
29207         [POSIX] (time_t): Likewise.
29208         [POSIX] (timer_t): Likewise.
29210 2014-06-11  Florian Weimer  <fweimer@redhat.com>
29212         [BZ #17048]
29213         * posix/spawn_int.h (struct __spawn_action): Make the path string
29214         non-const to support deallocation.
29215         * posix/spawn_faction_addopen.c
29216         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
29217         * posix/spawn_faction_destroy.c
29218         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
29219         path in all spawn_do_open actions.
29220         * posix/tst-spawn.c (do_test): Exercise the copy operation in
29221         posix_spawn_file_actions_addopen.
29223 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
29225         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
29226         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
29227         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
29228         conditional code always true.
29229         (__libc_vfork): New alias.
29231 2014-06-11  Roland McGrath  <roland@hack.frob.com>
29233         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29234         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
29236         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
29238         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29239         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
29241         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
29242         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
29244         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29245         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
29247 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29249         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
29250         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
29251         multiarch strcmp for PPC64.
29252         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
29253         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
29254         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
29255         multiarch optimizations.
29256         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29257         (__libc_ifunc_impl_list): Likewise.
29259 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29261         * benchtests/scripts/validate_benchout.py: New script.
29262         * benchtests/Makefile (bench-func): Call it.
29263         * benchtests/scripts/benchout.schema.json: New file.
29265 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
29267         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
29268         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
29269         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
29270         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
29271         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
29272         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
29273         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
29274         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
29275         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
29276         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
29277         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
29278         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
29279         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
29280         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
29281         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
29282         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
29283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
29284         Moved ...
29285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
29286         ... here.
29287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
29288         Moved ...
29289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
29290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
29291         Moved ...
29292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
29293         ... here.
29294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
29295         Moved ...
29296         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
29297         ... here.
29298         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
29299         Moved ...
29300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
29301         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
29302         Moved ...
29303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
29304         ... here.
29305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
29306         Moved ...
29307         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
29308         ... here.
29309         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
29310         Moved ...
29311         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
29312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
29313         Moved ...
29314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
29315         ... here.
29316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
29317         Moved ...
29318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
29319         ... here.
29320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
29321         Moved ...
29322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
29323         ... here.
29324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
29325         Moved ...
29326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
29327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
29328         Moved ...
29329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
29330         ... here.
29331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
29332         Moved ...
29333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
29334         ... here.
29335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
29336         Moved ...
29337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
29338         ... here.
29339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
29340         Moved ...
29341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
29342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
29343         Moved ...
29344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
29345         ... here.
29346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
29347         Moved ...
29348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
29349         ... here.
29350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
29351         Moved ...
29352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
29353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
29354         Moved ...
29355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
29356         ... here.
29357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
29358         Moved ...
29359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
29360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
29361         Moved ...
29362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
29363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
29364         Moved ...
29365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
29366         ... here.
29367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
29368         Moved ...
29369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
29370         ... here.
29371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
29372         Moved ...
29373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
29374         ... here.
29375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
29376         Moved ...
29377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
29378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
29379         Moved ...
29380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
29381         ... here.
29382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
29383         Moved ...
29384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
29385         ... here.
29386         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
29387         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
29388         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
29389         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
29390         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
29391         Moved ...
29392         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
29393         ... here.
29394         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
29395         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
29396         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
29397         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
29398         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
29399         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
29400         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
29401         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
29402         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
29403         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
29404         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
29405         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
29406         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
29407         Moved ...
29408         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
29409         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
29410         Moved ...
29411         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
29412         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
29413         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
29414         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
29415         Moved ...
29416         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
29417         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
29418         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
29419         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
29420         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
29421         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
29422         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
29424 2014-06-10  Wilco  <wdijkstr@arm.com>
29426         * math/test-fenv-return.c: New file.
29427         * math/Makefile: Add new test test-fenv-return.
29429 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
29431         [BZ #17042]
29432         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
29433         when x - 1 is zero.
29434         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
29435         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
29436         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
29437         0.0L for an argument of 1.0L.
29438         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
29439         Likewise.
29440         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
29441         value when x - 1 is zero.
29442         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
29443         * sysdeps/i386/fpu/libm-test-ulps: Update.
29444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29446 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
29448         [BZ #15119]
29449         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
29451 2014-06-09  Roland McGrath  <roland@hack.frob.com>
29453         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
29454         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
29456 2014-06-09  Roland McGrath  <roland@hack.frob.com>
29458         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29459         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
29461         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29462         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
29464         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29465         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
29467         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29468         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
29470         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
29471         if not already defined.
29472         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
29473         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
29474         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
29475         (TLS_INIT_TP): Use it.
29476         (TLS_DEFINE_INIT_TP): New macro.
29477         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
29479 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
29481         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
29482         constant.
29483         [POSIX] (IXANY): Likewise.
29484         [POSIX] (OLCUC): Likewise.
29485         [POSIX || POSIX2008] (CBAUD): Do not allow.
29486         [POSIX || POSIX2008] (DEFECHO): Likewise.
29487         [POSIX || POSIX2008] (ECHOCTL): Likewise.
29488         [POSIX || POSIX2008] (ECHOKE): Likewise.
29489         [POSIX || POSIX2008] (ECHOPRT): Likewise.
29490         [POSIX || POSIX2008] (EXTA): Likewise.
29491         [POSIX || POSIX2008] (EXTB): Likewise.
29492         [POSIX || POSIX2008] (FLUSHO): Likewise.
29493         [POSIX || POSIX2008] (LOBLK): Likewise.
29494         [POSIX || POSIX2008] (PENDIN): Likewise.
29495         [POSIX || POSIX2008] (SWTCH): Likewise.
29496         [POSIX || POSIX2008] (VDISCARD): Likewise.
29497         [POSIX || POSIX2008] (VDSUSP): Likewise.
29498         [POSIX || POSIX2008] (VLNEXT): Likewise.
29499         [POSIX || POSIX2008] (VREPRINT): Likewise.
29500         [POSIX || POSIX2008] (VSTATUS): Likewise.
29501         [POSIX || POSIX2008] (VWERASE): Likewise.
29502         (B*): Change to B[0123456789]*.
29503         * conform/data/time.h-data [POSIX || UNIX98]
29504         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
29505         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29506         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
29507         [POSIX] (tm_*): Do not allow.
29509 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
29511         * Makefile (install): Don't set LANGUAGE.
29512         * Makefile.in (install): Likewise.
29513         * assert/Makefile (test-assert-ENV): Remove variable.
29514         (test-assert-perr-ENV): Likewise.
29515         * elf/Makefile (neededtest4-ENV): Likewise.
29516         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
29517         [$(cross-compiling) = no]: Don't set LANGUAGE.
29518         * io/ftwtest-sh (LANG): Remove variable.
29519         * libio/Makefile (tst-widetext-ENV): Likewise.
29520         * manual/install.texi (Running make install): Don't refer to
29521         environment settings for make install.
29522         * INSTALL: Regenerated.
29523         * nptl/tst-tls6.sh: Don't set LANG.
29524         * posix/globtest.sh (LANG): Remove variable.
29525         * string/Makefile (tester-ENV): Likewise.
29526         (inl-tester-ENV): Likewise.
29527         (noinl-tester-ENV): Likewise.
29528         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
29529         [$(cross-compiling) = no]: Don't set LANGUAGE.
29530         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
29531         without explicit environment settings.
29533 2014-06-06  Roland McGrath  <roland@hack.frob.com>
29535         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
29536         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
29537         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
29538         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
29540 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
29542         * crypt/crypt-private.h [DOS]: Add some includes taken from the
29543         other files in the crypt directory.
29544         * crypt/crypt.c: Remove duplicate includes.
29545         * crypt/crypt-entry.c: Likewise.
29546         * crypt/crypt_util.c: Likewise.
29548 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
29550         * Makeconfig (run-program-env): New variable.
29551         (run-program-prefix-before-env): Likewise.
29552         (run-program-prefix-after-env): Likewise.
29553         (run-program-prefix): Define in terms of new variables.
29554         (built-program-cmd-before-env): New variable.
29555         (built-program-cmd-after-env): Likewise.
29556         (built-program-cmd): Define in terms of new variables.
29557         (test-program-prefix-before-env): New variable.
29558         (test-program-prefix-after-env): Likewise.
29559         (test-program-prefix): Define in terms of new variables.
29560         (test-program-cmd-before-env): New variable.
29561         (test-program-cmd-after-env): Likewise.
29562         (test-program-cmd): Define in terms of new variables.
29563         * Rules (make-test-out): Use $(run-program-env).
29564         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
29565         (help): Do not mention environment variables.  Mention
29566         --timeoutfactor option.
29567         (timeoutfactor): New variable.
29568         (blacklist_exports): Remove function.
29569         (exports): Remove variable.
29570         (command): Do not include ${exports}.
29571         * manual/install.texi (Configuring and compiling): Do not mention
29572         test wrappers preserving environment variables.  Mention that last
29573         assignment to a variable must take precedence.
29574         * INSTALL: Regenerated.
29575         * benchtests/Makefile (run-bench): Use $(run-program-env).
29576         * catgets/Makefile ($(objpfx)test1.cat): Use
29577         $(built-program-cmd-before-env), $(run-program-env) and
29578         $(built-program-cmd-after-env).
29579         ($(objpfx)test2.cat): Do not specify environment variables
29580         explicitly.
29581         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
29582         $(run-program-env) and $(built-program-cmd-after-env).
29583         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
29584         $(run-program-env) and $(test-program-cmd-after-env).
29585         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
29586         explicitly.
29587         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
29588         run_program_env and test_program_cmd_after_env arguments.
29589         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
29590         * elf/tst-pathopt.sh: Use run_program_env argument.
29591         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
29592         $(test-wrapper-env) and $(run-program-env).
29593         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
29594         run_program_env arguments.
29595         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
29596         * intl/Makefile ($(objpfx)tst-gettext.out): Use
29597         $(test-program-prefix-before-env), $(run-program-env) and
29598         $(test-program-prefix-after-env).
29599         ($(objpfx)tst-gettext2.out): Likewise.
29600         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
29601         run_program_env and test_program_prefix_after_env arguments.
29602         * intl/tst-gettext2.sh: Likewise.
29603         * intl/tst-gettext4.sh: Do not set environment variables
29604         explicitly.
29605         * intl/tst-gettext6.sh: Likewise.
29606         * intl/tst-translit.sh: Likewise.
29607         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
29608         $(test-program-prefix-before-env), $(run-program-env) and
29609         $(test-program-prefix-after-env).
29610         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
29611         run_program_env and test_program_prefix_after_env arguments.
29612         * math/Makefile (run-regen-ulps): Use $(run-program-env).
29613         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
29614         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
29615         explicitly with each use of ${test_wrapper_env}.
29616         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
29617         $(test-program-prefix-before-env), $(run-program-env) and
29618         $(test-program-prefix-after-env).
29619         * posix/tst-getconf.sh: Do not set environment variables
29620         explicitly.
29621         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
29622         run_program_env and test_program_prefix_after_env arguments.
29623         * stdio-common/tst-printf.sh: Do not set environment variables
29624         explicitly.
29625         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
29626         $(test-program-prefix-before-env), $(run-program-env) and
29627         $(test-program-prefix-after-env).
29628         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
29629         run_program_env and test_program_prefix_after_env arguments.
29630         Split $test calls into $test_pre and $test.
29631         * timezone/Makefile (build-testdata): Use
29632         $(built-program-cmd-before-env), $(run-program-env) and
29633         $(built-program-cmd-after-env).
29635 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29637         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
29638         strlen for non SHARED builds.
29640 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29642         * nptl/allocatestack.c (check_list): Inlined function...
29643         (__reclaim_stacks): ... here.
29645 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
29647         [BZ #15698]
29648         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
29649         memory overrun.
29651 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
29653         * Rules (make-test-out): Include
29654         LOCPATH=$(common-objpfx)localedata in default environment.
29655         * debug/Makefile (tst-chk1-ENV): Remove variable.
29656         (tst-chk2-ENV): Likewise.
29657         (tst-chk3-ENV): Likewise.
29658         (tst-chk4-ENV): Likewise.
29659         (tst-chk5-ENV): Likewise.
29660         (tst-chk6-ENV): Likewise.
29661         (tst-lfschk1-ENV): Likewise.
29662         (tst-lfschk2-ENV): Likewise.
29663         (tst-lfschk3-ENV): Likewise.
29664         (tst-lfschk4-ENV): Likewise.
29665         (tst-lfschk5-ENV): Likewise.
29666         (tst-lfschk6-ENV): Likewise.
29667         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
29668         (tst-iconv7-ENV): Likewise.
29669         * intl/Makefile (LOCPATH-ENV): Likewise.
29670         (tst-codeset-ENV): Likewise.
29671         (tst-gettext3-ENV): Likewise.
29672         (tst-gettext5-ENV): Likewise.
29673         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
29674         (tst-fopenloc-ENV): Likewise.
29675         (tst-fgetws-ENV): Remove variable.
29676         (tst-ungetwc1-ENV): Likewise.
29677         (tst-ungetwc2-ENV): Likewise.
29678         (bug-ungetwc2-ENV): Likewise.
29679         (tst-swscanf-ENV): Likewise.
29680         (bug-ftell-ENV): Likewise.
29681         (tst-fgetwc-ENV): Likewise.
29682         (tst-fseek-ENV): Likewise.
29683         (tst-ftell-partial-wide-ENV): Likewise.
29684         (tst-ftell-active-handler-ENV): Likewise.
29685         (tst-ftell-append-ENV): Likewise.
29686         * posix/Makefile (tst-fnmatch-ENV): Likewise.
29687         (tst-regexloc-ENV): Likewise.
29688         (bug-regex1-ENV): Likewise.
29689         (tst-regex-ENV): Likewise.
29690         (tst-regex2-ENV): Likewise.
29691         (bug-regex5-ENV): Likewise.
29692         (bug-regex6-ENV): Likewise.
29693         (bug-regex17-ENV): Likewise.
29694         (bug-regex18-ENV): Likewise.
29695         (bug-regex19-ENV): Likewise.
29696         (bug-regex20-ENV): Likewise.
29697         (bug-regex22-ENV): Likewise.
29698         (bug-regex23-ENV): Likewise.
29699         (bug-regex25-ENV): Likewise.
29700         (bug-regex26-ENV): Likewise.
29701         (bug-regex30-ENV): Likewise.
29702         (bug-regex32-ENV): Likewise.
29703         (bug-regex33-ENV): Likewise.
29704         (bug-regex34-ENV): Likewise.
29705         (bug-regex35-ENV): Likewise.
29706         (tst-rxspencer-ENV): Likewise.
29707         (tst-rxspencer-no-utf8-ENV): Likewise.
29708         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
29709         (tst-sscanf-ENV): Likewise.
29710         (tst-swprintf-ENV): Likewise.
29711         (tst-swscanf-ENV): Likewise.
29712         (test-vfprintf-ENV): Likewise.
29713         (scanf13-ENV): Likewise.
29714         (bug14-ENV): Likewise.
29715         (tst-grouping-ENV): Likewise.
29716         * stdlib/Makefile (tst-strtod-ENV): Likewise.
29717         (tst-strtod3-ENV): Likewise.
29718         (tst-strtod4-ENV): Likewise.
29719         (tst-strtod5-ENV): Likewise.
29720         (testmb2-ENV): Likewise./
29721         * string/Makefile (tst-strxfrm-ENV): Likewise.
29722         (tst-strxfrm2-ENV): Likewise.
29723         (bug-strcoll1-ENV): Likewise.
29724         (test-strcasecmp-ENV): Likewise.
29725         (test-strncasecmp-ENV): Likewise.
29726         * time/Makefile (tst-strptime-ENV): Likewise.
29727         (tst-ftime_l-ENV): Likewise.
29728         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
29729         (tst-mbrtowc-ENV): Likewise.
29730         (tst-wcrtomb-ENV): Likewise.
29731         (tst-mbrtowc2-ENV): Likewise.
29732         (tst-c16c32-1-ENV): Likewise.
29733         (tst-mbsnrtowcs-ENV): Likewise.
29735 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
29737         * manual/resource.texi (How to get information about the memory
29738         subsystem?): Fix typo.
29739         Reported by Peon de la Parra Ivan <peon@keba.com>
29741 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
29743         [BZ #16882]
29744         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
29745         (pthread_spin_lock): Branch out of spin loop to proper location.
29746         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
29747         (pthread_spin_lock): Likewise.
29749         * nptl/tst-spin4.c: New test.
29750         * nptl/Makefile (tests): Add tst-spin4.
29752 2014-06-03  Andreas Schwab  <schwab@suse.de>
29754         [BZ #15946]
29755         * resolv/res_send.c (send_dg): Reload file descriptor after
29756         calling reopen.
29758 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
29760         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29762 2014-06-03  Richard Henderson  <rth@redhat.com>
29764         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
29765         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
29766         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
29767         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
29768         in the SAVE_PID block.
29769         (__libc_vfork): New alias.
29770         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
29772         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
29773         child in registers, not on the stack.  Remove RESET_PID conditionals.
29774         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
29776 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29778         * sysdeps/aarch64/libm-test-ulps: Regenerate.
29780 2014-06-03  Wilco  <wdijkstr@arm.com>
29782         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
29783         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
29784         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
29785         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
29786         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
29787         Likewise.
29789 2014-06-03  Wilco  <wdijkstr@arm.com>
29791         * sysdeps/aarch64/fpu/math_private.h
29792         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
29793         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
29794         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
29795         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
29796         Fix declarations.
29798 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29800         * crypt/crypt-private.h: Include ufc-crypt.h.
29801         (__b64_from_24bit): Declare extern.
29802         * crypt/crypt_util.c(__b64_from_24bit): New function.
29803         (b64t): New static const variable.
29804         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
29805         (b64t): Remove variable.
29806         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
29807         * crypt/sha256-crypt.c: Include crypt-private.h.
29808         (b64t): Remove variable.
29809         (__sha256_crypt_r): Remove b64_from_24bit and replace
29810         with __b64_from_24bit.
29811         * crypt/sha512-crypt.c: Likewise.
29813 2014-06-02  Roland McGrath  <roland@hack.frob.com>
29815         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
29816         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
29817         Label the code __libc_vfork rather than __vfork.
29818         [!NOT_IN_libc] (vfork): Define as weak alias.
29819         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
29820         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
29821         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
29823 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29825         * malloc/malloc.c (malloc_info): Fix format specifier for
29826         n_mmaps.
29828 2014-06-02  Wilco  <wdijkstr@arm.com>
29830         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
29831         FPCR write.
29833 2014-06-02  Wilco  <wdijkstr@arm.com>
29835         [BZ #17009]
29836         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
29837         Rewrite to reduce FPCR/FPSR accesses.
29839 2014-06-01  David S. Miller  <davem@davemloft.net>
29841         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29843 2014-05-31  David S. Miller  <davem@davemloft.net>
29845         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
29846         to occur in round to nearest mode when |x| >= 2.0
29848 2014-05-30  Richard Henderson  <rth@twiddle.net>
29850         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
29851         (PSEUDO_RET_NOERRNO): Remove.
29852         (ret): Don't redefine.
29853         (ret_NOERRNO): Define in terms of ret.
29854         (ret_ERRVAL): Likewise.
29856         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
29857         use of PSEUDO_RET; perform the error check directly.
29859 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
29861         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
29862         with __int128_t.
29864 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29866         * malloc/malloc (malloc_info): Fix formatting.
29868 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29869             Roland McGrath  <roland@hack.frob.com>
29871         * malloc/malloc (malloc_info): Also print mmapped statistics.
29873 2014-05-30  Roland McGrath  <roland@hack.frob.com>
29875         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
29876         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
29878 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
29880         * malloc/malloc.c (malloc_info): Inline mi_arena.
29882 2014-05-29  Richard Henderson  <rth@twiddle.net>
29884         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
29885         Remove comma before expanding ASM_ARGS_##nr.
29886         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
29887         Make _x0 a strict output; make _x8 a strict input; adjust expansion
29888         of ASM_ARGS_##nr.
29889         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
29890         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
29891         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
29892         (ASM_ARGS_1): Add leading comma.
29894         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
29895         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
29896         to __errno_location.
29897         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
29898         Remove the expected plt for __errno_location.
29900         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
29901         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
29902         call to __read_tp.
29904         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
29905         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
29906         it and break it down.
29907         (DOCARGS_0, DOCARGS_1): Do nothing.
29908         (DOCARGS_2): Update to store into the new stack frame.
29909         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
29910         (UNDOCARGS_1): Update to restore from the new stack frame.
29911         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
29912         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
29914         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
29915         (SINGLE_THREAD_P): New parameter for result regno.
29916         (PSEUDO): Update to match; use cbz instead of beq.
29918         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
29919         Use ENTRY to define the _nocancel entry point.  Share the syscall
29920         and syscall error check paths with the cancel path.
29921         (PSEUDO_END): New.
29923         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
29924         whitespace; tabs before and after asm mnemonics.
29926 2014-05-29  Eric Wong  <normalperson@yhbt.net>
29928         [BZ #15132]
29929         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29930         Call fstat64 or stat64 internally, depending on arguments passed.
29931         Replace stat buffer argument with file descriptor argument.
29932         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
29933         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
29934         Pass fd to __internal_statvfs instead of calling fstat64.
29935         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
29936         Pass fd to __internal_statvfs64 instead of calling fstat64.
29937         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
29938         Pass -1 to __internal_statvfs instead of calling stat64.
29939         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
29940         Pass -1 to __internal_statvfs64 instead of calling stat64.
29942 2014-05-28  Roland McGrath  <roland@hack.frob.com>
29944         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
29945         that was previously under [RESET_PID].
29946         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
29948         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
29949         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
29951 2014-05-27  Roland McGrath  <roland@hack.frob.com>
29953         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
29955         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
29956         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
29958 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
29960         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
29962 2014-05-27  Andreas Schwab  <schwab@suse.de>
29964         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
29965         TLS_INIT_TP macro.
29966         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
29967         * elf/rtld.c (init_tls, dl_main): Likewise.
29968         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
29969         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
29970         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
29971         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
29972         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
29973         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
29974         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
29975         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
29976         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
29977         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
29978         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
29979         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
29980         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
29981         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
29982         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
29983         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
29984         * sysdeps/generic/tls.h: Update description.
29986 2014-05-27  Will Newton  <will.newton@linaro.org>
29988         [BZ #16990]
29989         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
29990         and restore r2 rather than just restoring.
29992 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29994         [BZ #16724]
29995         * libio/tst-ftell-append.c: New test case.
29996         * libio/Makefile (tests): Add test case.
29997         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
29998         append mode.
29999         * libio/wfileops.c (do_ftell_wide): Likewise.
30001 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30003         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30005         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
30006         ...
30007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
30008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
30009         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
30010         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
30011         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
30012         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
30013         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
30014         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
30015         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
30016         Moved ...
30017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
30018         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
30019         Moved ...
30020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
30021         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
30022         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
30023         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
30024         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
30025         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
30026         ...
30027         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
30028         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
30029         Moved ...
30030         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
30031         here.
30032         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
30033         ...
30034         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
30035         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
30036         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
30038         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
30039         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
30040         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
30041         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
30043         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
30044         merge into ...
30045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
30046         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
30047         ...
30048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
30049         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
30050         ...
30051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
30052         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
30053         Moved ...
30054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
30055         here.
30056         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
30057         Moved ...
30058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
30059         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
30060         Moved ...
30061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
30063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
30064         conditional [RESET_PID].
30065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
30066         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
30067         removed.
30068         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
30069         removed.
30071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
30072         <tcb-offsets.h>.
30073         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30074         (__libc_vfork): New strong alias.
30075         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
30076         removed.
30077         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
30078         Removed.
30080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
30081         <tcb-offsets.h>.
30082         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
30083         (__libc_vfork): New strong alias.
30084         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
30085         removed.
30086         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
30087         removed.
30089 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
30091         * malloc/malloc.c (mi_arena): New function.
30092         (malloc_info): Remove nested function mi_arena. Call non-nosted
30093         function mi_arena.
30095 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30097         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
30098         by insrwi.
30099         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
30100         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
30101         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
30102         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
30103         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
30104         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
30105         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
30107 2014-05-26  Andreas Schwab  <schwab@suse.de>
30109         [BZ #16984]
30110         * locale/programs/repertoire.c (repertoire_read): Add slash
30111         between I18NPATH element and file name.
30112         * locale/programs/locfile.c (locfile_read): Likewise.
30114 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
30116         * nptl/pthread_mutexattr_settype.c
30117         (__pthread_mutexattr_settype):
30118         Disable lock elision for PTHREAD_MUTEX_NORMAL.
30120 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
30122         * nptl/tst-mutex5 (do_test):
30123         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
30125 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30127         * benchtests/README: Document 'init' directive.
30128         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
30129         BENCH_INIT.
30130         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
30131         (parse_file): Recognize 'init' directive.
30133 2014-05-26  Kyle McMartin  <kyle@redhat.com>
30135         [BZ #16796]
30136         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
30137         alignment of struct pthread.
30139 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30141         [BZ #16878]
30142         * nscd/netgroupcache.c (addgetnetgrentX): Look for
30143         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
30144         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
30145         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
30147 2014-05-25  Richard Henderson  <rth@twiddle.net>
30149         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30150         (SINGLE_THREAD_P_PIC): Remove.
30151         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
30152         (SINGLE_THREAD_P_PIC): Remove.
30154         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
30155         branch to syscall error ...
30156         (PSEUDO): ... here.
30157         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
30158         from __local_syscall_error to .Lsyscall_error.
30159         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
30160         (SYSCALL_ERROR): Update label name.
30162         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30163         Do not use DOARGS/UNDOARGS.
30164         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
30165         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
30166         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
30167         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
30168         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
30170         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
30171         block comment.
30173         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
30174         define if !NOT_IN_libc.
30175         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
30176         define with non-default symbol versions.
30178 2014-05-23  Richard Henderson  <rth@twiddle.net>
30180         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
30181         (vfork, __vfork): Define via compat_symbol.
30183         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
30184         [!HAVE_IFUNC] (vfork_compat): Remove.
30185         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
30187 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
30189         [BZ #16978]
30190         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
30191         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
30192         variable.
30194 2014-05-23  Richard Henderson  <rth@twiddle.net>
30196         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
30197         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
30198         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
30199         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
30201         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
30202         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
30203         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
30204         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
30205         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
30206         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
30207         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
30208         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
30209         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
30210         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
30211         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
30212         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
30213         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
30214         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
30215         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
30216         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
30217         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
30218         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
30219         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
30220         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
30221         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
30222         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
30223         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
30224         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
30225         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
30226         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
30227         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
30228         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
30229         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
30230         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
30231         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
30232         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
30233         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
30234         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
30235         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
30236         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
30237         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
30238         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
30239         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
30240         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
30241         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
30242         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
30243         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
30244         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
30245         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
30246         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
30247         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
30248         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
30249         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
30250         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
30251         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
30252         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
30253         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
30254         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
30255         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
30256         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
30258         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
30259         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
30260         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
30261         before exiting on error.
30262         (__libc_vfork): New strong alias.
30263         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
30264         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
30266         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
30267         that was previously under [RESET_PID].
30268         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
30270         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
30272 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
30274         [BZ #16977]
30275         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
30276         value when x - 1 is zero.
30277         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
30278         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
30279         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
30280         0.0L for an argument of 1.0L.
30281         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
30282         Likewise.
30283         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
30284         value when x - 1 is zero.
30285         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
30286         * sysdeps/i386/fpu/libm-test-ulps: Update.
30287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30289 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
30291         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
30292         alphasort and versionsort.
30294 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30296         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
30297         macro.
30298         [copysignf]: Likewise.
30300 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30302         * crypt/md5-crypt.c: Fix formatting.
30304 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30306         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
30307         (b64_from_24bit): New function.
30309 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30311         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
30312         libc_hidden_builtin_def to ifunc.
30313         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
30314         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
30316 2014-05-21  Roland McGrath  <roland@hack.frob.com>
30318         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
30319         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
30321 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
30323         * nscd/Depend (linuxthreads): Remove.
30324         (nptl): Add.
30325         * resolv/Depend (linuxthreads): Remove.
30326         * rt/Depend (linuxthreads): Remove.
30328         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
30329         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
30330         $(common-objpfx)elf/.
30331         (link-libc-before-gnulib): Likewise.
30332         (elfobjdir): Remove variable.
30333         * Makefile (install): Use $(elf-objpfx) instead of
30334         $(common-objpfx)elf/.
30335         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
30336         $(elfobjdir)/.
30337         (link-libc-deps): Likewise.
30338         ($(common-objpfx)libc.so): Likewise.
30339         ($(common-objpfx)linkobj/libc.so): Likewise.
30340         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
30341         instead of $(common-objpfx)elf/.
30342         (symbolic-link-list): Likewise.
30343         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30344         [$(cross-compiling) = no]: Likewise.
30345         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
30346         $(elfobjdir)/.
30347         (static-gnulib-arch): Likewise.
30348         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30349         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
30350         $(common-objpfx)elf/.
30352 2014-05-21  Richard Henderson  <rth@redhat.com>
30354         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30355         (SINGLE_THREAD_P): Use the correct width load.  Fold
30356         into the ldr offset.
30358         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
30359         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
30361 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
30363         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
30364         (libgcc_s_resume): Use __attribute_used__.
30365         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
30366         Likewise.
30368 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30370         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
30371         optimization when used with float constants.
30373         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30375 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
30377         [BZ #16915]
30378         * locale/nl_langinfo_l.c: Make direct reference to every
30379         _nl_current_CATEGORY symbol.
30380         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
30381         (tests-static): Add tst-langinfo-static.
30382         (tests-special): Add tst-langinfo-static.out.
30383         ($(objpfx)tst-langinfo.out): Redirect output.
30384         ($(objpfx)tst-langinfo-static.out): New.
30385         * localedata/tst-langinfo.sh: Send output to stdout.
30386         * localedata/tst-langinfo-static.c: New file.
30388         [BZ #16965]
30389         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
30390         when the shift amount is modulo the limb size.
30392 2014-05-20  Richard Henderson  <rth@redhat.com>
30394         [BZ #16967]
30395         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
30396         Change type of sa_flags from unsigned int to int.
30398         [BZ #16966]
30399         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
30401         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
30403 2014-05-20  Will Newton  <will.newton@linaro.org>
30405         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30406         Test the return value of the system call in the nocancel case.
30408 2014-05-20  Will Newton  <will.newton@linaro.org>
30409             Yvan Roux  <yvan.roux@linaro.org>
30411         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
30412         #include of asm/ptrace.h.
30413         (PTRACE_GET_THREAD_AREA): Remove #undef.
30414         (PTRACE_GETHBPREGS): Likewise.
30415         (PTRACE_SETHBPREGS): Likewise.
30416         (struct user_regs_struct): New structure.
30417         (struct user_fpsimd_struct): New structure.
30418         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
30419         #include of asm/ptrace.h and second #include of sys/user.h.
30420         (PTRACE_GET_THREAD_AREA): Remove #undef.
30421         (PTRACE_GETHBPREGS): Likewise.
30422         (PTRACE_SETHBPREGS): Likewise.
30423         (ELF_NGREG): Use new struct user_regs_struct.
30424         (elf_fpregset_t): Use new struct user_fpsimd_struct.
30426 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30428         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
30429         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
30431 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
30433         [BZ #16958]
30434         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
30435         membar to avoid block loads/stores to overlap previous stores.
30437 2014-05-17  Richard Henderson  <rth@redhat.com>
30439         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
30440         Create the __##syscall_name##_nocancel entry point.
30441         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
30442         Remove; let the sysdep-cancel.h code create it.
30444 2014-05-17  David S. Miller  <davem@davemloft.net>
30446         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
30447         Protect with __USE_GNU.
30448         (TIOCSET_TEMPT): Likewise.
30449         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30450         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
30451         these are already provided in bits/ioctl-types.h
30453 2014-05-16  Roland McGrath  <roland@hack.frob.com>
30455         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
30456         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
30458         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
30459         Use wait4 regardless of [__NR_waitpid].
30461 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
30463         PR libgcc/60166
30464         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
30465         (_FP_NANSIGN_Q): Set the quiet bit.
30467 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
30469         * benchtests/Makefile
30470         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
30471         not $(common-objpfx)math/libm.so.
30472         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
30473         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
30474         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
30475         $(common-objpfx)dlfcn/libdl.so.
30476         ($(objpfx)tst-audit8): Depend on $(libm), not
30477         $(common-objpfx)math/libm.so.
30478         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
30479         not $(common-objpfx)dlfcn/libdl.so.
30480         * math/Makefile
30481         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
30482         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
30483         [$(build-shared) = yes].
30484         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
30485         $(common-objpfx)nptl/libpthread.so.
30486         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
30487         $(common-objpfx)math/libm.so$(libm.so-version) or
30488         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
30489         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
30490         $(common-objpfx)dlfcn/libdl.so.
30491         * setjmp/Makefile (link-libm): Remove variable.
30492         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
30493         * stdio-common/Makefile (link-libm): Remove variable.
30494         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
30495         * stdlib/Makefile (link-libm): Remove variable.
30496         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
30497         ($(objpfx)tst-strtod-round): Likewise.
30498         ($(objpfx)tst-tininess): Likewise.
30499         ($(objpfx)tst-strtod-underflow): Likewise.
30500         ($(objpfx)tst-strtod6): Likewise.
30501         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
30502         $(libdl), not $(common-objpfx)nptl/libpthread.so and
30503         $(common-objpfx)dlfcn/libdl.so.
30505 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30507         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
30508         BSD terminal modes definitions.
30510 2014-05-16  Roland McGrath  <roland@hack.frob.com>
30512         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
30513         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
30515         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
30516         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
30517         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
30518         Don't do #include_next.
30519         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
30520         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
30521         Don't do #include_next.
30522         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
30523         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
30524         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
30525         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
30527 2014-05-16  Allan McRae  <allan@archlinux.org>
30529         * po/sv.po: Update Swedish translation from translation project.
30531         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
30532         in sed expression.
30534 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
30536         [BZ #16917]
30537         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
30538         errno if the TIOCGPTN ioctl fails with an error different than
30539         EINVAL.
30540         * login/tst-ptsname.c: New file.
30541         * login/Makefile (tests): Add tst-ptsname.
30543         [BZ #16943]
30544         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
30545         and prlimit64.
30547 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30549         [BZ #16849]
30550         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
30551         herrno to return EAI_AGAIN.
30553 2014-05-14  Roland McGrath  <roland@hack.frob.com>
30555         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
30556         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
30557         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
30558         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
30559         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
30560         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
30561         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
30562         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
30563         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
30564         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
30565         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
30566         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
30567         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
30568         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
30569         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
30570         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
30571         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
30572         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
30573         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
30574         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
30575         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
30576         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
30577         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
30578         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
30579         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
30580         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
30581         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
30582         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
30583         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
30584         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
30585         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
30586         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
30587         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
30588         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
30589         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30590         Moved ...
30591         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
30592         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
30593         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
30594         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
30595         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
30596         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
30597         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
30598         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
30599         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
30600         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
30601         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
30602         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
30603         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
30604         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
30605         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
30606         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
30607         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
30608         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
30609         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
30610         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
30611         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
30612         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
30613         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
30614         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
30615         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
30616         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
30617         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
30618         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30619         Moved ...
30620         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
30621         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
30622         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
30623         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
30624         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
30625         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
30626         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
30627         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
30628         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
30629         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
30630         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
30631         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
30632         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
30633         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
30634         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
30635         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
30636         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
30637         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
30638         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
30639         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30640         Moved ...
30641         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
30642         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
30643         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
30645         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
30646         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
30647         (libpthread-sysdep_routines): Add elision-related stuff here instead.
30648         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
30649         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
30650         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
30651         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
30652         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
30653         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
30654         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
30655         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
30656         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
30657         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
30658         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
30659         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
30660         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
30661         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
30662         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
30663         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
30664         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
30665         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
30666         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
30667         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
30668         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
30669         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
30670         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
30671         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
30672         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
30673         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
30674         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
30675         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
30677         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
30678         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
30680         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
30681         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
30682         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
30683         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
30684         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
30685         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
30686         Moved ...
30687         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
30688         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
30689         Moved ...
30690         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
30691         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
30692         Moved ...
30693         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
30694         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
30695         Moved ...
30696         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
30697         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
30698         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
30699         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
30700         Moved ...
30701         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
30702         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
30703         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
30704         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
30705         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
30706         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
30707         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
30708         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
30709         Moved ...
30710         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
30711         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
30712         Moved ...
30713         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
30714         ... here.
30715         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
30716         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
30717         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
30718         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
30719         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
30720         Moved ...
30721         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
30722         ... here.
30723         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
30724         Moved ...
30725         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
30726         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
30727         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
30728         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
30729         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
30730         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
30731         Moved ...
30732         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
30733         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
30734         Moved ...
30735         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
30736         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
30737         Moved ...
30738         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
30739         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
30740         Moved ...
30741         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
30742         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
30743         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
30744         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
30745         Moved ...
30746         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
30747         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
30748         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
30749         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
30750         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
30751         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
30752         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
30753         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
30754         Moved ...
30755         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
30756         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
30757         Moved ...
30758         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
30759         ... here.
30760         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
30761         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
30762         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
30763         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
30764         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
30765         Moved ...
30766         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
30767         ... here.
30768         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
30769         Moved ...
30770         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
30771         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
30772         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
30773         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
30774         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
30775         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
30776         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
30777         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
30778         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
30779         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
30780         Moved ...
30781         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
30782         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
30783         Moved ...
30784         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
30785         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
30786         Moved ...
30787         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
30788         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
30789         Moved ...
30790         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
30791         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
30792         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
30793         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
30794         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
30795         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
30796         Moved ...
30797         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
30798         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
30799         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
30800         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
30801         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
30802         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
30803         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
30804         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
30805         Moved ...
30806         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
30807         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
30808         Moved ...
30809         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
30810         ... here.
30811         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
30812         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
30813         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
30814         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
30815         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
30816         Moved ...
30817         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
30818         ... here.
30819         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
30820         Moved ...
30821         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
30822         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
30823         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
30824         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
30825         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
30826         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
30827         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
30828         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
30829         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
30830         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
30831         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
30833         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
30834         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
30836         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
30837         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
30839         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
30840         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
30841         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
30842         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
30843         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
30844         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
30845         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
30846         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
30847         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
30848         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
30849         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
30850         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
30851         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
30852         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
30853         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
30854         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
30855         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
30856         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
30857         Moved ...
30858         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
30859         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
30860         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
30861         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
30862         Moved ...
30863         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
30864         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
30865         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
30866         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
30867         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
30868         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
30869         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
30870         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
30871         Moved ...
30872         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
30873         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
30874         Moved ...
30875         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
30876         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
30877         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
30878         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
30879         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
30880         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
30881         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
30882         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
30883         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
30884         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
30885         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
30886         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
30887         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
30888         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
30889         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
30890         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
30891         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
30893         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
30894         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
30895         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
30896         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
30897         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
30899         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
30900         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
30901         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
30902         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
30903         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
30904         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
30905         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
30906         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
30907         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
30908         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
30910         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
30911         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
30913         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
30914         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
30915         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
30916         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
30917         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
30918         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
30919         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
30920         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
30921         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
30922         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
30923         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
30924         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
30925         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
30926         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
30927         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
30928         Update #include.
30929         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
30930         Likewise.
30931         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
30932         Likewise.
30933         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
30934         Likewise.
30935         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
30936         Likewise.
30937         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
30938         Likewise.
30939         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
30940         Likewise.
30941         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
30942         Likewise.
30943         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
30944         Likewise.
30945         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
30946         Likewise.
30947         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
30948         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
30949         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
30950         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
30951         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
30952         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
30953         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
30954         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
30955         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
30956         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
30957         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
30958         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
30959         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
30960         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
30961         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
30963         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
30964         that was previously under [RESET_PID].
30965         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30966         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
30967         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
30969         * sysdeps/i386/nptl/Implies: New file.
30970         * sysdeps/x86_64/nptl/Implies: New file.
30971         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
30972         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
30973         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
30974         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
30976         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
30977         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30978         (__libc_vfork): New strong alias.
30979         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
30980         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
30982         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
30983         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30984         (__libc_vfork): New strong alias.
30985         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
30986         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
30988         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
30989         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30990         (__libc_vfork): New strong alias.
30991         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
30992         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
30993         * nptl/pt-vfork.c: New file.
30994         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
30995         (libpthread: GLIBC_2.20): New version set (empty).
30997 2014-05-14  Will Newton  <will.newton@linaro.org>
30999         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
31000         rather than #if.
31002 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
31004         [BZ #16564]
31005         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
31006         arguments with exponent 65 or above.
31007         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
31008         arguments 0x1p113L or above.
31009         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
31010         to arguments 0x1p107L or above.
31011         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
31012         positive arguments with exponent 65 or above.
31013         * math/auto-libm-test-in: Add more tests of log1p.
31014         * math/auto-libm-test-out: Regenerated.
31016         [BZ #16928]
31017         * math/s_cacos.c (__cacos): Ensure zero real part of result from
31018         non-finite arguments is +0.
31019         * math/s_cacosf.c (__cacosf): Likewise.
31020         * math/s_cacosl.c (__cacosl): Likewise.
31021         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
31022         * sysdeps/i386/fpu/libm-test-ulps: Update.
31023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31025         [BZ #16927]
31026         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
31027         value.
31028         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
31029         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
31030         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
31031         for explicit high bit of mantissa when testing for argument equal
31032         to 1.
31033         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
31034         * sysdeps/i386/fpu/libm-test-ulps: Update.
31035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31037         [BZ #16516]
31038         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
31039         (__erf): Scale by 16 instead of 8 in potentially underflowing
31040         case.  Ensure exception if result actually underflows.
31041         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
31042         (__erff): Scale by 16 instead of 8 in potentially underflowing
31043         case.  Ensure exception if result actually underflows.
31044         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
31045         (efx8): Remove variable.
31046         (__erfl): Scale by 16 instead of 8 in potentially underflowing
31047         case.  Ensure exception if result actually underflows.
31048         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
31049         (efx8): Remove variable.
31050         (__erfl): Scale by 16 instead of 8 in potentially underflowing
31051         case.  Ensure exception if result actually underflows.
31052         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
31053         (efx8): Remove variable.
31054         (__erfl): Scale by 16 instead of 8 in potentially underflowing
31055         case.  Ensure exception if result actually underflows.
31056         * math/auto-libm-test-in: Add more tests of erf.
31057         * math/auto-libm-test-out: Regenerated.
31059 2014-05-14  Andreas Schwab  <schwab@suse.de>
31061         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
31062         Remove code conditionalized on USE___THREAD.
31064         * config.h.in (HAVE_PT_CHOWN): Define as 0.
31065         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
31066         not definedness.
31068 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
31070         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
31071         Define unconditionally.
31072         (__ASSUME_O_CLOEXEC): Likewise.
31073         (__ASSUME_SOCK_CLOEXEC): Likewise.
31074         (__ASSUME_IN_NONBLOCK): Likewise.
31075         (__ASSUME_PIPE2): Likewise.
31076         (__ASSUME_EVENTFD2): Likewise.
31077         (__ASSUME_SIGNALFD4): Likewise.
31078         (__ASSUME_DUP3): Likewise.
31079         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31080         (__ASSUME_DUP3): Do not define.
31081         (__ASSUME_EVENTFD2): Likewise.
31082         (__ASSUME_IN_NONBLOCK): Likewise.
31083         (__ASSUME_O_CLOEXEC): Likewise.
31084         (__ASSUME_PIPE2): Likewise.
31085         (__ASSUME_SIGNALFD4): Likewise.
31086         (__ASSUME_SOCK_CLOEXEC): Likewise.
31087         (__ASSUME_UTIMES): Undefine.
31088         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31089         (__ASSUME_UTIMES): Do not define.
31090         (__ASSUME_O_CLOEXEC): Likewise.
31091         (__ASSUME_SOCK_CLOEXEC): Likewise.
31092         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
31093         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
31094         0x020621].
31095         (__ASSUME_PIPE2): Likewise.
31096         (__ASSUME_EVENTFD2): Likewise.
31097         (__ASSUME_SIGNALFD4): Likewise.
31098         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
31099         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
31100         Do not define.
31101         (__ASSUME_EVENTFD2): Likewise.
31102         (__ASSUME_SIGNALFD4): Likewise.
31103         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31104         (__ASSUME_32BITUIDS): Likewise.
31105         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31106         (__ASSUME_IPC64): Likewise.
31107         (__ASSUME_ST_INO_64_BIT): Likewise.
31108         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
31109         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
31110         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31111         (__ASSUME_UTIMES): Do not define.
31112         (__ASSUME_PSELECT): Likewise.
31113         (__ASSUME_PPOLL): Likewise.
31114         (__ASSUME_O_CLOEXEC): Likewise.
31115         (__ASSUME_SOCK_CLOEXEC): Likewise.
31116         (__ASSUME_IN_NONBLOCK): Likewise.
31117         (__ASSUME_PIPE2): Likewise.
31118         (__ASSUME_EVENTFD2): Likewise.
31119         (__ASSUME_SIGNALFD4): Likewise.
31120         (__ASSUME_DUP3): Likewise.
31121         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31122         (__ASSUME_UTIMES): Likewise.
31123         (__ASSUME_O_CLOEXEC): Likewise.
31124         (__ASSUME_SOCK_CLOEXEC): Likewise.
31125         (__ASSUME_IN_NONBLOCK): Likewise.
31126         (__ASSUME_PIPE2): Likewise.
31127         (__ASSUME_EVENTFD2): Likewise.
31128         (__ASSUME_SIGNALFD4): Likewise.
31129         (__ASSUME_DUP3): Likewise.
31130         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31131         (__ASSUME_UTIMES): Likewise.
31132         (__ASSUME_O_CLOEXEC): Likewise.
31133         (__ASSUME_SOCK_CLOEXEC): Likewise.
31134         (__ASSUME_IN_NONBLOCK): Likewise.
31135         (__ASSUME_PIPE2): Likewise.
31136         (__ASSUME_EVENTFD2): Likewise.
31137         (__ASSUME_SIGNALFD4): Likewise.
31138         (__ASSUME_DUP3): Likewise.
31139         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
31140         Likewise.
31141         (__ASSUME_UTIMES): Likewise.
31142         (__ASSUME_EVENTFD2): Likewise.
31143         (__ASSUME_SIGNALFD4): Likewise.
31144         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31145         (__ASSUME_O_CLOEXEC): Likewise.
31146         (__ASSUME_SOCK_CLOEXEC): Likewise.
31147         (__ASSUME_IN_NONBLOCK): Likewise.
31148         (__ASSUME_PIPE2): Likewise.
31149         (__ASSUME_EVENTFD2): Likewise.
31150         (__ASSUME_SIGNALFD4): Likewise.
31151         (__ASSUME_DUP3): Likewise.
31152         (__ASSUME_UTIMES): Undefine.
31154         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
31155         feclearexcept.  Remove symbol versioning code.
31156         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
31157         symbol versioning code.
31158         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
31159         symbol versioning code.
31160         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
31161         feupdateenv.  Remove symbol versioning code.
31162         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
31163         fegetexceptflag.  Remove symbol versioning code.
31164         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
31165         fesetexceptflag.  Remove symbol versioning code.
31166         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
31167         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
31168         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
31169         (__posix_fadvise64_l32): Remove prototype.
31170         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
31171         code.
31173 2014-05-13  Roland McGrath  <roland@hack.frob.com>
31175         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
31176         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
31177         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
31178         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
31180 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
31182         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
31183         current working directory
31185 2014-05-13  Roland McGrath  <roland@hack.frob.com>
31187         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
31188         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
31189         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
31190         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
31191         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
31192         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
31193         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
31194         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
31195         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
31196         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
31197         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
31198         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
31199         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
31200         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
31201         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
31202         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
31203         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
31204         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
31205         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
31206         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
31207         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
31208         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
31209         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
31210         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
31211         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
31212         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
31213         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
31214         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
31215         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
31216         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
31217         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
31218         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
31219         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
31220         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
31221         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
31222         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
31223         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
31224         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
31225         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
31226         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
31227         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
31228         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
31230         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
31231         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
31233         * sysdeps/unix/sysv/linux/arm/Makefile
31234         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
31235         Add rt-aeabi_unwind_cpp_pr1.
31236         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
31237         Add nptl-aeabi_unwind_cpp_pr1.
31238         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
31239         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
31240         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
31241         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
31242         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
31243         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
31245         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
31246         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
31247         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
31248         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
31250         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
31251         Deconditionalize the code that was previously under [RESET_PID].
31252         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
31254         * sysdeps/generic/exit-thread.h: New file.
31255         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
31256         * include/unistd.h (__exit_thread): Remove declaration.
31257         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
31258         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
31259         * csu/libc-start.c: Include <exit-thread.h>.
31260         (LIBC_START_MAIN): Pass no argument to __exit_thread.
31261         * nptl/pthread_create.c: Include <exit-thread.h>.
31262         (start_thread): Call __exit_thread in place of __exit_thread_inline.
31263         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
31264         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
31265         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
31266         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
31267         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
31268         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
31269         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
31270         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
31271         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
31272         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
31273         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
31274         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
31275         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
31276         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
31277         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
31278         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
31280 2014-05-13  Andreas Schwab  <schwab@suse.de>
31282         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
31284 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
31286         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
31287         (__ASSUME_UTIMES): Do not condition on kernel version.
31288         (__ASSUME_PSELECT): Define unconditionally.
31289         (__ASSUME_PPOLL): Likewise.
31290         (__ASSUME_ATFCTS): Likewise.
31291         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
31292         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
31293         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
31294         (__ASSUME_UTIMENSAT): Define unconditionally.
31295         (__ASSUME_PRIVATE_FUTEX): Likewise.
31296         (__ASSUME_FALLOCATE): Likewise.
31297         (__ASSUME_O_CLOEXEC): Likewise.
31298         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
31299         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
31300         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
31301         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
31302         (__ASSUME_IN_NONBLOCK): Likewise.
31303         (__ASSUME_PIPE2): Likewise.
31304         (__ASSUME_EVENTFD2): Likewise.
31305         (__ASSUME_SIGNALFD4): Likewise.
31306         (__ASSUME_DUP3): Likewise.
31307         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
31308         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
31309         (__ASSUME_AT_RANDOM): Likewise.
31310         (__ASSUME_PREADV): Likewise.
31311         (__ASSUME_PWRITEV): Likewise.
31312         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
31313         (__ASSUME_F_GETOWN_EX): Define unconditionally.
31314         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
31315         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31316         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
31317         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31318         (__ASSUME_O_CLOEXEC): Define unconditionally.
31319         (__ASSUME_PSELECT): Do not undefine conditionally.
31320         (__ASSUME_PPOLL): Likewise.
31321         (__ASSUME_ATFCTS): Likewise.
31322         (__ASSUME_SET_ROBUST_LIST): Likewise.
31323         (__ASSUME_UTIMENSAT): Likewise.
31324         (__ASSUME_FDATASYNC): Define unconditionally.
31325         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31326         (__ASSUME_SIGFRAME_V2): Likewise.
31327         )__ASSUME_EVENTFD2): Likewise.
31328         (__ASSUME_SIGNALFD4): Likewise.
31329         (__ASSUME_PSELECT): Do not undefine conditionally.
31330         (__ASSUME_PPOLL): Likewise.
31331         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31332         (__ASSUME_PSELECT): Define unconditionally.
31333         (__ASSUME_PPOLL): Likewise.
31334         (__ASSUME_O_CLOEXEC): Likewise.
31335         (__ASSUME_SOCK_CLOEXEC): Likewise.
31336         (__ASSUME_IN_NONBLOCK): Likewise.
31337         (__ASSUME_PIPE2): Likewise.
31338         (__ASSUME_EVENTFD2): Likewise.
31339         (__ASSUME_SIGNALFD4): Likewise.
31340         (__ASSUME_DUP3): Likewise.
31341         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31342         (__ASSUME_O_CLOEXEC): Likewise.
31343         (__ASSUME_SOCK_CLOEXEC): Likewise.
31344         (__ASSUME_IN_NONBLOCK): Likewise.
31345         (__ASSUME_PIPE2): Likewise.
31346         (__ASSUME_EVENTFD2): Likewise.
31347         (__ASSUME_SIGNALFD4): Likewise.
31348         (__ASSUME_DUP3): Likewise.
31349         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31350         (__ASSUME_EVENTFD2): Likewise.
31351         (__ASSUME_SIGNALFD4): Likewise.
31352         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
31354 2014-05-12  Andreas Schwab  <schwab@suse.de>
31356         [BZ #16932]
31357         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
31358         (_nss_nis_gethostbyname4_r): Return error if item length is larger
31359         than maximum RPC packet size.
31360         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
31361         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
31362         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
31363         (_nss_nis_getservbyport_r): Likewise.
31365 2014-05-12  Will Newton  <will.newton@linaro.org>
31367         * malloc/Makefile (tests): Add tst-mallopt.
31368         * malloc/tst-mallopt.c: New file.
31370 2014-05-09  Roland McGrath  <roland@hack.frob.com>
31372         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
31373         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
31375 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31377         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
31378         (tst-tlsmod6.so): Likewise.
31380 2014-05-09  Roland McGrath  <roland@hack.frob.com>
31382         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
31384 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
31386         [BZ #16064]
31387         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
31388         and <dl-procinfo.h>.
31389         (__fegetenv): Save SSE state in envp->__eip if supported.
31390         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
31391         envp->__eip if supported.
31392         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
31393         and <dl-procinfo.h>.
31394         (__fesetenv): Always set __eip, __cs_selector, __opcode,
31395         __data_offset and __data_selector in environment to 0.  Set SSE
31396         state if supported.
31397         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
31398         test-fenv-sse.
31399         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
31400         -mfpmath=sse.
31401         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
31403 2014-05-09  Will Newton  <will.newton@linaro.org>
31405         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
31406         and libc_relro_required for ARM.
31407         * sysdeps/arm/preconfigure: Regenerate.
31409 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
31410             Stefan Liebler  <stli@linux.vnet.ibm.com>
31412         * config.make.in (enable-lock-elision): New Makefile variable.
31413         * configure.ac: Likewise.
31414         * configure: Regenerate.
31415         * sysdeps/s390/configure.ac:
31416         Add check for gcc transactions support.
31417         * sysdeps/s390/configure: Regenerate.
31418         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
31419         Build elision files if enabled.
31420         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
31421         Add lock elision support for s390.
31422         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
31423         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
31424         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
31425         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
31426         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
31427         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
31428         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
31429         Likewise.
31430         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
31431         Likewise.
31432         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
31433         Likewise.
31434         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
31435         Likewise.
31436         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
31437         (__lll_timedlock_elision, __lll_lock_elision)
31438         (__lll_unlock_elision, __lll_trylock_elision)
31439         (lll_timedlock_elision, lll_lock_elision)
31440         (lll_unlock_elision, lll_trylock_elision): Add.
31441         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
31442         (pthread_mutex_t): Add lock elision support for s390.
31444 2014-05-14  Wilco  <wdijkstr@arm.com>
31446         * sysdeps/arm/fclrexcpt.c: Cleanup.
31447         * sysdeps/arm/fedisblxcpt.c: Cleanup.
31448         * sysdeps/arm/feenablxcpt.c: Cleanup.
31449         * sysdeps/arm/fegetenv.c: Cleanup.
31450         * sysdeps/arm/fegetexcept.c: Cleanup.
31451         * sysdeps/arm/fegetround.c: Cleanup.
31452         * sysdeps/arm/feholdexcpt.c: Cleanup.
31453         * sysdeps/arm/fesetenv.c: Cleanup.
31454         * sysdeps/arm/fesetround.c: Cleanup.
31455         * sysdeps/arm/feupdateenv.c: Cleanup.
31456         * sysdeps/arm/fgetexcptflg.c: Cleanup.
31457         * sysdeps/arm/fraiseexcpt.c: Cleanup.
31458         * sysdeps/arm/fsetexcptflg.c: Cleanup.
31459         * sysdeps/arm/ftestexcept.c: Cleanup.
31460         * sysdeps/arm/get-rounding-mode.h: Cleanup.
31461         * sysdeps/arm/setfpucw.c: Cleanup.
31463 2014-05-09  Will Newton  <will.newton@linaro.org>
31465         * sysdeps/arm/armv7/strcmp.S: New file.
31466         * NEWS: Mention addition of ARMv7 optimized strcmp.
31468 2014-05-08  Roland McGrath  <roland@hack.frob.com>
31470         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
31471         look for %.ac rather than %.in.
31473         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
31474         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
31475         * sysdeps/mach/hurd/configure: Regenerated.
31476         * sysdeps/unix/sysv/linux/configure: Regenerated.
31478         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
31480 2014-05-07  Steve Ellcey  <sellcey@mips.com>
31482         [BZ# 16922]
31483         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
31484         (LONG_SUB): Ditto.
31485         (PTR_SUB): Ditto.
31487 2014-05-07  Andreas Schwab  <schwab@suse.de>
31489         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
31490         when skipping over non-matching result from nscd.
31492 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
31494         [BZ #16876]
31495         * nptl/sockperf.c (client): Check socket return value.
31497         [BZ #16877]
31498         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
31499         nscd security class.
31501 2014-05-06  Roland McGrath  <roland@hack.frob.com>
31503         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
31504         * sysdeps/arm/unwind.h: ... here.
31506 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
31508         [BZ# 16916]
31509         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
31510         Define.
31512 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31514         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
31515         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
31516         multiarch strncpy for PPC64.
31517         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
31518         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
31519         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
31520         multiarch optimizations.
31521         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31522         (__libc_ifunc_impl_list): Likewise.
31523         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
31524         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
31525         multiarch stpncpy for PPC64.
31526         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
31527         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
31529 2014-05-06  Andreas Schwab  <schwab@suse.de>
31531         [BZ #16912]
31532         * gmon/mcount.c (_MCOUNT_DECL): Use
31533         atomic_compare_and_exchange_bool_acq instead of
31534         catomic_compare_and_exchange_bool_acq.
31536 2014-05-05  Roland McGrath  <roland@hack.frob.com>
31538         * elf/Makefile (others, install-bin): Remove pldd.
31539         (pldd-modules): Variable removed.
31540         ($(objpfx)pldd): Target removed.
31541         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
31542         (others, install-bin): Append pldd here.
31543         ($(objpfx)pldd): New target.
31545         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
31546         to 0, so the first #if test emitted later doesn't see it undefined.
31547         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
31548         * sysdeps/gnu/errlist.c: Regenerated.
31550 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31552         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
31553         [libc_hidden_builtin_def]: Define to empty value.
31554         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
31555         [libc_hidden_builtin_def]: Likewise.
31556         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
31557         [libc_hidden_builtin_def]: Likewise.
31558         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
31559         [libc_hidden_builtin_def]: Likewise.
31560         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
31561         __redirect_memcpy and define ifunc as default hidden symbol.
31562         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
31563         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
31565 2014-05-04  Adam Conrad  <adconrad@0c3.net>
31567         * locale/iso-4217.def: Reintroduce XDR currency.
31569 2014-05-04  Allan McRae  <allan@archlinux.org>
31571         * po/eo.po: Update Esperanto translation from translation project.
31573 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
31575         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
31576         and FEATURE_INDEX_MAX to 1.
31577         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
31579 2014-05-01  Steve Ellcey  <sellcey@mips.com>
31581         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
31582         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
31583         * iconvdata/big5.c (ONE_DIRECTION): Define.
31584         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
31585         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
31586         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
31587         * iconvdata/cp932.c (ONE_DIRECTION): Define.
31588         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
31589         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
31590         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
31591         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
31592         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
31593         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
31594         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
31595         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
31596         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
31597         * iconvdata/gbk.c (ONE_DIRECTION): Define.
31598         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
31599         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
31600         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
31601         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
31602         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
31603         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
31604         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
31605         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
31606         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
31607         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
31608         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
31609         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
31610         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
31611         * iconvdata/iso646.c (ONE_DIRECTION): Define.
31612         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
31613         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
31614         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
31615         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
31616         * iconvdata/johab.c (ONE_DIRECTION): Define.
31617         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
31618         * iconvdata/sjis.c (ONE_DIRECTION): Define.
31619         * iconvdata/t.61.c (ONE_DIRECTION): Define.
31620         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
31621         * iconvdata/tscii.c (ONE_DIRECTION): Define.
31622         * iconvdata/uhc.c (ONE_DIRECTION): Define.
31623         * iconvdata/unicode.c (ONE_DIRECTION): Define.
31624         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
31625         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
31626         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
31628 2014-05-01  Roland McGrath  <roland@hack.frob.com>
31630         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
31631         (_IO_JUMPS_OFFSET): Define to 0.
31633         * nptl/sysdeps/pthread/bits/libc-lock.h
31634         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
31635         (__libc_lock_define_initialized_recursive): Always define using
31636         initializer.  Modern compilers treat uninitialized (implicit zero) and
31637         explicit zero initializers the same (i.e. put the datum in bss).
31639 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
31641         * nscd/nscd-client.h: Include <string.h>.
31643 2014-05-01  David S. Miller  <davem@davemloft.net>
31645         [BZ #16885]
31646         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
31647         multiple zero bytes exist at the end of a string.
31648         Reported by Aurelien Jarno <aurelien@aurel32.net>
31650         * string/test-strcmp.c (check): Add explicit test for situations where
31651         there are multiple zero bytes after the first.
31653 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
31655         [BZ #16890]
31656         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
31657         when compiling wprintf.
31658         * stdio-common/tstdiomisc.c (t3): New function.
31659         (main): Call it.
31661 2014-05-01  Steve Ellcey  <sellcey@mips.com>
31663         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
31664         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
31665         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
31666         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
31668 2014-05-01  Steve Ellcey  <sellcey@mips.com>
31670         * stdlib/longlong.h: Updated from GCC.
31672 2014-05-01  Will Newton  <will.newton@linaro.org>
31673             Bernard Ogden  <bernie.ogden@linaro.org>
31675         * NEWS: Update fixed bug list.
31677         [BZ #15119]
31678         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
31680 2014-04-30  David S. Miller  <davem@davemloft.net>
31682         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
31683         (libc_feholdexcept_setround_sparc_ctx): New function.
31684         (libc_fesetenv_sparc_ctx): Likewise.
31685         (libc_feupdateenv_sparc_ctx): Likewise.
31686         (libc_feholdsetround_sparc_ctx): Likewise.
31687         (libc_feholdexcept_setround_ctx): Define.
31688         (libc_feholdexcept_setroundf_ctx): Likewise.
31689         (libc_feholdexcept_setroundl_ctx): Likewise.
31690         (libc_fesetenv_ctx): Likewise.
31691         (libc_fesetenvf_ctx): Likewise.
31692         (libc_fesetenvl_ctx): Likewise.
31693         (libc_feupdateenv_ctx): Likewise.
31694         (libc_feupdateenvf_ctx): Likewise.
31695         (libc_feupdateenvl_ctx): Likewise.
31696         (libc_feresetround_ctx): Likewise.
31697         (libc_feresetroundf_ctx): Likewise.
31698         (libc_feresetroundl_ctx): Likewise.
31699         (libc_feholdsetround_ctx): Likewise.
31700         (libc_feholdsetroundf_ctx): Likewise.
31701         (libc_feholdsetroundl_ctx): Likewise.
31703         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
31704         with __USE_GNU instead of XOPEN cpp guards.
31706         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
31707         0.
31709         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
31710         with XOPEN cpp guards.
31712 2014-04-30  Julian Brown  <julian@codesourcery.com>
31714         [BZ #16888]
31715         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
31716         handling.
31718 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
31720         [BZ #9894]
31721         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
31722         Change to 2.6.32.
31723         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
31724         * sysdeps/unix/sysv/linux/configure: Regenerated.
31725         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
31726         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
31727         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
31728         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
31729         * README: Update reference to required Linux kernel version.
31730         * manual/install.texi (Linux): Update reference to required Linux
31731         kernel headers version.
31732         * INSTALL: Regenerated.
31734         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
31735         header inclusion.
31736         [POSIX] (limits.h): Likewise.
31737         [POSIX] (math.h): Likewise.
31738         [POSIX] (sys/wait.h): Likewise.
31739         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
31740         function.
31741         [POSIX] (stddef.h): Do not allow header inclusion.
31743 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31745         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
31747 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
31749         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
31750         Return immediately after lll_futex_wake.
31752 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31754         [BZ #16791]
31755         * nscd/nscd-client.h (datahead_init_common): Initialize entire
31756         structure.
31757         (datahead_init_pos): Call datahead_init_common early.
31758         (datahead_init_neg): Likewise.
31760         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
31761         datahead_init_neg): New functions.
31762         * nscd/aicache.c (addhstaiX): Use them.
31763         * nscd/grpcache.c (cache_addgr): Likewise.
31764         * nscd/hstcache.c (cache_addhst): Likewise.
31765         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31766         * nscd/netgroupcache.c (do_notfound): Likewise.
31767         (addgetnetgrentX): Likewise.
31768         (addinnetgrX): Likewise.
31769         * nscd/pwdcache.c (cache_addpw): Likewise.
31770         * nscd/servicescache.c (cache_addserv): Likewise.
31772 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31773             Atsushi Onoe  <atsushi@onoe.org>
31775         [BZ #14308]
31776         [BZ #12994]
31777         [BZ #13651]
31778         * resolv/res_query.c (__libc_res_nsearch): Return if at least
31779         one response is valid.
31780         * resolv/res_send.c (send_dg): Check for validity of other
31781         response if the current response is a referral.
31783 2014-04-29  Steve Ellcey  <sellcey@mips.com>
31785         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
31787 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
31789         [BZ #16823]
31790         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
31791         Always divide by positive zero when computing -Inf result.
31792         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
31793         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
31795 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31797         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
31798         FPSCR if value do not change.
31799         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31800         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
31801         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
31802         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
31803         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
31804         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
31805         function.
31807 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
31809         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
31810         * sysdeps/unix/sysv/linux/hppa: Move directory from
31811         ports/systeps/unix/sysv/linux/hppa.
31812         * README: Update listing for hppa-*-linux-gnu.
31814 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
31816         [BZ #16754]
31817         * manual/stdio.texi (Hook functions): Fix types of stream hook
31818         functions.
31819         [BZ #16854]
31820         * socket/sys/socket.h: Fix typo in comment.
31822 2014-04-28  Wilco  <wdijkstr@arm.com>
31824         * sysdeps/arm/fenv_private.h: New file.
31825         * sysdeps/arm/math_private.h: New file.
31826         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
31828 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
31830         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
31831         with __int128_t.
31832         (La_x86_64_retval): Likewise.
31834 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
31836         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
31837         fpsr if value didn't change.
31838         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
31839         to fpcr if value didn't change.
31840         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
31841         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
31842         fpsr or fpcr if value didn't change.
31843         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
31844         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
31845         fpcr if value didn't change.
31846         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
31847         to fpsr if value didn't change.
31849 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
31851         * nptl/tst-sem3.c: Use test-skeleton.c
31852         (main): Rename to do_test.  Use return instead of
31853         exit.
31854         * nptl/tst-sem4.c: Use test-skeleton.c
31855         (main): Rename to do_test.
31857 2014-04-22  David S. Miller  <davem@davemloft.net>
31859         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
31860         (struct sigaction): New struct member __glibc_reserved0, change
31861         type of sa_flags to int.
31863 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
31865         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
31866         (COUNT_LEADING_ZEROS_0): Define for AArch64.
31868 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31870         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
31871         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
31873 2014-04-22  Will Newton  <will.newton@linaro.org>
31874             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
31876         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
31877         (__longjmp): Add longjmp and longjmp_target SystemTap
31878         probes.
31879         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
31880         (__sigsetjmp): Add setjmp SystemTap probe.
31882 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
31884         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
31885         match manual order.
31887 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31889         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
31891         * sysdeps/powerpc/fpu/fenv_private.h
31892         (libc_feholdexcept_setroundl_ctx): Define to
31893         libc_feholdexcept_setround_ppc_ctx.
31894         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
31895         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
31896         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
31897         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
31899 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
31901         * sysdeps/aarch64/math-tests.h: New file.
31903 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
31905         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
31906         New.
31907         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31908         Check and set bit_AVX2_Usable.
31909         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
31910         macro.
31911         (bit_AVX2): Likewise.
31912         (index_AVX2_Usable): Likewise.
31913         (CPUID_AVX2): Likewise.
31914         (HAS_AVX2): Likewise.
31916 2014-04-17  Will Newton  <will.newton@linaro.org>
31918         * manual/setjmp.texi (System V contexts): Add note that
31919         calling setcontext on a context created by a call to a
31920         signal handler is undefined.  Update text to note that
31921         setcontext from a signal handler is possible but not
31922         recommended.
31924         [BZ #16629]
31925         * stdlib/tst-setcontext.c: Include signal.h.
31926         (main): Check that the signal stack before and
31927         after swapcontext is the same.
31929         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
31930         Re-implement to restore registers in user code and avoid
31931         rt_sigreturn system call.
31933 2014-04-17  Wilco  <wdijkstr@arm.com>
31935         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
31936         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
31937         * math/test-fenv.c: Skip exception trap tests on targets which only
31938         support non-stop mode.
31940 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
31941             Wilco Dijkstra  <wilco.dijkstra@arm.com>
31943         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
31944         (libc_feholdsetround_aarch64_ctx)
31945         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
31946         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
31947         (libc_feresetround_ctx, libc_feresetroundf_ctx)
31948         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
31949         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
31950         (libc_feresetround_noexl_ctx): Define.
31952 2014-04-16  Richard Henderson  <rth@redhat.com>
31954         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
31956         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
31957         unwind tables.
31959         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
31960         const from the non-libc, non-ldso copy.
31962         * sysdeps/alpha/libm-test-ulps: Regenerate.
31964 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
31965             Wilco Dijkstra  <wilco.dijkstra@arm.com>
31967         * sysdeps/aarch64/fpu/math_private.h: New file.
31969 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31971         * sysdeps/aarch64/libm-test-ulps: Regenerate.
31973 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
31975         [BZ #16275]
31976         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
31977         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
31978         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
31979         Intel MPX bound registers before _dl_profile_fixup.
31980         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
31981         registers after _dl_profile_fixup.  Save and restore bound
31982         registers bnd0/bnd1 when calling _dl_call_pltexit.
31983         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
31984         (LR_BND_OFFSET): Likewise.
31985         (LRV_BND0_OFFSET): Likewise.
31986         (LRV_BND1_OFFSET): Likewise.
31988 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31990         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
31991         to...
31992         * sysdeps/mach/hurd/i386/tls.h: ... here.
31993         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
31994         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
31995         fields.
31997 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31999         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
32001 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32003         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32005 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32007         [BZ #14770]
32008         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
32009         * sysdeps/s390/configure: Regenerate.
32011         [BZ #16824]
32012         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
32013         Set round-to-nearest internally to reduce error accumulation.
32015 2014-04-16  Alan Modra  <amodra@gmail.com>
32017         [BZ #16740]
32018         [BZ #16619]
32019         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
32020         * math/libm-test.inc (frexp_test_data): Add tests.
32021         * NEWS: Update fixed bug list.
32023 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32025         * benchtests/Makefile: Depend on libraries in build directory.
32026         (bench-math): Separate out math tests.
32027         (bench-pthread): Separate out pthread tests.
32028         (bench): Include math and pthread tests.
32030 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
32032         [BZ #16831]
32033         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
32034         _dl_debug_initialize.
32036         * configure.ac: Remove SELinux header check.
32037         * configure: Regenerate.
32038         * nscd/selinux.c (perms): Array of const char* to permission names.
32039         (nscd_request_avc_has_perm): Call security_deny_unknown to find
32040         default policy. Call string_to_security_class and string_to_av_perm to
32041         translate strings. Enforce default policy and call avs_has_perm with
32042         results of translated strings.
32044 2014-04-13  David S. Miller  <davem@davemloft.net>
32046         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32048 2014-04-12  Allan McRae  <allan@archlinux.org>
32050         [BZ #16838]
32051         * manual/string.texi (Collation Functions): Fix qsort argument
32052         order in example.
32053         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32055 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
32057         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
32058         Make the test a no-op if there are no exceptions defined.
32060 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
32062         * elf/Makefile (tests): make tst-dlopen-aout conditional on
32063         enable-hardcoded-path-in-tests
32065 2014-04-11  Will Newton  <will.newton@linaro.org>
32067         * benchtests/Makefile (extra-objs): Add json-lib.o.
32068         (bench-func): Tidy up JSON output.
32069         * benchtests/bench-skeleton.c: Include json-lib.h.
32070         (main): Use JSON library functions to do output of
32071         benchmark results.
32072         * benchtests/bench-timing-type.c (main): Output the
32073         timing type simply, leaving formatting to the user.
32074         * benchtests/json-lib.c: New file.
32075         * benchtests/json-lib.h: Likewise.
32077 2014-04-11  Torvald Riegel  <triegel@redhat.com>
32079         [BZ #15215]
32080         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
32081         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
32082         memory barriers.  Add comments.
32083         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
32084         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
32085         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
32086         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
32087         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
32088         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
32090 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32092         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
32093         * sysdeps/s390/s390-64/configure.ac: ... this ...
32094         * sysdeps/s390/configure.ac: ... to here.
32095         * sysdeps/s390/s390-32/configure: Delete file.
32096         * sysdeps/s390/s390-64/configure: Delete file.
32097         * sysdeps/s390/configure: Regenerate.
32099 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
32101         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
32103 2014-04-11  Will Newton  <will.newton@linaro.org>
32105         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
32106         to zero if it is not defined elsewhere.  (mtrim): Test
32107         the value of MALLOC_DEBUG with #if rather than #ifdef.
32109 2014-04-10 Torvald Riegel  <triegel@redhat.com>
32111         * benchtests/pthread_once-inputs: New file.
32112         * benchtests/pthread_once-source.c: New file.
32113         * benchtests/README: Update documentation.
32115 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
32116             H.J. Lu  <hongjiu.lu@intel.com>
32118         [BZ #16275]
32119         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
32120         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
32121         * sysdeps/x86_64/configure: Regenerated.
32122         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
32123         macro.
32124         (REGISTER_SAVE_RAX): Likewise.
32125         (REGISTER_SAVE_RCX): Likewise.
32126         (REGISTER_SAVE_RDX): Likewise.
32127         (REGISTER_SAVE_RSI): Likewise.
32128         (REGISTER_SAVE_RDI): Likewise.
32129         (REGISTER_SAVE_R8): Likewise.
32130         (REGISTER_SAVE_R9): Likewise.
32131         (REGISTER_SAVE_BND0): Likewise.
32132         (REGISTER_SAVE_BND1): Likewise.
32133         (REGISTER_SAVE_BND2): Likewise.
32134         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
32135         bound registers when calling _dl_fixup.
32137 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32139         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
32140         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
32141         of its definition.
32142         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
32143         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
32144         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
32145         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
32146         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
32147         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
32148         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
32150 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
32152         [BZ #15514]
32153         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
32154         pathconf(_PC_NAME_MAX).
32156 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32158         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
32159         Remove macro usage.
32160         (__PTHREAD_SPINS): Move definition to ...
32161         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32162         (__PTHREAD_SPINS): ... here.
32163         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32164         (__PTHREAD_SPIN): Likewise.
32165         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
32166         (__PTHREAD_SPIN): Likewise.
32167         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
32168         (__PTHREAD_SPIN): Likewise.
32169         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
32170         (__PTHREAD_SPIN): Likewise.
32171         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
32172         (__PTHREAD_SPIN): Likewise.
32173         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
32174         (__PTHREAD_SPIN): Likewise.
32175         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
32176         (__PTHREAD_SPIN): Likewise.
32177         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
32178         (__PTHREAD_SPIN): Likewise.
32179         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
32180         (__PTHREAD_SPIN): Likewise.
32181         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
32182         (__PTHREAD_SPIN): Likewise.
32183         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
32184         (__PTHREAD_SPIN): Likewise.
32185         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
32186         (__PTHREAD_SPIN): Likewise.
32188         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
32189         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
32190         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
32191         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
32192         imply folder.
32193         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
32194         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
32195         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
32196         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
32197         correct imply path.
32198         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
32199         strlen symbol for non multi-arch builds.
32200         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
32201         missing hidden_def and weak_alias.
32203 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
32205         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
32207 2014-04-07  Will Newton  <will.newton@linaro.org>
32209         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
32210         and contents.  [!_LIBC] Remove #ifndef and contents.
32211         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
32212         * string/memccpy.c (__memccpy): Use ANSI prototype.
32213         * string/memfrob.c (memfrob): Likewise.
32214         * string/strcoll.c (STRCOLL): Likewise.
32215         * string/strlen.c (strlen): Likewise.
32216         * string/strtok.c (STRTOK): Likewise.
32217         * string/strcat.c: Remove unused #include of memcopy.h.
32218         (strcat): Use ANSI prototype.
32219         * string/strchr.c: Remove unused #include of memcopy.h.
32220         (strchr): Use ANSI prototype.
32221         * string/strcmp.c: Remove unused #include of memcopy.h.
32222         (strcmp): Use ANSI prototype.
32223         * string/strcpy.c: Remove unused #include of memcopy.h.
32224         (strcpy): Use ANSI prototype.
32226 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32228         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
32229         * config.make.in (config-extra-cppflags): Set it from
32230         libc_extra_cppflags.
32231         * configure.ac (libc_extra_cflags): Make it accumulate over
32232         configure fragments.
32233         (libc_extra_cppflags): New flag.
32234         * configure. Regenerate.
32235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
32236         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
32237         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
32238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
32240         [BZ #16815]
32241         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
32242         result for FE_DOWNWARD rounding mode.
32243         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
32244         Likewise.
32245         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32247 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
32249         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
32250         in function argument name.
32252 2014-04-03  David Svoboda  <svoboda@cert.org>
32254         [BZ #5666]
32255         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
32256         explicitly.
32258 2014-04-03  Roland McGrath  <roland@hack.frob.com>
32260         * elf/dl-unmap-segments.h: New file.
32261         * sysdeps/generic/ldsodefs.h
32262         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
32263         * elf/dl-close.c: Include <dl-unmap-segments.h>.
32264         * elf/dl-fptr.c: Likewise.
32265         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
32266         * sysdeps/aarch64/tlsdesc.c: Likewise.
32267         * sysdeps/arm/tlsdesc.c: Likewise.
32268         * sysdeps/i386/tlsdesc.c: Likewise.
32269         * sysdeps/tile/dl-runtime.c: Likewise.
32270         * sysdeps/x86_64/tlsdesc.c: Likewise.
32271         * elf/dl-load.h: New file.
32272         * elf/dl-load.c: Include it.
32273         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
32274         Macros moved to dl-load.h.
32275         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
32276         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
32277         Use _dl_unmap_segments in place of __munmap.
32278         Break out segment-mapping loop into ...
32279         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
32281 2014-04-03  Will Newton  <will.newton@linaro.org>
32283         * elf/dl-lookup.c (do_lookup_x): Remove comment
32284         referring to nested function and move variable
32285         declarations down to before first use.
32287 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
32289         [BZ #16799]
32290         [BZ #16800]
32291         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
32292         with 0 numerator.
32293         * math/s_catanf.c (__catanf): Likewise.
32294         * math/s_catanh.c (__catanh): Likewise.
32295         * math/s_catanhf.c (__catanhf): Likewise.
32296         * math/s_catanhl.c (__catanhl): Likewise.
32297         * math/s_catanl.c (__catanl): Likewise.
32298         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
32299         by positive zero when computing -Inf result.
32300         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
32301         (catanh_test): Likewise.
32302         * sysdeps/i386/fpu/libm-test-ulps: Update.
32303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32305         [BZ #16789]
32306         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
32307         instead of using underflowing value in computing result.
32308         * math/s_clog10.c (__clog10): Likewise.
32309         * math/s_clog10f.c (__clog10f): Likewise.
32310         * math/s_clog10l.c (__clog10l): Likewise.
32311         * math/s_clogf.c (__clogf): Likewise.
32312         * math/s_clogl.c (__clogl): Likewise.
32313         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
32314         (clog10_test): Likewise.
32315         * sysdeps/i386/fpu/libm-test-ulps: Update.
32316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32318 2014-04-02  Alan Modra  <amodra@gmail.com>
32320         [BZ #16739]
32321         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
32322         output when value is near a power of two.  Use int64_t for lx and
32323         remove casts.  Use decimal rather than hex exponent constants.
32324         Don't use long double multiplication when double will suffice.
32325         * math/libm-test.inc (nextafter_test_data): Add tests.
32326         * NEWS: Add 16739 and 16786 to bug list.
32328         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
32330         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
32332 2014-04-01  Will Newton  <will.newton@linaro.org>
32334         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
32335         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
32337 2014-04-01  Florian Weimer  <fweimer@redhat.com>
32339         [BZ #13347]
32340         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
32341         * nptl/tst-setuid2.c: New file.
32342         * nptl/Makefile (xtests): Add tst-setuid2.
32344 2014-04-01  Alan Modra  <amodra@gmail.com>
32346         [BZ #16786]
32347         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
32349 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
32351         [BZ #6803]
32352         [BZ #6804]
32353         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
32354         set errno as appropriate.
32355         * math/w_scalbf.c (__scalbf): Likewise.
32356         * math/w_scalbl.c (__scalbl): Likewise.
32357         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
32358         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
32359         * math/libm-test.inc (scalb_test_data): Add errno expectations.
32360         Add more NaN tests.
32362         [BZ #16349]
32363         * math/w_atan2.c: Include <errno.h>.
32364         (__atan2): Set errno for result underflowing to zero.
32365         * math/w_atan2f.c: Include <errno.h>.
32366         (__atan2f): Set errno for result underflowing to zero.
32367         * math/w_atan2l.c: Include <errno.h>.
32368         (__atan2l): Set errno for result underflowing to zero.
32369         * math/auto-libm-test-in: Don't allow missing errno for some atan2
32370         tests.
32371         * math/auto-libm-test-out: Regenerated.
32373 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32375         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
32376         Encode instruction correctly in little endian.
32377         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
32378         Likewise.
32379         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
32380         Likewise.
32381         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
32382         Likewise.
32383         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
32384         Likewise.
32386 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
32388         [BZ #9894]
32389         * sysdeps/unix/sysv/linux/kernel-features.h
32390         [__sparc__ && !__arch64__ && !__sparc_v9__]
32391         (__ASSUME_SET_ROBUST_LIST): Do not define.
32392         [__sparc__ && !__arch64__ && !__sparc_v9__]
32393         (__ASSUME_FUTEX_LOCK_PI): Likewise.
32394         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
32395         Likewise.
32396         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32397         (__ASSUME_FUTEX_LOCK_PI): Undefine.
32398         (__ASSUME_REQUEUE_PI): Likewise.
32399         (__ASSUME_SET_ROBUST_LIST): Likewise.
32400         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32401         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
32402         Undefine.
32403         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32404         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
32405         Likewise.
32406         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
32407         Likewise.
32408         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
32409         Likewise.
32410         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32411         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
32412         Undefine.
32413         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
32414         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
32415         Likewise.
32417         [BZ #16648]
32418         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32419         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
32420         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
32422 2014-03-31  Will Newton  <will.newton@linaro.org>
32424         * benchtests/Makefile (bench): Add ffs and ffsll to list
32425         of tests.
32426         * benchtests/ffs-inputs: New file.
32427         * benchtests/ffsll-inputs: Likewise.
32429 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
32431         [BZ #16770]
32432         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
32433         too large before casting to int.
32434         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
32435         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
32436         * math/libm-test.inc (scalb_test_data): Add more tests.
32438 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32440         * benchtests/Makefile (DETAILED_OPT): New make option.
32441         (bench-func): Run benchmark program with -d if DETAILED_OPT is
32442         set.
32443         * benchtests/bench-skeleton.c: Include stdbool.h.
32444         (main): Store and print timings per input.
32445         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
32446         member to each argument value.
32447         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
32448         (_print_arg_data): Initialize per-input timing to 0.
32450         * benchtests/Makefile (timing-type): New binary.
32451         (bench-clean): Also remove bench-timing-type.
32452         (bench): New target for timing-type.
32453         (bench-func): Print output in JSON format.
32454         * benchtests/bench-skeleton.c (main): Print output in JSON
32455         format.
32456         * benchtests/bench-timing-type.c: New file.
32457         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
32458         (TIMING_PRINT_STATS): Remove.
32459         * benchtests/scripts/bench.py (_print_arg_data): Store variant
32460         name separately.
32462         * benchtests/bench-modf.c: Remove.
32463         * benchtests/modf-inputs: New inputs file.
32465 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
32467         [BZ #16362]
32468         * math/s_clog10.c (M_PI_LOG10E): New macro.
32469         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
32470         imaginary parts are 0.
32471         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
32472         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
32473         imaginary parts are 0.
32474         * math/s_clog10l.c (M_PI_LOG10El): New macro.
32475         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
32476         imaginary parts are 0.
32477         * math/libm-test.inc (clog10_test_data): Update expected results
32478         for when real and imaginary parts are 0.
32480 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
32482         * elf/dl-load.c: Finish conversion of __builtin_expect into
32483         __glibc_{un}likely.
32485 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
32487         [BZ #16348]
32488         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
32489         1+x for argument with exponent below -67.
32490         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
32491         Likewise.
32492         * math/auto-libm-test-in: Add more tests of exp.
32493         * math/auto-libm-test-out: Regenerated.
32495 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32497         [BZ #16759]
32498         * inet/getnetgrent_r.c (get_nonempty_val): New function.
32499         (nscd_getnetgrent): Use it.
32501         [BZ #16760]
32502         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
32503         of stpcpy.
32505 2014-03-27  Andi Kleen  <ak@linux.intel.com>
32507         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
32508         (lll_robust_lock, lll_cond_lock, lll_timedlock)
32509         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
32510         (lll_robust_unlock): Remove out of line section. Use cfi
32511         intrinsics.
32512         (LLL_STUB_UNWIND_INFO*): Remove.
32513         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
32514         (lll_robust_lock, lll_cond_lock, lll_timedlock)
32515         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
32516         (lll_robust_unlock): Remove out of line section. Use cfi
32517         intrinsics.
32518         (LLL_STUB_UNWIND_INFO*): Remove.
32520 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32522         [BZ #16758]
32523         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
32524         blank values.
32526 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
32528         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
32530 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
32532         [BZ #16198]
32533         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
32534         fnstenv.
32535         * math/test-fenv-preserve.c: New file.
32536         * math/Makefile (tests): Add test-fenv-preserve.
32538 2014-03-26  Will Newton <will.newton@linaro.org>
32540         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
32542 2014-03-25  Roland McGrath  <roland@hack.frob.com>
32544         * scripts/versionlist.awk: Partition the version sets and emit all
32545         GLIBC_* (sorted) before all others (sorted).
32547 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
32549         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
32550         GLIBC_2.2.5 version.
32552 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32554         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
32555         calls.
32557         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
32558         previous change.
32560         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32562 2014-03-25  Andreas Schwab  <schwab@suse.de>
32564         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
32565         label to be used after in6ailist is initialized.
32567 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32569         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32570         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
32572 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
32574         [BZ #16357]
32575         [BZ #16599]
32576         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
32577         min_plus_half.
32578         (fp_formats): Update initializers.
32579         (init_fp_formats): Initialize new field.
32580         (output_for_one_input_case): Allow underflow for results up to
32581         min_plus_half.
32582         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
32583         * math/auto-libm-test-in: Don't mark some underflows from asin and
32584         atanh as spurious.
32585         * math/auto-libm-test-out: Regenerated.
32586         * sysdeps/i386/fpu/libm-test-ulps: Update.
32587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32589 2014-03-25  Andreas Schwab  <schwab@suse.de>
32591         * libio/Makefile (tst-ftell-partial-wide-ENV)
32592         (tst-ftell-active-handler-ENV): Define.
32594 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
32596         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
32598 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
32600         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
32602 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
32604         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
32605         * sysdeps/x86_64/fpu/multiarch/e_exp.c
32606         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
32608 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
32610         [BZ #16634]
32611         * elf/dl-load.c (open_verify): Add mode parameter.
32612         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
32613         (open_path): Change from boolean 'secure' to complete flag 'mode'
32614         (_dl_map_object): Adjust.
32615         * elf/Makefile (tests): Add tst-dlopen-aout.
32616         * elf/tst-dlopen-aout.c: New test.
32618 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
32620         [BZ #16714]
32621         * sysdeps/unix/sysv/linux/s390/bits/stat.h
32622         (struct stat): Rename member pad0 to __glibc_reserved0.
32624         [BZ #16712]
32625         * sysdeps/s390/s390-32/bits/wordsize.h
32626         (__WORDSIZE32_SIZE_ULONG): New define.
32627         * sysdeps/s390/s390-64/bits/wordsize.h
32628         (__WORDSIZE32_SIZE_ULONG): Likewise.
32629         * sysdeps/generic/stdint.h (SIZE_MAX):
32630         Define as UL if __WORDSIZE32_SIZE_ULONG.
32632         [BZ #16713]
32633         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
32634         (__glibc_reserved0): New variable.
32635         (sa_flags): Change type to int.
32637         * posix/Makefile (before-compile): Use += before-compile instead
32638         of a :=.
32640         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32641         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
32643 2014-03-20  Andreas Schwab  <schwab@suse.de>
32645         [BZ #16743]
32646         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
32647         non-matching result from nscd.
32649 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32651         * scripts/bench.py: Moved to ...
32652         * benchtests/scripts/bench.py: ... here.
32653         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
32655 2014-03-24  Andreas Schwab  <schwab@suse.de>
32657         [BZ #16002]
32658         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
32659         alloca_account and account alloca use for struct in6ailist.
32661 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
32663         [BZ #16284]
32664         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
32665         rounding mode to recompute results that overflow to infinity or
32666         underflow to zero.
32667         * math/auto-libm-test-in: Don't mark tests as expected to fail for
32668         bug 16284.
32669         * math/auto-libm-test-out: Regenerated.
32670         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
32671         (ccosh_test): Likewise.
32672         (csin_test_data): Use plus_oflow.
32673         (csin_test): Use ALL_RM_TEST.
32674         (csinh_test_data): Use plus_oflow.
32675         (csinh_test): Use ALL_RM_TEST.
32676         * sysdeps/i386/fpu/libm-test-ulps: Update.
32677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32679 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
32681         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
32682         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
32683         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
32685         [BZ #16731]
32686         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
32687         when x - 1 is zero.
32688         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
32689         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
32690         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
32691         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
32692         argument is 1.
32693         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
32694         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
32695         zero.
32696         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
32697         * sysdeps/i386/fpu/libm-test-ulps: Update.
32698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32700 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32702         * scripts/bench.pl: Remove file.
32703         * scripts/bench.py: New benchmark script.
32704         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
32705         * benchtests/README: Mention python dependency.
32706         * scripts/pylintrc: New file.
32707         * scripts/pylint: New file.
32709         * bits/mathdef.h: Use #ifdef instead of #if.
32710         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
32711         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
32712         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
32713         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
32714         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
32715         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
32717 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32718             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32720         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
32721         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
32722         and strpbrk-ppc64 objects.
32723         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32724         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
32725         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
32726         multiarch strpbrk for POWER7.
32727         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
32728         multiarch strpbrk for PPC64.
32729         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
32730         ifunc selector.
32731         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
32732         strpbrk for POWER7.
32734 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
32736         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
32737         (atan_test): Likewise.
32738         (atanh_test_data): Use NO_TEST_INLINE for two tests.
32739         (atanh_test): Use ALL_RM_TEST.
32740         (atan2_test_data): Likewise.
32741         (cabs_test): Likewise.
32742         (cacosh_test): Likewise.
32743         (carg_test): Likewise.
32744         (casin_test): Likewise.
32745         (casinh_test): Likewise.
32746         (cbrt_test): Likewise.
32747         (csqrt_test): Likewise.
32748         (erf_test): Likewise.
32749         (erfc_test): Likewise.
32750         (pow10_test): Likewise.
32751         (exp2_test): Likewise.
32752         (hypot_test): Likewise.
32753         (j0_test): Likewise.
32754         (j1_test): Likewise.
32755         (lgamma_test): Likewise.
32756         (gamma_test): Likewise.
32757         (sincos_test): Likewise.
32758         (tanh_test): Likewise.
32759         (y0_test): Likewise.
32760         (y1_test): Likewise.
32761         * sysdeps/i386/fpu/libm-test-ulps: Update.
32762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32764 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32766         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
32767         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
32768         and strcspn-ppc64 objects.
32769         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32770         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
32771         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
32772         multiarch strcspn for POWER7.
32773         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
32774         multiarch strcspn for PPC64.
32775         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
32776         ifunc selector.
32777         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
32778         strcspn for POWER7.
32780 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
32782         * math/gen-libm-test.pl (generate_testfile): Expect only function
32783         name as argument to AUTO_TESTS_* and pass results for all rounding
32784         modes to parse_args.
32785         (parse_auto_input): Separate inputs of automatic tests from
32786         outputs before storing in %auto_tests.
32787         * math/libm-test.inc (acos_test_data): Update call to
32788         AUTO_TESTS_f_f.
32789         (acos_test): Use ALL_RM_TEST.
32790         (acos_tonearest_test_data): Remove.
32791         (acos_test_tonearest): Likewise.
32792         (acos_towardzero_test_data): Likewise.
32793         (acos_test_towardzero): Likewise.
32794         (acos_downward_test_data): Likewise.
32795         (acos_test_downward): Likewise.
32796         (acos_upward_test_data): Likewise.
32797         (acos_test_upward): Likewise.
32798         (acosh_test_data): Update call to AUTO_TESTS_f_f.
32799         (asin_test_data): Likewise.
32800         (asin_test): Use ALL_RM_TEST.
32801         (asin_tonearest_test_data): Remove.
32802         (asin_test_tonearest): Likewise.
32803         (asin_towardzero_test_data): Likewise.
32804         (asin_test_towardzero): Likewise.
32805         (asin_downward_test_data): Likewise.
32806         (asin_test_downward): Likewise.
32807         (asin_upward_test_data): Likewise.
32808         (asin_test_upward): Likewise.
32809         (asinh_test_data): Update call to AUTO_TESTS_f_f.
32810         (atan_test_data): Likewise.
32811         (atanh_test_data): Likewise.
32812         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
32813         (cabs_test_data): Update call to AUTO_TESTS_c_f.
32814         (carg_test_data): Likewise.
32815         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
32816         (ccos_test_data): Update call to AUTO_TESTS_c_c.
32817         (ccosh_test_data): Likewise.
32818         (cexp_test_data): Likewise.
32819         (clog_test_data): Likewise.
32820         (clog10_test_data): Likewise.
32821         (cos_test_data): Update call to AUTO_TESTS_f_f.
32822         (cos_test): Use ALL_RM_TEST.
32823         (cos_tonearest_test_data): Remove.
32824         (cos_test_tonearest): Likewise.
32825         (cos_towardzero_test_data): Likewise.
32826         (cos_test_towardzero): Likewise.
32827         (cos_downward_test_data): Likewise.
32828         (cos_test_downward): Likewise.
32829         (cos_upward_test_data): Likewise.
32830         (cos_test_upward): Likewise.
32831         (cosh_test_data): Update call to AUTO_TESTS_f_f.
32832         (cosh_test): Use ALL_RM_TEST.
32833         (cosh_tonearest_test_data): Remove.
32834         (cosh_test_tonearest): Likewise.
32835         (cosh_towardzero_test_data): Likewise.
32836         (cosh_test_towardzero): Likewise.
32837         (cosh_downward_test_data): Likewise.
32838         (cosh_test_downward): Likewise.
32839         (cosh_upward_test_data): Likewise.
32840         (cosh_test_upward): Likewise.
32841         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
32842         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
32843         (ctan_test_data): Likewise.
32844         (ctan_test): Use ALL_RM_TEST.
32845         (ctan_tonearest_test_data): Remove.
32846         (ctan_test_tonearest): Likewise.
32847         (ctan_towardzero_test_data): Likewise.
32848         (ctan_test_towardzero): Likewise.
32849         (ctan_downward_test_data): Likewise.
32850         (ctan_test_downward): Likewise.
32851         (ctan_upward_test_data): Likewise.
32852         (ctan_test_upward): Likewise.
32853         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
32854         (ctanh_test): Use ALL_RM_TEST.
32855         (ctanh_tonearest_test_data): Remove.
32856         (ctanh_test_tonearest): Likewise.
32857         (ctanh_towardzero_test_data): Likewise.
32858         (ctanh_test_towardzero): Likewise.
32859         (ctanh_downward_test_data): Likewise.
32860         (ctanh_test_downward): Likewise.
32861         (ctanh_upward_test_data): Likewise.
32862         (ctanh_test_upward): Likewise.
32863         (erf_test_data): Update call to AUTO_TESTS_f_f.
32864         (erfc_test_data): Likewise.
32865         (exp_test_data): Likewise.
32866         (exp_test): Use ALL_RM_TEST.
32867         (exp_tonearest_test_data): Remove.
32868         (exp_test_tonearest): Likewise.
32869         (exp_towardzero_test_data): Likewise.
32870         (exp_test_towardzero): Likewise.
32871         (exp_downward_test_data): Likewise.
32872         (exp_test_downward): Likewise.
32873         (exp_upward_test_data): Likewise.
32874         (exp_test_upward): Likewise.
32875         (exp10_test_data): Update call to AUTO_TESTS_f_f.
32876         (exp10_test): Use ALL_RM_TEST.
32877         (exp10_tonearest_test_data): Remove.
32878         (exp10_test_tonearest): Likewise.
32879         (exp10_towardzero_test_data): Likewise.
32880         (exp10_test_towardzero): Likewise.
32881         (exp10_downward_test_data): Likewise.
32882         (exp10_test_downward): Likewise.
32883         (exp10_upward_test_data): Likewise.
32884         (exp10_test_upward): Likewise.
32885         (exp2_test_data): Update call to AUTO_TESTS_f_f.
32886         (expm1_test_data): Likewise.
32887         (expm1_test): Use ALL_RM_TEST.
32888         (expm1_tonearest_test_data): Remove.
32889         (expm1_test_tonearest): Likewise.
32890         (expm1_towardzero_test_data): Likewise.
32891         (expm1_test_towardzero): Likewise.
32892         (expm1_downward_test_data): Likewise.
32893         (expm1_test_downward): Likewise.
32894         (expm1_upward_test_data): Likewise.
32895         (expm1_test_upward): Likewise.
32896         (fma_test_data): Update call to AUTO_TESTS_fff_f.
32897         (fma_test): Use ALL_RM_TEST.
32898         (fma_towardzero_test_data): Remove.
32899         (fma_test_towardzero): Likewise.
32900         (fma_downward_test_data): Likewise.
32901         (fma_test_downward): Likewise.
32902         (fma_upward_test_data): Likewise.
32903         (fma_test_upward): Likewise.
32904         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
32905         (j0_test_data): Update call to AUTO_TESTS_f_f.
32906         (j1_test_data): Likewise.
32907         (jn_test_data): Update call to AUTO_TESTS_if_f.
32908         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
32909         (log_test_data): Update call to AUTO_TESTS_f_f.
32910         (log10_test_data): Likewise.
32911         (log1p_test_data): Likewise.
32912         (log2_test_data): Likewise.
32913         (pow_test_data): Update call to AUTO_TESTS_ff_f.
32914         (pow_tonearest_test_data): Likewise.
32915         (sin_test_data): Update call to AUTO_TESTS_f_f.
32916         (sin_test): Use ALL_RM_TEST.
32917         (sin_tonearest_test_data): Remove.
32918         (sin_test_tonearest): Likewise.
32919         (sin_towardzero_test_data): Likewise.
32920         (sin_test_towardzero): Likewise.
32921         (sin_downward_test_data): Likewise.
32922         (sin_test_downward): Likewise.
32923         (sin_upward_test_data): Likewise.
32924         (sin_test_upward): Likewise.
32925         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
32926         (sinh_test_data): Update call to AUTO_TESTS_f_f.
32927         (sinh_test): Use ALL_RM_TEST.
32928         (sinh_tonearest_test_data): Remove.
32929         (sinh_test_tonearest): Likewise.
32930         (sinh_towardzero_test_data): Likewise.
32931         (sinh_test_towardzero): Likewise.
32932         (sinh_downward_test_data): Likewise.
32933         (sinh_test_downward): Likewise.
32934         (sinh_upward_test_data): Likewise.
32935         (sinh_test_upward): Likewise.
32936         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
32937         (sqrt_test): Use ALL_RM_TEST.
32938         (sqrt_tonearest_test_data): Remove.
32939         (sqrt_test_tonearest): Likewise.
32940         (sqrt_towardzero_test_data): Likewise.
32941         (sqrt_test_towardzero): Likewise.
32942         (sqrt_downward_test_data): Likewise.
32943         (sqrt_test_downward): Likewise.
32944         (sqrt_upward_test_data): Likewise.
32945         (sqrt_test_upward): Likewise.
32946         (tan_test_data): Update call to AUTO_TESTS_f_f.
32947         (tan_test): Use ALL_RM_TEST.
32948         (tan_tonearest_test_data): Remove.
32949         (tan_test_tonearest): Likewise.
32950         (tan_towardzero_test_data): Likewise.
32951         (tan_test_towardzero): Likewise.
32952         (tan_downward_test_data): Likewise.
32953         (tan_test_downward): Likewise.
32954         (tan_upward_test_data): Likewise.
32955         (tan_test_upward): Likewise.
32956         (tanh_test_data): Update call to AUTO_TESTS_f_f.
32957         (tgamma_test_data): Likewise.
32958         (y0_test_data): Likewise.
32959         (y1_test_data): Likewise.
32960         (yn_test_data): Update call to AUTO_TESTS_if_f.
32961         (main): Do not call removed functions.
32963 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
32965         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
32966         (ldexp_test_data): Remove.
32967         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
32968         scalbn_test_data.
32969         (scalb_test): Use ALL_RM_TEST.
32971 2014-03-19  Andreas Schwab  <schwab@suse.de>
32973         * nscd/nscd.service: Also invalidate netgroup cache on reload.
32975 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
32977         [BZ #16649]
32978         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32979         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
32980         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
32981         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32982         (__ASSUME_PREADV): Undefine.
32983         (__ASSUME_PWRITEV): Likewise.
32985 2014-03-18  Roland McGrath  <roland@hack.frob.com>
32987         * bits/mman-linux.h: Add comment about non-Linux use.
32988         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
32989         bits/mman-linux.h resting place.
32991         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
32992         * bits/mman-linux.h: ... here.
32994 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32996         * conform/conformtest.pl: Add standard definition when calling C
32997         preprocessor on data files.
32998         (checknamespace): Remove unused variable.
33000 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
33002         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
33003         minus_oflow, plus_uflow and minus_uflow in expected results.
33004         * math/libm-test.inc (scalbn_test_data): Add more tests of
33005         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
33006         minus_uflow.
33007         (scalbn_test): Use ALL_RM_TEST.
33008         (scalbln_test_data): Add more tests of negative arguments.  Use
33009         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
33010         (scalbln_test): Use ALL_RM_TEST.
33012 2014-03-18  Roland McGrath  <roland@hack.frob.com>
33014         * scripts/abilist.awk: Ignore symbols marked with .hidden.
33016 2014-03-18  Will Newton  <will.newton@linaro.org>
33018         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
33019         inaccurate comment.
33021 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
33023         * Makerules [!subdir] (check-abi): Exit with error status if a
33024         test failed.
33026 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
33028         * math/libm-test.inc (nearbyint_test_data): Include all tests used
33029         for rint.  Include results for all rounding modes.
33030         (nearbyint_test): Use ALL_RM_TEST.
33031         (rint_test_data): Include all tests used for nearbyint.
33033 2014-03-17  Will Newton  <will.newton@linaro.org>
33035         * nptl/sysdeps/pthread/pthread.h: Revert previous
33036         change.
33038         * sysdeps/generic/ldsodefs.h: Revert previous
33039         change.
33041         * libio/genops.c: Revert previous change.
33042         * libio/libioP.h: Likewise.
33043         * stdio-common/vfprintf.c: Likewise.
33045         * sysdeps/generic/math_private.h: Revert previous
33046         change.
33048         * sysdeps/generic/math_private.h: Check whether
33049         HAVE_RM_CTX is defined with #ifdef rather
33050         than #if.
33052         * argp/argp-fmtstream.h: Check whether
33053         __STRICT_ANSI__ is defined with #ifdef rather
33054         than #if.
33055         * argp/argp.h: Likewise.
33057         * libio/genops.c: Check whether
33058         _IO_JUMPS_OFFSET is defined with #ifdef rather
33059         than #if.
33060         * libio/libioP.h: Likewise.
33061         * stdio-common/vfprintf.c: Likewise.
33063         * sysdeps/generic/ldsodefs.h: Check whether
33064         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
33065         than #if.
33067         * nptl/sysdeps/pthread/pthread.h: Check
33068         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
33069         its value.
33071 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33073         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
33074         setting O_APPEND.
33075         * libio/tst-ftell-active-handler.c (do_append_test): Add a
33076         test case.
33078         [BZ #16680]
33079         * libio/fileops.c (_IO_file_open): Seek to end of file but
33080         don't cache the offset.
33081         (get_file_offset): Remove function.
33082         (do_ftell): Use cached offset when available.
33083         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
33084         don't cache the offset.
33085         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
33086         case.
33087         (do_one_test): Call it.
33088         (do_ftell_test): Fix up expected old offset for a+ mode.
33089         * libio/wfileops.c (do_ftell_wide): Used cached offset when
33090         available.
33092         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
33093         up test status with function return status.
33094         (do_write_test): Likewise.
33095         (do_append_test): Likewise.
33097         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
33098         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
33099         Remove.
33101 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
33103         * math/gen-libm-test.pl (parse_args): Handle results specified for
33104         each rounding mode separately.
33105         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
33106         tests and results from lrint_tonearest_test_data,
33107         lrint_towardzero_test_data, lrint_downward_test_data and
33108         lrint_upward_test_data.
33109         (lrint_test): Use ALL_RM_TEST.
33110         (lrint_tonearest_test_data): Remove.
33111         (lrint_test_tonearest): Likewise.
33112         (lrint_towardzero_test_data): Likewise.
33113         (lrint_test_towardzero): Likewise.
33114         (lrint_downward_test_data): Likewise.
33115         (lrint_test_downward): Likewise.
33116         (lrint_upward_test_data): Likewise.
33117         (lrint_test_upward): Likewise.
33118         (llrint_test_data): Merge in per-rounding-mode tests and results
33119         from llrint_tonearest_test_data, llrint_towardzero_test_data,
33120         llrint_downward_test_data and llrint_upward_test_data.
33121         (llrint_test): Use ALL_RM_TEST.
33122         (llrint_tonearest_test_data): Remove.
33123         (llrint_test_tonearest): Likewise.
33124         (llrint_towardzero_test_data): Likewise.
33125         (llrint_test_towardzero): Likewise.
33126         (llrint_downward_test_data): Likewise.
33127         (llrint_test_downward): Likewise.
33128         (llrint_upward_test_data): Likewise.
33129         (llrint_test_upward): Likewise.
33130         (rint_test_data): Merge in per-rounding-mode tests and results
33131         from rint_tonearest_test_data, rint_towardzero_test_data,
33132         rint_downward_test_data and rint_upward_test_data.  Add
33133         per-rounding-mode results for tests not in those arrays.
33134         (rint_test): Use ALL_RM_TEST.
33135         (rint_tonearest_test_data): Remove.
33136         (rint_test_tonearest): Likewise.
33137         (rint_towardzero_test_data): Likewise.
33138         (rint_test_towardzero): Likewise.
33139         (rint_downward_test_data): Likewise.
33140         (rint_test_downward): Likewise.
33141         (rint_upward_test_data): Likewise.
33142         (rint_test_upward): Likewise.
33143         (main): Don't call removed functions.
33145 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33147         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
33148         "Compiled on ..." crapola.  It is anti-useful.
33150 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
33152         * scripts/evaluate-test.sh: Handle fourth argument to determine
33153         whether test run should stop on failure.
33154         * Makeconfig (stop-on-test-failure): New variable.
33155         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
33156         $(stop-on-test-failure).
33157         * Makefile (tests): Give a summary of results from testing and
33158         exit with failure status if they include an ERROR or FAIL.
33159         (xtests): Likewise.
33160         * manual/install.texi (Configuring and compiling): Mention
33161         stop-on-test-failure=y.
33162         * INSTALL: Regenerated.
33164 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33166         * scripts/versionlist.awk: New file.
33167         * Makerules [$(build-shared) = yes]
33168         (postclean-generated): Add Versions.def, not Versions.def.v and
33169         Versions.def.v.i.
33170         ($(common-objpfx)Versions.def.v.i): Target removed.
33171         ($(common-objpfx)Versions.def): New target.
33172         ($(common-objpfx)Versions.all): Depend on that rather that
33173         $(common-objpfx)Versions.def.v.
33174         * Versions.def: File removed.
33176         * Makeconfig (+gccwarn): Add -Wundef.
33177         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
33178         a dl-sysdep.h breaking its contract.
33179         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
33180         * include/stackinfo.h: New file.
33181         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
33182         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
33183         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
33184         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
33185         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
33186         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
33187         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33188         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33189         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33190         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33191         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33192         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
33193         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33194         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33195         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33197 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33199         [BZ #16707]
33200         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
33201         implementation.
33202         * math/libm-test.inc (round_test_data): Add more tests.
33204         [BZ #16706]
33205         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
33206         implementation.
33207         * math/libm-test.inc (nearbyint_test_data): Add more tests.
33209         [BZ #16701]
33210         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
33211         implementation.
33212         * math/libm-test.inc (ceil_test_data): Add more tests.
33214         * math/libm-test.inc (trunc_test_data): Add more tests related to
33215         BZ#16414.
33217 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33219         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
33220         with #if rather than #ifdef.
33221         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
33223 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
33225         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
33226         first.  Disable AVX-512 GCC support if assembler doesn't support
33227         it.
33228         * sysdeps/x86_64/configure: Regenerated.
33230 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
33232         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
33233         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
33234         (__old_pthread_attr_setstack): Likewise.
33235         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
33236         [!_STACK_GROWS_DOWN]: Likewise.
33238 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
33240         * config.make.in (have-bash2): Delete.
33241         * configure.ac (libc_cv_have_bash2): Delete.
33242         * configure: Regenerate.
33243         * elf/Makefile (common-ldd-rewrite): Rename to ...
33244         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
33245         (sh-ldd-rewrite): Delete.
33246         (bash-ldd-rewrite): Delete.
33247         (have-bash2): Delete checks.
33248         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
33249         ldd-rewrite.
33251         * config.make.in (have-ksh): Delete.
33252         (KSH): Delete.
33253         * configure.ac (libc_cv_have_ksh): Delete.
33254         * configure: Regenerate.
33256         * elf/Makefile: Delete $(have-ksh) check.
33257         ($(objpfx)sotruss): Change KSH to BASH.
33258         * elf/sotruss.ksh: Rename to ...
33259         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
33260         function style to match POSIX.  Drop ksh vim mode setting.
33262         * manual/time.texi (Specifying the Time Zone with TZ): Change
33263         Tuesday to Thursday.
33265         * debug/tst-longjmp_chk2.c: Update header comment.
33266         (stackoverflow_handler): Add comment.  Call assert on pass value.
33268 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
33270         [BZ #16194]
33271         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
33272         (HAVE_AVX512_ASM_SUPPORT): Likewise.
33273         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
33274         (La_x86_64_vector): Add zmm.
33275         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
33276         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
33277         ($(objpfx)tst-audit10): New target.
33278         ($(objpfx)tst-audit10.out): Likewise.
33279         (tst-audit10-ENV): New.
33280         (AVX512-CFLAGS): Likewise.
33281         (CFLAGS-tst-audit10.c): Likewise.
33282         (CFLAGS-tst-auditmod10a.c): Likewise.
33283         (CFLAGS-tst-auditmod10b.c): Likewise.
33284         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
33285         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
33286         * sysdeps/x86_64/configure: Regenerated.
33287         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
33288         AVX-512 zmm register support.
33289         (_dl_x86_64_save_sse): Likewise.
33290         (_dl_x86_64_restore_sse): Likewise.
33291         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
33292         size vector registers.
33293         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
33294         (ZMM_SIZE): Likewise.
33295         * sysdeps/x86_64/tst-audit10.c: New file.
33296         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
33297         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
33299 2014-03-13  Roland McGrath  <roland@hack.frob.com>
33301         * configure.ac (HAVE_EHDR_START): New check.
33302         * configure: Regenerated.
33303         * config.h.in (HAVE_EHDR_START): New #undef.
33304         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
33305         assuming the lowest-addressed segment maps the start of the file.
33307 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
33309         * INSTALL: Regenerated.
33311 2014-03-13  Will Newton  <will.newton@linaro.org>
33313         * manual/setjmp.texi (System V contexts): Improve
33314         clarity and grammar of documentation.
33316 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
33318         [BZ #16381]
33319         * elf/Makefile (tests): Add tst-pie2.
33320         (tests-pie): Add tst-pie2.
33321         * elf/tst-pie2.c: New file.
33322         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
33323         for ET_EXEC.
33324         * elf/rtld.c (map_doit): Load executable as lt_executable.
33325         (dl_main): Likewise.
33327 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
33329         [BZ #16642]
33330         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33331         (__ASSUME_PSELECT): Undefine.
33333 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33335         [BZ #16689]
33336         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
33337         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
33338         static build.
33339         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
33340         selector for static builds.
33342 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33344         [BZ #16695]
33345         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
33346         key in the buffer.
33348 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33350         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
33351         IFUNC selector for static builds.
33353 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
33355         * sysdeps/mips/math_private.h [__mips_hard_float]
33356         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
33357         libc_feresetround_mips_ctx.
33358         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
33359         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
33360         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
33362         [BZ #16677]
33363         * math/s_nextafter.c (__nextafter): Do not return value from
33364         overflowing computation.
33365         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
33366         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
33367         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
33368         Likewise.
33369         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
33370         Likewise.
33371         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
33372         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
33374 2014-03-11  Roland McGrath  <roland@hack.frob.com>
33376         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
33377         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
33378         Move sfi_sp use from the load-multiple (that no longer sets sp) to
33379         the new mov targetting sp.
33381 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33383         [BZ #16683]
33384         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
33385         Define it for static builds as well.
33386         (NO_BZERO_IMPL): Likewise.
33388 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33390         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
33391         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
33392         multiarch strspn for PPC64.
33393         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
33394         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
33395         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33396         (__libc_ifunc_impl_list): Likewise.
33397         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
33398         multiarch optimizations
33399         * string/strspn.c (strspn): Using macro to redefine symbol name.
33401 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33402             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33404         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
33405         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
33406         multiarch strncat for PPC64.
33407         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
33408         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
33409         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33410         (__libc_ifunc_impl_list): Likewise.
33411         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
33412         multiarch optimizations
33414 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33416         [BZ #16639]
33417         * nscd/nscd.service: Make service type forking.
33419 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33421         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
33422         sign in non default rounding modes.
33423         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
33425 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
33427         * math/libm-test.inc (ALL_RM_TEST): New macro.
33428         (ceil_test): Use ALL_RM_TEST.
33429         (cimag_test): Likewise.
33430         (conj_test): Likewise.
33431         (copysign_test): Likewise.
33432         (cproj_test): Likewise.
33433         (creal_test): Likewise.
33434         (fabs_test): Likewise.
33435         (floor_test): Likewise.
33436         (fmax_test): Likewise.
33437         (fmin_test): Likewise.
33438         (fmod_test): Likewise.
33439         (fpclassify_test): Likewise.
33440         (frexp_test): Likewise.
33441         (ilogb_test): Likewise.
33442         (isfinite_test): Likewise.
33443         (finite_test): Likewise.
33444         (isgreater_test): Likewise.
33445         (isgreaterequal_test): Likewise.
33446         (isinf_test): Likewise.
33447         (isless_test): Likewise.
33448         (islessequal_test): Likewise.
33449         (islessgreater_test): Likewise.
33450         (isnan_test): Likewise.
33451         (isnormal_test): Likewise.
33452         (issignaling_test): Likewise.
33453         (isunordered_test): Likewise.
33454         (logb_test): Likewise.
33455         (logb_downward_test_data): Remove.
33456         (logb_test_downward): Likewise.
33457         (lround_test): Use ALL_RM_TEST.
33458         (llround_test): Likewise.
33459         (modf_test): Likewise.
33460         (nexttoward_test): Likewise.
33461         (remainder_test): Likewise.
33462         (drem_test): Likewise.
33463         (remainder_tonearest_test_data): Likewise.
33464         (remainder_test_tonearest): Likewise.
33465         (drem_test_tonearest): Likewise.
33466         (remainder_towardzero_test_data): Likewise.
33467         (remainder_test_towardzero): Likewise.
33468         (drem_test_towardzero): Likewise.
33469         (remainder_downward_test_data): Likewise.
33470         (remainder_test_downward): Likewise.
33471         (drem_test_downward): Likewise.
33472         (remainder_upward_test_data): Likewise.
33473         (remainder_test_upward): Likewise.
33474         (drem_test_upward): Likewise.
33475         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
33476         (round_test): Use ALL_RM_TEST.
33477         (signbit_test): Likewise.
33478         (trunc_test): Likewise.
33479         (significand_test): Likewise.
33480         (main): Don't call removed functions.
33482 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
33484         [BZ #16674]
33485         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
33486         || __USE_XOPEN2K8].
33487         (ILL_ILLOPN): Likewise.
33488         (ILL_ILLADR): Likewise.
33489         (ILL_ILLTRP): Likewise.
33490         (ILL_PRVOPC): Likewise.
33491         (ILL_PRVREG): Likewise.
33492         (ILL_COPROC): Likewise.
33493         (ILL_BADSTK): Likewise.
33494         (FPE_INTDIV): Likewise.
33495         (FPE_INTOVF): Likewise.
33496         (FPE_FLTDIV): Likewise.
33497         (FPE_FLTOVF): Likewise.
33498         (FPE_FLTUND): Likewise.
33499         (FPE_FLTRES): Likewise.
33500         (FPE_FLTINV): Likewise.
33501         (FPE_FLTSUB): Likewise.
33502         (SEGV_MAPERR): Likewise.
33503         (SEGV_ACCERR): Likewise.
33504         (BUS_ADRALN): Likewise.
33505         (BUS_ADRERR): Likewise.
33506         (BUS_OBJERR): Likewise.
33507         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33508         (TRAP_TRACE): Likewise.
33509         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33510         __USE_XOPEN2K8].
33511         (CLD_KILLED): Likewise.
33512         (CLD_DUMPED): Likewise.
33513         (CLD_TRAPPED): Likewise.
33514         (CLD_STOPPED): Likewise.
33515         (CLD_CONTINUED): Likewise.
33516         (POLL_IN): Likewise.
33517         (POLL_OUT): Likewise.
33518         (POLL_MSG): Likewise.
33519         (POLL_ERR): Likewise.
33520         (POLL_PRI): Likewise.
33521         (POLL_HUP): Likewise.
33522         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
33523         Likewise.
33524         (ILL_ILLOPN): Likewise.
33525         (ILL_ILLADR): Likewise.
33526         (ILL_ILLTRP): Likewise.
33527         (ILL_PRVOPC): Likewise.
33528         (ILL_PRVREG): Likewise.
33529         (ILL_COPROC): Likewise.
33530         (ILL_BADSTK): Likewise.
33531         (FPE_INTDIV): Likewise.
33532         (FPE_INTOVF): Likewise.
33533         (FPE_FLTDIV): Likewise.
33534         (FPE_FLTOVF): Likewise.
33535         (FPE_FLTUND): Likewise.
33536         (FPE_FLTRES): Likewise.
33537         (FPE_FLTINV): Likewise.
33538         (FPE_FLTSUB): Likewise.
33539         (SEGV_MAPERR): Likewise.
33540         (SEGV_ACCERR): Likewise.
33541         (BUS_ADRALN): Likewise.
33542         (BUS_ADRERR): Likewise.
33543         (BUS_OBJERR): Likewise.
33544         (BUS_MCEERR_AR): Likewise.
33545         (BUS_MCEERR_AO): Likewise.
33546         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33547         (TRAP_TRACE): Likewise.
33548         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33549         __USE_XOPEN2K8].
33550         (CLD_KILLED): Likewise.
33551         (CLD_DUMPED): Likewise.
33552         (CLD_TRAPPED): Likewise.
33553         (CLD_STOPPED): Likewise.
33554         (CLD_CONTINUED): Likewise.
33555         (POLL_IN): Likewise.
33556         (POLL_OUT): Likewise.
33557         (POLL_MSG): Likewise.
33558         (POLL_ERR): Likewise.
33559         (POLL_PRI): Likewise.
33560         (POLL_HUP): Likewise.
33561         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
33562         (ILL_ILLOPN): Likewise.
33563         (ILL_ILLADR): Likewise.
33564         (ILL_ILLTRP): Likewise.
33565         (ILL_PRVOPC): Likewise.
33566         (ILL_PRVREG): Likewise.
33567         (ILL_COPROC): Likewise.
33568         (ILL_BADSTK): Likewise.
33569         (FPE_INTDIV): Likewise.
33570         (FPE_INTOVF): Likewise.
33571         (FPE_FLTDIV): Likewise.
33572         (FPE_FLTOVF): Likewise.
33573         (FPE_FLTUND): Likewise.
33574         (FPE_FLTRES): Likewise.
33575         (FPE_FLTINV): Likewise.
33576         (FPE_FLTSUB): Likewise.
33577         (SEGV_MAPERR): Likewise.
33578         (SEGV_ACCERR): Likewise.
33579         (BUS_ADRALN): Likewise.
33580         (BUS_ADRERR): Likewise.
33581         (BUS_OBJERR): Likewise.
33582         (BUS_MCEERR_AR): Likewise.
33583         (BUS_MCEERR_AO): Likewise.
33584         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33585         (TRAP_TRACE): Likewise.
33586         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33587         __USE_XOPEN2K8].
33588         (CLD_KILLED): Likewise.
33589         (CLD_DUMPED): Likewise.
33590         (CLD_TRAPPED): Likewise.
33591         (CLD_STOPPED): Likewise.
33592         (CLD_CONTINUED): Likewise.
33593         (POLL_IN): Likewise.
33594         (POLL_OUT): Likewise.
33595         (POLL_MSG): Likewise.
33596         (POLL_ERR): Likewise.
33597         (POLL_PRI): Likewise.
33598         (POLL_HUP): Likewise.
33599         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
33600         Likewise.
33601         (ILL_ILLOPN): Likewise.
33602         (ILL_ILLADR): Likewise.
33603         (ILL_ILLTRP): Likewise.
33604         (ILL_PRVOPC): Likewise.
33605         (ILL_PRVREG): Likewise.
33606         (ILL_COPROC): Likewise.
33607         (ILL_BADSTK): Likewise.
33608         (ILL_BADIADDR): Likewise.
33609         (ILL_BREAK): Likewise.
33610         (FPE_INTDIV): Likewise.
33611         (FPE_INTOVF): Likewise.
33612         (FPE_FLTDIV): Likewise.
33613         (FPE_FLTOVF): Likewise.
33614         (FPE_FLTUND): Likewise.
33615         (FPE_FLTRES): Likewise.
33616         (FPE_FLTINV): Likewise.
33617         (FPE_FLTSUB): Likewise.
33618         (FPE_DECOVF): Likewise.
33619         (FPE_DECDIV): Likewise.
33620         (FPE_DECERR): Likewise.
33621         (FPE_INVASC): Likewise.
33622         (FPE_INVDEC): Likewise.
33623         (SEGV_MAPERR): Likewise.
33624         (SEGV_ACCERR): Likewise.
33625         (SEGV_PSTKOVF): Likewise.
33626         (BUS_ADRALN): Likewise.
33627         (BUS_ADRERR): Likewise.
33628         (BUS_OBJERR): Likewise.
33629         (BUS_MCEERR_AR): Likewise.
33630         (BUS_MCEERR_AO): Likewise.
33631         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33632         (TRAP_TRACE): Likewise.
33633         (TRAP_BRANCH): Likewise.
33634         (TRAP_HWBKPT): Likewise.
33635         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33636         __USE_XOPEN2K8].
33637         (CLD_KILLED): Likewise.
33638         (CLD_DUMPED): Likewise.
33639         (CLD_TRAPPED): Likewise.
33640         (CLD_STOPPED): Likewise.
33641         (CLD_CONTINUED): Likewise.
33642         (POLL_IN): Likewise.
33643         (POLL_OUT): Likewise.
33644         (POLL_MSG): Likewise.
33645         (POLL_ERR): Likewise.
33646         (POLL_PRI): Likewise.
33647         (POLL_HUP): Likewise.
33648         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
33649         (ILL_ILLOPN): Likewise.
33650         (ILL_ILLADR): Likewise.
33651         (ILL_ILLTRP): Likewise.
33652         (ILL_PRVOPC): Likewise.
33653         (ILL_PRVREG): Likewise.
33654         (ILL_COPROC): Likewise.
33655         (ILL_BADSTK): Likewise.
33656         (FPE_INTDIV): Likewise.
33657         (FPE_INTOVF): Likewise.
33658         (FPE_FLTDIV): Likewise.
33659         (FPE_FLTOVF): Likewise.
33660         (FPE_FLTUND): Likewise.
33661         (FPE_FLTRES): Likewise.
33662         (FPE_FLTINV): Likewise.
33663         (FPE_FLTSUB): Likewise.
33664         (SEGV_MAPERR): Likewise.
33665         (SEGV_ACCERR): Likewise.
33666         (BUS_ADRALN): Likewise.
33667         (BUS_ADRERR): Likewise.
33668         (BUS_OBJERR): Likewise.
33669         (BUS_MCEERR_AR): Likewise.
33670         (BUS_MCEERR_AO): Likewise.
33671         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33672         (TRAP_TRACE): Likewise.
33673         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33674         __USE_XOPEN2K8].
33675         (CLD_KILLED): Likewise.
33676         (CLD_DUMPED): Likewise.
33677         (CLD_TRAPPED): Likewise.
33678         (CLD_STOPPED): Likewise.
33679         (CLD_CONTINUED): Likewise.
33680         (POLL_IN): Likewise.
33681         (POLL_OUT): Likewise.
33682         (POLL_MSG): Likewise.
33683         (POLL_ERR): Likewise.
33684         (POLL_PRI): Likewise.
33685         (POLL_HUP): Likewise.
33686         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
33687         (ILL_ILLOPN): Likewise.
33688         (ILL_ILLADR): Likewise.
33689         (ILL_ILLTRP): Likewise.
33690         (ILL_PRVOPC): Likewise.
33691         (ILL_PRVREG): Likewise.
33692         (ILL_COPROC): Likewise.
33693         (ILL_BADSTK): Likewise.
33694         (FPE_INTDIV): Likewise.
33695         (FPE_INTOVF): Likewise.
33696         (FPE_FLTDIV): Likewise.
33697         (FPE_FLTOVF): Likewise.
33698         (FPE_FLTUND): Likewise.
33699         (FPE_FLTRES): Likewise.
33700         (FPE_FLTINV): Likewise.
33701         (FPE_FLTSUB): Likewise.
33702         (SEGV_MAPERR): Likewise.
33703         (SEGV_ACCERR): Likewise.
33704         (BUS_ADRALN): Likewise.
33705         (BUS_ADRERR): Likewise.
33706         (BUS_OBJERR): Likewise.
33707         (BUS_MCEERR_AR): Likewise.
33708         (BUS_MCEERR_AO): Likewise.
33709         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33710         (TRAP_TRACE): Likewise.
33711         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33712         __USE_XOPEN2K8].
33713         (CLD_KILLED): Likewise.
33714         (CLD_DUMPED): Likewise.
33715         (CLD_TRAPPED): Likewise.
33716         (CLD_STOPPED): Likewise.
33717         (CLD_CONTINUED): Likewise.
33718         (POLL_IN): Likewise.
33719         (POLL_OUT): Likewise.
33720         (POLL_MSG): Likewise.
33721         (POLL_ERR): Likewise.
33722         (POLL_PRI): Likewise.
33723         (POLL_HUP): Likewise.
33724         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
33725         (ILL_ILLOPN): Likewise.
33726         (ILL_ILLADR): Likewise.
33727         (ILL_ILLTRP): Likewise.
33728         (ILL_PRVOPC): Likewise.
33729         (ILL_PRVREG): Likewise.
33730         (ILL_COPROC): Likewise.
33731         (ILL_BADSTK): Likewise.
33732         (FPE_INTDIV): Likewise.
33733         (FPE_INTOVF): Likewise.
33734         (FPE_FLTDIV): Likewise.
33735         (FPE_FLTOVF): Likewise.
33736         (FPE_FLTUND): Likewise.
33737         (FPE_FLTRES): Likewise.
33738         (FPE_FLTINV): Likewise.
33739         (FPE_FLTSUB): Likewise.
33740         (SEGV_MAPERR): Likewise.
33741         (SEGV_ACCERR): Likewise.
33742         (BUS_ADRALN): Likewise.
33743         (BUS_ADRERR): Likewise.
33744         (BUS_OBJERR): Likewise.
33745         (BUS_MCEERR_AR): Likewise.
33746         (BUS_MCEERR_AO): Likewise.
33747         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33748         (TRAP_TRACE): Likewise.
33749         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33750         __USE_XOPEN2K8].
33751         (CLD_KILLED): Likewise.
33752         (CLD_DUMPED): Likewise.
33753         (CLD_TRAPPED): Likewise.
33754         (CLD_STOPPED): Likewise.
33755         (CLD_CONTINUED): Likewise.
33756         (POLL_IN): Likewise.
33757         (POLL_OUT): Likewise.
33758         (POLL_MSG): Likewise.
33759         (POLL_ERR): Likewise.
33760         (POLL_PRI): Likewise.
33761         (POLL_HUP): Likewise.
33762         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
33763         (ILL_ILLOPN): Likewise.
33764         (ILL_ILLADR): Likewise.
33765         (ILL_ILLTRP): Likewise.
33766         (ILL_PRVOPC): Likewise.
33767         (ILL_PRVREG): Likewise.
33768         (ILL_COPROC): Likewise.
33769         (ILL_BADSTK): Likewise.
33770         (ILL_DBLFLT): Likewise.
33771         (ILL_HARDWALL): Likewise.
33772         (FPE_INTDIV): Likewise.
33773         (FPE_INTOVF): Likewise.
33774         (FPE_FLTDIV): Likewise.
33775         (FPE_FLTOVF): Likewise.
33776         (FPE_FLTUND): Likewise.
33777         (FPE_FLTRES): Likewise.
33778         (FPE_FLTINV): Likewise.
33779         (FPE_FLTSUB): Likewise.
33780         (SEGV_MAPERR): Likewise.
33781         (SEGV_ACCERR): Likewise.
33782         (BUS_ADRALN): Likewise.
33783         (BUS_ADRERR): Likewise.
33784         (BUS_OBJERR): Likewise.
33785         (BUS_MCEERR_AR): Likewise.
33786         (BUS_MCEERR_AO): Likewise.
33787         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33788         (TRAP_TRACE): Likewise.
33789         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33790         __USE_XOPEN2K8].
33791         (CLD_KILLED): Likewise.
33792         (CLD_DUMPED): Likewise.
33793         (CLD_TRAPPED): Likewise.
33794         (CLD_STOPPED): Likewise.
33795         (CLD_CONTINUED): Likewise.
33796         (POLL_IN): Likewise.
33797         (POLL_OUT): Likewise.
33798         (POLL_MSG): Likewise.
33799         (POLL_ERR): Likewise.
33800         (POLL_PRI): Likewise.
33801         (POLL_HUP): Likewise.
33802         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
33803         (ILL_ILLOPN): Likewise.
33804         (ILL_ILLADR): Likewise.
33805         (ILL_ILLTRP): Likewise.
33806         (ILL_PRVOPC): Likewise.
33807         (ILL_PRVREG): Likewise.
33808         (ILL_COPROC): Likewise.
33809         (ILL_BADSTK): Likewise.
33810         (FPE_INTDIV): Likewise.
33811         (FPE_INTOVF): Likewise.
33812         (FPE_FLTDIV): Likewise.
33813         (FPE_FLTOVF): Likewise.
33814         (FPE_FLTUND): Likewise.
33815         (FPE_FLTRES): Likewise.
33816         (FPE_FLTINV): Likewise.
33817         (FPE_FLTSUB): Likewise.
33818         (SEGV_MAPERR): Likewise.
33819         (SEGV_ACCERR): Likewise.
33820         (BUS_ADRALN): Likewise.
33821         (BUS_ADRERR): Likewise.
33822         (BUS_OBJERR): Likewise.
33823         (BUS_MCEERR_AR): Likewise.
33824         (BUS_MCEERR_AO): Likewise.
33825         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33826         (TRAP_TRACE): Likewise.
33827         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33828         __USE_XOPEN2K8].
33829         (CLD_KILLED): Likewise.
33830         (CLD_DUMPED): Likewise.
33831         (CLD_TRAPPED): Likewise.
33832         (CLD_STOPPED): Likewise.
33833         (CLD_CONTINUED): Likewise.
33834         (POLL_IN): Likewise.
33835         (POLL_OUT): Likewise.
33836         (POLL_MSG): Likewise.
33837         (POLL_ERR): Likewise.
33838         (POLL_PRI): Likewise.
33839         (POLL_HUP): Likewise.
33840         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
33841         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
33843         [BZ #16670]
33844         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
33845         before #include of <time.h>.
33846         [!__USE_XOPEN2K] (__need_timespec): Likewise.
33847         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
33848         (test-xfail-UNIX98/sched.h/conform): Likewise.
33850 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33852         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
33853         error absence of trapping exception support.
33854         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
33856 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
33858         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
33859         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
33860         * timezone/Makefile (testdata): Move definition above include of
33861         Rules.
33862         (test-zones): New variable.
33863         (tests-special): Add zone files.
33864         (build-testdata): Use $(evaluate-test).
33866         * elf/Makefile (tests-special): Rename tests to end with .out.
33867         ($(objpfx)noload-mem): Likewise.
33868         ($(objpfx)tst-leaks1-mem): Likewise.
33869         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
33870         * iconv/Makefile (xtests-special): Change test-iconvconfig to
33871         $(objpfx)test-iconvconfig.out.
33872         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
33873         set -e inside subshell and redirect output to file.
33874         * iconvdata/Makefile (generated): Rename tests to end with .out.
33875         Correct type.
33876         (tests-special): Rename tests to end with .out.
33877         ($(objpfx)mtrace-tst-loading): Likewise.
33878         * intl/Makefile (generated): Likewise.
33879         (tests-special): Likewise.
33880         ($(objpfx)mtrace-tst-gettext): Likewise.
33881         * misc/Makefile (generated): Likewise.
33882         (tests-special): Likewise.
33883         ($(objpfx)tst-error1-mem): Likewise.
33884         * nptl/Makefile (tests-special): Likewise.
33885         ($(objpfx)tst-stack3-mem): Likewise.
33886         (generated): Likewise.
33887         * posix/Makefile (generated): Likewise.
33888         (tests-special): Likewise.
33889         (xtests-special): Likewise.
33890         ($(objpfx)tst-fnmatch-mem): Likewise.
33891         ($(objpfx)bug-regex2-mem): Likewise.
33892         ($(objpfx)bug-regex14-mem): Likewise.
33893         ($(objpfx)bug-regex21-mem): Likewise.
33894         ($(objpfx)bug-regex31-mem): Likewise.
33895         ($(objpfx)tst-vfork3-mem): Likewise.
33896         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
33897         ($(objpfx)tst-pcre-mem): Likewise.
33898         ($(objpfx)tst-boost-mem): Likewise.
33899         ($(objpfx)bug-ga2-mem): Likewise.
33900         ($(objpfx)bug-glob2-mem): Likewise.
33901         * resolv/Makefile (generate): Likewise.
33902         (tests-special): Likewise.
33903         (xtests-special): Likewise.
33904         (generated): Likewise.
33905         ($(objpfx)mtrace-tst-leaks): Likewise.
33906         ($(objpfx)mtrace-tst-leaks2): Likewise.
33908         * scripts/merge-test-results.sh: New file.
33909         * Makefile (tests-special-notdir): New variable.
33910         (tests): Run merge-test-results.sh.
33911         (xtests): Likewise.
33912         * Rules (tests-special-notdir): New variable.
33913         (xtests-special-notdir): Likewise.
33914         (tests): Run merge-test-results.sh
33915         (xtests): Likewise.
33917         * Makeconfig (test-xfail-name): New variable.
33918         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
33919         compute variable name for expected failures.
33920         * conform/Makefile (conformtest-headers-data): New variable.
33921         (conformtest-standards): Likewise.
33922         (conformtest-headers-ISO): Likewise.
33923         (conformtest-headers-ISO99): Likewise.
33924         (conformtest-headers-ISO11): Likewise.
33925         (conformtest-headers-POSIX): Likewise.
33926         (conformtest-headers-XPG3): Likewise.
33927         (conformtest-headers-XPG4): Likewise.
33928         (conformtest-headers-UNIX98): Likewise.
33929         (conformtest-headers-XOPEN2K): Likewise.
33930         (conformtest-headers-POSIX2008): Likewise.
33931         (conformtest-headers-XOPEN2K8): Likewise.
33932         (conformtest-header-list-base): Likewise.
33933         (conformtest-header-list-tests): Likewise.
33934         (conformtest-header-base): Likewise.
33935         (conformtest-header-tests): Likewise.
33936         (tests-special): Add $(conformtest-header-list-tests).  If
33937         [$(fast-check) && !$(cross-compiling)], add
33938         $(conformtest-header-tests) instead of
33939         $(objpfx)run-conformtest.out.
33940         (generated): Add $(conformtest-header-list-base).  If
33941         [$(fast-check) && !$(cross-compiling)], add
33942         $(conformtest-header-base).  Remove previous setting.
33943         ($(conformtest-header-list-tests)): New target.
33944         (test-xfail-run-conformtest): Remove variable.
33945         ($(objpfx)run-conformtest.out): Remove target.
33946         (test-xfail-ISO11/complex.h/conform): New variable.
33947         (test-xfail-ISO11/stdalign.h/conform): Likewise.
33948         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
33949         (test-xfail-XPG3/varargs.h/conform): Likewise.
33950         (test-xfail-XPG4/varargs.h/conform): Likewise.
33951         (test-xfail-UNIX98/varargs.h/conform): Likewise.
33952         (test-xfail-XPG4/ndbm.h/conform): Likewise.
33953         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
33954         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
33955         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
33956         (test-xfail-XPG3/fcntl.h/conform): Likewise.
33957         (test-xfail-XPG3/ftw.h/conform): Likewise.
33958         (test-xfail-XPG3/grp.h/conform): Likewise.
33959         (test-xfail-XPG3/langinfo.h/conform): Likewise.
33960         (test-xfail-XPG3/limits.h/conform): Likewise.
33961         (test-xfail-XPG3/pwd.h/conform): Likewise.
33962         (test-xfail-XPG3/search.h/conform): Likewise.
33963         (test-xfail-XPG3/signal.h/conform): Likewise.
33964         (test-xfail-XPG3/stdio.h/conform): Likewise.
33965         (test-xfail-XPG3/stdlib.h/conform): Likewise.
33966         (test-xfail-XPG3/string.h/conform): Likewise.
33967         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
33968         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
33969         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
33970         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
33971         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
33972         (test-xfail-XPG3/sys/types.h/conform): Likewise.
33973         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
33974         (test-xfail-XPG3/termios.h/conform): Likewise.
33975         (test-xfail-XPG3/time.h/conform): Likewise.
33976         (test-xfail-XPG3/unistd.h/conform): Likewise.
33977         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
33978         (test-xfail-XPG4/fcntl.h/conform): Likewise.
33979         (test-xfail-XPG4/langinfo.h/conform): Likewise.
33980         (test-xfail-XPG4/netdb.h/conform): Likewise.
33981         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
33982         (test-xfail-XPG4/signal.h/conform): Likewise.
33983         (test-xfail-XPG4/stdio.h/conform): Likewise.
33984         (test-xfail-XPG4/stdlib.h/conform): Likewise.
33985         (test-xfail-XPG4/stropts.h/conform): Likewise.
33986         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
33987         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
33988         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
33989         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
33990         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
33991         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
33992         (test-xfail-XPG4/sys/time.h/conform): Likewise.
33993         (test-xfail-XPG4/sys/types.h/conform): Likewise.
33994         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
33995         (test-xfail-XPG4/termios.h/conform): Likewise.
33996         (test-xfail-XPG4/ucontext.h/conform): Likewise.
33997         (test-xfail-XPG4/unistd.h/conform): Likewise.
33998         (test-xfail-XPG4/utmpx.h/conform): Likewise.
33999         (test-xfail-POSIX/sched.h/conform): Likewise.
34000         (test-xfail-POSIX/signal.h/conform): Likewise.
34001         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
34002         (test-xfail-POSIX/tar.h/conform): Likewise.
34003         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
34004         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
34005         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
34006         (test-xfail-UNIX98/netdb.h/conform): Likewise.
34007         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
34008         (test-xfail-UNIX98/sched.h/conform): Likewise.
34009         (test-xfail-UNIX98/signal.h/conform): Likewise.
34010         (test-xfail-UNIX98/stdio.h/conform): Likewise.
34011         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
34012         (test-xfail-UNIX98/stropts.h/conform): Likewise.
34013         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
34014         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
34015         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
34016         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
34017         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
34018         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
34019         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
34020         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
34021         (test-xfail-UNIX98/unistd.h/conform): Likewise.
34022         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
34023         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
34024         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
34025         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
34026         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
34027         (test-xfail-XOPEN2K/math.h/conform): Likewise.
34028         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
34029         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
34030         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
34031         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
34032         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
34033         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
34034         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
34035         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
34036         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
34037         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
34038         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
34039         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
34040         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
34041         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
34042         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
34043         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
34044         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
34045         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
34046         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
34047         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
34048         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
34049         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
34050         (test-xfail-POSIX2008/signal.h/conform): Likewise.
34051         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
34052         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
34053         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
34054         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
34055         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
34056         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
34057         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
34058         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
34059         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
34060         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
34061         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
34062         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
34063         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
34064         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
34065         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
34066         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
34067         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
34068         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
34069         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
34070         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
34071         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
34072         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
34073         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
34074         (conformtest-cc-flags): Likewise.
34075         ($(conformtest-header-tests): New target.
34076         * conform/check-header-lists.sh: New file.
34077         * conform/run-conformtest.sh: Remove.
34079         * conform/conformtest.pl: Allow ' and \ in values given for
34080         constants.
34081         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
34082         inclusion.
34083         [POSIX] (sys/types.h): Likewise.
34084         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
34085         inclusion.
34086         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
34087         inclusion.
34088         * conform/data/signal.h-data (SIGIO): Remove expectation.
34089         [XPG3] (SIGBUS): Do not expect.
34090         [POSIX || XPG3] (SIGPOLL): Likewise.
34091         [POSIX || XPG3] (SIGPROF): Likewise.
34092         [POSIX || XPG3] (SIGSYS): Likewise.
34093         [XPG3] (SIGTRAP): Likewise.
34094         [POSIX || XPG3] (SIGURG): Likewise.
34095         [POSIX || XPG3] (SIGVTALRM): Likewise.
34096         [POSIX || XPG3] (SIGXCPU): Likewise.
34097         [POSIX || XPG3] (SIGXFSZ): Likewise.
34098         [POSIX] (SA_SIGINFO): Expect.
34099         [XPG3] (siginfo_t): Do not expect type or contents.
34100         [POSIX] (si_pid): Do not expect element.
34101         [POSIX] (si_uid): Likewise.
34102         [POSIX] (si_addr): Likewise.
34103         [POSIX] (si_status): Likewise.
34104         [POSIX] (si_band): Likewise.
34105         [XPG4] (si_value): Likewise.
34106         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
34107         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
34108         [POSIX || XPG3] (ILL_ILLADR): Likewise.
34109         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
34110         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
34111         [POSIX || XPG3] (ILL_PRVREG): Likewise.
34112         [POSIX || XPG3] (ILL_COPROC): Likewise.
34113         [POSIX || XPG3] (ILL_BADSTK): Likewise.
34114         [POSIX || XPG3] (FPE_INTDIV): Likewise.
34115         [POSIX || XPG3] (FPE_INTOVF): Likewise.
34116         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
34117         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
34118         [POSIX || XPG3] (FPE_FLTUND): Likewise.
34119         [POSIX || XPG3] (FPE_FLTRES): Likewise.
34120         [POSIX || XPG3] (FPE_FLTINV): Likewise.
34121         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
34122         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
34123         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
34124         [POSIX || XPG3] (BUS_ADRALN): Likewise.
34125         [POSIX || XPG3] (BUS_ADRERR): Likewise.
34126         [POSIX || XPG3] (BUS_OBJERR): Likewise.
34127         [POSIX || XPG3] (CLD_EXITED): Likewise.
34128         [POSIX || XPG3] (CLD_KILLED): Likewise.
34129         [POSIX || XPG3] (CLD_DUMPED): Likewise.
34130         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
34131         [POSIX || XPG3] (CLD_STOPPED): Likewise.
34132         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
34133         [POSIX || XPG3] (POLL_IN): Likewise.
34134         [POSIX || XPG3] (POLL_OUT): Likewise.
34135         [POSIX || XPG3] (POLL_MSG): Likewise.
34136         [POSIX || XPG3] (POLL_ERR): Likewise.
34137         [POSIX || XPG3] (POLL_PRI): Likewise.
34138         [POSIX || XPG3] (POLL_HUP): Likewise.
34139         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
34140         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
34141         (SIG*): Do not allow.
34142         [XPG3] (si_*): Likewise.
34143         [XPG3] (SI_*): Likewise.
34144         [XPG3 || XPG4] (sigev_*): Likewise.
34145         [XPG3 || XPG4] (SIGEV_*): Likewise.
34146         [XPG3 || XPG4] (sival_*): Likewise.
34147         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
34148         [POSIX || XPG3] (BUS_*): Likewise.
34149         [POSIX || XPG3] (CLD_*): Likewise.
34150         [POSIX || XPG3] (FPE_*): Likewise.
34151         [POSIX || XPG3] (ILL_*): Likewise.
34152         [POSIX || XPG3] (POLL_*): Likewise.
34153         [POSIX || XPG3] (SEGV_*): Likewise.
34154         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
34155         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
34156         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
34157         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
34158         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
34159         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
34160         Specify type and value.
34161         (TVERSLEN): Likewise.
34162         (REGTYPE): Likewise.
34163         (AREGTYPE): Likewise.
34164         (LNKTYPE): Likewise.
34165         (SYMTYPE): Likewise.
34166         (CHRTYPE): Likewise.
34167         (BLKTYPE): Likewise.
34168         (DIRTYPE): Likewise.
34169         (FIFOTYPE): Likewise.
34170         (CONTTYPE): Likewise.
34171         (TSUID): Likewise.
34172         (TSGID): Likewise.
34173         (TSVTX): Likewise.
34174         (TUREAD): Likewise.
34175         (TUWRITE): Likewise.
34176         (TUEXEC): Likewise.
34177         (TGREAD): Likewise.
34178         (TGWRITE): Likewise.
34179         (TGEXEC): Likewise.
34180         (TOREAD): Likewise.
34181         (TOWRITE): Likewise.
34182         (TOEXEC): Likewise.
34183         [POSIX] (TSVTX): Expect constant.
34185 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
34187         * Makefile (tests): Change dependencies to ....
34188         (tests-special): ... additions to this variable.
34189         (tests): Depend on $(tests-special).
34190         * Makerules (check-abi-list): New variable.
34191         (check-abi): Depend on $(check-abi-list).
34192         [$(subdir) = elf] (tests-special): Add
34193         $(objpfx)check-abi-libc.out.
34194         [$(build-shared) = yes && subdir] (tests-special): Add
34195         $(check-abi-list).
34196         [$(build-shared) = yes && subdir] (tests): Do not depend on
34197         check-abi.
34198         * Rules (tests): Depend on $(tests-special).
34199         (xtests): Depend on $(xtests-special).
34200         * catgets/Makefile (tests): Change dependencies to ....
34201         (tests-special): ... additions to this variable.
34202         * conform/Makefile (tests): Change dependencies to ....
34203         (tests-special): ... additions to this variable.
34204         * elf/Makefile (tests): Change dependencies to ....
34205         (tests-special): ... additions to this variable.
34206         * grp/Makefile (tests): Change dependencies to ....
34207         (tests-special): ... additions to this variable.
34208         * iconv/Makefile (xtests): Change dependencies to ....
34209         (xtests-special): ... additions to this variable.
34210         * iconvdata/Makefile (tests): Change dependencies to ....
34211         (tests-special): ... additions to this variable.
34212         * intl/Makefile (tests): Change dependencies to ....
34213         (tests-special): ... additions to this variable.  Also add
34214         $(objpfx)tst-gettext.out.
34215         * io/Makefile (tests): Change dependencies to ....
34216         (tests-special): ... additions to this variable.
34217         * libio/Makefile (tests): Change dependencies to ....
34218         (tests-special): ... additions to this variable.
34219         * malloc/Makefile (tests): Change dependencies to ....
34220         (tests-special): ... additions to this variable.
34221         * misc/Makefile (tests): Change dependencies to ....
34222         (tests-special): ... additions to this variable.
34223         * nptl/Makefile (tests): Change dependencies to ....
34224         (tests-special): ... additions to this variable.
34225         * nptl_db/Makefile (tests): Change dependencies to ....
34226         (tests-special): ... additions to this variable.
34227         * posix/Makefile (tests): Change dependencies to ....
34228         (tests-special): ... additions to this variable.
34229         (xtests): Change dependencies to ....
34230         (xtests-special): ... additions to this variable.
34231         * resolv/Makefile (tests): Change dependencies to ....
34232         (tests-special): ... additions to this variable.
34233         (xtests): Change dependencies to ....
34234         (xtests-special): ... additions to this variable.
34235         * stdio-common/Makefile (tests): Change dependencies to ....
34236         (tests-special): ... additions to this variable.
34237         (do-tst-unbputc): Remove target.
34238         (do-tst-printf): Likewise.
34239         * stdlib/Makefile (tests): Change dependencies to ....
34240         (tests-special): ... additions to this variable.
34241         * string/Makefile (tests): Change dependencies to ....
34242         (tests-special): ... additions to this variable.
34243         * sysdeps/x86/Makefile (tests): Change dependencies to ....
34244         (tests-special): ... additions to this variable.
34246         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
34247         whole file.
34248         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
34249         whole file.
34250         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
34251         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
34253         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
34254         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
34255         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
34256         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
34257         * conform/data/libgen.h-data [XPG3]: Likewise.
34258         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
34259         * conform/data/ndbm.h-data [XPG3]: Likewise.
34260         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
34261         * conform/data/netdb.h-data [XPG3]: Likewise.
34262         * conform/data/netinet/in.h-data [XPG3]: Likewise.
34263         * conform/data/poll.h-data [XPG3]: Likewise.
34264         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
34265         * conform/data/strings.h-data [XPG3]: Likewise.
34266         * conform/data/stropts.h-data [XPG3]: Likewise.
34267         * conform/data/sys/mman.h-data [XPG3]: Likewise.
34268         * conform/data/sys/resource.h-data [XPG3]: Likewise.
34269         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
34270         Likewise.
34271         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
34272         * conform/data/sys/time.h-data [XPG3]: Likewise.
34273         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
34274         * conform/data/sys/uio.h-data [XPG3]: Likewise.
34275         * conform/data/sys/un.h-data [XPG3]: Likewise.
34276         * conform/data/syslog.h-data [XPG3]: Likewise.
34277         * conform/data/ucontext.h-data [XPG3]: Likewise.
34278         * conform/data/utmpx.h-data [XPG3]: Likewise.
34279         * conform/data/varargs.h-data [UNIX98]: Enable file.
34281         * manual/Makefile (INSTALL_INFO): Remove variable setting.
34283         * math/libm-test.inc (struct test_f_f_data): Move expected results
34284         into structure for each rounding mode.
34285         (struct test_ff_f_data): Likewise.
34286         (struct test_ff_f_data_nexttoward): Likewise.
34287         (struct test_fi_f_data): Likewise.
34288         (struct test_fl_f_data): Likewise.
34289         (struct test_if_f_data): Likewise.
34290         (struct test_fff_f_data): Likewise.
34291         (struct test_c_f_data): Likewise.
34292         (struct test_f_f1_data): Likewise.
34293         (struct test_fF_f1_data): Likewise.
34294         (struct test_ffI_f1_data): Likewise.
34295         (struct test_c_c_data): Likewise.
34296         (struct test_cc_c_data): Likewise.
34297         (struct test_f_i_data): Likewise.
34298         (struct test_ff_i_data): Likewise.
34299         (struct test_f_l_data): Likewise.
34300         (struct test_f_L_data): Likewise.
34301         (struct test_fFF_11_data): Likewise.
34302         (RM_): New macro.
34303         (RM_FE_DOWNWARD): Likewise.
34304         (RM_FE_TONEAREST): Likewise.
34305         (RM_FE_TOWARDZERO): Likewise.
34306         (RM_FE_UPWARD): Likewise.
34307         (RUN_TEST_LOOP_f_f): Update references to expected results.
34308         (RUN_TEST_LOOP_2_f): Likewise.
34309         (RUN_TEST_LOOP_fff_f): Likewise.
34310         (RUN_TEST_LOOP_c_f): Likewise.
34311         (RUN_TEST_LOOP_f_f1): Likewise.
34312         (RUN_TEST_LOOP_fF_f1): Likewise.
34313         (RUN_TEST_LOOP_fI_f1): Likewise.
34314         (RUN_TEST_LOOP_ffI_f1): Likewise.
34315         (RUN_TEST_LOOP_c_c): Likewise.
34316         (RUN_TEST_LOOP_cc_c): Likewise.
34317         (RUN_TEST_LOOP_f_i): Likewise.
34318         (RUN_TEST_LOOP_f_i_tg): Likewise.
34319         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34320         (RUN_TEST_LOOP_f_b): Likewise.
34321         (RUN_TEST_LOOP_f_b_tg): Likewise.
34322         (RUN_TEST_LOOP_f_l): Likewise.
34323         (RUN_TEST_LOOP_f_L): Likewise.
34324         (RUN_TEST_LOOP_fFF_11): Likewise.
34325         * math/gen-libm-test.pl (parse_args): Output four copies of
34326         expected results for each test.
34328         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34329         (__ASSUME_UTIMES): Remove.
34330         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34331         (__ASSUME_UTIMES): Likewise.
34333         * math/gen-auto-libm-tests.c: Update comment on output format.
34334         (output_for_one_input_case): Generate before-rounding and
34335         after-rounding information as conditions on output flags not
34336         floating-point format.
34337         * math/auto-libm-test-out: Regenerated.
34338         * math/gen-libm-test.pl (cond_value): New function.
34339         (or_cond_value): Use cond_value.
34340         (generate_testfile): Handle conditional exceptions.
34342 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
34344         * math/libm-test.inc (max_valid_error): New variable.
34345         (init_max_error): Take new argument specifying whether function
34346         results are exactly determined.  Set max_valid_error and bound
34347         other variables for errors based on this argument.
34348         (set_max_error): Do not record results above max_valid_error.
34349         (check_float_internal): Only accept errors of up to 0.5ulps if
34350         also at most max_valid_error.
34351         (START): Take new argument EXACT and pass it to init_max_error.
34352         (acos_test): Update call to START.
34353         (acos_test_tonearest): Likewise.
34354         (acos_test_towardzero): Likewise.
34355         (acos_test_downward): Likewise.
34356         (acos_test_upward): Likewise.
34357         (acosh_test): Likewise.
34358         (asin_test): Likewise.
34359         (asin_test_tonearest): Likewise.
34360         (asin_test_towardzero): Likewise.
34361         (asin_test_downward): Likewise.
34362         (asin_test_upward): Likewise.
34363         (asinh_test): Likewise.
34364         (atan_test): Likewise.
34365         (atanh_test): Likewise.
34366         (atan2_test): Likewise.
34367         (cabs_test): Likewise.
34368         (cacos_test): Likewise.
34369         (cacosh_test): Likewise.
34370         (carg_test): Likewise.
34371         (casin_test): Likewise.
34372         (casinh_test): Likewise.
34373         (catan_test): Likewise.
34374         (catanh_test): Likewise.
34375         (cbrt_test): Likewise.
34376         (ccos_test): Likewise.
34377         (ccosh_test): Likewise.
34378         (ceil_test): Likewise.
34379         (cexp_test): Likewise.
34380         (cimag_test): Likewise.
34381         (clog_test): Likewise.
34382         (clog10_test): Likewise.
34383         (conj_test): Likewise.
34384         (copysign_test): Likewise.
34385         (cos_test): Likewise.
34386         (cos_test_tonearest): Likewise.
34387         (cos_test_towardzero): Likewise.
34388         (cos_test_downward): Likewise.
34389         (cos_test_upward): Likewise.
34390         (cosh_test): Likewise.
34391         (cosh_test_tonearest): Likewise.
34392         (cosh_test_towardzero): Likewise.
34393         (cosh_test_downward): Likewise.
34394         (cosh_test_upward): Likewise.
34395         (cpow_test): Likewise.
34396         (cproj_test): Likewise.
34397         (creal_test): Likewise.
34398         (csin_test): Likewise.
34399         (csinh_test): Likewise.
34400         (csqrt_test): Likewise.
34401         (ctan_test): Likewise.
34402         (ctan_test_tonearest): Likewise.
34403         (ctan_test_towardzero): Likewise.
34404         (ctan_test_downward): Likewise.
34405         (ctan_test_upward): Likewise.
34406         (ctanh_test): Likewise.
34407         (ctanh_test_tonearest): Likewise.
34408         (ctanh_test_towardzero): Likewise.
34409         (ctanh_test_downward): Likewise.
34410         (ctanh_test_upward): Likewise.
34411         (erf_test): Likewise.
34412         (erfc_test): Likewise.
34413         (exp_test): Likewise.
34414         (exp_test_tonearest): Likewise.
34415         (exp_test_towardzero): Likewise.
34416         (exp_test_downward): Likewise.
34417         (exp_test_upward): Likewise.
34418         (exp10_test): Likewise.
34419         (exp10_test_tonearest): Likewise.
34420         (exp10_test_towardzero): Likewise.
34421         (exp10_test_downward): Likewise.
34422         (exp10_test_upward): Likewise.
34423         (pow10_test): Likewise.
34424         (exp2_test): Likewise.
34425         (expm1_test): Likewise.
34426         (expm1_test_tonearest): Likewise.
34427         (expm1_test_towardzero): Likewise.
34428         (expm1_test_downward): Likewise.
34429         (expm1_test_upward): Likewise.
34430         (fabs_test): Likewise.
34431         (fdim_test): Likewise.
34432         (floor_test): Likewise.
34433         (fma_test): Likewise.
34434         (fma_test_towardzero): Likewise.
34435         (fma_test_downward): Likewise.
34436         (fma_test_upward): Likewise.
34437         (fmax_test): Likewise.
34438         (fmin_test): Likewise.
34439         (fmod_test): Likewise.
34440         (fpclassify_test): Likewise.
34441         (frexp_test): Likewise.
34442         (hypot_test): Likewise.
34443         (ilogb_test): Likewise.
34444         (isfinite_test): Likewise.
34445         (finite_test): Likewise.
34446         (isgreater_test): Likewise.
34447         (isgreaterequal_test): Likewise.
34448         (isinf_test): Likewise.
34449         (isless_test): Likewise.
34450         (islessequal_test): Likewise.
34451         (islessgreater_test): Likewise.
34452         (isnan_test): Likewise.
34453         (isnormal_test): Likewise.
34454         (issignaling_test): Likewise.
34455         (isunordered_test): Likewise.
34456         (j0_test): Likewise.
34457         (j1_test): Likewise.
34458         (jn_test): Likewise.
34459         (ldexp_test): Likewise.
34460         (lgamma_test): Likewise.
34461         (gamma_test): Likewise.
34462         (lrint_test): Likewise.
34463         (lrint_test_tonearest): Likewise.
34464         (lrint_test_towardzero): Likewise.
34465         (lrint_test_downward): Likewise.
34466         (lrint_test_upward): Likewise.
34467         (llrint_test): Likewise.
34468         (llrint_test_tonearest): Likewise.
34469         (llrint_test_towardzero): Likewise.
34470         (llrint_test_downward): Likewise.
34471         (llrint_test_upward): Likewise.
34472         (log_test): Likewise.
34473         (log10_test): Likewise.
34474         (log1p_test): Likewise.
34475         (log2_test): Likewise.
34476         (logb_test): Likewise.
34477         (logb_test_downward): Likewise.
34478         (lround_test): Likewise.
34479         (llround_test): Likewise.
34480         (modf_test): Likewise.
34481         (nearbyint_test): Likewise.
34482         (nextafter_test): Likewise.
34483         (nexttoward_test): Likewise.
34484         (pow_test): Likewise.
34485         (pow_test_tonearest): Likewise.
34486         (pow_test_towardzero): Likewise.
34487         (pow_test_downward): Likewise.
34488         (pow_test_upward): Likewise.
34489         (remainder_test): Likewise.
34490         (drem_test): Likewise.
34491         (remainder_test_tonearest): Likewise.
34492         (drem_test_tonearest): Likewise.
34493         (remainder_test_towardzero): Likewise.
34494         (drem_test_towardzero): Likewise.
34495         (remainder_test_downward): Likewise.
34496         (drem_test_downward): Likewise.
34497         (remainder_test_upward): Likewise.
34498         (drem_test_upward): Likewise.
34499         (remquo_test): Likewise.
34500         (rint_test): Likewise.
34501         (rint_test_tonearest): Likewise.
34502         (rint_test_towardzero): Likewise.
34503         (rint_test_downward): Likewise.
34504         (rint_test_upward): Likewise.
34505         (round_test): Likewise.
34506         (scalb_test): Likewise.
34507         (scalbn_test): Likewise.
34508         (scalbln_test): Likewise.
34509         (signbit_test): Likewise.
34510         (sin_test): Likewise.
34511         (sin_test_tonearest): Likewise.
34512         (sin_test_towardzero): Likewise.
34513         (sin_test_downward): Likewise.
34514         (sin_test_upward): Likewise.
34515         (sincos_test): Likewise.
34516         (sinh_test): Likewise.
34517         (sinh_test_tonearest): Likewise.
34518         (sinh_test_towardzero): Likewise.
34519         (sinh_test_downward): Likewise.
34520         (sinh_test_upward): Likewise.
34521         (sqrt_test): Likewise.
34522         (sqrt_test_tonearest): Likewise.
34523         (sqrt_test_towardzero): Likewise.
34524         (sqrt_test_downward): Likewise.
34525         (sqrt_test_upward): Likewise.
34526         (tan_test): Likewise.
34527         (tan_test_tonearest): Likewise.
34528         (tan_test_towardzero): Likewise.
34529         (tan_test_downward): Likewise.
34530         (tan_test_upward): Likewise.
34531         (tanh_test): Likewise.
34532         (tgamma_test): Likewise.
34533         (trunc_test): Likewise.
34534         (y0_test): Likewise.
34535         (y1_test): Likewise.
34536         (yn_test): Likewise.
34537         (significand_test): Likewise.
34539         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
34540         individual tests in comment.
34541         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
34542         (prev_max_error): New variable.
34543         (prev_real_max_error): Likewise.
34544         (prev_imag_max_error): Likewise.
34545         (compare_ulp_data): Don't refer to test names in comment.
34546         (find_test_ulps): Remove function.
34547         (find_function_ulps): Likewise.
34548         (find_complex_function_ulps): Likewise.
34549         (init_max_error): Take function name as argument.  Look up ulps
34550         for that function.
34551         (print_ulps): Remove function.
34552         (print_max_error): Use prev_max_error instead of calling
34553         find_function_ulps.
34554         (print_complex_max_error): Use prev_real_max_error and
34555         prev_imag_max_error instead of calling find_complex_function_ulps.
34556         (check_float_internal): Take max_ulp parameter instead of calling
34557         find_test_ulps.  Don't call print_ulps.
34558         (check_float): Update call to check_float_internal.
34559         (check_complex): Update calls to check_float_internal.
34560         (START): Pass argument to init_max_error.
34561         * math/gen-libm-test.pl (%results): Don't include "kind"
34562         information.
34563         (parse_ulps): Don't handle ulps of individual tests.
34564         (print_ulps_file): Likewise.
34565         (output_ulps): Likewise.
34566         * math/README.libm-test: Update.
34567         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
34568         individual tests.
34569         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
34570         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
34571         * sysdeps/arm/libm-test-ulps: Likewise.
34572         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
34573         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
34574         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
34575         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
34576         * sysdeps/microblaze/libm-test-ulps: Likewise.
34577         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
34578         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34579         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34580         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
34581         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34582         * sysdeps/sh/libm-test-ulps: Likewise.
34583         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34584         * sysdeps/tile/libm-test-ulps: Likewise.
34585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34587 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
34589         * math/libm-test.inc (print_complex_max_error): Check separately
34590         whether real and imaginary errors are within allowed range and
34591         pass 0 to print_complex_function_ulps instead of value within
34592         allowed range.
34594 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34596         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
34597         formatting.
34598         (get_handles_fopen): Likewise.
34599         (do_write_test): Likewise.
34601         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
34603         * libio/fileops.c (do_ftell): Use cached offset when
34604         available.
34605         * libio/iofwide.c (do_ftell_wide): Likewise.
34606         * libio/iofdopen.c (_IO_new_fdopen): Don't use
34607         _IO_file_attach.
34608         * libio/wfileops.c (_IO_fwide): Don't cache offset.
34610         [BZ #16532]
34611         * libio/libioP.h (get_file_offset): New function.
34612         * libio/fileops.c (get_file_offset): Likewise.
34613         (do_ftell): Likewise.
34614         (_IO_new_file_seekoff): Split out ftell logic.
34615         * libio/wfileops.c (do_ftell_wide): Likewise.
34616         (_IO_wfile_seekoff): Split out ftell logic.
34617         * libio/tst-ftell-active-handler.c: New test case.
34618         * libio/Makefile (tests): Add it.
34620 2014-03-03  Roland McGrath  <roland@hack.frob.com>
34622         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
34623         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
34625 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34627         [BZ #16639]
34628         * nscd/connections.c (nscd_init): Call do_exit.
34629         (start_threads): Call do_exit and notify_parent.
34630         (begin_drop_privileges): Call do_exit.
34631         (finish_drop_privileges): Likewise.
34632         * nscd/selinux.c (preserve_capabilities): Likewise.
34633         (install_real_capabilities): Likewise.
34634         (nscd_selinux_enabled): Likewise.
34635         (avc_create_thread): Likewise.
34636         (avc_alloc_lock): Likewise.
34637         (nscd_avc_init): Likewise.
34638         * nscd/nscd.c (parent_fd): New static variable.
34639         (main): Create a pipe between parent and child processes.
34640         Skip closing parent_fd.
34641         (monitor_child): New function.
34642         (do_exit): Likewise.
34643         (notify_parent): Likewise.
34644         * nscd/nscd.h (notify_parent): Likewise.
34645         (do_exit): Likewise.
34647 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
34649         * malloc/malloc.c (__libc_calloc): Revert last change.
34651 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34653         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34655 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34657         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
34658         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
34659         implementation.
34660         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34661         (__libc_ifunc_impl_list): Likewise.
34662         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
34663         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
34664         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
34665         * string/strrchr.c: Define STRRCHR.
34667 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
34669         * benchtest/bench-strtok.c (simple_strtok): Delete.
34670         (strtok_string): Use as benchmark.
34671         * string/strtok (STRTOK): New macro.
34673 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
34675         * manual/threads.texi: Add header and standard comments to all
34676         functions.
34678         * elf/dl-lookup.c (check_match): New function.
34679         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
34680         (do_lookup_x): Remove nested function check_match. Use non-nested
34681         function check_match.
34683 2014-02-28  Roland McGrath  <roland@hack.frob.com>
34685         * csu/Makefile (generated, before-compile): Use += rather than =.
34686         * catgets/Makefile (generated, generated-dirs): Likewise.
34687         * debug/Makefile (generated): Likewise.
34688         * dlfcn/Makefile (generated): Likewise.
34689         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
34690         * iconvdata/Makefile (before-compile, generated): Likewise.
34691         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
34692         * libio/Makefile (generated): Likewise.
34693         * malloc/Makefile (generated): Likewise.
34694         * manual/Makefile (generated, generated-dirs): Likewise.
34695         * misc/Makefile (generated): Likewise.
34696         * posix/Makefile (generated): Likewise.
34697         * resolv/Makefile (generated): Likewise.
34698         * sunrpc/Makefile (generated, generated-dirs): Likewise.
34699         * timezone/Makefile (generated, generated-dirs): Likewise.
34701         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
34703 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34705         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
34706         power8 implementation.
34707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
34708         file: POWER8 llround ifunc implementation.
34709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
34710         (__lllround): Add POWER8 implementation.
34711         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
34712         POWER8 llround implementation.
34714         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
34715         power8 implementation.
34716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
34717         file: POWER8 llrint ifunc implementation.
34718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
34719         Add POWER8 implementation.
34720         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
34721         POWER8 llrint implementation.
34723         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
34724         power8 implementation.
34725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
34726         file: POWER8 finite ifunc implementation.
34727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
34728         Add POWER8 implementation.
34729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
34730         Likewise.
34731         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
34732         POWER8 finite implementation.
34733         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
34735         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
34736         power8 implementation.
34737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
34738         file: POWER8 isinf ifunc implementation.
34739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
34740         POWER8 implementation.
34741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
34742         Likewise.
34743         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
34744         isinf implementation.
34745         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
34747         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
34748         (INIT_ARCH): Add hwcap2 initialization.
34749         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
34750         power8 implementation.
34751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
34752         file: POWER8 isnan ifunc implementation.
34753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
34754         POWER8 implementation.
34755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
34756         Likewise.
34757         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
34758         isnan implementation.
34759         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
34761 2014-02-27  Joey Ye  <joey.ye@arm.com>
34763         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
34764         (_FP_NANFRAC_Q): Set to zero.
34766 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34768         [BZ #16623]
34769         * math/auto-libm-test-in: New test inputs.
34770         * math/auto-libm-test-out: Regenerate.
34771         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
34772         and DA.
34773         (__cos): Likewise.
34774         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34776 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
34778         * scripts/evaluate-test.sh: Take new argument indicating whether
34779         failure is expected.
34780         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
34781         indicating whether failure is expected.
34782         * conform/Makefile (test-xfail-run-conformtest): New variable.
34783         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
34784         level.
34785         * posix/Makefile (test-xfail-annexc): New variable.
34786         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
34788 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
34790         * argp/Makefile: Include Makeconfig immediately after defining
34791         subdir.
34792         * assert/Makefile: Likewise.
34793         * benchtests/Makefile: Likewise.
34794         * catgets/Makefile: Likewise.
34795         * conform/Makefile: Likewise.
34796         * crypt/Makefile: Likewise.
34797         * csu/Makefile: Likewise.
34798         (all): Remove target.
34799         * ctype/Makefile: Include Makeconfig immediately after defining
34800         subdir.
34801         * debug/Makefile: Likewise.
34802         * dirent/Makefile: Likewise.
34803         * dlfcn/Makefile: Likewise.
34804         * gmon/Makefile: Likewise.
34805         * gnulib/Makefile: Likewise.
34806         * grp/Makefile: Likewise.
34807         * gshadow/Makefile: Likewise.
34808         * hesiod/Makefile: Likewise.
34809         * hurd/Makefile: Likewise.
34810         (all): Remove target.
34811         * iconvdata/Makefile: Include Makeconfig immediately after
34812         defining subdir.
34813         * inet/Makefile: Likewise.
34814         * intl/Makefile: Likewise.
34815         * io/Makefile: Likewise.
34816         * libio/Makefile: Likewise.
34817         (all): Remove target.
34818         * locale/Makefile: Include Makeconfig immediately after defining
34819         subdir.
34820         * login/Makefile: Likewise.
34821         * mach/Makefile: Likewise.
34822         (all): Remove target.
34823         * malloc/Makefile: Include Makeconfig immediately after defining
34824         subdir.
34825         (all): Remove target.
34826         * manual/Makefile: Include Makeconfig immediately after defining
34827         subdir.
34828         * math/Makefile: Likewise.
34829         * misc/Makefile: Likewise.
34830         * nis/Makefile: Likewise.
34831         * nss/Makefile: Likewise.
34832         * po/Makefile: Likewise.
34833         (all): Remove target.
34834         * posix/Makefile: Include Makeconfig immediately after defining
34835         subdir.
34836         * pwd/Makefile: Likewise.
34837         * resolv/Makefile: Likewise.
34838         * resource/Makefile: Likewise.
34839         * rt/Makefile: Likewise.
34840         * setjmp/Makefile: Likewise.
34841         * shadow/Makefile: Likewise.
34842         * signal/Makefile: Likewise.
34843         * socket/Makefile: Likewise.
34844         * soft-fp/Makefile: Likewise.
34845         * stdio-common/Makefile: Likewise.
34846         * stdlib/Makefile: Likewise.
34847         * streams/Makefile: Likewise.
34848         * string/Makefile: Likewise.
34849         * sunrpc/Makefile: Likewise.
34850         (all): Remove target.
34851         * sysvipc/Makefile: Include Makeconfig immediately after defining
34852         subdir.
34853         * termios/Makefile: Likewise.
34854         * time/Makefile: Likewise.
34855         * timezone/Makefile: Likewise.
34856         (all): Remove target.
34857         * wcsmbs/Makefile: Include Makeconfig immediately after defining
34858         subdir.
34859         * wctype/Makefile: Likewise.
34861 2014-02-26  Steve Ellcey  <sellcey@mips.com>
34863         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
34864         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
34865         (libc_feholdexcept_setround_mips): Ditto.
34866         (libc_feholdsetround): New.
34867         (libc_feholdsetroundf): New.
34868         (libc_feholdsetroundl): New.
34869         (libc_feupdateenv_test_mips): New.
34870         (libc_feupdateenv_test): New.
34871         (libc_feupdateenv_testf): New.
34872         (libc_feupdateenv_testl): New.
34873         (libc_feresetround): New.
34874         (libc_feresetroundf): New.
34875         (libc_feresetroundl): New.
34876         (libc_fetestexcept_mips): New.
34877         (libc_fetestexcept): New.
34878         (libc_fetestexceptf): New.
34879         (libc_fetestexceptl): New.
34880         (HAVE_RM_CTX): New.
34881         (libc_feholdexcept_setround_mips_ctx): New.
34882         (libc_feholdexcept_setround_ctx): New.
34883         (libc_feholdexcept_setroundf_ctx): New.
34884         (libc_feholdexcept_setroundl_ctx): New.
34885         (libc_fesetenv_mips_ctx): New.
34886         (libc_fesetenv_ctx): New.
34887         (libc_fesetenv_ctxf): New.
34888         (libc_fesetenv_ctxl): New.
34889         (libc_feupdateenv_mips_ctx): New.
34890         (libc_feupdateenv_ctx): New.
34891         (libc_feupdateenvf_ctx): New.
34892         (libc_feupdateenvl_ctx): New.
34893         (libc_feholdsetround_mips_ctx): New.
34894         (libc_feholdsetround_ctx): New.
34895         (libc_feholdsetroundf_ctx): New.
34896         (libc_feholdsetroundl_ctx): New.
34897         (libc_feresetround_mips_ctx): New.
34898         (libc_feresetround_ctx): New.
34899         (libc_feresetroundf_ctx): New.
34900         (libc_feresetroundl_ctx): New.
34902 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
34904         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
34906         * manual/ipc.texi: New file.
34907         * manual/Makefile (chapters): Add ipc.
34908         * manual/job.texi: Add "Inter-Process Communication" to next.
34909         * manual/process.texi: Add "Inter-Process Communication" to prev.
34911 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34913         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34915 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
34917         * malloc/malloc.c (__libc_calloc): Simplify implementation.
34919         * manual/arith.texi: Fix spaces after sentences.
34920         * manual/charset.texi: Likewise.
34921         * manual/errno.texi: Likewise.
34922         * manual/install.texi: Likewise.
34923         * manual/llio.texi: Likewise.
34924         * manual/locale.texi: Likewise.
34925         * manual/maint.texi: Likewise.
34926         * manual/math.texi: Likewise.
34927         * manual/memory.texi: Likewise.
34928         * manual/message.texi: Likewise.
34929         * manual/probes.texi: Likewise.
34930         * manual/resource.texi: Likewise.
34931         * manual/signal.texi: Likewise.
34932         * manual/socket.texi: Likewise.
34933         * manual/stdio.texi: Likewise.
34934         * manual/string.texi: Likewise.
34935         * manual/time.texi: Likewise.
34936         * manual/users.texi: Likewise.
34938 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
34940         [BZ #16632]
34941         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
34942         _DEFAULT_SOURCE is defined.
34944 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
34945             Carlos O'Donell  <carlos@redhat.com>
34947         [BZ #16613]
34948         * elf/dl-tls.c (_dl_count_modids): New function.
34949         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
34950         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
34951         audit library and increment generation counter.
34952         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
34953         * elf/tst-audit9.c: New file.
34954         * elf/tst-auditmod9a.c: New file.
34955         * elf/tst-auditmod9b.c: New file.
34956         * elf/Makefile: Add rules to build and run tst-audit9.
34958 2014-02-25  Florian Weimer  <fweimer@redhat.com>
34960         [BZ #15347]
34961         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
34963 2014-02-25  Will Newton  <will.newton@linaro.org>
34965         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
34966         (__longjmp): Restore sp and lr before restoring callee
34967         saved registers.  Add longjmp and longjmp_target
34968         SystemTap probe point.
34969         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
34970         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
34971         Define to zero to match jmpbuf layout.
34972         * sysdeps/arm/setjmp.S: Include stap-probe.h.
34973         (__sigsetjmp): Save sp and lr before saving callee
34974         saved registers.  Add setjmp SystemTap probe point.
34976 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
34978         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34980 2014-02-24  Andreas Schwab  <schwab@suse.de>
34982         [BZ #15804]
34983         * elf/pldd.c (wait_for_ptrace_stop): New function.
34984         (main): Call it after attaching.
34986 2014-02-22  Roland McGrath  <roland@hack.frob.com>
34988         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
34989         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
34990         Versions files is now verboten.
34991         * hurd/Versions (libc: GLIBC_2.0):
34992         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
34993         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
34994         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
34995         * mach/Versions: Likewise.
34997         * csu/Versions: Remove unused %include.
34998         * resolv/Versions: Likewise.
35000 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
35002         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
35003         ($(objpfx)check-local-headers.out): Likewise.
35004         ($(objpfx)begin-end-check.out): Likewise.
35005         * Makerules (check-abi-%.out): Likewise.
35006         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
35007         ($(objpfx)test2.cat): Likewise.
35008         ($(objpfx)de/libc.cat): Likewise.
35009         ($(objpfx)test-gencat.out): Likewise.
35010         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
35011         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
35012         ($(objpfx)noload-mem): Likewise.
35013         ($(objpfx)tst-pathopt.out): Likewise.
35014         ($(objpfx)tst-rtld-load-self.out): Likewise.
35015         ($(objpfx)tst-array1-cmp.out): Likewise.
35016         ($(objpfx)tst-array1-static-cmp.out): Likewise.
35017         ($(objpfx)tst-array2-cmp.out): Likewise.
35018         ($(objpfx)tst-array3-cmp.out): Likewise.
35019         ($(objpfx)tst-array4-cmp.out): Likewise.
35020         ($(objpfx)tst-array5-cmp.out): Likewise.
35021         ($(objpfx)tst-array5-static-cmp.out): Likewise.
35022         ($(objpfx)check-textrel.out): Likewise.
35023         ($(objpfx)check-execstack.out): Likewise.
35024         ($(objpfx)check-localplt.out): Likewise.
35025         ($(objpfx)order2-cmp.out): Likewise.
35026         ($(objpfx)tst-leaks1-mem): Likewise.
35027         ($(objpfx)tst-leaks1-static-mem): Likewise.
35028         ($(objpfx)tst-initorder-cmp.out): Likewise.
35029         ($(objpfx)tst-initorder2-cmp.out): Likewise.
35030         ($(objpfx)tst-unused-dep.out): Likewise.
35031         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
35032         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
35033         * iconv/Makefile (test-iconvconfig): Likewise.
35034         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
35035         ($(objpfx)iconv-test.out): Likewise.
35036         ($(objpfx)tst-tables.out): Likewise.
35037         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
35038         ($(objpfx)tst-gettext.out): Likewise.
35039         ($(objpfx)tst-translit.out): Likewise.
35040         ($(objpfx)tst-gettext2.out): Likewise.
35041         ($(objpfx)tst-gettext4.out): Likewise.
35042         ($(objpfx)tst-gettext6.out): Likewise.
35043         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
35044         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
35045         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
35046         ($(objpfx)tst-fopenloc-mem.out): Likewise.
35047         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
35048         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
35049         * posix/Makefile ($(objpfx)globtest.out): Likewise.
35050         ($(objpfx)wordexp-tst.out): Likewise.
35051         ($(objpfx)annexc.out): Likewise.
35052         ($(objpfx)tst-fnmatch-mem): Likewise.
35053         ($(objpfx)bug-regex2-mem): Likewise.
35054         ($(objpfx)bug-regex14-mem): Likewise.
35055         ($(objpfx)bug-regex21-mem): Likewise.
35056         ($(objpfx)bug-regex31-mem): Likewise.
35057         ($(objpfx)tst-vfork3-mem): Likewise.
35058         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
35059         ($(objpfx)tst-pcre-mem): Likewise.
35060         ($(objpfx)tst-boost-mem): Likewise.
35061         ($(objpfx)tst-getconf.out): Likewise.
35062         ($(objpfx)bug-ga2-mem): Likewise.
35063         ($(objpfx)bug-glob2-mem): Likewise.
35064         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
35065         ($(objpfx)mtrace-tst-leaks2): Likewise.
35066         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
35067         ($(objpfx)tst-printf.out): Likewise.
35068         ($(objpfx)tst-setvbuf1.out): Likewise.
35069         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
35070         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
35071         ($(objpfx)tst-fmtmsg.out): Likewise.
35072         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
35073         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
35075         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
35076         * bits/sigaction.h [__USE_MISC]: Likewise.
35077         * bits/waitstatus.h: Update #endif comments.
35078         * ctype/ctype.h: Likewise.
35079         * dirent/dirent.h: Likewise.
35080         [__USE_MISC]: Remove redundant conditionals.
35081         * grp/grp.h: Update #endif comments.
35082         [__USE_GNU]: Remove redundant conditionals.
35083         [__USE_MISC]: Likewise.
35084         * inet/netinet/in.h [__USE_GNU]: Likewise.
35085         * io/sys/stat.h [__USE_MISC]: Likewise.
35086         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
35087         * libio/bits/stdio.h: Update #endif comments.
35088         [__USE_MISC]: Remove redundant conditionals.
35089         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
35090         * libio/stdio.h: Update #endif comments.
35091         [__USE_MISC]: Remove redundant conditionals.
35092         * math/bits/math-finite.h [__USE_MISC]: Likewise.
35093         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
35094         * math/math.h: Update #else and #endif comments.
35095         [__USE_MISC]: Remove redundant conditionals.
35096         * misc/sys/uio.h: Update #endif comments.
35097         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
35098         * posix/glob.h [__USE_MISC]: Likewise.
35099         * posix/sys/types.h: Update #endif comments.
35100         [__USE_MISC]: Remove redundant conditionals.
35101         * posix/sys/wait.h: Update #endif comments.
35102         [__USE_MISC]: Remove redundant conditionals.
35103         * posix/unistd.h: Update #endif comments.
35104         [__USE_MISC]: Remove redundant conditionals.
35105         * pwd/pwd.h [__USE_GNU]: Likewise.
35106         [__USE_MISC]: Likewise.
35107         * resolv/netdb.h [__USE_GNU]: Likewise.
35108         * signal/signal.h: Update #endif comments.
35109         [__USE_MISC]: Remove redundant conditionals.
35110         * stdlib/stdlib.h: Update #else and #endif comments.
35111         [__USE_MISC]: Remove redundant conditionals.
35112         [__USE_GNU]: Likewise.
35113         * string/bits/string2.h [__USE_MISC]: Likewise.
35114         * string/string.h: Update #endif comments.
35115         [__USE_MISC]: Remove redundant conditionals.
35116         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
35117         Likewise.
35118         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
35119         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
35120         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
35121         Likewise.
35122         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
35123         Likewise.
35124         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
35125         comments.
35126         [__USE_MISC]: Remove redundant conditionals.
35127         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
35128         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
35129         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
35130         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
35131         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
35132         Likewise.
35133         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
35134         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
35135         Likewise.
35136         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
35137         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
35138         Likewise.
35139         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
35140         Likewise.
35141         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
35142         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
35143         Likewise.
35144         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
35145         Likewise.
35146         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
35147         * sysdeps/x86/bits/string.h: Update #endif comments.
35148         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
35149         conditionals.
35150         * time/sys/time.h: Update #endif comments.
35151         * time/time.h: Likewise.
35152         [__USE_MISC]: Remove redundant conditionals.
35154 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
35156         [BZ #16600]
35157         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
35159 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
35161         * Versions.def (librt): Add GLIBC_2.17.
35163 2014-02-21  Adam Conrad  <adconrad@0c3.net>
35165         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
35166         synonym for _SYS_AUXV_H to allow direct inclusion.
35167         * sysdeps/sparc/bits/hwcap.h: Likewise.
35168         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
35169         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
35170         * sysdeps/sparc/sysdep.h: Likewise.
35172 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35174         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
35176 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35178         * benchtests/bench-strrchr.c: Print length instead of position.
35180 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
35182         [BZ #16611]
35183         * sysdeps/unix/sysv/linux/kernel-features.h
35184         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
35185         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
35186         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
35187         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
35188         Likewise.
35189         [__i386__ || __powerpc__ || __sh__ || __sparc__]
35190         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35191         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
35192         (__ASSUME_SENDMMSG): Define instead of using previous
35193         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
35194         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35195         (__ASSUME_SENDMMSG_SYSCALL): Define.
35196         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35197         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
35198         Likewise.
35199         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35200         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35201         Likewise.
35202         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35203         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35204         Likewise.
35205         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
35206         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
35207         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
35208         [__ASSUME_SENDMMSG]: Change conditionals to
35209         [__ASSUME_SENDMMSG_SOCKETCALL].
35210         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35211         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
35212         Define.
35213         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35214         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
35215         Likewise.
35216         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
35217         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
35218         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
35219         [!__ASSUME_SENDMMSG]: Change conditional to
35220         [!__ASSUME_SENDMMSG_SOCKETCALL].
35221         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35222         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35223         Define.
35225         [BZ #16610]
35226         * sysdeps/unix/sysv/linux/kernel-features.h
35227         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
35228         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
35229         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
35230         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
35231         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35232         [__i386__ || __sparc__]
35233         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35234         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
35235         (__ASSUME_RECVMMSG): Define instead of using previous
35236         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
35237         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35238         (__ASSUME_RECVMMSG_SYSCALL): Define.
35239         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35240         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35241         Likewise.
35242         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35243         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35244         Likewise.
35245         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35246         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35247         Likewise.
35248         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
35249         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
35250         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
35251         [__ASSUME_RECVMMSG]: Change condition to
35252         [__ASSUME_RECVMMSG_SOCKETCALL].
35253         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35254         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35255         Define.
35256         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35257         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35258         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35259         Likewise.
35260         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
35261         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
35262         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
35263         [!__ASSUME_RECVMMSG]: Change condition to
35264         [!__ASSUME_RECVMMSG_SOCKETCALL].
35265         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35266         (__ASSUME_RECVMMSG_SYSCALL): Define.
35268         [BZ #16609]
35269         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
35270         __powerpc__ || __s390__ || __sh__ || __sparc__]
35271         (__ASSUME_SOCKETCALL): Define.
35272         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
35273         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
35274         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
35275         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
35276         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35277         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
35278         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
35279         (__ASSUME_ACCEPT4): Define instead of using previous
35280         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
35281         __powerpc__ || __sparc__ || __s390__)] condition.
35282         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35283         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
35284         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
35285         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
35286         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
35287         [!__ASSUME_ACCEPT4]: Change condition to
35288         [!__ASSUME_ACCEPT4_SOCKETCALL].
35289         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35290         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
35291         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
35292         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35293         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
35294         __ASSUME_ACCEPT4_SYSCALL.
35295         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
35296         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
35297         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35298         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
35299         __ASSUME_ACCEPT4_SYSCALL.
35300         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
35301         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
35302         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
35303         [__ASSUME_ACCEPT4]: Change condition to
35304         [__ASSUME_ACCEPT4_SOCKETCALL].
35305         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35306         (__ASSUME_SOCKETCALL): Define.
35307         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
35308         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35309         (__ASSUME_SOCKETCALL): Define.
35310         (__ASSUME_ACCEPT4): Remove.
35311         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
35312         Define.
35313         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35314         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
35315         Likewise.
35316         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35317         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
35319         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
35320         macro.
35321         (HWCAP_ARM_LPAE): Likewise.
35322         (HWCAP_ARM_EVTSTRM): Likewise.
35323         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
35324         Add vpfd32, lpae and evtstrm.
35325         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
35326         Increase to 22.
35328 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
35330         * math/auto-libm-test-in: Add tests of clog10.
35331         * math/auto-libm-test-out: Regenerated.
35332         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
35333         * sysdeps/i386/fpu/libm-test-ulps: Update.
35334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35336 2014-02-18  Andreas Schwab  <schwab@suse.de>
35338         [BZ #16574]
35339         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
35340         Store non-zero if the second buffer was newly allocated.
35341         (send_dg): Likewise.
35342         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
35343         to send_vc and send_dg.
35344         (res_nsend): Pass NULL for ansp2_malloced.
35345         * resolv/res_query.c (__libc_res_nquery): Add parameter
35346         answerp2_malloced and pass it down to __libc_res_nsend.
35347         (res_nquery): Pass additional NULL to __libc_res_nquery.
35348         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
35349         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
35350         second answer buffer if answerp2_malloced was set.
35351         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
35352         (__libc_res_nquerydomain): Add parameter
35353         answerp2_malloced and pass it down to __libc_res_nquery.
35354         (res_nquerydomain): Pass additional NULL to
35355         __libc_res_nquerydomain.
35356         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
35357         additional NULL to __libc_res_nsend and __libc_res_nquery.
35358         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
35359         additional NULL to __libc_res_nsearch.
35360         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
35361         parameter of __libc_res_nsearch to check for separately allocated
35362         second buffer.
35363         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
35364         __libc_res_nquery.
35365         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
35366         additional NULL to __libc_res_nquery.
35367         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
35368         __libc_res_nsearch.
35369         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
35370         * include/resolv.h: Update prototypes of __libc_res_nquery,
35371         __libc_res_nsearch, __libc_res_nsend.
35373 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
35375         * math/auto-libm-test-in: Add tests of fma.
35376         * math/auto-libm-test-out: Regenerated.
35377         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
35378         (fma_towardzero_test_data): Likewise.
35379         (fma_downward_test_data): Likewise.
35380         (fma_upward_test_data): Likewise.
35381         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
35382         mpc_mode.
35383         (rounding_modes): Add values for new field.
35384         (func_calc_method): Add value mpfr_fff_f.
35385         (func_calc_desc): Add mpfr_fff_f union field.
35386         (test_function): Add field exact_args.
35387         (FUNC): Add macro argument EXACT_ARGS.
35388         (FUNC_mpfr_f_f): Update call to FUNC.
35389         (FUNC_mpfr_f_f): Likewise.
35390         (FUNC_mpfr_ff_f): Likewise.
35391         (FUNC_mpfr_if_f): Likewise.
35392         (FUNC_mpc_c_f): Likewise.
35393         (FUNC_mpc_c_c): Likewise.
35394         (test_functions): Add fma.  Update calls to FUNC.
35395         (handle_input_arg): Add argument exact_args.
35396         (add_test): Update call to handle_input_arg.
35397         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
35398         (output_for_one_input_case): Update call to calc_generic_results.
35399         Recalculate exact zero results in each rounding mode.
35401         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
35402         non-negative before setting low bit.
35403         * math/auto-libm-test-in: Mark one asin test possibly having
35404         spurious underflow.
35405         * math/auto-libm-test-out: Regenerated.
35406         * sysdeps/i386/fpu/libm-test-ulps: Update.
35407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35409 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
35411         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
35412         * sysdeps/unix/sysv/linux/microblaze: Move directory from
35413         ports/sysdeps/unix/sysv/linux/microblaze.
35414         * README: Add missing listing for microblaze*-*-linux-gnu.
35416 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
35418         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
35419         duplicate code
35421 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
35423         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
35424         * sysdeps/unix/sysv/linux/ia64: Move directory from
35425         ports/sysdeps/unix/sysv/linux/ia64.
35426         * README: Update listing for ia64-*-linux-gnu.
35428 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
35429             Joseph Myers  <joseph@codesourcery.com>
35431         * Makeconfig (test-name): New variable.
35432         (evaluate-test): Likewise.
35433         * Makerules (do-test-clean): Remove .test-result files.
35434         (common-mostlyclean): Likewise.
35435         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
35436         * scripts/evaluate-test.sh: New file.
35438 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
35440         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
35441         separate $(objpfx)tst-fopenloc-cmp.out and
35442         $(objpfx)tst-fopenloc-mem.out targets.
35443         (tests): Update dependencies.
35444         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
35445         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
35446         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
35447         (tst-rxspencer-no-utf8-ARGS): New variable.
35448         (tst-rxspencer-no-utf8-ENV): Likewise.
35449         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
35450         instead of $(objpfx)tst-rxspencer-mem.
35451         ($(objpfx)tst-rxspencer-mem): Change target to
35452         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
35453         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
35454         * posix/tst-rxspencer-no-utf8.c: New file.
35456         * elf/Makefile ($(objpfx)order.out): Remove rule.
35457         [$(run-built-tests) = yes] (tests): Depend on
35458         $(objpfx)order-cmp.out.
35459         ($(objpfx)order-cmp.out): New rule.
35460         [$(run-built-tests) = yes] (tests): Depend on
35461         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
35462         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
35463         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
35464         $(objpfx)tst-array5-static-cmp.out.
35465         ($(objpfx)tst-array1.out): Remove rule.
35466         ($(objpfx)tst-array1-cmp.out): New rule.
35467         ($(objpfx)tst-array1-static.out): Remove rule.
35468         ($(objpfx)tst-array1-static-cmp.out): New rule.
35469         ($(objpfx)tst-array2.out): Remove rule.
35470         ($(objpfx)tst-array2-cmp.out): New rule.
35471         ($(objpfx)tst-array3.out): Remove rule.
35472         ($(objpfx)tst-array3-cmp.out): New rule.
35473         ($(objpfx)tst-array4.out): Remove rule.
35474         ($(objpfx)tst-array4-cmp.out): New rule.
35475         ($(objpfx)tst-array5.out): Remove rule.
35476         ($(objpfx)tst-array5-cmp.out): New rule.
35477         ($(objpfx)tst-array5-static.out): Remove rule.
35478         ($(objpfx)tst-array5-static-cmp.out): New rule.
35479         [$(run-built-tests) = yes] (tests): Depend on
35480         $(objpfx)order2-cmp.out.
35481         ($(objpfx)order2.out): Remove rule.
35482         ($(objpfx)order2-cmp.out): New rule.
35483         ($(objpfx)tst-initorder.out): Remove rule.
35484         [$(run-built-tests) = yes] (tests): Depend on
35485         $(objpfx)tst-initorder-cmp.out.
35486         ($(objpfx)tst-initorder-cmp.out): New rule.
35487         ($(objpfx)tst-initorder2.out): Remove rule.
35488         [$(run-built-tests) = yes] (tests): Depend on
35489         $(objpfx)tst-initorder2-cmp.out.
35490         ($(objpfx)tst-initorder2-cmp.out): New rule.
35491         [$(run-built-tests) = yes] (tests): Depend on
35492         $(objpfx)tst-unused-dep-cmp.out.
35493         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
35494         ($(objpfx)tst-unused-dep-cmp.out): New rule.
35495         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
35496         on $(objpfx)tst-setvbuf1-cmp.out.
35497         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
35498         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
35499         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
35500         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
35501         ($(objpfx)tst-svc.out): Remove rule.
35502         ($(objpfx)tst-svc-cmp.out): New rule.
35504 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
35506         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
35507         * ctype/ctype.h [__USE_MISC]: Likewise.
35508         * dirent/dirent.h [__USE_MISC]: Likewise.
35509         * grp/grp.h [__USE_MISC]: Likewise.
35510         * io/fcntl.h [__USE_MISC]: Likewise.
35511         * io/sys/stat.h [__USE_MISC]: Likewise.
35512         * libio/stdio.h [__USE_MISC]: Likewise.
35513         * posix/unistd.h [__USE_MISC]: Likewise.
35514         * pwd/pwd.h [__USE_MISC]: Likewise.
35515         * stdlib.h [__USE_MISC]: Likewise.
35516         * string/bits/string2.h [__USE_MISC]: Likewise.
35517         * string/string.h [__USE_MISC]: Likewise.
35518         * time/time.h [__USE_MISC]: Likewise.
35520 2014-02-13  Andreas Schwab  <schwab@suse.de>
35522         [BZ #16574]
35523         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
35524         second answer buffer if it was separately allocated.
35526 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
35528         * sysdeps/mips/math-tests.h: Include <features.h>.
35529         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
35530         (ROUNDING_TESTS_long_double): Do not define.
35531         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
35532         (EXCEPTION_TESTS_long_double): Likewise.
35533         * sysdeps/mips/mips64/libm-test-ulps: Update.
35535         * include/features.h (__USE_BSD): Remove macro definitions.
35536         (__USE_SVID): Likewise.
35537         (_BSD_SOURCE): Likewise.
35538         (_SVID_SOURCE): Likewise.
35539         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
35540         from definition of _DEFAULT_SOURCE.
35541         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
35542         [_DEFAULT_SOURCE].
35543         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
35544         * bits/mman.h [__USE_BSD]: Likewise.
35545         * bits/termios.h [__USE_BSD]: Likewise.
35546         * bits/waitstatus.h [__USE_BSD]: Likewise.
35547         * ctype/ctype.h [__USE_SVID]: Likewise.
35548         * dirent/dirent.h [__USE_BSD]: Likewise.
35549         * grp/grp.h [__USE_SVID]: Likewise.
35550         [__USE_BSD]: Likewise.
35551         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
35552         * io/fcntl.h [__USE_BSD]: Likewise.
35553         * io/ftw.h [__USE_BSD]: Likewise.
35554         * io/sys/stat.h [__USE_BSD]: Likewise.
35555         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
35556         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
35557         * libio/stdio.h [__USE_SVID]: Likewise.
35558         [__USE_BSD]: Likewise.
35559         * math/math.h [__USE_SVID]: Likewise.
35560         [__USE_BSD]: Likewise.
35561         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
35562         * misc/bits/syslog.h [__USE_BSD]: Likewise.
35563         * misc/search.h [__USE_SVID]: Likewise.
35564         * misc/sys/mman.h [__USE_BSD]: Likewise.
35565         * misc/sys/syslog.h [__USE_BSD]: Likewise.
35566         * misc/sys/uio.h [__USE_BSD]: Likewise.
35567         * posix/bits/unistd.h [__USE_BSD]: Likewise.
35568         * posix/glob.h [__USE_BSD]: Likewise.
35569         * posix/regex.h [__USE_BSD]: Likewise.
35570         * posix/sys/types.h [__USE_BSD]: Likewise.
35571         [__USE_SVID]: Likewise.
35572         * posix/sys/utsname.h [__USE_SVID]: Likewise.
35573         * posix/sys/wait.h [__USE_BSD]: Likewise.
35574         [__USE_SVID]: Likewise.
35575         * posix/unistd.h [__USE_BSD]: Likewise.
35576         [__USE_SVID]: Likewise.
35577         * pwd/pwd.h [__USE_SVID]: Likewise.
35578         * resolv/netdb.h [__USE_BSD]: Likewise.
35579         * setjmp/setjmp.h [__USE_BSD]: Likewise.
35580         * signal/signal.h [__USE_BSD]: Likewise.
35581         [__USE_SVID]: Likewise.
35582         * socket/sys/socket.h [__USE_BSD]: Likewise.
35583         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
35584         * stdlib/stdlib.h [__USE_BSD]: Likewise.
35585         [__USE_SVID]: Likewise.
35586         * string/bits/string2.h [__USE_BSD]: Likewise.
35587         [__USE_SVID]: Likewise.
35588         * string/bits/string3.h [__USE_BSD]: Likewise.
35589         * string/endian.h [__USE_BSD]: Likewise.
35590         * string/string.h [__USE_SVID]: Likewise.
35591         [__USE_BSD]: Likewise.
35592         * string/strings.h [__USE_BSD]: Likewise.
35593         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
35594         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
35595         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
35596         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
35597         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
35598         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
35599         Likewise.
35600         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
35601         Likewise.
35602         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
35603         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
35604         Likewise.
35605         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
35606         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
35607         Likewise.
35608         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
35609         Likewise.
35610         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
35611         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
35612         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
35613         Likewise.
35614         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
35615         Likewise.
35616         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
35617         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
35618         * termios/termios.h [__USE_BSD]: Likewise.
35619         * time/sys/time.h [__USE_BSD]: Likewise.
35620         * time/time.h [__USE_BSD]: Likewise.
35621         [__USE_SVID]: Likewise.
35623         * Makefile (subdir_targets): Remove subdir_lint.out.
35625         * stdio-common/Makefile (do-tst-unbputc): Remove target.
35626         (do-tst-printf): Likewise.
35627         (tests): Depend directly on $(objpfx)tst-unbputc.out and
35628         $(objpfx)tst-printf.out.
35630         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
35632         * Makerules (check-abi-%): Change target to
35633         $(objpfx)check-abi-%.out.
35634         (check-abi target): Update dependencies.
35635         (check-abi-pattern variable): Redirect output of diff to $@.
35636         (check-abi variable): Likewise.
35637         * elf/Makefile (check-abi): Update dependencies.
35639         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
35640         unused.
35641         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
35642         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
35643         subnormal range.
35644         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
35645         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
35646         value has largest subnormal exponent.
35647         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
35648         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
35649         * sysdeps/aarch64/soft-fp/sfp-machine.h
35650         (_FP_TININESS_AFTER_ROUNDING): New macro.
35651         * sysdeps/alpha/soft-fp/sfp-machine.h
35652         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35653         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
35654         Likewise.
35655         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
35656         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35657         * sysdeps/mips/soft-fp/sfp-machine.h
35658         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35659         * sysdeps/powerpc/soft-fp/sfp-machine.h
35660         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35661         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
35662         Likewise.
35663         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35664         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35665         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35666         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35667         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
35668         Likewise.
35670 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
35672         [BZ #16545]
35673         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
35674         model 1.
35676 2014-02-12  Richard Henderson  <rth@redhat.com>
35678         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
35679         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
35680         * sysdeps/unix/sysv/linux/alpha: Move directory from
35681         ports/sysdeps/unix/sysv/linux/alpha.
35682         * README: Update listing for alpha-*-linux-gnu.
35684 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
35686         * include/features.h: Update comment documenting feature test
35687         macros.
35688         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
35689         _DEFAULT_SOURCE.
35690         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
35691         (_SVID_SOURCE): Likewise.
35692         (_DEFAULT_SOURCE): Update description of default features.
35693         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
35694         with _GNU_SOURCE.
35695         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
35696         (S_ISVTX): Likewise.
35697         * manual/math.texi (Mathematical Constants): Likewise.
35698         * manual/signal.texi (Interrupted Primitives): Likewise.
35699         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
35700         * math/test-matherr.c (_SVID_SOURCE): Do not define.
35701         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
35702         Don't refer to _SVID_SOURCE in warning text.
35704         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35706         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
35707         already defined.
35708         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
35709         * sysdeps/mips/dl-lookup.c: Remove.
35710         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
35712 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35714         [BZ #16447]
35715         * math/auto-libm-test-in: Add testcase for expl.
35716         * math/auto-libm-test-out: Regenerate.
35717         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
35718         calculation of unsafe.
35719         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
35721 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35723         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
35724         * sysdeps/unix/sysv/linux/aarch64: Move directory from
35725         ports/sysdeps/unix/sysv/linux/aarch64.
35726         * README: Update listing for aarch64*-*-linux-gnu.
35728 2014-02-11  Will Newton  <will.newton@linaro.org>
35730         * manual/probes.texi (Mathematical Function Probes): Use
35731         "triggered" instead of "hit".
35733         * manual/probes.texi (Internal Probes): Add documentation
35734         of setjmp, longjmp and longjmp_target probes.
35736         * include/stap-probe.h: Add comment about probe argument
35737         format.
35739         * malloc/mtrace.c (attribute_hidden): Remove unused macro
35740         definition.  (tr_where, tr_freehook, tr_mallochook,
35741         tr_reallochook, tr_memalignhook): Use ANSI protoype.
35743 2014-02-11  David S. Miller  <davem@davemloft.net>
35745         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
35746         processing int_tests.
35748 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
35750         * sysdeps/mips: Move directory from ports/sysdeps/mips.
35751         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
35752         * sysdeps/unix/sysv/linux/mips: Move directory from
35753         ports/sysdeps/unix/sysv/linux/mips.
35754         * README: Update listing for mips-*-linux-gnu and
35755         mips64-*-linux-gnu.
35757 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
35759         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
35760         * sysdeps/unix/sysv/linux/m68k: Move directory from
35761         ports/sysdeps/unix/sysv/linux/m68k.
35762         * README: Update listing for m68k-*-linux-gnu.
35764 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
35766         * sysdeps/tile: Move directory from ports/sysdeps/tile.
35767         * sysdeps/unix/sysv/linux/generic: Move directory from
35768         ports/sysdeps/unix/sysv/linux/generic.
35769         * sysdeps/unix/sysv/linux/tile: Move directory from
35770         ports/sysdeps/unix/sysv/linux/tile.
35771         * README: Update listing for tile*-*-linux-gnu.
35773 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
35775         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
35776         __builtin_expect.
35777         * benchtests/bench-memmem.c (simple_memmem): Likewise.
35778         * catgets/open_catalog.c (__open_catalog): Likewise.
35779         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
35780         * debug/confstr_chk.c: Likewise.
35781         * debug/fread_chk.c (__fread_chk): Likewise.
35782         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
35783         * debug/getgroups_chk.c: Likewise.
35784         * debug/mbsnrtowcs_chk.c: Likewise.
35785         * debug/mbsrtowcs_chk.c: Likewise.
35786         * debug/mbstowcs_chk.c: Likewise.
35787         * debug/memcpy_chk.c: Likewise.
35788         * debug/memmove_chk.c: Likewise.
35789         * debug/mempcpy_chk.c: Likewise.
35790         * debug/memset_chk.c: Likewise.
35791         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
35792         * debug/strcat_chk.c (__strcat_chk): Likewise.
35793         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
35794         * debug/strncat_chk.c (__strncat_chk): Likewise.
35795         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
35796         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
35797         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
35798         * debug/wcpncpy_chk.c: Likewise.
35799         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
35800         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
35801         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
35802         * debug/wcsncpy_chk.c: Likewise.
35803         * debug/wcsnrtombs_chk.c: Likewise.
35804         * debug/wcsrtombs_chk.c: Likewise.
35805         * debug/wcstombs_chk.c: Likewise.
35806         * debug/wmemcpy_chk.c: Likewise.
35807         * debug/wmemmove_chk.c: Likewise.
35808         * debug/wmempcpy_chk.c: Likewise.
35809         * debug/wmemset_chk.c: Likewise.
35810         * dirent/scandirat.c (SCANDIRAT): Likewise.
35811         * dlfcn/dladdr1.c (dladdr1): Likewise.
35812         * dlfcn/dladdr.c (dladdr): Likewise.
35813         * dlfcn/dlclose.c (dlclose_doit): Likewise.
35814         * dlfcn/dlerror.c (__dlerror): Likewise.
35815         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
35816         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
35817         * dlfcn/dlopen.c (dlopen_doit): Likewise.
35818         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
35819         * dlfcn/dlsym.c (dlsym_doit): Likewise.
35820         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
35821         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
35822         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
35823         Likewise.
35824         * elf/dl-conflict.c: Likewise.
35825         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
35826         * elf/dl-dst.h: Likewise.
35827         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
35828         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
35829         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
35830         * elf/dl-init.c (call_init, _dl_init): Likewise.
35831         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
35832         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
35833         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
35834         Likewise.
35835         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
35836         Likewise.
35837         * elf/dl-minimal.c (__libc_memalign): Likewise.
35838         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
35839         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
35840         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
35841         * elf/dl-sym.c (do_sym): Likewise.
35842         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
35843         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
35844         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
35845         * elf/dl-writev.h (_dl_writev): Likewise.
35846         * elf/ldconfig.c (search_dir): Likewise.
35847         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
35848         (dl_main): Likewise.
35849         * elf/setup-vdso.h (setup_vdso): Likewise.
35850         * grp/compat-initgroups.c (compat_call): Likewise.
35851         * grp/fgetgrent.c (fgetgrent): Likewise.
35852         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
35853         * grp/putgrent.c (putgrent): Likewise.
35854         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
35855         Likewise.
35856         * hurd/hurdinit.c: Likewise.
35857         * iconvdata/8bit-gap.c (struct): Likewise.
35858         * iconvdata/ansi_x3.110.c : Likewise.
35859         * iconvdata/big5.c : Likewise.
35860         * iconvdata/big5hkscs.c : Likewise.
35861         * iconvdata/cp1255.c: Likewise.
35862         * iconvdata/cp1258.c : Likewise.
35863         * iconvdata/cp932.c : Likewise.
35864         * iconvdata/euc-cn.c: Likewise.
35865         * iconvdata/euc-jisx0213.c : Likewise.
35866         * iconvdata/euc-jp.c: Likewise.
35867         * iconvdata/euc-jp-ms.c : Likewise.
35868         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
35869         * iconvdata/gb18030.c : Likewise.
35870         * iconvdata/gbbig5.c (const): Likewise.
35871         * iconvdata/gbgbk.c: Likewise.
35872         * iconvdata/gbk.c : Likewise.
35873         * iconvdata/ibm1364.c : Likewise.
35874         * iconvdata/ibm930.c : Likewise.
35875         * iconvdata/ibm932.c: Likewise.
35876         * iconvdata/ibm933.c : Likewise.
35877         * iconvdata/ibm935.c : Likewise.
35878         * iconvdata/ibm937.c : Likewise.
35879         * iconvdata/ibm939.c : Likewise.
35880         * iconvdata/ibm943.c: Likewise.
35881         * iconvdata/iso_11548-1.c: Likewise.
35882         * iconvdata/iso-2022-cn.c : Likewise.
35883         * iconvdata/iso-2022-cn-ext.c : Likewise.
35884         * iconvdata/iso-2022-jp-3.c: Likewise.
35885         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
35886         * iconvdata/iso-2022-kr.c : Likewise.
35887         * iconvdata/iso646.c (gconv_end): Likewise.
35888         * iconvdata/iso_6937-2.c : Likewise.
35889         * iconvdata/iso_6937.c : Likewise.
35890         * iconvdata/iso8859-1.c: Likewise.
35891         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
35892         * iconvdata/shift_jisx0213.c : Likewise.
35893         * iconvdata/sjis.c : Likewise.
35894         * iconvdata/t.61.c : Likewise.
35895         * iconvdata/tcvn5712-1.c : Likewise.
35896         * iconvdata/tscii.c: Likewise.
35897         * iconvdata/uhc.c : Likewise.
35898         * iconvdata/unicode.c (gconv_end): Likewise.
35899         * iconvdata/utf-16.c (gconv_end): Likewise.
35900         * iconvdata/utf-32.c (gconv_end): Likewise.
35901         * iconvdata/utf-7.c (base64): Likewise.
35902         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
35903         * iconv/gconv_close.c (__gconv_close): Likewise.
35904         * iconv/gconv_open.c (__gconv_open): Likewise.
35905         * iconv/gconv_simple.c (internal_ucs4_loop_single)
35906         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
35907         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
35908         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
35909         (ucs4le_internal_loop_single): Likewise.
35910         * iconv/iconv.c (iconv): Likewise.
35911         * iconv/iconv_close.c: Likewise.
35912         * iconv/loop.c (SINGLE): Likewise.
35913         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
35914         * include/atomic.h: Likewise.
35915         * inet/inet6_option.c (option_alloc): Likewise.
35916         * intl/bindtextdom.c (set_binding_values): Likewise.
35917         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
35918         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
35919         * intl/localealias.c (read_alias_file): Likewise.
35920         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
35921         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
35922         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
35923         * libio/fmemopen.c (fmemopen): Likewise.
35924         * libio/iofgets.c (_IO_fgets): Likewise.
35925         * libio/iofgets_u.c (fgets_unlocked): Likewise.
35926         * libio/iofgetws.c (fgetws): Likewise.
35927         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
35928         * libio/iogetdelim.c (_IO_getdelim): Likewise.
35929         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
35930         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
35931         * locale/findlocale.c (_nl_find_locale): Likewise.
35932         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35933         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
35934         Likewise.
35935         * locale/setlocale.c (setlocale): Likewise.
35936         * login/programs/pt_chown.c (main): Likewise.
35937         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
35938         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
35939         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
35940         (mmap, mmap64, mremap, munmap): Likewise.
35941         * math/e_exp2l.c: Likewise.
35942         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
35943         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
35944         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
35945         * math/s_catan.c (__catan): Likewise.
35946         * math/s_catanf.c (__catanf): Likewise.
35947         * math/s_catanh.c (__catanh): Likewise.
35948         * math/s_catanhf.c (__catanhf): Likewise.
35949         * math/s_catanhl.c (__catanhl): Likewise.
35950         * math/s_catanl.c (__catanl): Likewise.
35951         * math/s_ccosh.c (__ccosh): Likewise.
35952         * math/s_ccoshf.c (__ccoshf): Likewise.
35953         * math/s_ccoshl.c (__ccoshl): Likewise.
35954         * math/s_cexp.c (__cexp): Likewise.
35955         * math/s_cexpf.c (__cexpf): Likewise.
35956         * math/s_cexpl.c (__cexpl): Likewise.
35957         * math/s_clog10.c (__clog10): Likewise.
35958         * math/s_clog10f.c (__clog10f): Likewise.
35959         * math/s_clog10l.c (__clog10l): Likewise.
35960         * math/s_clog.c (__clog): Likewise.
35961         * math/s_clogf.c (__clogf): Likewise.
35962         * math/s_clogl.c (__clogl): Likewise.
35963         * math/s_csin.c (__csin): Likewise.
35964         * math/s_csinf.c (__csinf): Likewise.
35965         * math/s_csinh.c (__csinh): Likewise.
35966         * math/s_csinhf.c (__csinhf): Likewise.
35967         * math/s_csinhl.c (__csinhl): Likewise.
35968         * math/s_csinl.c (__csinl): Likewise.
35969         * math/s_csqrt.c (__csqrt): Likewise.
35970         * math/s_csqrtf.c (__csqrtf): Likewise.
35971         * math/s_csqrtl.c (__csqrtl): Likewise.
35972         * math/s_ctan.c (__ctan): Likewise.
35973         * math/s_ctanf.c (__ctanf): Likewise.
35974         * math/s_ctanh.c (__ctanh): Likewise.
35975         * math/s_ctanhf.c (__ctanhf): Likewise.
35976         * math/s_ctanhl.c (__ctanhl): Likewise.
35977         * math/s_ctanl.c (__ctanl): Likewise.
35978         * math/w_pow.c: Likewise.
35979         * math/w_powf.c: Likewise.
35980         * math/w_powl.c: Likewise.
35981         * math/w_scalb.c (sysv_scalb): Likewise.
35982         * math/w_scalbf.c (sysv_scalbf): Likewise.
35983         * math/w_scalbl.c (sysv_scalbl): Likewise.
35984         * misc/error.c (error_tail): Likewise.
35985         * misc/pselect.c (__pselect): Likewise.
35986         * nis/nis_callback.c (__nis_create_callback): Likewise.
35987         * nis/nis_call.c (__nisfind_server): Likewise.
35988         * nis/nis_creategroup.c (nis_creategroup): Likewise.
35989         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
35990         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
35991         * nis/nis_getservlist.c (nis_getservlist): Likewise.
35992         * nis/nis_lookup.c (nis_lookup): Likewise.
35993         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
35994         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
35995         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
35996         * nis/nis_xdr.c (xdr_endpoint): Likewise.
35997         * nis/nss_compat/compat-grp.c (getgrent_next_file)
35998         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
35999         * nis/nss_compat/compat-initgroups.c (add_group)
36000         (internal_getgrent_r): Likewise.
36001         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
36002         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
36003         * nis/nss_compat/compat-spwd.c (getspent_next_file)
36004         (internal_getspnam_r): Likewise.
36005         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
36006         (_nss_nis_getaliasbyname_r): Likewise.
36007         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
36008         (_nss_nis_getntohost_r): Likewise.
36009         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
36010         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
36011         (_nss_nis_getgrgid_r): Likewise.
36012         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
36013         (internal_nis_gethostent_r, internal_gethostbyname2_r)
36014         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
36015         (_nss_nis_gethostbyname4_r): Likewise.
36016         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
36017         (initgroups_netid): Likewise.
36018         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
36019         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
36020         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
36021         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
36022         (_nss_nis_getprotobynumber_r): Likewise.
36023         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
36024         (_nss_nis_getsecretkey): Likewise.
36025         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
36026         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
36027         (_nss_nis_getpwuid_r): Likewise.
36028         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
36029         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
36030         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
36031         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
36032         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
36033         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
36034         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
36035         Likewise.
36036         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
36037         (_nss_nisplus_getntohost_r): Likewise.
36038         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
36039         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
36040         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
36041         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
36042         Likewise.
36043         * nis/nss_nisplus/nisplus-initgroups.c
36044         (_nss_nisplus_initgroups_dyn): Likewise.
36045         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
36046         (_nss_nisplus_getnetbyaddr_r): Likewise.
36047         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
36048         (_nss_nisplus_getprotobynumber_r): Likewise.
36049         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
36050         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
36051         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
36052         Likewise.
36053         * nis/nss_nisplus/nisplus-service.c
36054         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
36055         (_nss_nisplus_getservbyport_r): Likewise.
36056         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
36057         (_nss_nisplus_getspnam_r): Likewise.
36058         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
36059         Likewise.
36060         * nscd/aicache.c (addhstaiX): Likewise.
36061         * nscd/cache.c (cache_search, prune_cache): Likewise.
36062         * nscd/connections.c (register_traced_file, send_ro_fd)
36063         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
36064         (main_loop_epoll): Likewise.
36065         * nscd/grpcache.c (addgrbyX): Likewise.
36066         * nscd/hstcache.c (addhstbyX): Likewise.
36067         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36068         * nscd/mem.c (gc, mempool_alloc): Likewise.
36069         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
36070         (addinnetgrX): Likewise.
36071         * nscd/nscd-client.h (__nscd_acquire_maplock)
36072         (__nscd_drop_map_ref): Likewise.
36073         * nscd/nscd_getai.c (__nscd_getai): Likewise.
36074         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36075         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
36076         Likewise.
36077         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
36078         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36079         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
36080         (__nscd_get_map_ref): Likewise.
36081         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
36082         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
36083         Likewise.
36084         * nscd/pwdcache.c (addpwbyX): Likewise.
36085         * nscd/selinux.c (preserve_capabilities): Likewise.
36086         * nscd/servicescache.c (addservbyX): Likewise.
36087         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
36088         * posix/fnmatch.c (fnmatch): Likewise.
36089         * posix/getopt.c (_getopt_internal_r): Likewise.
36090         * posix/glob.c (glob, glob_in_dir): Likewise.
36091         * posix/wordexp.c (exec_comm_child): Likewise.
36092         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
36093         (getanswer_r, gaih_getanswer_slice): Likewise.
36094         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
36095         * resolv/res_init.c: Likewise.
36096         * resolv/res_mkquery.c (res_nmkquery): Likewise.
36097         * resolv/res_query.c (__libc_res_nquery): Likewise.
36098         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
36099         Likewise.
36100         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
36101         * stdio-common/perror.c (perror): Likewise.
36102         * stdio-common/printf_fp.c (___printf_fp): Likewise.
36103         * stdio-common/tmpnam.c (tmpnam): Likewise.
36104         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
36105         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
36106         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
36107         Likewise.
36108         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
36109         * stdlib/putenv.c (putenv): Likewise.
36110         * stdlib/setenv.c (__add_to_environ): Likewise.
36111         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
36112         * stdlib/strtol_l.c (INTERNAL): Likewise.
36113         * string/memmem.c (memmem): Likewise.
36114         * string/strerror.c (strerror): Likewise.
36115         * string/strnlen.c (__strnlen): Likewise.
36116         * string/test-memmem.c (simple_memmem): Likewise.
36117         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
36118         * sunrpc/pm_getport.c (__get_socket): Likewise.
36119         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
36120         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
36121         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
36122         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
36123         Likewise.
36124         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
36125         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
36126         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
36127         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
36128         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
36129         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
36130         Likewise.
36131         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
36132         Likewise.
36133         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
36134         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
36135         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36136         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
36137         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
36138         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
36139         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
36140         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
36141         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
36142         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
36143         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36144         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
36145         Likewise.
36146         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
36147         Likewise.
36148         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
36149         Likewise.
36150         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
36151         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36152         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
36153         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
36154         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
36155         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
36156         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36157         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
36158         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
36159         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
36160         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
36161         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36162         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
36163         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
36164         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36165         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
36166         Likewise.
36167         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
36168         Likewise.
36169         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
36170         Likewise.
36171         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
36172         Likewise.
36173         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36174         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36175         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
36176         Likewise.
36177         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
36178         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
36179         * sysdeps/posix/opendir.c (__opendirat): Likewise.
36180         * sysdeps/posix/sleep.c: Likewise.
36181         * sysdeps/posix/tempname.c: Likewise.
36182         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
36183         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36184         Likewise.
36185         * sysdeps/powerpc/powerpc32/dl-machine.h
36186         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
36187         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
36188         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36189         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
36190         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
36191         Likewise.
36192         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
36193         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
36194         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
36195         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
36196         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
36197         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
36198         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
36199         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
36200         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
36201         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
36202         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
36203         (elf_machine_lazy_rel): Likewise.
36204         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36205         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
36206         (elf_machine_lazy_rel): Likewise.
36207         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
36208         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
36209         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
36210         * sysdeps/unix/grantpt.c (grantpt): Likewise.
36211         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
36212         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
36213         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
36214         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36215         Likewise.
36216         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
36217         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
36218         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
36219         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
36220         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
36221         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36222         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
36223         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
36224         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
36225         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36226         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36227         Likewise.
36228         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
36229         (__posix_fallocate64_l64): Likewise.
36230         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
36231         (posix_fallocate): Likewise.
36232         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
36233         Likewise.
36234         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36235         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
36236         (getifaddrs_internal): Likewise.
36237         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
36238         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
36239         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
36240         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
36241         * sysdeps/unix/sysv/linux/posix_fallocate64.c
36242         (__posix_fallocate64_l64): Likewise.
36243         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
36244         Likewise.
36245         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
36246         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
36247         (__get_clockfreq): Likewise.
36248         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
36249         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
36250         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
36251         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36252         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36253         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
36254         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
36255         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
36256         Likewise.
36257         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
36258         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
36259         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
36260         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
36261         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36262         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
36263         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
36264         Likewise.
36265         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36266         (posix_fallocate): Likewise.
36267         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36268         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
36269         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
36270         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
36271         (elf_machine_rela, elf_machine_rela_relative)
36272         (elf_machine_lazy_rel): Likewise.
36273         * time/asctime.c (asctime_internal): Likewise.
36274         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
36275         * time/tzset.c (__tzset_parse_tz): Likewise.
36276         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
36277         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
36278         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
36279         * wcsmbs/wcsmbsload.h: Likewise.
36281         [BZ #15894]
36282         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
36284         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
36285         (arena_get2): Remove THREAD_STATS conditionals.
36286         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
36287         (__malloc_stats, int): Likewise.
36289 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
36291         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
36292         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
36294         * manual/setjmp.texi: Fix typos/grammar errors.
36296         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
36297         Only return early when n is <= 0.  Delete unused return statement.
36299         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
36300         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
36301         * debug/tst-longjmp_chk3.c: New file.
36303         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
36304         (test_main): Replace code with set_fortify_handler call.
36305         * debug/test-strcpy_chk.c: Likewise.
36306         * debug/tst-chk1.c: Likewise.
36307         * debug/tst-longjmp_chk.c: Likewise.
36308         * test-skeleton.c: Include fcntl.h & paths.h
36309         (set_fortify_handler): Define.
36311         * debug/tst-longjmp_chk.c: Add header comment and include
36312         ../test-skeleton.c.
36313         (do_test): Mark static.
36314         (TEST_FUNCTION): Define.
36316         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
36317         (IP_PMTUDISC_INTERFACE): Likewise.
36318         (IP_MULTICAST_IF): Likewise.
36319         (IP_MULTICAST_TTL): Likewise.
36320         (IP_MULTICAST_LOOP): Likewise.
36321         (IP_ADD_MEMBERSHIP): Likewise.
36322         (IP_DROP_MEMBERSHIP): Likewise.
36323         (IP_UNBLOCK_SOURCE): Likewise.
36324         (IP_BLOCK_SOURCE): Likewise.
36325         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
36326         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
36327         (IP_MSFILTER): Likewise.
36328         (MCAST_JOIN_GROUP): Likewise.
36329         (MCAST_BLOCK_SOURCE): Likewise.
36330         (MCAST_UNBLOCK_SOURCE): Likewise.
36331         (MCAST_LEAVE_GROUP): Likewise.
36332         (MCAST_JOIN_SOURCE_GROUP): Likewise.
36333         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
36334         (MCAST_MSFILTER): Likewise.
36335         (IP_MULTICAST_ALL): Likewise.
36336         (IP_UNICAST_IF): Likewise.
36338         * timezone/Makefile: Delete $(have-ksh) check.
36339         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
36340         * timezone/tzselect.ksh: Add +x mode bits.
36342         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
36343         (ANON_INODE_FS_MAGIC): Likewise.
36344         (BDEVFS_MAGIC): Likewise.
36345         (BINFMTFS_MAGIC): Likewise.
36346         (BTRFS_TEST_MAGIC): Likewise.
36347         (CRAMFS_MAGIC_WEND): Likewise.
36348         (DEBUGFS_MAGIC): Likewise.
36349         (ECRYPTFS_SUPER_MAGIC): Likewise.
36350         (EXT3_SUPER_MAGIC): Likewise.
36351         (EXT4_SUPER_MAGIC): Likewise.
36352         (FUTEXFS_SUPER_MAGIC): Likewise.
36353         (HOSTFS_SUPER_MAGIC): Likewise.
36354         (HUGETLBFS_MAGIC): Likewise.
36355         (MINIX3_SUPER_MAGIC): Likewise.
36356         (MTD_INODE_FS_MAGIC): Likewise.
36357         (NILFS_SUPER_MAGIC): Likewise.
36358         (OPENPROM_SUPER_MAGIC): Likewise.
36359         (PIPEFS_MAGIC): Likewise.
36360         (PSTOREFS_MAGIC): Likewise.
36361         (QNX6_SUPER_MAGIC): Likewise.
36362         (RAMFS_MAGIC): Likewise.
36363         (REISERFS_SUPER_MAGIC_STRING): Likewise.
36364         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
36365         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
36366         (SECURITYFS_MAGIC): Likewise.
36367         (SELINUX_MAGIC): Likewise.
36368         (SMACK_MAGIC): Likewise.
36369         (SOCKFS_MAGIC): Likewise.
36370         (SQUASHFS_MAGIC): Likewise.
36371         (STACK_END_MAGIC): Likewise.
36372         (TMPFS_MAGIC): Likewise.
36373         (USBDEVICE_SUPER_MAGIC): Likewise.
36374         (V9FS_MAGIC): Likewise.
36375         (XENFS_SUPER_MAGIC): Likewise.
36376         (CRAMFS_MAGIC): Fix typo in comment.
36377         (EXT2_SUPER_MAGIC): Update comment.
36378         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
36380 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
36382         * sysdeps/arm: Move directory from ports/sysdeps/arm.
36383         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
36384         * sysdeps/unix/sysv/linux/arm: Move directory from
36385         ports/sysdeps/unix/sysv/linux/arm.
36386         * README: Update listing for arm-*-linux-gnueabi.
36388         * README: Remove mention of am33.
36390 2014-02-07  Roland McGrath  <roland@hack.frob.com>
36392         * bits/sigset.h (__sigemptyset): Use a statement expression rather
36393         than the comma operator, to avoid "rhs of comma has no effect"
36394         compiler warnings.
36395         (__sigfillset, __sigandset, __sigorset): Likewise.
36396         * include/signal.h (__sigemptyset): Likewise.
36397         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
36399 2014-02-07  Allan McRae  <allan@archlinux.org>
36401         * version.h (RELEASE): Set to "development".
36402         (VERSION): Set to "2.19.90"
36403         * NEWS: Add 2.20 section.
36405 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
36407         [BZ #16529]
36408         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
36410 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
36412         * manual/contrib.texi: Update entry for Carlos O'Donell,
36413         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
36415 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
36417         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
36419         * sysdeps/unix/sysv/linux/kernel-features.h
36420         [__LINUX_KERNEL_VERSION >= 0x020621]
36421         (__ASSUME_PROC_PID_TASK_COMM): Define.
36423 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36425         [BZ #16398]
36426         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
36427         conversion when destination buffer does not have enough space.
36428         * libio/tst-ftell-partial-wide.c: New test case.
36429         * libio/Makefile (tests): Add tst-ftell-partial-wide.
36431         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
36432         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
36433         Leonard and Allan McRae.
36435 2014-02-04  David S. Miller  <davem@davemloft.net>
36437         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
36438         32-bit.
36440 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
36443         New file
36444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
36445         New file
36446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
36447         New file.
36448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
36449         New file.
36450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
36451         New file.
36452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
36453         New file.
36454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
36455         New file.
36456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
36457         New file.
36458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
36459         New file.
36460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
36461         New file.
36462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
36463         New file.
36464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
36465         New file.
36466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
36467         New file.
36469 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36471         * nptl/shlib-versions: Change powerpc*le start to 2.17.
36472         * shlib-versions: Likewise.
36474 2014-02-04  Roland McGrath  <roland@hack.frob.com>
36475             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36477         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
36478         (abilist-pattern): New variable, set to %-le.abilist.
36480         * Makerules (abilist-pattern): New variable.
36481         (vpath): Use $(abilist-pattern) in place of %.abilist.
36482         (check-abi-% pattern rule): Likewise.
36483         (check-abi, update-abi): Likewise.
36485 2014-02-04  Eric Wong  <normalperson@yhbt.net>
36487         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36489 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
36491         * manual/startup.texi: Add next, previous, and top entries for
36492         the `Program Arguments' and `Environment Variables' nodes.
36494 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
36496         * manual/macros.texi: Add comments before MTASC-safety macros.
36498         * manual/users.texi: Document MTASC-safety properties.
36500         * manual/threads.texi (pthread_key_create, pthread_key_delete)
36501         (pthread_getspecific, pthread_setspecific): Format with
36502         @deftypefun, and add @safety note.
36503         * manual/signal.texi: Move comments that analyze the above
36504         functions to their home place.
36506 2014-02-03  Allan McRae  <allan@archlinux.org>
36508         * po/sl.po: Update Slovenian translation from translation project.
36510 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
36512         * manual/time.texi (timegm): Add missing blank after @c.
36513         Reported by Joseph Myers <joseph@codesourcery.com>.
36515 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
36517         * manual/check-safety.sh: New.
36518         * manual/Makefile ($(objpfx)stamp-summary): Run it.
36520         * manual/terminal.texi: Document MTASC-safety properties.
36522         * manual/filesys.texi: Document MTASC-safety properties.
36524         * manual/errno.texi: Document MTASC-safety properties.
36526         * manual/intro.texi: Document safety identifiers and
36527         conditionals.
36529         * manual/string.texi (wcstok): Fix prototype.
36530         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
36532         * manual/time.texi: Document MTASC-safety properties.
36534         * manual/string.texi: Document MTASC-safety properties.
36536         * manual/threads.texi: Document MTASC-safety properties.
36538         * manual/stdio.texi: Document MTASC-safety properties.
36540         * manual/syslog.texi: Document MTASC-safety properties.
36542         * manual/sysinfo.texi: Document MTASC-safety properties.
36544         * manual/startup.texi: Document MTASC-safety properties.
36546         * manual/socket.texi: Document MTASC-safety properties.
36548         * manual/signal.texi: Document MTASC-safety properties.
36550 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
36552         * manual/setjmp.texi: Document MTASC-safety properties.
36554         * manual/search.texi: Document MTASC-safety properties.
36556         * manual/resource.texi: Document MTASC-safety properties.
36558         * manual/process.texi: Document MTASC-safety properties.
36560         * manual/platform.texi: Document MTASC-safety properties.
36562         * manual/pipe.texi: Document MTASC-safety properties.
36564         * manual/pattern.texi: Document MTASC-safety properties.
36566         * manual/message.texi: Document MTASC-safety properties.
36568         [BZ #12751]
36569         * manual/memory.texi: Document MTASC-safety properties.
36571         * manual/math.texi: Document MTASC-safety properties.
36573         * manual/locale.texi: Document MTASC-safety properties.
36575         * manual/llio.texi: Document MTASC-safety properties.
36577         * manual/libdl.texi: New.
36579         * manual/lang.texi: Document MTASC-safety properties.
36581         * manual/job.texi: Document MTASC-safety properties.
36583         * manual/getopt.texi: Document MTASC-safety properties.
36585         * manual/ctype.texi: Document MTASC-safety properties.
36587 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
36589         [BZ #16046]
36590         * csu/libc-tls.c (static_map): Remove variable.
36591         (__libc_setup_tls): Use main executable's link map for TLS data.
36592         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
36593         casing for LM_ID_BASE and GL(dl_nns).
36594         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
36595         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
36596         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
36597         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
36598         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
36599         member.
36600         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
36601         l_phnum members.
36603 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
36605         * manual/debug.texi: Document MTASC-safety properties.
36607 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
36609         [BZ #16510]
36610         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
36611         of __x86_64__ when disabling x87 inline functions.
36613 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
36615         * manual/charset.texi: Document MTASC-safety properties.
36617         * manual/crypt.texi: Document MTASC-safety properties.
36619         * manual/conf.texi: Document MTASC-safety properties.
36621         * manual/arith.texi: Document MTASC-safety properties.
36623         * manual/argp.texi: Document MTASC-safety properties.
36625         * manual/macros.texi: Introduce macros to document multi
36626         thread, asynchronous signal and asynchronous cancellation
36627         safety properties.
36628         * manual/intro.texi: Introduce the properties themselves.
36630 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36632         * sysdeps/sh/sh4/Makefile: New file.
36634 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
36636         * math/gen-libm-test.pl ($srcdir): New variable.
36637         ($auto_input): Use it.
36639 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36641         [BZ #16506]
36642         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
36643         access beyond array bounds when parsing netgroups file.
36645         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
36646         the old buffer before realloc.
36648 2014-01-27  Allan McRae  <allan@archlinux.org>
36650         * po/fr.po: Update French translation from translation project.
36652 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36654         * sysdeps/sh/libm-test-ulps: Regenerate.
36656 2014-01-24  David S. Miller  <davem@davemloft.net>
36658         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
36660 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36662         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
36663         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
36665 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36667         [BZ #16474]
36668         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
36669         string pointers after reallocation.
36671 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36673         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
36674         __SH4A__ instead of __SH_FPU_ANY__.
36676 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36678         * sysdeps/sh/fpu_control.h: New file.
36679         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
36680         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
36681         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
36682         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
36683         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
36684         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
36685         * sysdeps/sh/sys/ucontext.h: Remove.
36686         * sysdeps/sh/sys: Remove directory.
36688 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36690         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
36691         s390/sys/ucontext.h.
36692         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
36693         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
36695 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
36697         [BZ #15605]
36698         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
36700 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36702         [BZ#16431]
36703         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
36704         Adjust the vDSO correctly for internal calls.
36705         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
36707 2014-01-20  Allan McRae  <allan@archlinux.org>
36709         * po/ca.po: Update Catalan translation from translation project.
36711 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
36713         * sysdeps/s390/sotruss-lib.c: New file.
36715 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36717         [BZ#16430]
36718         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
36719         (__GI___gettimeofday): Alias for a different internal symbol to avoid
36720         local calls issues by not having a PLT stub required for IFUNC calls.
36721         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
36723 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
36725         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
36726         * math/test-fpucw-static.c: Likewise.
36728 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36730         [BZ #16453]
36731         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
36733 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36735         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
36736         implementation for powerpc.
36738 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
36740         [BZ #14782]
36741         * sysdeps/posix/system.c (__libc_system): Do not enable
36742         asynchronous cancellation.
36744 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36746         [BZ #16427]
36747         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
36748         handling only for numbers special also in the IEEE case.
36750 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36752         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36754 2014-01-11  Allan McRae  <allan@archlinux.org>
36756         * po/bg.po: Update Bulgarian translation from translation project.
36758         * po/de.po: Update German translation from translation project.
36760 2014-01-10  Roland McGrath  <roland@hack.frob.com>
36762         * sysdeps/generic/gcc-compat.h: New file.
36764 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36766         * benchtests/asin-inputs: Correct slow inputs.
36767         * benchtests/acos-inputs: Likewise.
36769 2014-01-10  Allan McRae  <allan@archlinux.org>
36771         * po:sv.po: Update Swedish translation from translation project.
36773         * po/vi.po: Update Vietnamese translation from translation project.
36775         * po/eo.po: Update Esperanto translation from translation project.
36777         * po/cs.po: Update Czech translation from translation project.
36779         * po/nl.po: Update Dutch translation from translation project.
36781         * po/pl.po: Update Polish translation from translation project.
36783         * po/ru.po: Update Russian translation from translation project.
36785         * po/uk.po: Update Ukrainian translation from translation project.
36787 2014-01-08  Brooks Moses  <bmoses@google.com>
36789         * elf/dl-load.c: Fix comment typo.
36791 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
36793         * po/header.pot: Rename to...
36794         * po/pot.header: ... this.
36795         * po/Makefile: Use pot.header.
36797 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
36798             Maxim Kuvyrkov  <maxim@kugelworks.com>
36800         [BZ #16394]
36801         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
36802         SRC and DEST against LEN.
36804 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36806         [BZ #16414]
36807         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
36808         implementation.
36809         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
36811 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36815 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
36817         [BZ #16408]
36818         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
36819         for large positive arguments.
36821 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
36823         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
36825         * math/auto-libm-test-in: Mark various tests with
36826         xfail-rounding:ldbl-128ibm.
36827         * math/auto-libm-test-out: Regenerated.
36829         [BZ #16407]
36830         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
36831         Increase overflow threshold.
36833 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
36835         [BZ #14286]
36836         * stdio-common/vfprintf.c: Check for integer overflow.
36838 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36840         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
36841         the first argument and return value of __tls_get_addr_internal.
36843 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36845         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
36846         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
36848 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36850         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
36851         * sysdeps/s390/rtld-global-offsets.sym: New file.
36852         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
36853         GLIBC_2.19 symbol.
36854         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
36855         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
36856         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
36857         ... this.
36858         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
36859         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
36860         ... this.
36861         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36862         Regenerate.
36863         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36864         Regenerate.
36865         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
36866         halfs of GPRs for high_gprs contexts.
36867         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
36868         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
36869         field.
36870         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
36871         uc_flags field.
36872         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
36873         64 bit versions:
36874         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
36875         for high GPRs (uc_high_gprs) and for future extensions
36876         (__reserved).
36877         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
36878         for future extensions (__reserved).
36879         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
36880         64 bit versions:
36881         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
36882         SC_HIGHGPRS offset definition.
36883         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
36884         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
36886         * Versions.def: Add GLIBC_2.19 for libpthread.
36887         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
36888         siglongjmp for libpthread with GLIBC_2.19 symver.
36889         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
36890         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
36891         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
36892         * sysdeps/s390/__longjmp.c: New file.
36893         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
36894         * sysdeps/s390/longjmp.c: New file.
36895         * sysdeps/s390/setjmp.S: New file.
36896         * sysdeps/s390/sigjmp.S: New file.
36897         * sysdeps/s390/v1-longjmp.c: New file.
36898         * sysdeps/s390/v1-setjmp.h: New file.
36899         * sysdeps/s390/v1-sigjmp.c: New file.
36900         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
36901         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
36902         GLIBC_2.19 version.
36903         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
36904         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
36905         versioned symbols for ____longjmp_chk.
36906         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
36907         Likewise.
36908         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36909         Regenerate.
36910         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36911         Regenerate.
36912         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36913         Regenerate.
36914         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36915         Regenerate.
36916         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
36917         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
36918         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
36919         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
36920         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
36921         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
36922         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
36923         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
36924         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
36925         * sysdeps/s390/rtld-__longjmp.c: New file.
36926         * sysdeps/s390/rtld-setjmp.S: New file.
36928 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
36930         [BZ #16400]
36931         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
36932         Return -__logl (x) for small positive arguments without evaluating
36933         a polynomial.
36935 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
36937         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
36938         Rename to ...
36939         (__ptrace_peeksiginfo_args): ... this.
36940         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36941         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36942         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36944 2014-01-06  Allan McRae  <allan@archlinux.org>
36946         * inet/netinet/in.h: Fix typo in comment.
36948 2014-01-05  Andreas Jaeger  <aj@suse.de>
36950         * sysdeps/i386/fpu/libm-test-ulps: Update.
36952 2014-01-05  Allan McRae  <allan@archlinux.org>
36954         * po/libc.pot: Regenerated.
36956         * malloc/memusagestat.c: Fix gettext call formatting.
36958 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
36960         * nscd/nscd.c: Improve usage() output.
36962 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
36964         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
36965         * sysdeps/unix/sysv/linux/configure: Regenerated.
36966         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
36967         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
36969 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
36971         [BZ #16390]
36972         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
36973         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
36975 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36977         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
36978         extra tokens at end of #undef directive.
36979         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
36980         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
36981         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
36983 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
36985         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
36987         * math/auto-libm-test-in: Mark various tests with
36988         xfail-rounding:ldbl-128ibm.
36989         * math/auto-libm-test-out: Regenerated.
36991 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
36993         [BZ #16386]
36994         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
36995         numbers with subnormal high part when calculating exponent.
36997         [BZ #16385]
36998         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
36999         fabs.
37001         [BZ #16384]
37002         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
37003         M_LN2l.
37004         (__ieee754_acoshl): Use __log1pl not __log1p.
37006 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
37008         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
37009         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
37010         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
37011         (grow_heap, heap_trim, _int_new_arena, get_free_list)
37012         (reused_arena, arena_get2): Convert to GNU style.
37013         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
37014         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
37015         (memalign_check, __malloc_set_state): Likewise.
37016         * malloc/mallocbug.c (main): Likewise.
37017         * malloc/malloc.c (__malloc_assert, malloc_init_state)
37018         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
37019         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
37020         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
37021         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
37022         (__posix_memalign, malloc_info): Likewise.
37023         * malloc/malloc.h: Likewise.
37024         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
37025         (mallochook, memalignhook, reallochook, mabort): Likewise.
37026         * malloc/mcheck.h: Likewise.
37027         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
37028         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
37029         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
37030         * malloc/morecore.c (__default_morecore): Likewise.
37031         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
37032         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
37033         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
37034         (print_and_abort): Likewise.
37035         * malloc/obstack.h: Likewise.
37036         * malloc/set-freeres.c (__libc_freeres): Likewise.
37037         * malloc/tst-mallocstate.c (main): Likewise.
37038         * malloc/tst-mtrace.c (main): Likewise.
37039         * malloc/tst-realloc.c (do_test): Likewise.
37041 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37043         [BZ #16366]
37044         * nscd/netgroupcache.c (do_notfound): New function.
37045         (addgetnetgrentX): Use it.
37047         [BZ # 16365]
37048         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
37049         NSS_STATUS_NOTFOUND.
37051 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
37053         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
37054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37056 2014-01-01  Allan McRae  <allan@archlinux.org>
37058         * scripts/update-copyrights: Update configure input file suffix.
37060         * NEWS: Update copyright year.
37061         * catgets/gencat.c: Likewise.
37062         * csu/version.c: Likewise.
37063         * debug/catchsegv.sh: Likewise.
37064         * debug/pcprofiledump.c: Likewise.
37065         * debug/xtrace.sh: Likewise.
37066         * elf/ldconfig.c: Likewise.
37067         * elf/ldd.bash.in: Likewise.
37068         * elf/pldd.c: Likewise.
37069         * elf/sotruss.ksh: Likewise.
37070         * elf/sprof.c: Likewise.
37071         * iconv/iconv_prog.c: Likewise.
37072         * iconv/iconvconfig.c: Likewise.
37073         * locale/programs/locale.c: Likewise.
37074         * locale/programs/localedef.c: Likewise.
37075         * login/programs/pt_chown.c: Likewise.
37076         * malloc/memusage.sh: Likewise.
37077         * malloc/memusagestat.c: Likewise.
37078         * malloc/mtrace.pl: Likewise.
37079         * manual/libc.texinfo: Likewise.
37080         * nscd/nscd.c: Likewise.
37081         * nss/getent.c: Likewise.
37082         * nss/makedb.c: Likewise.
37083         * posix/getconf.c: Likewise.
37084         * scripts/test-installation.pl: Likewise.
37086         * All files with FSF copyright notices: Update copyright dates
37087         using scripts/update-copyrights.
37088         * intl/plural.c: Regenerated.
37089         * locale/programs/charmap-kw.h: Likewise.
37090         * locale/programs/locfile-kw.h: Likewise.
37092 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
37094         * sysdeps/unix/sysv/linux/configure: Regenerated.
37095         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
37096         the linux/fanotify.h header.
37097         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
37098         HAVE_LINUX_FANOTIFY_H is defined.
37100 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37102         * benchtests/cos-inputs: New inputs.
37103         * benchtests/sin-inputs: Likewise.
37105         * benchtests/atan-inputs: New inputs. Fix name of multiple
37106         precision fallback inputs.
37108         * benchtests/atanh-inputs: New inputs.
37109         * benchtests/tanh-inputs: Likewise.
37111         * benchtests/acosh-inputs: New inputs.
37112         * benchtests/asinh-inputs: Likewise.
37114         * benchtests/cosh-inputs: New inputs.
37115         * benchtests/sinh-inputs: Likewise.
37117         * benchtests/acos-inputs: Add more inputs.
37118         * benchtests/asin-inputs: Likewise.
37120 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
37122         [BZ #16375]
37123         * manual/arith.texi: Fix spelling.
37124         * manual/charset.texi: Likewise.
37125         * manual/errno.texi: Likewise.
37126         * manual/filesys.texi: Likewise.
37127         * manual/lang.texi: Likewise.
37128         * manual/llio.texi: Likewise.
37129         * manual/locale.texi: Likewise.
37130         * manual/message.texi: Likewise.
37131         * manual/resource.texi: Likewise.
37132         * manual/search.texi: Likewise.
37133         * manual/setjmp.texi: Likewise.
37134         * manual/stdio.texi: Likewise.
37135         * manual/string.texi: Likewise.
37136         * manual/sysinfo.texi: Likewise.
37137         * manual/time.texi: Likewise.
37139 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
37141         * po/sl.po: New file.
37143 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
37145         * .gitignore: Add core/.gdbinit/.gdb_history.
37147 2013-12-27  Allan McRae  <allan@archlinux.org>
37149         [BZ #16369]
37150         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
37151         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
37153 2013-12-24  Brooks Moses  <bmoses@google.com>
37155         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
37156         all compilers that claim C++98 compliance, not just GCC.
37157         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
37158         Likewise.
37160 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
37162         * NEWS: Restore accidentally deleted bug-fix entries.
37164 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
37165             Ondřej Bílka  <neleai@seznam.cz>
37167         [BZ #15073]
37168         * malloc/malloc.c (_int_free): Perform sanity check only if we
37169         have_lock.
37171 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
37173         [BZ #12986]
37174         * manual/stdio.texi (String Input Conversions): Clarify that character
37175         classes are not supported.
37177 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37179         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37181 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
37183         [BZ #16337]
37184         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
37185         Calculate results for small negative arguments directly rather
37186         than using reflection formula with special underflow handling.
37188         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
37189         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
37190         sysdeps/unix/bsd/bsd4.4/syscalls.list.
37191         (fchflags): Likewise.
37192         (revoke): Likewise.
37193         (setlogin): Likewise.
37194         (sigaltstack): Likewise.
37195         (wait4): Likewise.
37196         (sigblock): Remove.
37197         (sigsetmask): Likewise.
37198         (wait3): Likewise.
37199         (waitpid): Likewise.
37200         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
37201         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
37202         file.
37203         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
37204         * sysdeps/unix/bsd/Makefile: ... here.
37205         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
37206         * sysdeps/unix/bsd/Versions: ... here.
37207         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
37208         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
37209         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
37210         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
37211         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
37212         * sysdeps/unix/bsd/sigblock.c: ... here.
37213         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
37214         * sysdeps/unix/bsd/sigsetmask.c: ... here.
37215         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
37216         * sysdeps/unix/bsd/sigvec.c: ... here.
37217         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
37218         * sysdeps/unix/bsd/tcdrain.c: ... here.
37219         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
37220         * sysdeps/unix/bsd/tcgetattr.c: ... here.
37221         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
37222         * sysdeps/unix/bsd/tcsetattr.c: ... here.
37223         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
37224         * sysdeps/unix/bsd/wait.c: ... here.
37225         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
37226         * sysdeps/unix/bsd/wait3.c: ... here.
37227         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
37228         * sysdeps/unix/bsd/waitpid.c: ... here.
37230 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
37232         [BZ #16356]
37233         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
37234         round-to-nearest for [!USE_AS_EXPM1L].
37235         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
37236         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
37237         more tests of exp and exp10.  Expect some exp10 tests to miss
37238         exceptions or fail in directed rounding modes.
37239         * math/auto-libm-test-out: Regenerated.
37240         * math/libm-test.inc (exp10_tonearest_test_data): New array.
37241         (exp10_test_tonearest): New function.
37242         (exp10_towardzero_test_data): New array.
37243         (exp10_test_towardzero): New function.
37244         (exp10_downward_test_data): New array.
37245         (exp10_test_downward): New function.
37246         (exp10_upward_test_data): New array.
37247         (exp10_test_upward): New function.
37248         (main): Call the new functions.
37249         * sysdeps/i386/fpu/libm-test-ulps: Update.
37250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37252 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
37254         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
37255         asinh, atan, atan2, atanh, cbrt, cos and cosh.
37256         * math/auto-libm-test-out: Regenerated.
37257         * math/libm-test.inc (acosh_test_data): Add more tests.
37258         (atanh_test_data): Likewise.
37259         (ceil_test_data): Likewise.
37260         (copysign_test_data): Likewise.
37261         * sysdeps/i386/fpu/libm-test-ulps: Update.
37262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37264         * timezone/checktab.awk: Update from tzcode 2013i.
37265         * timezone/private.h: Likewise.
37266         * timezone/scheck.c: Likewise.
37267         * timezone/tzfile.h: Likewise.
37268         * timezone/tzselect.ksh: Likewise.
37269         * timezone/zdump.c: Likewise.
37270         * timezone/zic.c: Likewise.
37272         * math/auto-libm-test-in: Add tests of cpow.
37273         * math/auto-libm-test-out: Regenerated.
37274         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
37275         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37276         mpc_cc_c.
37277         (func_calc_desc): Add mpc_cc_c union field.
37278         (test_functions): Add cpow.
37279         (special_fill_2pi): New function.
37280         (special_real_inputs): Add 2pi.
37281         (calc_generic_results): Handle mpc_cc_c.
37282         * sysdeps/i386/fpu/libm-test-ulps: Update.
37283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37285         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
37286         csqrt, ctan and ctanh.
37287         * math/auto-libm-test-out: Regenerated.
37288         * math/libm-test.inc (TEST_COND_x86_64): New macro.
37289         (TEST_COND_x86): Likewise.
37290         (ccos_test_data): Use AUTO_TESTS_c_c.
37291         (ccosh_test_data): Likewise.
37292         (cexp_test_data): Likewise.
37293         (clog_test_data): Likewise.
37294         (csqrt_test_data): Likewise.
37295         (ctan_test_data): Likewise.
37296         (ctan_tonearest_test_data): Likewise.
37297         (ctan_towardzero_test_data): Likewise.
37298         (ctan_downward_test_data): Likewise.
37299         (ctan_upward_test_data): Likewise.
37300         (ctanh_test_data): Likewise.
37301         (ctanh_tonearest_test_data): Likewise.
37302         (ctanh_towardzero_test_data): Likewise.
37303         (ctanh_downward_test_data): Likewise.
37304         (ctanh_upward_test_data): Likewise.
37305         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37306         mpc_c_c.
37307         (func_calc_desc): Add mpc_c_c union field.
37308         (FUNC_mpc_c_c): New macro.
37309         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
37310         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
37311         ctanh.
37312         (special_fill_min_subnorm_p120): New function.
37313         (special_real_inputs): Add min_subnorm_p120.
37314         (calc_generic_results): Handle mpc_c_c.
37315         * sysdeps/i386/fpu/libm-test-ulps: Update.
37316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37318 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37320         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
37321         (do_sin_slow): New functions.
37322         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
37323         (cslow2, csloww1, csloww2): Use the new functions.
37325         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
37326         Use M to change sign of result instead of X.  Assume X is
37327         positive.
37328         (csloww1): Likewise.
37329         (__sin): Adjust.
37330         (__cos): Adjust.
37332         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
37333         arguments A and DA.
37334         (__sin): Adjust.
37335         (__cos): Likewise.
37337         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
37338         (__cos): Likewise.
37339         (sloww1): Don't adjust sign of DX.
37340         (csloww1): Likewise.
37341         (sloww2): Use X directly and don't adjust sign of DX.
37342         (csloww2): Likewise.
37344 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
37346         * math/auto-libm-test-in: Add tests of cabs and carg.
37347         * math/auto-libm-test-out: Regenerated.
37348         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
37349         (carg_test_data): Likewise.
37350         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37351         mpc_c_f.
37352         (func_calc_desc): Add mpc_c_f union field.
37353         (test_functions): Add cabs and carg.
37354         (calc_generic_results): Handle mpc_c_f.
37356         * sysdeps/powerpc/powerpc32/libgcc-compat.S
37357         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
37358         as a macro and a compat symbol.
37359         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
37360         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
37361         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
37362         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
37363         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
37364         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
37365         not use .hidden.
37366         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
37367         Likewise.
37368         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
37369         Likewise.
37370         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
37371         Likewise.
37372         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
37373         Likewise.
37374         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
37375         Likewise.
37376         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
37377         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
37378         from GLIBC_2.3.2.
37380 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37382         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37384 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
37386         * manual/texinfo.tex: Update to version 2013-11-26.10 with
37387         trailing whitespace removed.
37388         * scripts/config.guess: Update to version 2013-11-29.
37389         * scripts/config.sub: Update to version 2013-10-01.
37391         * math/auto-libm-test-in: Add tests of sincos.
37392         * math/auto-libm-test-out: Regenerated.
37393         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
37394         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37395         mpfr_f_11.
37396         (func_calc_desc): Add mpfr_f_11 union field.
37397         (test_functions): Add sincos.
37398         (calc_generic_results): Handle mpfr_f_11.
37399         * sysdeps/i386/fpu/libm-test-ulps: Update.
37400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37402 2013-12-19  Andreas Schwab  <schwab@suse.de>
37404         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
37405         CALL_MCOUNT.
37406         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
37407         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
37408         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
37410 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
37412         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
37413         * sysdeps/i386/fpu/libm-test-ulps: Update.
37414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37416         [BZ #16293]
37417         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
37418         round-to-nearest mode when using frndint.
37419         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
37420         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37421         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
37422         Likewise.
37423         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
37424         sinh test to fail.
37425         * math/auto-libm-test-out: Regenerated.
37426         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
37427         (TEST_COND_x86): Likewise.
37428         (expm1_tonearest_test_data): New array.
37429         (expm1_test_tonearest): New function.
37430         (expm1_towardzero_test_data): New array.
37431         (expm1_test_towardzero): New function.
37432         (expm1_downward_test_data): New array.
37433         (expm1_test_downward): New function.
37434         (expm1_upward_test_data): New array.
37435         (expm1_test_upward): New function.
37436         (main): Run the new test functions.
37437         * sysdeps/i386/fpu/libm-test-ulps: Update.
37438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37440         * include/features.h: Update comment documenting feature test
37441         macros.  Mention _DEFAULT_SOURCE in comment.
37442         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
37443         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
37444         _BSD_SOURCE and _SVID_SOURCE.
37445         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
37446         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
37447         !_SVID_SOURCE]: Likewise.
37448         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
37449         (__USE_POSIX_IMPLICITLY): Define.
37450         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
37451         (_POSIX_SOURCE): Undefine and redefine.
37452         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
37453         (_POSIX_C_SOURCE): Likewise.
37454         * manual/creature.texi (_DEFAULT_SOURCE): Document.
37455         (Feature Test Macros): Update documentation of default features.
37457 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37459         * benchtests/Makefile: Add bench-strtok.
37460         * benchtests/bench-strtok.c: New file: strtok benchtest.
37462 2013-12-19  Allan McRae  <allan@archlinux.org>
37464         * manual/install.texi: Suppress menu for plain text output.
37465         * INSTALL: Regenerated.
37467 2013-12-18  Brooks Moses  <bmoses@google.com>
37469         [BZ #15846]
37470         * misc/getauxval.c: Include errno.h.
37471         (__getauxval): Set errno to ENOENT if the requested type is not
37472         found.
37473         * misc/sys/auxv.h (getauxval): Document that it may set errno;
37474         don't declare with __attribute_const__.
37475         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
37476         * manual/startup.texi: Document that getauxval sets errno.
37478 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
37480         * math/auto-libm-test-in: Add tests of jn and yn.
37481         * math/auto-libm-test-out: Regenerated.
37482         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
37483         (yn_test_data): Likewise.
37484         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37485         mpfr_if_f.
37486         (func_calc_desc): Add mpfr_if_f union field.
37487         (FUNC_mpfr_if_f): New macro.
37488         (test_functions): Add jn and yn.
37489         (calc_generic_results): Assert type of second input for
37490         mpfr_ff_f.  Handle mpfr_if_f.
37491         (output_for_one_input_case): Disable all checking for arguments
37492         fitting floating-point types in case of an integer argument.
37493         * sysdeps/i386/fpu/libm-test-ulps: Update.
37494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
37497         Don't expect fegetround reference in libm.so.
37499 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37501         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
37502         $(config-cflags-nofma).
37504 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
37506         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
37507         * math/auto-libm-test-out: Regenerated.
37509         [BZ #16338]
37510         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
37511         to determine exponent and adjust argument to have exponent of -1.
37512         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
37513         log2.
37514         * math/auto-libm-test-out: Regenerated.
37515         * sysdeps/i386/fpu/libm-test-ulps: Update.
37516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37518 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
37520         * manual/probes.texi: Remove cases when per-thread arenas are
37521         disabled.
37523 2013-12-18  Andreas Schwab  <schwab@suse.de>
37525         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
37526         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
37527         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
37528         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
37529         * sysdeps/i386/i686/multiarch/Makefile: Update.
37530         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
37532 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
37534         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
37535         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
37537 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
37539         [BZ #15968]
37540         Support TZ transition times < 00:00:00.
37541         This is needed for version-3 tz-format files; it supports time
37542         stamps past 2037 for America/Godthab (the only entry in the tz
37543         database for which this change is relevant).
37544         * manual/time.texi (TZ Variable): Document transition times
37545         from -167:59:59 through -00:00:01.
37546         * time/tzset.c (tz_rule): Time of day is now signed.
37547         (__tzset_parse_tz): Parse negative time of day.
37549         Document TZ transition times >= 25:00:00.
37550         * manual/time.texi (TZ Variable): Document transition times from
37551         25:00:00 through 167:59:59.  These are already supported, and this
37552         support will help with version-3 tz-format files.
37554         * manual/time.texi (TZ Variable): Modernize North America example
37555         to reflect current (i.e., 2007-and-later) daylight saving rules.
37557         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
37559 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
37561         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
37562         * sysdeps/unix/bsd/bits/stat.h: Likewise.
37563         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
37564         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37565         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
37566         * sysdeps/unix/bsd/bsdstat.h: Likewise.
37567         * sysdeps/unix/bsd/clock.c: Likewise.
37568         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
37569         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
37570         * sysdeps/unix/bsd/init-posix.c: Likewise.
37571         * sysdeps/unix/bsd/poll.c: Likewise.
37572         * sysdeps/unix/bsd/ptsname.c: Likewise.
37573         * sysdeps/unix/bsd/seekdir.c: Likewise.
37574         * sysdeps/unix/bsd/setegid.c: Likewise.
37575         * sysdeps/unix/bsd/seteuid.c: Likewise.
37576         * sysdeps/unix/bsd/setgid.c: Likewise.
37577         * sysdeps/unix/bsd/setrgid.c: Likewise.
37578         * sysdeps/unix/bsd/setruid.c: Likewise.
37579         * sysdeps/unix/bsd/setsid.c: Likewise.
37580         * sysdeps/unix/bsd/setuid.c: Likewise.
37581         * sysdeps/unix/bsd/sigaction.c: Likewise.
37582         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
37583         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
37584         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
37585         * sysdeps/unix/bsd/telldir.c: Likewise.
37586         * sysdeps/unix/bsd/times.c: Likewise.
37587         * sysdeps/unix/bsd/usleep.c: Likewise.
37589         * misc/Makefile (install-lib): Remove libbsd-compat.a.
37590         ($(objpfx)libbsd-compat.a): Remove rule.
37592         * include/features.h (__FAVOR_BSD): Do not define.
37593         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
37594         features conflicting with POSIX.
37595         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
37596         (_BSD_SOURCE): Remove description of not being a subset of other
37597         feature test macros.
37598         * manual/job.texi (getpgrp): Do not document BSD version.
37599         (getpgid): Do not document by reference to BSD getpgrp.
37600         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
37601         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
37602         * signal/signal.h [__FAVOR_BSD]: Likewise.
37603         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
37604         instead of making contents conditional on [__FAVOR_BSD].
37605         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
37607 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37609         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37611 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
37613         [BZ #16314]
37614         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
37615         values below 2**-450, not 2**-500.
37616         * math/auto-libm-test-in: Don't allow spurious underflow from
37617         hypot.
37618         * math/auto-libm-test-out: Regenerated.
37620         [BZ #16316]
37621         [BZ #16330]
37622         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
37623         values of ha and hb and sort them after adjusting subnormal
37624         arguments.
37625         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
37626         Likewise.
37627         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
37628         values of ea and eb and sort them after adjusting subnormal
37629         arguments.
37630         * math/auto-libm-test-in: Do not expect some hypot tests of
37631         subnormals to fail.  Add more hypot tests.
37632         * math/auto-libm-test-out: Regenerated.
37634 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37636         [BZ #13304]
37637         * sysdeps/sh/s_fma.c: New file.
37638         * sysdeps/sh/s_fmaf.c: New file.
37639         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
37640         version.
37641         * sysdeps/sh/Implies: Add sh/soft-fp.
37643 2013-12-16  Roland McGrath  <roland@hack.frob.com>
37645         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
37646         level of indirection to members `objname', `errstring', `malloced'.
37647         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
37648         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
37649         it as the __longjmp argument (just pass 1 instead).
37650         (_dl_catch_error): Initialize C with argument pointers and address of
37651         volatile local ERRCODE rather than copying values out of C at return.
37653 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
37655         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
37656         * math/auto-libm-test-out: Regenerated.
37657         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
37658         (hypot_test_data): Likewise.
37659         (pow_test_data): Likewise.
37660         (pow_tonearest_test_data): Likewise.
37661         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37662         mpfr_ff_f.
37663         (func_calc_desc): Add mpfr_ff_f union field.
37664         (FUNC_mpfr_ff_f): New macro.
37665         (test_functions): Add atan2, hypot and pow.
37666         (special_fill_min): New function.
37667         (special_fill_minus_min): Likewise.
37668         (special_fill_min_subnorm): Likewise.
37669         (special_fill_minus_min_subnorm): Likewise.
37670         (special_real_inputs): Add min, -min, min_subnorm and
37671         -min_subnorm.
37672         (calc_generic_results): Handle mpfr_ff_f.
37673         * sysdeps/i386/fpu/libm-test-ulps: Update.
37674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37676 2013-12-16  Will Newton  <will.newton@linaro.org>
37678         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
37679         (Aligned Memory Blocks): Add documentation for aligned_alloc
37680         and suggest it as an alternative to posix_memalign.
37681         (Hooks for Malloc): Document __memalign_hook is also called
37682         for aligned_alloc.  (Summary of Malloc): Add summary for
37683         aligned alloc.  Document __memalign_hook is also called
37684         for aligned_alloc.
37686 2013-12-16  Will Newton  <will.newton@linaro.org>
37688         * manual/memory.texi (Malloc Examples): Clarify default
37689         alignment documentation.  Suggest posix_memalign rather
37690         than memalign or valloc.
37691         (Aligned Memory Blocks): Remove suggestion to use memalign
37692         or valloc.  Remove obsolete comment about BSD.
37693         Document memalign errno values and mark the function obsolete.
37694         Document posix_memalign returned error codes.  Mark valloc
37695         as obsolete.  (Hooks for Malloc): __memalign_hook is also
37696         called for posix_memalign and valloc.
37697         (Summary of Malloc): Add posix_memalign to function summary.
37698         __memalign_hook is also called for posix_memalign and valloc.
37700 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37702         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
37703         TAYLOR_SIN.
37704         (__sin): Adjust.
37705         (__cos): Likewise.
37706         (sloww): Use mynumber union.  Expand ternary operator into
37707         if-else statements.
37708         (cslow): use mynumber union.
37710 2013-12-16  Allan McRae  <allan@archlinux.org>
37712         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
37713         * configure: Regenerated.
37715         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
37717         [BZ #14120]
37718         * configure.ac: Added --enable-maintainer-mode. Check for
37719         autoconf when enabled.
37720         * configure: Regenerated.
37722         * nscd/nscd.service: New file.
37723         * nscd/nscd.tmpfiles: New file.
37725 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
37727         [BZ #12100]
37728         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
37729         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
37730         * sysdeps/x86_64/multiarch/strstr.c: ... here.
37731         (strstr): Add __strstr_sse2_unaligned ifunc.
37732         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
37733         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
37734         (strcasestr): Remove __strcasestr_sse42 ifunc.
37735         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
37736         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
37737         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
37739 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37741         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
37742         * sysdeps/sh/bits/fenv.h: ... here.
37743         * sysdeps/sh/sh4/fpu/bits: Remove directory.
37745 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37747         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
37749         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
37750         hypotf multiarch implementations.
37751         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
37752         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
37753         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
37754         multiarch hypot for PPC64.
37755         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
37756         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
37757         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
37758         multiarch hypotf for PPC64.
37760         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
37761         modff multiarch implementations.
37762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
37763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
37764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
37765         multiarch modf for PPC64.
37766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
37767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
37768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
37769         multiarch modff for PPC64.
37771         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
37772         and logl multiarch implementations.
37773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
37774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
37775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
37776         multiarch logb for PPC64.
37777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
37778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
37779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
37780         multiarch logb for PPC64.
37781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
37782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
37783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
37784         multiarch logb for PPC64.
37786         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
37787         isinff multiarch implementation.
37788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
37789         file.
37790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
37791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
37792         multiarch isinf for PPC64.
37793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
37794         file.
37795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
37796         multiarch isinff for PPC64.
37798         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
37799         finitef multiarch implementation.
37800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
37801         file.
37802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
37803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
37804         multiarch finite for PPC64.
37805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
37806         file.
37807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
37808         multiarch finitef for PPC64.
37810         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
37811         lrint multiarch implementation.
37812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
37813         file.
37814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
37815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
37816         multiarch llrint for PPC64.
37817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
37818         multiarch lrint for PPC64.
37820         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
37821         copysignf multiarch implementation.
37822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
37823         file.
37824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
37825         file.
37826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
37827         multiarch copysign for PPC64.
37828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
37829         multiarch copysignf for PPC64.
37831         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
37832         multiarch implementation.
37833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
37834         file.
37835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
37836         file.
37837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
37838         file.
37839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
37840         file.
37841         multiarch llround for PPC64.
37842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
37843         multiarch trunc for PPC64.
37844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
37845         multiarch truncf for PPC64.
37847         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
37848         multiarch implementation.
37849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
37850         file.
37851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
37852         file.
37853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
37854         file.
37855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
37856         file.
37857         multiarch llround for PPC64.
37858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
37859         multiarch round for PPC64.
37860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
37861         multiarch roundf for PPC64.
37863         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
37864         multiarch implementation.
37865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
37866         file.
37867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
37868         file.
37869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
37870         file.
37871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
37872         file.
37873         multiarch llround for PPC64.
37874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
37875         multiarch floor for PPC64.
37876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
37877         multiarch floorf for PPC64.
37879         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
37880         multiarch implementation.
37881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
37882         file.
37883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
37884         file.
37885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
37886         file.
37887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
37888         file.
37889         multiarch llround for PPC64.
37890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
37891         multiarch ceil for PPC64.
37892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
37893         multiarch ceilf for PPC64.
37895         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
37896         multiarch implementation.
37897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
37898         file.
37899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
37900         file.
37901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
37902         file.
37903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
37904         multiarch llround for PPC64.
37905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
37906         multiarch lround for PPC64.
37908         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
37909         multiarch implementation.
37910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
37911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
37912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
37913         file.
37914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
37915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
37916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
37917         multiarch isnan for PPC64.
37918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
37919         multiarch isnanf for PPC64.
37921         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
37922         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
37923         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
37924         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
37925         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
37926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
37928         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
37929         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37930         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37931         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37933         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
37934         multiarch implementations.
37935         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37936         (__libc_ifunc_impl_list): Likewise.
37937         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
37938         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
37939         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
37940         multiarch stpcpy for PPC64.
37942         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
37943         multiarch implementations.
37944         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37945         (__libc_ifunc_impl_list): Likewise.
37946         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
37947         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
37948         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
37949         multiarch strcpy for PPC64.
37951         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
37952         redefine function name.
37953         (_wordcopy_fwd_dest_aligned): Likewise.
37954         (_wordcopy_bwd_aligned): Likewise.
37955         (_wordcopy_bwd_dest_aligned): Likewise.
37956         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
37957         multiarch implementations.
37958         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37959         (__libc_ifunc_impl_list): Likewise.
37960         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
37961         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
37962         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
37963         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
37964         multiarch wcscpy for PPC64.
37966         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
37967         multiarch implementations.
37968         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37969         (__libc_ifunc_impl_list): Likewise.
37970         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
37971         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
37972         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
37973         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
37974         multiarch wcscpy for PPC64.
37976         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
37977         multiarch implementations.
37978         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37979         (__libc_ifunc_impl_list): Likewise.
37980         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
37981         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
37982         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
37983         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
37984         multiarch wcsrchr for PPC64.
37986         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
37987         multiarch implementations.
37988         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37989         (__libc_ifunc_impl_list): Likewise.
37990         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
37991         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
37992         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
37993         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
37994         multiarch wcschr for PPC64.
37996         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
37997         multiarch implementations.
37998         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37999         (__libc_ifunc_impl_list): Likewise.
38000         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
38001         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
38002         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
38003         multiarch strchrnul for PPC64.
38005         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
38006         implementations.
38007         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38008         (__libc_ifunc_impl_list): Likewise.
38009         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
38010         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
38011         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
38012         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
38013         strchr for PPC64.
38015         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
38016         implementations.
38017         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38018         (__libc_ifunc_impl_list): Likewise.
38019         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
38020         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
38021         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
38022         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
38023         strncmp for PPC64.
38025         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
38026         multiarch implementations.
38027         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38028         (__libc_ifunc_impl_list): Likewise.
38029         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
38030         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
38031         strncasecmp for PPC64.
38032         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
38033         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
38034         multiarch strncasecmp_l for PPC64.
38036         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
38037         multiarch implementations.
38038         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38039         (__libc_ifunc_impl_list): Likewise.
38040         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
38041         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
38042         multiarch strcasecmp for PPC64.
38043         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
38044         file.
38045         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
38046         multiarch strcasecmp_l for PPC64.
38048         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
38049         implementations.
38050         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38051         (__libc_ifunc_impl_list): Likewise.
38052         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
38053         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
38054         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
38055         strnlen for PPC64.
38057         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
38058         implementations.
38059         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38060         (__libc_ifunc_impl_list): Likewise.
38061         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
38062         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
38063         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
38064         strlen for PPC64.
38066         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
38067         implementations.
38068         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38069         (__libc_ifunc_impl_list): Likewise.
38070         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
38071         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
38072         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
38073         rawmemrchr for PPC64.
38075         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
38076         implementation.
38077         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38078         (__libc_ifunc_impl_list): Likewise.
38079         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
38080         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
38081         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
38082         memrchr for PPC64.
38084         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
38085         implementation.
38086         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38087         (__libc_ifunc_impl_list): Likewise.
38088         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
38089         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
38090         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
38091         memchr for PPC64.
38093         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
38094         implementation.
38095         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38096         (__libc_ifunc_impl_list): Likewise.
38097         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
38098         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
38099         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
38100         mempcpy for PPC64.
38102         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
38103         avoid cretion of __bzero symbol.
38104         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
38105         Likewise.
38106         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
38107         Likewise.
38108         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
38109         Likewise.
38110         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
38111         multiarch implementations.
38112         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38113         (__libc_ifunc_impl_list): Likewise.
38114         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
38115         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
38116         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
38117         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
38118         bzero for PPC32.
38119         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
38120         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
38121         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
38122         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
38123         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
38124         memset for PPC64.
38125         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
38127         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
38128         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
38129         implementations.
38130         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38131         (__libc_ifunc_impl_list): Likewise.
38132         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
38133         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
38134         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
38135         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
38136         memcmp for PPC64.
38138         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
38139         multiarch for POWER/PPC64.
38140         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
38141         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
38142         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
38143         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
38144         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
38145         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
38146         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
38147         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
38148         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
38149         memcpy for PPC64.
38151         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
38152         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
38153         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
38154         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
38155         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
38156         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
38157         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
38158         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
38159         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
38160         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
38161         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
38162         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
38163         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
38164         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
38165         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
38166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
38167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
38168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
38169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
38170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
38171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
38172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
38174 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38176         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
38178 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38180         * benchtests/Makefile (bench): Add exp2 and log2.
38181         (LDLIBS-bench-exp2): Add -lm.
38182         (LDLIBS-bench-log2): Likewise.
38183         * benchtests/exp2-inputs: New inputs file.
38184         * benchtests/log2-inputs: New inputs file.
38185         * benchtests/log-inputs: Add new inputs.
38186         * benchtests/tan-inputs: Likewise.
38188 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38190         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
38191         definition...
38192         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
38193         (csloww2): ... from here.
38195         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
38196         instead of structures.
38197         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
38198         (POLYNOMIAL): Likewise.
38199         (TAYLOR_SLOW): Likewise.
38200         (__sin): Likewise.
38201         (__cos): Likewise.
38202         (slow1): Likewise.
38203         (slow2): Likewise.
38204         (sloww): Likewise.
38205         (sloww1); Likewise.
38206         (sloww2): Likewise.
38207         (bsloww1): Likewise.
38208         (bsloww2): Likewise.
38209         (cslow2): Likewise.
38210         (csloww): Likewise.
38211         (csloww1): Likewise.
38212         (csloww2): Likewise.
38214 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
38216         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
38217         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
38218         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
38219         * malloc/hooks.c (realloc_check): Likewise.
38221         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
38222         * malloc/arena.c: Remove PER_THREAD conditional.
38223         [!PER_THREAD]: Remove code.
38224         (ptmalloc_unlock_all2): Likewise.
38225         (ptmalloc_init): Likewise.
38226         (_int_new_arena): Likewise.
38227         (arena_get2): Likewise.
38228         * malloc/hooks.c (__malloc_get_state): Likewise.
38229         (__malloc_set_state): Likewise.
38230         * malloc/malloc.c: Likewise.
38231         (struct malloc_state): Likewise.
38232         (struct malloc_par): Likewise.
38233         (__libc_realloc): Likewise.
38234         (__libc_mallopt): Likewise.
38236 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38238         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
38240 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
38242         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
38243         macro to a function.  Check for zero perturb_byte.
38244         (_int_malloc, _int_free): Remove zero perturb_byte checks.
38246         * malloc/malloc.c: (force_reg): Remove.
38247         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
38248         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
38249         force_reg by atomic_forced_read.
38250         * malloc/arena.c (ptmalloc_init): Likewise.
38251         * malloc/hooks.c (top_check): Likewise.
38253 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38257 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
38259         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38261 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
38263         * math/auto-libm-test-in: Add tests of lgamma.
38264         * math/auto-libm-test-out: Regenerated.
38265         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
38266         (M_LOG_2_SQRT_PIl): Likewise.
38267         (lgamma_test_data): Use AUTO_TESTS_f_f1.
38268         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38269         mpfr_f_f1.
38270         (func_calc_desc): Add mpfr_f_f1 union field.
38271         (ARGS1): New macro.
38272         (ARGS2): Likewise.
38273         (ARGS3): Likewise.
38274         (ARGS4): Likewise.
38275         (RET1): Likewise.
38276         (RET2): Likewise.
38277         (CALC): Likewise.
38278         (FUNC): Likewise.
38279         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
38280         (test_functions): Add lgamma.
38281         (calc_generic_results): Handle mpfr_f_f1.
38282         * sysdeps/i386/fpu/libm-test-ulps: Update.
38283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38285 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38287         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
38288         __mpn_add_n for PowerPC64/POWER7.
38289         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
38290         __mpn_sub_n for PowerPC64/POWER7.
38292         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
38293         __mpn_addmul_1 for PowerPC64.
38294         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
38295         __mpn_submul_1 for PowerPC64.
38296         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
38297         for PowerPC64.
38298         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
38299         for PowerPC64.
38301 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
38303         [BZ #15089]
38304         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
38306 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38308         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
38310         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
38311         add multiarch folders.
38312         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
38313         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
38314         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
38315         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
38316         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
38317         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
38318         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
38319         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
38320         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
38321         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
38322         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
38323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
38324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
38325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
38326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
38327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
38328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
38330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
38331         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
38332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
38333         New file.
38334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
38335         New file.
38336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
38337         multiarch __ieee754_hypot for PowerPC32.
38338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
38339         New file.
38340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
38341         New file.
38342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
38343         multiarch __ieee754_hypotf for PowerPC32.
38345         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
38346         long_double_symbol only if __logbl is defined.
38347         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
38348         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
38349         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
38350         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
38351         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
38352         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
38353         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
38354         path for implementation.
38355         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
38356         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
38357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
38358         logb, and logbl multiarch implementations for PowerPC32.
38359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
38360         file.
38361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
38362         file.
38363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
38364         multiarch logb for PowerPC32.
38365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
38366         file.
38367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
38368         file.
38369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
38370         multiarch logbf for PowerPC32.
38371         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
38372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
38373         file.
38374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
38375         multiarch logbl implementation for PowerPC32.
38377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
38378         and modff multiarch implementations.
38379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
38380         New file.
38381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
38382         New file.
38383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
38384         multiarch modf for PowerPC32.
38385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
38386         New file.
38387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
38388         New file.
38389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
38390         multiarch modff for PowerPC32.
38392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
38393         and lrintf multiarch implementations.
38394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
38395         New file.
38396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
38397         New file.
38398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
38399         multiarch lrint for PowerPC32.
38400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
38401         file: multiarch lrintf for PowerPC32.
38403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
38404         and lroundf multiarch implementations.
38405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
38406         New file.
38407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
38408         New file.
38409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
38410         New file.
38411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
38412         multiarch lround for PowerPC32.
38413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
38414         file: multiarch lroundf for PowerPC32.
38416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
38417         copysign and copysignf multiarch implementations.
38418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
38419         New file.
38420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
38421         New file.
38422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
38423         file: multiarch copysign for PowerPC32.
38424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
38425         file: multiarch copysignf for PowerPC32.
38427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
38428         and truncf multiarch implementations.
38429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
38430         New file.
38431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
38432         file.
38433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
38434         multiarch trunc for PowerPC32.
38435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
38436         New file.
38437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
38438         New file.
38439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
38440         multiarch truncf for PowerPC32.
38442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
38443         and roundf multiarch implementations.
38444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
38445         New file.
38446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
38447         file.
38448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
38449         multiarch round for PowerPC32.
38450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
38451         New file.
38452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
38453         New file.
38454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
38455         multiarch roundf for PowerPC32.
38457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
38458         and floorf multiarch implementations.
38459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
38460         New file.
38461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
38462         file.
38463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
38464         multiarch floor for PowerPC32.
38465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
38466         New file.
38467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
38468         New file.
38469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
38470         multiarch floorf for PowerPC32.
38472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
38473         and ceilf multiarch implementations.
38474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
38475         New file.
38476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
38477         file.
38478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
38479         multiarch ceil for PowerPC32.
38480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
38481         New file.
38482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
38483         file.
38484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
38485         multiarch ceilf for PowerPC32.
38487         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
38488         is defined.
38489         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
38490         FINITEF is defined.
38491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
38492         and finitef multiarch implementations.
38493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
38494         New file.
38495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
38496         file.
38497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
38498         multiarch finite for PowerPC32.
38499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
38500         New file.
38501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
38502         file: multiarch finitef for PowerPC32.
38504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
38505         and isinff multiarch implementations.
38506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
38507         file.
38508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
38509         file.
38510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
38511         multiarch isinf for PowerPC32.
38512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
38513         New file.
38514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
38515         multiarch isinff for PowerPC32.
38517         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
38518         alias when __isnan is defined.
38519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
38520         and isnanf multiarch implementations.
38521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
38522         file.
38523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
38524         file.
38525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
38526         file.
38527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
38528         file.
38529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
38530         multiarch isnan for PowerPC32.
38531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
38532         New file.
38533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
38534         New file.
38535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
38536         multiarch isnanf for PowerPC32.
38538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
38539         and sqrtf multiarch implementations.
38540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
38541         file.
38542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
38543         file.
38544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
38545         multiarch sqrt for PowerPC32.
38546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
38547         file.
38548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
38549         file.
38550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
38551         multiarch sqrtf for PowerPC32.
38553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
38554         and llroundf multiarch implementations.
38555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
38556         New file.
38557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
38558         New file.
38559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
38560         New file.
38561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
38562         file: multiarch llround for PowerPC32.
38563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
38564         file: multiarch llroundf for PowerPC32.
38566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
38567         multiarch PowerPC32 fpu implementations.
38568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
38569         New file.
38570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
38571         New file.
38572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
38573         multiarch llrint for PowerPC32.
38574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
38575         New file.
38576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
38577         New file.
38578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
38579         file.
38581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
38583         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
38584         file.
38585         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
38586         file.
38587         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
38588         file.
38589         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
38590         multiarch wordcopy for PPC32.
38591         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
38592         wordcopy objects.
38593         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38594         (__libc_ifunc_impl_list): Likewise.
38595         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
38596         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
38597         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
38598         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
38599         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
38600         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
38602         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
38603         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
38604         file.
38605         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
38606         file.
38607         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
38608         file.
38609         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
38610         multiarch wcscpy for PPC32.
38611         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
38612         multiarch objects.
38613         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38614         (__libc_ifunc_impl_list): Likewise.
38615         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
38616         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
38617         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
38618         sysdeps/powerpc/power6/wcscpy.c.
38620         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
38621         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
38622         file.
38623         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
38624         file.
38625         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
38626         file.
38627         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
38628         multiarch wcsrchr for PPC32.
38629         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
38630         multiarch objects.
38631         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38632         (__libc_ifunc_impl_list): Likewise.
38633         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
38634         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
38635         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
38636         sysdeps/powerpc/power6/wcsrchr.c.
38638         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
38639         file.
38640         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
38641         file.
38642         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
38643         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
38644         multiarch wcschr for PPc32.
38645         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
38646         multiarch objects.
38647         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38648         (__libc_ifunc_impl_list): Likewise.
38649         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
38650         * sysdeps/powerpc/power6/wcschr.c: ... to here.
38651         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
38652         sysdeps/powerpc/power6/wcschr.c.
38654         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
38655         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
38656         file.
38657         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
38658         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
38659         file: multiarch strchr for PPC32.
38660         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
38661         multiarch objects.
38662         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38663         (__libc_ifunc_impl_list): Likewise.
38665         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
38666         name.
38667         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
38668         file.
38669         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
38670         file.
38671         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
38672         multiarch strchrnul for PPC32.
38673         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
38674         multiarch objects.
38675         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38676         (__libc_ifunc_impl_list): Likewise.
38678         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
38679         file.
38680         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
38681         multiarch strncasecmp for PPC32.
38682         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
38683         file.
38684         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
38685         multiarch strncasecmp_l for PPC32.
38686         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
38687         strncasecmp multiarch objects.
38688         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38689         (__libc_ifunc_impl_list): Likewise.
38691         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
38692         file.
38693         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
38694         multiarch strncasecmp for PPC32.
38695         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
38696         New file.
38697         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
38698         multiarch strcasecmp_l for PPC32.
38699         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
38700         multiarch objects.
38701         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38702         (__libc_ifunc_impl_list): Likewise.
38704         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
38705         file.
38706         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
38707         file.
38708         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
38709         multiarch strncmp for PPC32.
38710         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
38711         multiarch objects.
38712         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38713         (__libc_ifunc_impl_list): Likewise.
38715         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
38716         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
38717         file.
38718         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
38719         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
38720         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
38721         multiarch objects.
38722         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38723         (__libc_ifunc_impl_list): Likewise.
38725         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
38726         file.
38727         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
38728         file.
38729         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
38730         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
38731         multiarch objects.
38732         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38733         (__libc_ifunc_impl_list): Likewise.
38735         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
38736         file.
38737         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
38738         file.
38739         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
38740         multiarch rawmemchr for PPC32.
38741         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
38742         multiarch objects.
38743         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38744         (__libc_ifunc_impl_list): Likewise.
38746         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
38747         file.
38748         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
38749         file.
38750         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
38751         file: memrchr multiarch for PPC32.
38752         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
38753         multiarch objects.
38754         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38755         (__libc_ifunc_impl_list): Likewise.
38757         * string/memchr.c (__memchr): Using macro to redefine symbol name.
38758         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
38759         file.
38760         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
38761         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
38762         multiarch memchr for PPC32.
38763         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
38764         multiarch objects.
38765         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38766         (__libc_ifunc_impl_list): Likewise.
38768         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
38769         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
38770         file.
38771         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
38772         file.
38773         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
38774         file: multiarch mempcpy for PPC32.
38775         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
38776         multiarch objects.
38777         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38778         (__libc_ifunc_impl_list): Likewise.
38780         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
38781         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
38782         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
38783         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
38784         multiarch bzero for PPC32.
38785         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
38786         file.
38787         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
38788         file.
38789         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
38790         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
38791         file: multiarch memset for PPC32.
38792         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
38793         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
38794         memset multiarch objects.
38795         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38796         (__libc_ifunc_impl_list): Likewise.
38798         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
38799         file.
38800         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
38801         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
38802         memcmp for PPC32.
38803         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
38804         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
38805         multiarch objects.
38806         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38807         (__libc_ifunc_impl_list): Likewise.
38809         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
38810         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
38811         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
38812         file.
38813         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
38814         file.
38815         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
38816         file.
38817         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
38818         multiarch memcpy for PPC32.
38819         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
38820         multiarch objects.
38821         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38822         (__libc_ifunc_impl_list): Likewise.
38824         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
38825         support multiarch for POWER/PPC32.
38826         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
38827         Likewise.
38828         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
38829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
38830         Implies file to make multiarch folder appers before the fpu and
38831         default folder for power4 configuration.
38833 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38835         * scripts/bench.pl: Append volatile keyword to type.
38837 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38839         * sysdeps/sh/sotruss-lib.c: New file.
38840         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
38842 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38844         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38846 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
38848         [BZ #6810]
38849         * math/w_tgamma.c: Include <errno.h>.
38850         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
38851         * math/w_tgammaf.c: Include <errno.h>.
38852         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
38853         * math/w_tgammal.c: Include <errno.h>.
38854         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
38855         * math/auto-libm-test-in: Do not allow missing errno on tgamma
38856         underflow.  Add more tgamma tests.
38857         * math/auto-libm-test-out: Regenerated.
38858         * sysdeps/i386/fpu/libm-test-ulps: Update.
38859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38861         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
38862         sin, sinh, tan, tanh, tgamma, y0 and y1.
38863         * math/auto-libm-test-out: Regenerated.
38864         * math/libm-test.inc (TEST_COND_x86_64): New macro.
38865         (TEST_COND_x86): Likewise.
38866         (M_E2l): Remove macro.
38867         (M_E3l): Likewise.
38868         (M_2_SQRT_PIl): Likewise.
38869         (M_SQRT_PIl): Likewise.
38870         (M_1_DIV_El): Likewise.
38871         (log_test_data): Use AUTO_TESTS_f_f.
38872         (log10_test_data): Likewise.
38873         (log1p_test_data): Likewise.
38874         (log2_test_data): Likewise.
38875         (sin_test_data): Likewise.
38876         (sin_tonearest_test_data): Likewise.
38877         (sin_towardzero_test_data): Likewise.
38878         (sin_downward_test_data): Likewise.
38879         (sin_upward_test_data): Likewise.
38880         (sinh_test_data): Likewise.
38881         (sinh_tonearest_test_data): Likewise.
38882         (sinh_towardzero_test_data): Likewise.
38883         (sinh_downward_test_data): Likewise.
38884         (sinh_upward_test_data): Likewise.
38885         (tan_test_data): Likewise.
38886         (tan_tonearest_test_data): Likewise.
38887         (tan_towardzero_test_data): Likewise.
38888         (tan_downward_test_data): Likewise.
38889         (tan_upward_test_data): Likewise.
38890         (tanh_test_data): Likewise.
38891         (tgamma_test_data): Likewise.
38892         (y0_test_data): Likewise.
38893         (y1_test_data): Likewise.
38894         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
38895         (special_real_inputs): Add pi/4.
38896         * sysdeps/i386/fpu/libm-test-ulps: Update.
38897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38899 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38901         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
38902         "longjmp_target" static probes.
38903         (__longjmp): Rename to __longjmp_symbol.
38904         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38905         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
38906         on which longjmp to generate.
38907         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
38908         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
38909         probe.
38910         (__sigsetjmp): Rename to __sigsetjmp_symbol.
38911         (__sigjmp_save): Rename to __sigjmp_save_symbol.
38912         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
38913         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
38914         and __sigjmp_save_symbol based on which sigsetjmp to generated.
38915         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
38916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
38917         __longjmp_symbol based on which __longjmp to generate.
38918         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
38919         probe.
38920         (setjmp): Rename to setjmp_symbol.
38921         (__sigsetjmp): Rename to __sigsetjmp_symbol.
38922         (_setjmp): Rename to _setjmp_symbol.
38923         (__sigsetjmp): Rename to __sigsetjmp_symbol.
38924         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
38925         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
38926         which setjmp to generate.
38927         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
38928         "longjmp_target" static probes.
38930 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38932         * benchtests/README: Add note about output arguments.
38933         * benchtests/bench-sincos.c: Remove file.
38934         * benchtests/sincos-inputs: New file.
38935         * scripts/bench.pl: Identify output arguments and define
38936         static variables for them.
38938         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
38940         [BZ #15941]
38941         * Makefile (INSTALL): Add install-plain.texi as the primary
38942         dependency.
38943         * manual/install-plain.texi: New file.
38944         * manual/install.texi: Include node directive only for
38945         non-plaintext output.
38947 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
38949         * stdlib/longlong.h: Update from GCC.
38951         [BZ #6807]
38952         [BZ #15901]
38953         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
38954         * math/w_j0f.c (y0f): Likewise.
38955         * math/w_j0l.c (__y0l): Likewise.
38956         * math/w_j1.c (y1): Likewise.
38957         * math/w_j1f.c (y1f): Likewise.
38958         * math/w_j1l.c (__y1l): Likewise.
38959         * math/w_jn.c (yn): Likewise.
38960         * math/w_jnf.c (ynf): Likewise.
38961         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
38962         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
38963         value for Bessel function domain errors outside _SVID_ mode.
38964         Adjust sign of return value for yn (negative integer, 0).
38965         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
38966         by zero in return for negative x and set sign appropriately for
38967         negative n.
38968         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
38969         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38970         * math/libm-test.inc (y0_test_data): Add more tests and adjust
38971         expectations in error cases.
38972         (y1_test_data): Likewise.
38973         (yn_test_data): Likewise.
38974         * sysdeps/i386/fpu/libm-test-ulps: Update.
38975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38977 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38979         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
38980         "64" to "64-v1".  Add "64-v2".
38981         (abi-64-options): Rename to ...
38982         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
38983         (abi-64-condition): Rename to ...
38984         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
38985         (abi-64-ld-soname): Rename to ...
38986         (abi-64-v1-ld-soname): ... this.
38987         (abi-64-v2-options): Define.
38988         (abi-64-v2-condition): Likewise.
38989         (abi-64-v2-ld-soname): Likewise.
38990         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
38991         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
38992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
38993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
38994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
38996 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38997             Alan Modra  <amodra@gmail.com>
38999         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
39000         New versions for use with the ELFv2 ABI.
39001         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
39002         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
39003         declaration.
39004         (struct La_ppc64v2_retval): Likewise.
39005         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
39006         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
39007         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
39008         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
39009         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
39010         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39011         Do not save or restore CR.
39012         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
39013         (_dl_profile_resolve): Do no save or restore CR.  Support extended
39014         return values for ELFv2 ABI.  Fix location of FPR return registers.
39015         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
39016         updated values for _CALL_ELF == 2.
39017         (La_regs, La_retval, int_retval): Likewise.
39019 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39021         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
39022         (FRAME_MIN_SIZE_PARM): Likewise.
39023         (FRAME_BACKCHAIN): Likewise.
39024         (FRAME_CR_SAVE): Likewise.
39025         (FRAME_LR_SAVE): Likewise.
39026         (FRAME_TOC_SAVE): Likewise.
39027         (FRAME_PARM_SAVE): Likewise.
39028         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
39029         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
39030         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
39031         (call_mcount_parm_offset): New macro.
39032         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
39033         (PROF): Use symbolic stack frame offsets.
39034         (TAIL_CALL_SYSCALL_ERROR): Likewise.
39035         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
39036         Redefine in terms of FRAME_MIN_SIZE.
39037         (_dl_runtime_resolve): Use symbolic stack frame offsets.
39038         (_dl_profile_resolve): Likewise.  Update comment.
39039         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
39040         symbols stack frame offsets.
39041         (__sigsetjmp): Likewise.
39042         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
39043         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
39044         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
39045         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
39047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
39048         (FRAME_BACKCHAIN): Remove.
39049         (FRAME_CR_SAVE): Likewise.
39050         (FRAME_LR_SAVE): Likewise.
39051         (FRAME_COMPILER_DW): Likewise.
39052         (FRAME_LINKER_DW): Likewise.
39053         (FRAME_TOC_SAVE): Likewise.
39054         (FRAME_PARM_SAVE): Likewise.
39055         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
39056         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
39057         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
39058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
39059         (CHECK_SP): Use symbolic stack frame offsets.
39060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
39061         zone" instead of caller's parameter save area for temp storage.
39062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39063         Likewise.  Also, use symbolic stack frame offsets.
39064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
39065         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
39066         our own stack frame instead of the caller's.
39067         (__socket): Use symbolic stack frame offsets.
39069 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39070             Alan Modra  <amodra@gmail.com>
39072         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
39073         Define.
39074         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
39075         (PPC64_LOCAL_ENTRY_OFFSET): Define.
39076         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
39077         New function.
39078         (elf_machine_fixup_plt): Call it.
39079         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
39080         reloc arguments.
39081         (elf_machine_rela): Update call to elf_machine_plt_conflict.
39082         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
39083         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
39084         r2 before calling target.
39086 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39087             Alan Modra  <amodra@gmail.com>
39089         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
39090         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
39091         versions of macros to support ELFv2 ABI.
39092         (LOCALENTRY): New macro.
39093         (ENTRY, EALIGN): Use it.
39094         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
39095         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
39096         fall through into ENTRY entry point.
39097         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
39098         Only define if _CALL_ELF != 2.
39100         (elf_machine_matches_host): Verify ABI version matches.
39101         (RTLD_START): Use LOCALENTRY.
39102         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
39103         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
39104         (PLT_ENTRY_WORDS): New macro.
39105         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
39106         (elf_machine_runtime_setup): Support ELFv2 ABI.
39107         (elf_machine_fixup_plt): Likewise.
39108         (elf_machine_plt_conflict): Likewise.
39109         (resolve_ifunc): Likewise.
39110         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
39111         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
39112         Likewise.
39113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
39114         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
39115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39116         (makecontext): Support ELFv2 ABI.
39117         * elf/elf.h (EF_PPC64_ABI): Define.
39119 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39121         * sysdeps/powerpc/powerpc64/sysdep.h
39122         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
39123         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
39124         (ENTRY) [ASSEMBLER]: ... but instead here ...
39125         (EALIGN) [ASSEMBLER]: ... and here.
39126         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
39127         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
39128         (ENTRY_2) [!ASSEMBLER]: Use it.
39129         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
39130         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
39131         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
39132         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
39133         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
39134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
39135         Use PPC64_LOAD_FUNCPTR.
39137         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
39139 2013-12-04  Alan Modra  <amodra@gmail.com>
39141         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
39142         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
39143         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
39144         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
39146         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
39147         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
39148         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
39149         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
39150         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
39151         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
39153 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39156         (__makecontext): Fix incorrect CFI when backtracing out of
39157         context created via makecontext.
39158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
39159         (__setcontext): Fix incorrect CFI during switch to new context.
39160         (__novec_setcontext): Likewise.
39162 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
39164         [BZ #4772]
39165         * time/strptime_l.c (__strptime_internal): Allow modifiers
39166         in strptime.
39167         * time/tst-strptime.c (day_tests): Add testcase.
39169 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39171         * scripts/bench.pl: Skip over blank lines.
39173 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
39175         [BZ #926]
39176         * manual/time.texi (Calendar Time): Clarify what timezone functions
39177         use.
39179 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39181         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39183 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
39185         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
39186         implementation.
39187         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
39188         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
39189         * debug/memset_chk.c (__memset_chk): Likewise.
39190         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
39191         * debug/strncpy_chk.c: Likewise.
39193 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
39195         [BZ #15268]
39196         [BZ #15425]
39197         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
39198         (__ieee754_exp): For possibly underflowing results, check size of
39199         result and force underflow exception if required.
39200         * math/auto-libm-test-in: Add more tests of exp.
39201         * math/auto-libm-test-out: Regenerated.
39202         * sysdeps/i386/fpu/libm-test-ulps: Update.
39203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39205         [BZ #16283]
39206         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
39207         * math/w_exp2f.c (__exp2f): Likewise.
39208         * math/w_exp2l.c (__exp2l): Likewise.
39209         * math/auto-libm-test-in: Do not allow missing errno on exp2
39210         underflow.
39211         * math/auto-libm-test-out: Regenerated.
39213 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
39215         [BZ #16274]
39216         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
39217         handle filename validation.
39218         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
39219         (do_open): Delete.
39221 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
39223         [BZ #6786]
39224         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
39225         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
39226         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
39227         <float.h>.
39228         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
39229         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
39230         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39231         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
39232         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39233         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
39234         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39235         * math/auto-libm-test-in: Don't allow missing errno from erfc.
39236         Add more erfc tests.
39237         * math/auto-libm-test-out: Regenerated.
39238         * sysdeps/i386/fpu/libm-test-ulps: Update.
39239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39241         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
39242         exp2, expm1, j0 and j1.
39243         * math/auto-libm-test-out: Regenerated.
39244         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
39245         (erfc_test_data): Likewise.
39246         (exp_test_data): Likewise.
39247         (exp_tonearest_test_data): Likewise.
39248         (exp_towardzero_test_data): Likewise.
39249         (exp_downward_test_data): Likewise.
39250         (exp_upward_test_data): Likewise.
39251         (exp10_test_data): Likewise.
39252         (exp2_test_data): Likewise.
39253         (expm1_test_data): Likewise.
39254         (j0_test_data): Likewise.
39255         (j1_test_data): Likewise.
39256         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
39257         (input_flag_type): Add flag_xfail_rounding.
39258         (input_flags): Add xfail-rounding.
39259         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
39260         (output_for_one_input_case): Handle flag_xfail_rounding.
39261         * sysdeps/i386/fpu/libm-test-ulps: Update.
39262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39264 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
39266         [BZ #16289]
39267         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
39268         division by 0.
39270 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39272         [BZ #16195]
39273         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
39274         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
39275         (STAP_PROBE0): New macro.
39276         (STAP_PROBE1): Likewise.
39277         (STAP_PROBE2): Likewise.
39278         (STAP_PROBE3): Likewise.
39279         (STAP_PROBE4): Likewise.
39281 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
39283         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
39285 2013-12-02  Steve Ellcey  <sellcey@mips.com>
39287         * benchtests/Makefile (bench): Add sqrt.
39288         (LDLIBS-bench-sqrt): New.
39289         * benchtests/sqrt-input: New.
39291 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
39293         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
39294         (GAIH_EAI): Likewise.
39295         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
39296         (gaih_inet): Likewise.
39297         (getaddrinfo): Don't use GAIH_EAI.
39299         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
39300         (struct gaih): Remove definition.
39302 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39304         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
39305         Use HERRNOP directly.
39307 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39309         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39311 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
39313         * math/gen-auto-libm-tests.c (test_functions): Add more
39314         single-argument functions.
39315         (special_fill_pi_2): New function.
39316         (special_fill_minus_pi_2): Likewise.
39317         (special_fill_pi_6): Likewise.
39318         (special_fill_minus_pi_6): Likewise.
39319         (special_fill_pi_3): Likewise.
39320         (special_fill_2pi_3): Likewise.
39321         (special_fill_e): Likewise.
39322         (special_fill_1_e): Likewise.
39323         (special_fill_e_minus_1): Likewise.
39324         (special_real_inputs): Add more special inputs.
39325         (output_for_one_input_case): Do not require ERANGE on underflow to
39326         zero if round-to-nearest result does not underflow to zero, unless
39327         exact results required.
39328         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
39329         atan, atanh, cbrt, cos and cosh.
39330         * math/auto-libm-test-out: Regenerated.
39331         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
39332         (acos_tonearest_test_data): Likewise.
39333         (acos_towardzero_test_data): Likewise.
39334         (acos_downward_test_data): Likewise.
39335         (acos_upward_test_data): Likewise.
39336         (acosh_test_data): Likewise.
39337         (asin_test_data): Likewise.
39338         (asin_tonearest_test_data): Likewise.
39339         (asin_towardzero_test_data): Likewise.
39340         (asin_upward_test_data): Likewise.
39341         (asinh_test_data): Likewise.
39342         (atan_test_data): Likewise.
39343         (atanh_test_data): Likewise.
39344         (cbrt_test_data): Likewise.
39345         (cos_test_data): Likewise.
39346         (cos_tonearest_test_data): Likewise.
39347         (cos_towardzero_test_data): Likewise.
39348         (cos_downward_test_data): Likewise.
39349         (cos_upward_test_data): Likewise.
39350         (cosh_test_data): Likewise.
39351         (cosh_tonearest_test_data): Likewise.
39352         (cosh_towardzero_test_data): Likewise.
39353         (cosh_downward_test_data): Likewise.
39354         (cosh_upward_test_data): Likewise.
39355         * sysdeps/i386/fpu/libm-test-ulps: Update.
39356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39358 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
39360         [BZ #6787]
39361         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
39362         * math/w_exp10f.c (__exp10f): Likewise.
39363         * math/w_exp10l.c (__exp10l): Likewise.
39364         * math/libm-test.inc (exp10_test_data): Add more tests and expect
39365         errno settings in existing tests.
39367         [BZ #14032]
39368         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
39369         precision control set to double precision.
39370         * sysdeps/i386/fpu/w_sqrt.c: New file.
39371         * math/auto-libm-test-in: Add more tests.
39372         * math/auto-libm-test-out: Update.
39374         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
39375         (sqrt_test_tonearest): New function.
39376         (sqrt_towardzero_test_data): New variable.
39377         (sqrt_test_towardzero): New function.
39378         (sqrt_downward_test_data): New variable.
39379         (sqrt_test_downward): New function.
39380         (sqrt_upward_test_data): New variable.
39381         (sqrt_test_upward): New function.
39382         (main): Call the new functions.
39384         * math/gen-auto-libm-tests.c: New file.
39385         * math/auto-libm-test-in: Likewise.
39386         * math/auto-libm-test-out: New generated file.
39387         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
39388         variables.
39389         (%beautify): Add generated representations of zero.
39390         (top level): Set $auto_input and call parse_auto_input.
39391         (beautify): Remove trailing "f" from hex float constants.
39392         (parse_args): Handle XFAIL_TEST.
39393         (convert_condition): New function.
39394         (or_value): Likewise.
39395         (or_cond_value): Likewise.
39396         (generate_testfile): Handle AUTO_TESTS_* lines.
39397         (parse_auto_input): New function.
39398         * math/libm-test.inc (XFAIL_TEST): New macro.
39399         (ERRNO_UNCHANGED): Update value.
39400         (ERRNO_EDOM): Likewise.
39401         (ERRNO_ERANGE): Likewise.
39402         (IGNORE_RESULT): Likewise.
39403         (TEST_COND_flt_32): New macro.
39404         (TEST_COND_dbl_64): Likewise.
39405         (TEST_COND_ldbl_96_intel): Likewise.
39406         (TEST_COND_ldbl_96_m68k): Likewise.
39407         (TEST_COND_ldbl_128): Likewise.
39408         (TEST_COND_ldbl_128ibm): Likewise.
39409         (TEST_COND_long32): Likewise.
39410         (TEST_COND_long64): Likewise.
39411         (TEST_COND_before_rounding): Likewise.
39412         (TEST_COND_after_rounding): Likewise.
39413         (enable_test): Handle XFAIL_TEST flag.
39414         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
39415         with finite results.
39416         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
39417         auto-libm-test-out.
39419 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39420             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39422         [BZ #16214]
39423         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
39424         __tls_get_addr_internal instead of __tls_get_offset in order to
39425         avoid GOT pointer dependency.  Make rtld export
39426         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
39427         __tls_get_addr since we are a __tls_get_offset platform.
39428         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
39429         GOT pointer being set up before.
39430         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
39432 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
39434         * manual/math.texi (Errors in Math Functions): Document accuracy
39435         goals.
39437         [BZ #15004]
39438         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
39439         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
39440         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39441         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39442         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39443         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39444         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39445         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39446         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39447         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39448         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39449         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39450         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39451         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39452         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39453         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39455         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
39456         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
39457         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
39458         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
39459         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
39460         Likewise.
39461         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
39462         Likewise.
39463         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
39464         Likewise.
39465         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
39466         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
39467         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
39468         atomic-feupdateenv and flt-rounds.
39469         * sysdeps/powerpc/nofpu/Versions (libc): Add
39470         __atomic_feholdexcept, __atomic_feclearexcept,
39471         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
39472         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
39473         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
39474         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
39475         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
39476         here.
39477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
39478         Update.
39480         * manual/arith.texi (FP Exceptions): Document that exceptions may
39481         not be raised when matherr is used.
39482         (Math Error Reporting): Document overflow in directed rounding
39483         modes.  Document that errno may not be set when finite values are
39484         returned on overflow.  Document intent to set errno on underflow
39485         only for underflow to zero.
39487         [BZ #16271]
39488         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
39489         round-to-nearest then adjust result for other rounding modes.
39490         * include/fenv.h (fegetround): Use libm_hidden_proto.
39491         * math/fegetround.c (fegetround): Use libm_hidden_def.
39492         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
39493         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
39494         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
39495         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
39496         Likewise.
39497         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
39498         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39499         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
39500         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
39502 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39504         [BZ #16077]
39505         * nss/Versions (libnss_files): Add
39506         _nss_files_gethostbyname3_r.
39507         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
39508         New function.
39509         (HOST_DB_LOOKUP): Remove macro.
39510         (_nss_files_gethostbyname_r): Implement function without the
39511         HOST_DB_LOOKUP macro.
39512         (_nss_files_gethostbyname2_r): Likewise.
39514 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
39516         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
39518 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
39520         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
39521         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
39522         warning.
39524 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39526         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
39527         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
39528         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
39529         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
39530         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
39531         __fe_nomask_env_priv and attribute_hidden.
39532         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
39533         (libc_feupdateenv_test_ppc): Likewise.
39534         (libc_feresetround_ppc): Likewise.
39535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39536         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
39537         compat_symbol macro.
39538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39539         (__fe_nomask_env): Likewise.
39540         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
39542 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
39544         * string/Makefile: Remove ifunc tests.
39545         * string/test-string.h: Define TEST_IFUNC.
39546         * string/test-bcopy-ifunc.c: Remove.
39547         * string/test-bzero-ifunc.c: Likewise.
39548         * string/test-memccpy-ifunc.c: Likewise.
39549         * string/test-memchr-ifunc.c: Likewise.
39550         * string/test-memcmp-ifunc.c: Likewise.
39551         * string/test-memcpy-ifunc.c: Likewise.
39552         * string/test-memmem-ifunc.c: Likewise.
39553         * string/test-memmove-ifunc.c: Likewise.
39554         * string/test-mempcpy-ifunc.c: Likewise.
39555         * string/test-memrchr-ifunc.c: Likewise.
39556         * string/test-memset-ifunc.c: Likewise.
39557         * string/test-rawmemchr-ifunc.c: Likewise.
39558         * string/test-stpcpy-ifunc.c: Likewise.
39559         * string/test-stpncpy-ifunc.c: Likewise.
39560         * string/test-strcasecmp-ifunc.c: Likewise.
39561         * string/test-strcasestr-ifunc.c: Likewise.
39562         * string/test-strcat-ifunc.c: Likewise.
39563         * string/test-strchr-ifunc.c: Likewise.
39564         * string/test-strchrnul-ifunc.c: Likewise.
39565         * string/test-strcmp-ifunc.c: Likewise.
39566         * string/test-strcpy-ifunc.c: Likewise.
39567         * string/test-strcspn-ifunc.c: Likewise.
39568         * string/test-strlen-ifunc.c: Likewise.
39569         * string/test-strncasecmp-ifunc.c: Likewise.
39570         * string/test-strncat-ifunc.c: Likewise.
39571         * string/test-strncmp-ifunc.c: Likewise.
39572         * string/test-strncpy-ifunc.c: Likewise.
39573         * string/test-strnlen-ifunc.c: Likewise.
39574         * string/test-strpbrk-ifunc.c: Likewise.
39575         * string/test-strrchr-ifunc.c: Likewise.
39576         * string/test-strspn-ifunc.c: Likewise.
39577         * string/test-strstr-ifunc.c: Likewise.
39579 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
39581         * benchtests/Makefile: Remove ifunc tests.
39582         * benchtests/bench-string.h: Define TEST_IFUNC.
39583         * benchtests/bench-bcopy-ifunc.c: Remove.
39584         * benchtests/bench-bzero-ifunc.c: Likewise.
39585         * benchtests/bench-memccpy-ifunc.c: Likewise.
39586         * benchtests/bench-memchr-ifunc.c: Likewise.
39587         * benchtests/bench-memcmp-ifunc.c: Likewise.
39588         * benchtests/bench-memcpy-ifunc.c: Likewise.
39589         * benchtests/bench-memmem-ifunc.c: Likewise.
39590         * benchtests/bench-memmove-ifunc.c: Likewise.
39591         * benchtests/bench-mempcpy-ifunc.c: Likewise.
39592         * benchtests/bench-memrchr-ifunc.c: Likewise.
39593         * benchtests/bench-memset-ifunc.c: Likewise.
39594         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
39595         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
39596         * benchtests/bench-stpcpy-ifunc.c: Likewise.
39597         * benchtests/bench-stpncpy-ifunc.c: Likewise.
39598         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
39599         * benchtests/bench-strcasestr-ifunc.c: Likewise.
39600         * benchtests/bench-strcat-ifunc.c: Likewise.
39601         * benchtests/bench-strchr-ifunc.c: Likewise.
39602         * benchtests/bench-strchrnul-ifunc.c: Likewise.
39603         * benchtests/bench-strcmp-ifunc.c: Likewise.
39604         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
39605         * benchtests/bench-strcpy-ifunc.c: Likewise.
39606         * benchtests/bench-strcspn-ifunc.c: Likewise.
39607         * benchtests/bench-strlen-ifunc.c: Likewise.
39608         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
39609         * benchtests/bench-strncat-ifunc.c: Likewise.
39610         * benchtests/bench-strncmp-ifunc.c: Likewise.
39611         * benchtests/bench-strncpy-ifunc.c: Likewise.
39612         * benchtests/bench-strnlen-ifunc.c: Likewise.
39613         * benchtests/bench-strpbrk-ifunc.c: Likewise.
39614         * benchtests/bench-strrchr-ifunc.c: Likewise.
39615         * benchtests/bench-strsep-ifunc.c: Likewise.
39616         * benchtests/bench-strspn-ifunc.c: Likewise.
39617         * benchtests/bench-strstr-ifunc.c: Likewise.
39619 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
39621         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
39623 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
39625         * resolv/netdb.h: Use __glibc_reserved instead __unused.
39626         * rt/aio.h: Likewise.
39627         * sysdeps/gnu/bits/utmp.h: Likewise.
39628         * sysdeps/gnu/bits/utmpx.h: Likewise.
39629         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
39630         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
39631         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
39632         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
39633         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
39634         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
39635         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
39636         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
39637         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
39638         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
39639         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
39640         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
39641         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
39642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
39643         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
39644         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
39645         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
39646         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
39647         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
39648         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
39649         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
39650         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
39651         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
39652         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39653         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
39654         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39655         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
39656         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
39657         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
39658         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
39659         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
39660         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
39661         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
39662         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
39663         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
39664         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
39665         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
39666         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
39667         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
39668         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
39669         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
39670         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
39672 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
39674         [BZ #16245]
39675         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
39676         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
39678 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
39680         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
39681         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
39682         Likewise.
39684 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39686         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
39687         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
39688         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
39689         (__fesetround): Remove define.
39690         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
39691         rounding and exceptions handling.
39692         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
39693         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
39694         (__fe_nomask_env): Likewise.
39695         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
39696         __fegetround instead of fegetround.
39697         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
39698         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
39700 2013-11-21  Roland McGrath  <roland@hack.frob.com>
39702         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
39703         it's there.
39705         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
39707 2013-11-21  Meador Inge  <meadori@codesourcery.com>
39709         [BZ #11157]
39710         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
39711         (encrypt_r): Likewise.
39712         * malloc/obstack.h (obstack_free): Likewise.
39713         * posix/unistd.h (encrypt): Likewise.
39715 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
39717         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
39718         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
39719         DL_CALL_DT_FINI() that call the functions directly.
39720         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
39721         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
39722         * elf/dl-fini.c: Likewise.
39724 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
39726         * malloc/hooks.c (memalign_check): Add alignment rounding.
39727         * malloc/malloc.c (_mid_memalign): New function.
39728         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
39729         Implement by calling _mid_memalign.
39730         * manual/probes.texi (Memory Allocation Probes): Remove
39731         memory_valloc_retry and memory_pvalloc_retry.
39733 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39735         * locale/programs/locarchive.c (open_archive): Add const
39736         qualifier to ARCHIVEFNAME and copy default fname to
39737         DEFAULT_FNAME.
39739         [BZ #15601]
39740         * libio/tst-widetext.input: Rename Oriya to Odia.
39741         * locale/iso-639.def: Likewise.
39743         * manual/probes.texi (Mathematical Function Probes): Add
39744         documentation for sin, cos, asin and acos probes.
39745         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
39746         (__sin32): Add slowasin probe.
39747         (__cos32): Add slowacos probe.
39748         (__mpsin): Add slowsin probe.
39749         (__mpcos): Add slowcos probe.
39751 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
39753         [BZ #15483]
39754         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
39755         thread-local __sim_exceptions_thread and global
39756         __sim_exceptions_global.
39757         (__sim_disabled_exceptions): Change to thread-local
39758         __sim_disabled_exceptions_thread and global
39759         __sim_disabled_exceptions_global.
39760         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
39761         and global __sim_round_mode_global.
39762         (__simulate_exceptions): Use thread-local floating-point state and
39763         set global state from it as needed.
39764         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
39765         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
39766         __sim_round_mode_thread.
39767         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
39768         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
39769         and global __sim_exceptions_global.
39770         (__sim_disabled_exceptions): Change to thread-local
39771         __sim_disabled_exceptions_thread and global
39772         __sim_disabled_exceptions_global.
39773         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
39774         and global __sim_round_mode_global.
39775         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
39776         (SIM_SET_GLOBAL): Likewise.
39777         * sysdeps/powerpc/soft-fp/sfp-machine.h
39778         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
39779         __sim_round_mode_thread.
39780         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
39781         __sim_disabled_exceptions_thread.
39782         (__sim_exceptions): Change to __sim_exceptions_thread.
39783         (__sim_disabled_exceptions): Change to
39784         __sim_disabled_exceptions_thread.
39785         (__sim_round_mode): Change to __sim_round_mode_thread.
39786         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
39787         thread-local floating-point state and set global state from it as
39788         needed.
39789         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
39790         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
39791         (__sim_disabled_exceptions): Remove extern declaration.
39792         (feenableexcept): Use thread-local floating-point state and set
39793         global state from it as needed.
39794         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
39795         extern declaration.
39796         (__sim_disabled_exceptions): Likewise.
39797         (__sim_round_mode): Likewise.
39798         (__fegetenv): Use thread-local floating-point state.
39799         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
39800         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
39801         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
39802         floating-point state and set global state from it as needed.
39803         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
39804         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
39805         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
39806         Likewise.
39807         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
39808         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
39809         Likewise.
39810         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
39811         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
39812         Use __sim_round_mode_thread.
39813         * math/test-fenv-tls.c: New file.
39814         * math/Makefile (tests): Add test-fenv-tls.
39815         ($(objpfx)test-fenv-tls): Depend on
39816         $(common-objpfx)nptl/libpthread.so.
39818 2013-11-19  Andreas Schwab  <schwab@suse.de>
39820         * locale/programs/locale.c (show_info): Decode wordarray elements.
39821         * locale/categories.def (LC_MONETARY): Add element for
39822         _NL_MONETARY_CRNCYSTR.
39823         * locale/C-monetary.c (conversion_rate): New variable.
39824         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
39825         element.
39827 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
39829         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
39830         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
39832 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
39834         * elf/Makefile (tst-auxv): New test.
39835         * elf/tst-auxv.c: New
39836         * elf/rtld.c (dl_main): Adjust AT_EXECFN
39838 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
39840         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
39841         (hidden_proto): Caller changed.
39842         (hidden_tls_proto): New macro.
39843         (libc_hidden_tls_proto): Likewise.
39844         (rtld_hidden_tls_proto): Likewise.
39845         (libm_hidden_tls_proto): Likewise.
39846         (libresolv_hidden_tls_proto): Likewise.
39847         (librt_hidden_tls_proto): Likewise.
39848         (libdl_hidden_tls_proto): Likewise.
39849         (libnss_files_hidden_tls_proto): Likewise.
39850         (libnsl_hidden_tls_proto): Likewise.
39851         (libnss_nisplus_hidden_tls_proto): Likewise.
39852         (libutil_hidden_tls_proto): Likewise.
39854 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
39856         [BZ #10253]
39857         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
39858         (decompose_rpath): Defer expansion to fillin_rpath.
39859         (_dl_init_paths): Pass linkmap to fillin_rpath.
39861 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39863         * benchtests/Makefile: Add strsep.
39864         * benchtests/bench-strsep.c: New file: strsep benchtest.
39865         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
39867 2013-11-18  Andreas Schwab  <schwab@suse.de>
39869         * locale/programs/locale.c (show_info) [case byte]: Check for
39870         '\377' instead of '\177'.
39871         * locale/C-monetary.c (not_available): Always use "\377".
39872         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
39873         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
39874         detect unavailable sign_posn locale elements.
39875         * locale/localeconv.c (__localeconv): For grouping and
39876         mon_grouping handle "\177" and "\377" like no grouping.
39877         (INT_ELEM): New macro.  Use it to set all numeric members.
39878         * locale/programs/ld-monetary.c (monetary_read)
39879         <tok_mon_grouping>: Normalize single -1 to the empty string.
39880         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
39881         Likewise.
39883 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
39885         [BZ #16055]
39886         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
39887         when we match (nil).
39888         * stdio-common/tst-sscanf.c (struct test): Add testcase.
39890 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
39892         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
39893         (NO_TEST_INLINE): Update value.
39894         (ERRNO_UNCHANGED): Likewise.
39895         (ERRNO_EDOM): Likewise.
39896         (ERRNO_ERANGE): Likewise.
39897         (IGNORE_RESULT): Likewise.
39898         (check_float_internal): Check signs of NaN results if
39899         TEST_NAN_SIGN used.
39900         (check_complex): Pass TEST_NAN_SIGN flag through to second
39901         check_float_internal call.
39902         (copysign_test_data): Add tests with quiet NaNs as second
39903         argument.  Use TEST_NAN_SIGN.
39904         (fabs_test_data): Add test of negative quiet NaN argument.  Use
39905         TEST_NAN_SIGN.
39906         (signbit_test_data): Add tests of quiet NaN argument.
39907         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
39909         * math/gen-libm-test.pl (show_exceptions): Take extra argument
39910         $ignore_result.
39911         (parse_args): Handle function results specified as IGNORE.
39912         * math/libm-test.inc (IGNORE_RESULT): New macro.
39913         (check_float_internal): Do not check numerical result if flag
39914         IGNORE_RESULT set.
39915         (check_complex): Pass through IGNORE_RESULT to second
39916         check_float_internal call.
39917         (check_int): Do not check numerical result if flag IGNORE_RESULT
39918         set.
39919         (check_long): Likewise.
39920         (check_bool): Likewise.
39921         (check_longlong): Likewise.
39922         (lrint_test_data): Add tests of infinite and NaN arguments.
39923         (lrint_tonearest_test_data): Likewise.
39924         (lrint_towardzero_test_data): Likewise.
39925         (lrint_downward_test_data): Likewise.
39926         (lrint_upward_test_data): Likewise.
39927         (llrint_test_data): Likewise.
39928         (llrint_tonearest_test_data): Likewise.
39929         (llrint_towardzero_test_data): Likewise.
39930         (llrint_downward_test_data): Likewise.
39931         (llrint_upward_test_data): Likewise.
39932         (lround_test_data): Likewise.
39933         (llround_test_data): Likewise.
39935         * math/libm-test.inc (NO_TEST_INLINE): New macro.
39936         (ERRNO_UNCHANGED): Update value.
39937         (ERRNO_EDOM): Likewise.
39938         (ERRNO_ERANGE): Likewise.
39939         (NO_TEST_INLINE_FLOAT): New macro.
39940         (NO_TEST_INLINE_DOUBLE): Likewise.
39941         (enable_test): New function.
39942         (RUN_TEST_f_f): Check enable_test before running test.
39943         (RUN_TEST_2_f): Likewise.
39944         (RUN_TEST_fff_f): Likewise.
39945         (RUN_TEST_c_f): Likewise.
39946         (RUN_TEST_f_f1): Likewise.
39947         (RUN_TEST_fF_f1): Likewise.
39948         (RUN_TEST_fI_f1): Likewise.
39949         (RUN_TEST_ffI_f1): Likewise.
39950         (RUN_TEST_c_c): Likewise.
39951         (RUN_TEST_cc_c): Likewise.
39952         (RUN_TEST_f_i): Likewise.
39953         (RUN_TEST_f_i_tg): Likewise.
39954         (RUN_TEST_ff_i_tg): Likewise.
39955         (RUN_TEST_f_b): Likewise.
39956         (RUN_TEST_f_b_tg): Likewise.
39957         (RUN_TEST_f_l): Likewise.
39958         (RUN_TEST_f_L): Likewise.
39959         (RUN_TEST_fFF_11): Likewise.
39960         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
39961         conditionals.
39962         (cosh_test_data): Likewise.
39963         (exp_test_data): Likewise.
39964         (expm1_test_data): Likewise.
39965         (hypot_test_data): Likewise.
39966         (pow_test_data): Likewise.
39967         (sinh_test_data): Likewise.
39968         (tanh_test_data): Likewise.
39969         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
39970         flags argument.
39972         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
39973         tests with quiet NaN input and output.
39974         (acosh_test_data): Likewise.
39975         (asin_test_data): Likewise.
39976         (asinh_test_data): Likewise.
39977         (atan_test_data): Likewise.
39978         (atanh_test_data): Likewise.
39979         (atan2_test_data): Likewise.
39980         (cbrt_test_data): Likewise.
39981         (cos_test_data): Likewise.
39982         (cosh_test_data): Likewise.
39983         (erf_test_data): Likewise.
39984         (erfc_test_data): Likewise.
39985         (exp_test_data): Likewise.
39986         (exp10_test_data): Likewise.
39987         (exp2_test_data): Likewise.
39988         (expm1_test_data): Likewise.
39989         (hypot_test_data): Likewise.
39990         (j0_test_data): Likewise.
39991         (j1_test_data): Likewise.
39992         (jn_test_data): Likewise.
39993         (lgamma_test_data): Likewise.
39994         (log_test_data): Likewise.
39995         (log10_test_data): Likewise.
39996         (log1p_test_data): Likewise.
39997         (log2_test_data): Likewise.
39998         (pow_test_data): Likewise.
39999         (scalb_test_data): Likewise.
40000         (sin_test_data): Likewise.
40001         (sincos_test_data): Likewise.
40002         (sinh_test_data): Likewise.
40003         (tan_test_data): Likewise.
40004         (tanh_test_data): Likewise.
40005         (tgamma_test_data): Likewise.
40006         (y0_test_data): Likewise.
40007         (y1_test_data): Likewise.
40008         (yn_test_data): Likewise.
40010         [BZ #16167]
40011         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
40012         argument being NaN and avoid computations with second argument in
40013         that case.
40014         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40015         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
40016         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40018 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
40020         * locale/iso-639.def: Add Chitwani Tharu (the).
40022 2013-11-14  Andreas Schwab  <schwab@suse.de>
40024         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
40025         word instead of empty string.
40027 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40030         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
40031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40032         (__fe_nomask_env): Likewise.
40034 2013-11-13  Steve Ellcey  <sellcey@mips.com>
40036         * benchtests/bench-timing.h: Include time.h.
40038 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
40040         [BZ #15997]
40041         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
40042         to 3.4.0 for x32.
40043         * sysdeps/unix/sysv/linux/configure: Regenerated.
40045 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
40047         [BZ #16151]
40048         * stdlib/strtod_l.c (round_and_return): Do not consider
40049         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
40050         exponent one less than half the least subnormal exponent.
40051         * stdlib/test-strtod-round-data: Add more tests.
40052         * stdlib/tst-strtod-round.c (tests): Regenerated.
40054 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40056         [BZ #14143]
40057         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
40058         (__fe_mask_env): Likewise.
40059         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
40060         libm_hidden_proto and add function prototype.
40061         (__fe_mask_env): Add function prototype.
40062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40063         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
40064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40065         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
40066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40067         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
40069 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40071         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
40072         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
40074 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40076         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
40077         of htab_find_slot().
40079 2013-11-11  David S. Miller  <davem@davemloft.net>
40081         [BZ #16150]
40082         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
40083         symbol in the non-vis3 case in static builds.
40084         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
40085         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
40086         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
40087         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
40089 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
40091         [BZ #387]
40092         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
40093         it is empty.
40095 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40097         * benchtests/Makefile: Add bench-strtod.
40098         * benchtests/bench-strtod.c: New file: strtod benchtest
40100 2013-11-11  Andreas Schwab  <schwab@suse.de>
40102         [BZ #16153]
40103         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
40104         terminating NUL in key length.
40106 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40108         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
40109         Add artificial ODP entry for vDSO symbol for PPC64.
40110         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
40111         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
40113 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
40115         [BZ #15374]
40116         * nss/getent.c (services_keys): Recognize services starting with digit.
40118 2013-11-06  David S. Miller  <davem@davemloft.net>
40120         [BZ #15985]
40121         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
40122         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
40124 2013-11-06  Will Newton  <will.newton@linaro.org>
40126         * manual/memory.texi (Malloc Examples): Remove register
40127         keyword from examples.
40129 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
40131         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
40133 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
40135         [BZ #6981]
40136         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
40137         depending on [__GCC_IEC_559 > 0].
40138         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
40139         depending on [__GCC_IEC_559_COMPLEX > 0].
40141 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
40143         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
40144         to iso-639.def.
40146 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
40148         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
40150 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
40152         [BZ #16112]
40153         * malloc/malloc (malloc_info): Do not handle first bin as
40154         special case.
40156 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
40158         * locale/iso-639.def: Add Central Nahuatl (nhn).
40160 2013-11-01  Bruno Haible  <bruno@clisp.org>
40162         [BZ #7003]
40163         * manual/math.texi (BSD Random): Specify range upper bound as
40164         in POSIX.
40166 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
40168         * locale/iso-639.def: Add Meadow Mari (mhr).
40170 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
40172         [BZ #14752], [BZ #15763]
40173         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
40174         Validate name.
40175         * rt/tst_shm.c: Add test for escaping directory.
40177 2013-10-31  Andreas Schwab  <schwab@suse.de>
40179         [BZ #15917]
40180         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
40181         followed by 'x' as part of digit sequence.
40182         * stdio-common/tst-sscanf.c (double_tests2): New tests.
40184 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
40186         [BZ #16037]
40187         * configure.ac: allow GNU Make 4.0 and greater.
40188         * configure: Regenerated.
40190 2013-10-30  Will Newton  <will.newton@linaro.org>
40192         [BZ #16038]
40193         * malloc/hooks.c (memalign_check): Limit alignment to the
40194         maximum representable power of two.
40195         * malloc/malloc.c (__libc_memalign): Likewise.
40196         * malloc/tst-memalign.c (do_test): Add test for very
40197         large alignment values.
40198         * malloc/tst-posix_memalign.c (do_test): Likewise.
40200 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
40202         [BZ #11087]
40203         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
40204         (munmap_chunk): Likewise.
40205         (mremap_chunk): Likewise.
40207 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
40209         [BZ #15799]
40210         * stdlib/div.c (div): Remove obsolete code.
40211         * stdlib/ldiv.c (ldiv): Likewise.
40212         * stdlib/lldiv.c (lldiv): Likewise.
40214 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40216         [BZ #16071]
40217         * nss/nss_files/files-XXX.c (get_contents_ret): New
40218         enumerator.
40219         (get_contents): New function.
40220         (internal_getent): Use it.  Expand size of LINEBUFLEN.
40222 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
40224         * configure.in: Moved to ...
40225         * configure.ac: ... here. Change reference to configure.in
40226         to configure.ac.
40227         * sysdeps/arm/preconfigure.ac: ... here.
40228         configure.in to configure.ac.
40229         * sysdeps/gnu/configure.in: Moved to ...
40230         * sysdeps/gnu/configure.ac: ... here.
40231         * sysdeps/i386/configure.in: Moved to ...
40232         * sysdeps/i386/configure.ac: ... here.
40233         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
40234         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
40235         * sysdeps/mach/configure.in: Moved to ...
40236         * sysdeps/mach/configure.ac: ... here.
40237         * sysdeps/mach/hurd/configure.in: Moved to ...
40238         * sysdeps/mach/hurd/configure.ac: ... here.
40239         * sysdeps/powerpc/configure.in: Moved to ...
40240         * sysdeps/powerpc/configure.ac: ... here.
40241         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
40242         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
40243         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
40244         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
40245         * sysdeps/s390/s390-32/configure.in: Moved to ...
40246         * sysdeps/s390/s390-32/configure.ac: ... here.
40247         * sysdeps/s390/s390-64/configure.in: Moved to ...
40248         * sysdeps/s390/s390-64/configure.ac: ... here.
40249         * sysdeps/sh/configure.in: Moved to ...
40250         * sysdeps/sh/configure.ac: ... here.
40251         * sysdeps/sparc/configure.in: Moved to ...
40252         * sysdeps/sparc/configure.ac: ... here.
40253         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
40254         * sysdeps/unix/sysv/linux/configure.ac: ... here.
40255         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
40256         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
40257         * sysdeps/x86_64/configure.in: Moved to ...
40258         * sysdeps/x86_64/configure.ac: ... here.
40259         * sysdeps/x86_64/preconfigure.in: Moved to ...
40260         * sysdeps/x86_64/preconfigure.ac: ... here.
40261         * aclocal.m4: Change reference to configure.in to configure.ac.
40262         * config.h.in: Likewise.
40263         * manual/install.texi: Likewise.
40264         * manual/maint.texi: Likewise.
40265         * Makefile: Likewise.
40266         * malloc/Makefile: Likewise.
40267         * nscd/Makefile: Likewise.
40268         * Makeconfig: Change reference to configure.in and
40269         preconfigure.in to configure.ac and preconfigure.ac
40270         respectively.
40271         * INSTALL: Regenerated.
40272         * configure: Likewise.
40273         * sysdeps/gnu/configure: Likewise.
40274         * sysdeps/i386/configure: Likewise.
40275         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
40276         * sysdeps/mach/configure: Likewise.
40277         * sysdeps/mach/hurd/configure: Likewise.
40278         * sysdeps/powerpc/configure: Likewise.
40279         * sysdeps/powerpc/powerpc32/configure: Likewise.
40280         * sysdeps/powerpc/powerpc64/configure: Likewise.
40281         * sysdeps/s390/s390-32/configure: Likewise.
40282         * sysdeps/s390/s390-64/configure: Likewise.
40283         * sysdeps/sh/configure: Likewise.
40284         * sysdeps/sparc/configure: Likewise.
40285         * sysdeps/unix/sysv/linux/configure: Likewise.
40286         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
40287         * sysdeps/x86_64/configure: Likewise.
40288         * sysdeps/x86_64/preconfigure: Likewise.
40290 2013-10-29  Andreas Schwab  <schwab@suse.de>
40292         * stdio-common/Makefile (tst-swscanf-ENV): Define.
40294 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40296         * benchtests/pow-inputs: Add new inputs.
40298         * benchtests/exp-inputs: Add new inputs.
40300         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
40301         conditional check for return value.
40302         (__cos32): Likewise.
40304 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40306         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
40307         to provide a boost for large inputs with word alignment.
40308         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
40309         implementation based on optimized PPC64 strcpy.
40310         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
40311         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
40312         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
40313         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
40315 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40317         [BZ #2801]
40318         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
40320 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40322         [BZ #14876]
40323         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
40324         * time/tst-strptime.c (day_tests): Add testcase.
40326 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40328         [BZ #14029]
40329         * manual/pattern.texi: Acknowledge that fnmatch can fail.
40331 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
40333         [BZ #16074]
40334         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
40335         MAP_FAILED on error.
40337 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40339         [BZ #16072]
40340         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
40341         heap for large requests.
40343 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
40345         [BZ #9954]
40346         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
40347         result if the result has no associated interface.
40348         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
40349         interface for all 127.X.Y.Z addresses.
40351 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
40353         * locale/iso-639.def: Add Ligurian (lij)
40355 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
40357         [BZ #15825]
40358         * sunrpc/rpc_main.c: Document rpcgen -5.
40360 2013-10-19  Michael Stahl  <mstahl@redhat.com>
40362         * elf/rtld.c (do_preload): Print the reason why preloading failed.
40364 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
40366         [BZ #10278]
40367         * posix/glob.c: Match only directories when trailing slash is present.
40368         * posix/tst-gnuglob.c (my_opendir): Do not open files.
40369         (main): Add testcase.
40371 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
40373         [BZ #15670]
40374         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
40376 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
40378         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
40379         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
40380         AUTH_DES and cindex for FIPS 140-2.
40381         (DES Encryption): Add cindex FIPS 46-3.
40383         * locale/locarchive.h (struct locarhandle): Add fname.
40384         * locale/programs/localedef.c (main): Pass ARGV[remaining]
40385         if an optional argument was specified to --list-archive,
40386         otherwise NULL.
40387         * locale/programs/locarchive.c (show_archive_content): Take new
40388         argument fname and pass it via ah.fname to open_archive.
40389         * locale/programs/localedef.h: Update decl.
40390         (open_archive): If AH->fname is non-null, open that file
40391         rather than the default file name, and don't ignore ENOENT.
40392         (create_archive): Set AH.fname to NULL.
40393         (delete_locales_from_archive): Likewise.
40394         (add_locales_to_archive): Likewise.
40395         * locale/programs/locfile.c (write_all_categories): Likewise.
40397 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
40398             Aldy Hernandez  <aldyh@redhat.com>
40400         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
40401         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
40402         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
40403         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
40404         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
40405         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
40406         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
40407         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
40408         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
40409         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
40410         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
40411         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
40412         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
40413         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
40414         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
40415         Likewise.
40416         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
40417         Likewise.
40418         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
40419         Likewise.
40420         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
40421         Likewise.
40422         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
40423         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
40424         Likewise.
40425         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
40426         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
40427         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
40428         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
40429         Likewise.
40430         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
40431         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
40432         * sysdeps/powerpc/preconfigure: Likewise.
40433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
40434         Likewise.
40435         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
40436         Replace contents of file by #include of <fenv_libc.h>.
40437         * sysdeps/powerpc/soft-fp/sfp-machine.h
40438         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
40439         and <sys/prctl.h>.
40440         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
40441         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
40442         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
40443         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
40444         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
40445         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
40446         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
40447         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
40448         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
40449         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
40450         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
40451         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
40452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
40453         Allow copysignl PLT reference to be missing.
40455 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
40456             Joseph Myers  <joseph@codesourcery.com
40458         [BZ #15948]
40459         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
40460         single character.
40461         (add_to_tablewc): Assert sequence of wide characters is nonempty.
40463 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40465         * elf/tst-tls-dlinfo.c: Don't include tls.h.
40466         * elf/tst-tls1.c: Likewise.
40467         * elf/tst-tls10.h: Likewise.
40468         * elf/tst-tls14.c: Likewise.
40469         * elf/tst-tls2.c: Likewise.
40470         * elf/tst-tls3.c: Likewise.
40471         * elf/tst-tls4.c: Likewise.
40472         * elf/tst-tls5.c: Likewise.
40473         * elf/tst-tls6.c: Likewise.
40474         * elf/tst-tls7.c: Likewise.
40475         * elf/tst-tls8.c: Likewise.
40476         * elf/tst-tls9.c: Likewise.
40477         * elf/tst-tlsmod1.c: Likewise.
40478         * elf/tst-tlsmod13.c: Likewise.
40479         * elf/tst-tlsmod13a.c: Likewise.
40480         * elf/tst-tlsmod14a.c: Likewise.
40481         * elf/tst-tlsmod16a.c: Likewise.
40482         * elf/tst-tlsmod16b.c: Likewise.
40483         * elf/tst-tlsmod2.c: Likewise.
40484         * elf/tst-tlsmod3.c: Likewise.
40485         * elf/tst-tlsmod4.c: Likewise.
40486         * elf/tst-tlsmod5.c: Likewise.
40487         * elf/tst-tlsmod6.c: Likewise.
40489 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
40491         [BZ #12486]
40492         * malloc/malloc.c: remove checks for statistics.
40494 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
40496         [BZ #15277]
40497         * inet/inet_net.c (inet_network): Detect additional invalid strings.
40498         * inet/tst-network.c: Add testcase.
40500 2013-10-17  Andreas Schwab  <schwab@suse.de>
40502         [BZ #15218]
40503         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
40504         to determine canonical name.
40506 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
40508         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
40509         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
40510         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40511         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40512         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40513         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40514         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40515         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40516         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40517         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40518         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40519         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40520         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40521         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40522         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40523         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40524         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40525         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40526         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40527         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40528         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40529         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40530         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40531         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
40532         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
40533         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40534         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40535         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
40536         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40537         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
40538         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40539         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40540         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40541         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40542         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40543         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40544         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40545         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40546         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40547         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40548         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40549         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40550         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40551         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40552         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40553         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40554         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40555         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40556         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40557         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40558         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40559         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40560         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40561         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40562         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40563         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40564         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40565         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40567 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
40569         [BZ #16041]
40570         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
40571         make result into a quiet NaN.
40573 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
40575         * soft-fp/adddf3.c: Fix horizontal whitespace.
40576         * soft-fp/addsf3.c: Likewise.
40577         * soft-fp/addtf3.c: Likewise.
40578         * soft-fp/divdf3.c: Likewise.
40579         * soft-fp/divsf3.c: Likewise.
40580         * soft-fp/divtf3.c: Likewise.
40581         * soft-fp/double.h: Likewise.
40582         * soft-fp/eqdf2.c: Likewise.
40583         * soft-fp/eqsf2.c: Likewise.
40584         * soft-fp/eqtf2.c: Likewise.
40585         * soft-fp/extenddftf2.c: Likewise.
40586         * soft-fp/extended.h: Likewise.
40587         * soft-fp/extendsfdf2.c: Likewise.
40588         * soft-fp/extendsftf2.c: Likewise.
40589         * soft-fp/extendxftf2.c: Likewise.
40590         * soft-fp/fixdfdi.c: Likewise.
40591         * soft-fp/fixdfsi.c: Likewise.
40592         * soft-fp/fixdfti.c: Likewise.
40593         * soft-fp/fixsfdi.c: Likewise.
40594         * soft-fp/fixsfsi.c: Likewise.
40595         * soft-fp/fixsfti.c: Likewise.
40596         * soft-fp/fixtfdi.c: Likewise.
40597         * soft-fp/fixtfsi.c: Likewise.
40598         * soft-fp/fixtfti.c: Likewise.
40599         * soft-fp/fixunsdfdi.c: Likewise.
40600         * soft-fp/fixunsdfsi.c: Likewise.
40601         * soft-fp/fixunsdfti.c: Likewise.
40602         * soft-fp/fixunssfdi.c: Likewise.
40603         * soft-fp/fixunssfsi.c: Likewise.
40604         * soft-fp/fixunssfti.c: Likewise.
40605         * soft-fp/fixunstfdi.c: Likewise.
40606         * soft-fp/fixunstfsi.c: Likewise.
40607         * soft-fp/fixunstfti.c: Likewise.
40608         * soft-fp/floatdidf.c: Likewise.
40609         * soft-fp/floatdisf.c: Likewise.
40610         * soft-fp/floatditf.c: Likewise.
40611         * soft-fp/floatsidf.c: Likewise.
40612         * soft-fp/floatsisf.c: Likewise.
40613         * soft-fp/floatsitf.c: Likewise.
40614         * soft-fp/floattidf.c: Likewise.
40615         * soft-fp/floattisf.c: Likewise.
40616         * soft-fp/floattitf.c: Likewise.
40617         * soft-fp/floatundidf.c: Likewise.
40618         * soft-fp/floatundisf.c: Likewise.
40619         * soft-fp/floatunditf.c: Likewise.
40620         * soft-fp/floatunsidf.c: Likewise.
40621         * soft-fp/floatunsisf.c: Likewise.
40622         * soft-fp/floatunsitf.c: Likewise.
40623         * soft-fp/floatuntidf.c: Likewise.
40624         * soft-fp/floatuntisf.c: Likewise.
40625         * soft-fp/floatuntitf.c: Likewise.
40626         * soft-fp/fmadf4.c: Likewise.
40627         * soft-fp/fmasf4.c: Likewise.
40628         * soft-fp/fmatf4.c: Likewise.
40629         * soft-fp/gedf2.c: Likewise.
40630         * soft-fp/gesf2.c: Likewise.
40631         * soft-fp/getf2.c: Likewise.
40632         * soft-fp/ledf2.c: Likewise.
40633         * soft-fp/lesf2.c: Likewise.
40634         * soft-fp/letf2.c: Likewise.
40635         * soft-fp/muldf3.c: Likewise.
40636         * soft-fp/mulsf3.c: Likewise.
40637         * soft-fp/multf3.c: Likewise.
40638         * soft-fp/negdf2.c: Likewise.
40639         * soft-fp/negsf2.c: Likewise.
40640         * soft-fp/negtf2.c: Likewise.
40641         * soft-fp/op-1.h: Likewise.
40642         * soft-fp/op-2.h: Likewise.
40643         * soft-fp/op-4.h: Likewise.
40644         * soft-fp/op-8.h: Likewise.
40645         * soft-fp/op-common.h: Likewise.
40646         * soft-fp/quad.h: Likewise.
40647         * soft-fp/single.h: Likewise.
40648         * soft-fp/soft-fp.h: Likewise.
40649         * soft-fp/sqrtdf2.c: Likewise.
40650         * soft-fp/sqrtsf2.c: Likewise.
40651         * soft-fp/sqrttf2.c: Likewise.
40652         * soft-fp/subdf3.c: Likewise.
40653         * soft-fp/subsf3.c: Likewise.
40654         * soft-fp/subtf3.c: Likewise.
40655         * soft-fp/truncdfsf2.c: Likewise.
40656         * soft-fp/trunctfdf2.c: Likewise.
40657         * soft-fp/trunctfsf2.c: Likewise.
40658         * soft-fp/trunctfxf2.c: Likewise.
40659         * soft-fp/unorddf2.c: Likewise.
40660         * soft-fp/unordsf2.c: Likewise.
40661         * soft-fp/unordtf2.c: Likewise.
40663 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
40665         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
40666         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
40668 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
40670         * elf/dl-libc.c: Clear initfini list after freeing.
40672 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
40674         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
40675         * soft-fp/addsf3.c: Likewise.
40676         * soft-fp/addtf3.c: Likewise.
40677         * soft-fp/divdf3.c: Likewise.
40678         * soft-fp/divsf3.c: Likewise.
40679         * soft-fp/divtf3.c: Likewise.
40680         * soft-fp/double.h: Likewise.
40681         * soft-fp/eqdf2.c: Likewise.
40682         * soft-fp/eqsf2.c: Likewise.
40683         * soft-fp/eqtf2.c: Likewise.
40684         * soft-fp/extenddftf2.c: Likewise.
40685         * soft-fp/extended.h: Likewise.
40686         * soft-fp/extendsfdf2.c: Likewise.
40687         * soft-fp/extendsftf2.c: Likewise.
40688         * soft-fp/extendxftf2.c: Likewise.
40689         * soft-fp/fixdfdi.c: Likewise.
40690         * soft-fp/fixdfsi.c: Likewise.
40691         * soft-fp/fixdfti.c: Likewise.
40692         * soft-fp/fixsfdi.c: Likewise.
40693         * soft-fp/fixsfsi.c: Likewise.
40694         * soft-fp/fixsfti.c: Likewise.
40695         * soft-fp/fixtfdi.c: Likewise.
40696         * soft-fp/fixtfsi.c: Likewise.
40697         * soft-fp/fixtfti.c: Likewise.
40698         * soft-fp/fixunsdfdi.c: Likewise.
40699         * soft-fp/fixunsdfsi.c: Likewise.
40700         * soft-fp/fixunsdfti.c: Likewise.
40701         * soft-fp/fixunssfdi.c: Likewise.
40702         * soft-fp/fixunssfsi.c: Likewise.
40703         * soft-fp/fixunssfti.c: Likewise.
40704         * soft-fp/fixunstfdi.c: Likewise.
40705         * soft-fp/fixunstfsi.c: Likewise.
40706         * soft-fp/fixunstfti.c: Likewise.
40707         * soft-fp/floatdidf.c: Likewise.
40708         * soft-fp/floatdisf.c: Likewise.
40709         * soft-fp/floatditf.c: Likewise.
40710         * soft-fp/floatsidf.c: Likewise.
40711         * soft-fp/floatsisf.c: Likewise.
40712         * soft-fp/floatsitf.c: Likewise.
40713         * soft-fp/floattidf.c: Likewise.
40714         * soft-fp/floattisf.c: Likewise.
40715         * soft-fp/floattitf.c: Likewise.
40716         * soft-fp/floatundidf.c: Likewise.
40717         * soft-fp/floatundisf.c: Likewise.
40718         * soft-fp/floatunsidf.c: Likewise.
40719         * soft-fp/floatunsisf.c: Likewise.
40720         * soft-fp/floatuntidf.c: Likewise.
40721         * soft-fp/floatuntisf.c: Likewise.
40722         * soft-fp/floatuntitf.c: Likewise.
40723         * soft-fp/fmadf4.c: Likewise.
40724         * soft-fp/fmasf4.c: Likewise.
40725         * soft-fp/fmatf4.c: Likewise.
40726         * soft-fp/gedf2.c: Likewise.
40727         * soft-fp/gesf2.c: Likewise.
40728         * soft-fp/getf2.c: Likewise.
40729         * soft-fp/ledf2.c: Likewise.
40730         * soft-fp/lesf2.c: Likewise.
40731         * soft-fp/letf2.c: Likewise.
40732         * soft-fp/muldf3.c: Likewise.
40733         * soft-fp/mulsf3.c: Likewise.
40734         * soft-fp/multf3.c: Likewise.
40735         * soft-fp/negdf2.c: Likewise.
40736         * soft-fp/negsf2.c: Likewise.
40737         * soft-fp/negtf2.c: Likewise.
40738         * soft-fp/op-1.h: Likewise.
40739         * soft-fp/op-2.h: Likewise.
40740         * soft-fp/op-4.h: Likewise.
40741         * soft-fp/op-8.h: Likewise.
40742         * soft-fp/op-common.h: Likewise.
40743         * soft-fp/quad.h: Likewise.
40744         * soft-fp/single.h: Likewise.
40745         * soft-fp/soft-fp.h: Likewise.
40746         * soft-fp/sqrtdf2.c: Likewise.
40747         * soft-fp/sqrtsf2.c: Likewise.
40748         * soft-fp/sqrttf2.c: Likewise.
40749         * soft-fp/subdf3.c: Likewise.
40750         * soft-fp/subsf3.c: Likewise.
40751         * soft-fp/subtf3.c: Likewise.
40752         * soft-fp/truncdfsf2.c: Likewise.
40753         * soft-fp/trunctfdf2.c: Likewise.
40754         * soft-fp/trunctfsf2.c: Likewise.
40755         * soft-fp/trunctfxf2.c: Likewise.
40756         * soft-fp/unorddf2.c: Likewise.
40757         * soft-fp/unordsf2.c: Likewise.
40758         * soft-fp/unordtf2.c: Likewise.
40760 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
40762         [BZ #15672]
40763         * misc/error.c (error_tail): Fix possible buffer overflow.
40765 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
40767         [BZ #13028]
40768         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
40769         address.
40771 2013-10-14  P. J. McDermott  <pj@pehjota.net>
40773         [BZ #832]
40774         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
40775         testing pipefail option.
40777 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
40779         * soft-fp/double.h: Indent preprocessor directives inside #if.
40780         * soft-fp/extended.h: Likewise.
40781         * soft-fp/op-2.h: Likewise.
40782         * soft-fp/op-4.h: Likewise.
40783         * soft-fp/op-common.h: Likewise.
40784         * soft-fp/quad.h: Likewise.
40785         * soft-fp/single.h: Likewise.
40786         * soft-fp/soft-fp.h: Likewise.
40788 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
40790         * iconv/iconv_prog.c: Fix typos.
40791         * stdio-common/psiginfo-data.h: Likewise.
40793 2013-10-12   Reuben Thomas <rrt@sc3d.org>
40795         [BZ #15764]
40796         * locale/setlocale.c: Fix typo.
40798 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
40800         [BZ #16036]
40801         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
40802         signaling NaN arguments.
40803         * soft-fp/unordsf2.c (__unordsf2): Likewise.
40804         * soft-fp/unordtf2.c (__unordtf2): Likewise.
40806         [BZ #14910]
40807         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
40808         unordered operands.
40809         * soft-fp/gesf2.c (__gesf2): Likewise.
40810         * soft-fp/getf2.c (__getf2): Likewise.
40811         * soft-fp/ledf2.c (__ledf2): Likewise.
40812         * soft-fp/lesf2.c (__lesf2): Likewise.
40813         * soft-fp/letf2.c (__letf2): Likewise.
40815         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
40816         * soft-fp/eqsf2.c (__eqsf2): Likewise.
40817         * soft-fp/eqtf2.c (__eqtf2): Likewise.
40818         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
40819         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
40820         * soft-fp/fixdfti.c (__fixdfti): Likewise.
40821         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
40822         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
40823         * soft-fp/fixsfti.c (__fixsfti): Likewise.
40824         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
40825         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
40826         * soft-fp/fixtfti.c (__fixtfti): Likewise.
40827         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
40828         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
40829         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
40830         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
40831         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
40832         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
40833         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
40834         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
40835         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
40836         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
40837         * soft-fp/floatdisf.c (__floatdisf): Likewise.
40838         * soft-fp/floatsisf.c (__floatsisf): Likewise.
40839         * soft-fp/floattidf.c (__floattidf): Likewise.
40840         * soft-fp/floattisf.c (__floattisf): Likewise.
40841         * soft-fp/floattitf.c (__floattitf): Likewise.
40842         * soft-fp/floatundidf.c (__floatundidf): Likewise.
40843         * soft-fp/floatundisf.c (__floatundisf): Likewise.
40844         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
40845         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
40846         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
40847         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
40848         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
40849         * soft-fp/gesf2.c (__gesf2): Likewise.
40850         * soft-fp/getf2.c (__getf2): Likewise.
40851         * soft-fp/ledf2.c (__ledf2): Likewise.
40852         * soft-fp/lesf2.c (__lesf2): Likewise.
40853         * soft-fp/letf2.c (__letf2): Likewise.
40855         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
40856         Undefine and redefine.
40857         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
40858         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
40859         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
40860         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
40861         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40862         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
40863         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40864         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
40865         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40866         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
40867         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40868         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
40869         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40870         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
40871         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40873         [BZ #16032]
40874         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
40875         without decrementing exponent if mantissa >= that for the
40876         denominator, not >.
40877         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
40878         denominator, not >.  Decrement exponent in < case instead of
40879         incrementing in >= case.
40880         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
40881         without decrementing exponent if mantissa >= that for the
40882         denominator, not >.
40884         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
40885         computing saturated result for unsigned overflow.
40887 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40888             Jeff Law  <law@redhat.com>
40890         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
40891         (atan2Mp): Add systemtap probe marker.
40892         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
40893         (__ieee754_log): Add systemtap probe marker.
40894         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
40895         (atanMp): Add systemtap probe marker.
40896         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
40897         (tanMp): Add systemtap probe marker.
40898         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
40899         (__slowexp): Add systemtap probe marker.
40900         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
40901         (__slowpow): Add systemtap probe marker.
40902         * manual/probes.texi: Document probes.
40904 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
40906         [BZ #15362]
40907         * libio/fileops.c (_IO_new_file_write): Return count of bytes
40908         written.
40909         (_IO_new_file_xsputn): Don't return EOF if nothing has been
40910         written.
40911         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
40912         written to buffer but not flushed.
40913         * libio/iofwrite_u.c:  Likewise.
40914         * libio/iopadn.c:  Return bytes returned even if EOF was
40915         encountered.
40916         * libio/iowpadn.c:  Likewise.
40917         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
40918         if _IO_padn does not write the whole buffer.
40919         [!COMPILE_WPRINTF] (PAD): Likewise.
40921 2013-10-10  David S. Miller  <davem@davemloft.net>
40923         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
40924         directory block.
40926 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
40928         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
40929         instead of FSF address.
40930         * soft-fp/fixdfti.c: Likewise.
40931         * soft-fp/fixsfti.c: Likewise.
40932         * soft-fp/fixtfti.c: Likewise.
40933         * soft-fp/fixunsdfti.c: Likewise.
40934         * soft-fp/fixunssfti.c: Likewise.
40935         * soft-fp/fixunstfti.c: Likewise.
40936         * soft-fp/floattidf.c: Likewise.
40937         * soft-fp/floattisf.c: Likewise.
40938         * soft-fp/floattitf.c: Likewise.
40939         * soft-fp/floatuntidf.c: Likewise.
40940         * soft-fp/floatuntisf.c: Likewise.
40941         * soft-fp/floatuntitf.c: Likewise.
40942         * soft-fp/trunctfxf2.c: Likewise.
40944         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
40945         * soft-fp/fixdfti.c: Likewise.
40946         * soft-fp/fixsfti.c: Likewise.
40947         * soft-fp/fixtfti.c: Likewise.
40948         * soft-fp/fixunsdfti.c: Likewise.
40949         * soft-fp/fixunssfti.c: Likewise.
40950         * soft-fp/fixunstfti.c: Likewise.
40951         * soft-fp/floattidf.c: Likewise.
40952         * soft-fp/floattisf.c: Likewise.
40953         * soft-fp/floattitf.c: Likewise.
40954         * soft-fp/floatuntidf.c: Likewise.
40955         * soft-fp/floatuntisf.c: Likewise.
40956         * soft-fp/floatuntitf.c: Likewise.
40957         * soft-fp/trunctfxf2.c: Likewise.
40959 2013-10-10  David S. Miller  <davem@davemloft.net>
40961         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40963 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
40965         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
40966         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
40967         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
40968         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
40969         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
40970         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
40971         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
40973         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
40974         for NaNs before doing comparisons on argument.
40975         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
40976         Likewise.
40978 2013-10-10  Will Newton  <will.newton@linaro.org>
40980         * malloc/hooks.c (memalign_check): Ensure the value of bytes
40981         passed to _int_memalign does not overflow.
40983 2013-10-10  Torvald Riegel  <triegel@redhat.com>
40985         * scripts/bench.pl: Add include-sources directive.
40986         * benchtests/README: Update documentation.
40988 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
40990         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
40991         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
40992         instead of FP_INIT_ROUNDMODE.
40993         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
40994         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
40996         [BZ #16034]
40997         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
40998         copy class of input value.
40999         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
41000         not handle exceptions.
41001         * soft-fp/negsf2.c (__negsf2): Likewise.
41002         * soft-fp/negtf2.c (__negtf2): Likewise.
41003         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
41005 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
41007         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
41008         semicolon.  From Linux kernel.
41010 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
41012         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
41014 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
41016         [BZ #156]
41017         * manual/socket.texi: Added statement about buffer
41018         for gethostbyname2_r.
41020 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
41022         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
41023         Use .p2align directive instead, throughout.
41024         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41025         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
41026         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
41027         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41028         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41029         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
41030         * sysdeps/x86_64/strchr.S: Likewise.
41031         * sysdeps/x86_64/strrchr.S: Likewise.
41033 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41035         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
41037         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
41039         * sysdeps/generic/math_private.h (__mpsin1): Remove
41040         declaration.
41041         (__mpcos1): Likewise.
41042         (__mpsin): New argument __range_reduce.
41043         (__mpcos): Likewise.
41044         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41045         (slow): Use __mpsin and __mpcos.
41046         (slow1): Likewise.
41047         (slow2): Likewise.
41048         (sloww): Likewise.
41049         (sloww1): Likewise.
41050         (sloww2): Likewise.
41051         (bsloww): Likewise.
41052         (bsloww1): Likewise.
41053         (bsloww2): Likewise.
41054         (cslow2): Likewise.
41055         (csloww): Likewise.
41056         (csloww1): Likewise.
41057         (csloww2): Likewise.
41058         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
41059         range_reduce.  Merge in __mpsin1.
41060         (__mpcos): Likewise.
41061         (__mpsin1): Remove.
41062         (__mpcos1): Likewise.
41064 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
41066         * locale/loadlocale.c (_nl_intern_locale_data): Use
41067         LOCFILE_ALIGNED_P.
41068         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
41069         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
41070         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
41071         obstack data is appropriately aligned.
41072         (obstack_int32_grow_fast): Likewise.
41073         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
41074         * locale/programs/locfile.c (add_locale_uint32): Likewise.
41075         (add_locale_uint32_array): Likewise.
41077 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
41079         * benchtests/Makefile: Remove ARGLIST and RET variables.
41080         ($(objpfx)bench-%.c): Pass only function name to the script.
41081         * benchtests/README: Update documentation.
41082         * benchtests/acos-inputs: Add new directives.
41083         * benchtests/acosh-inputs: Likewise.
41084         * benchtests/asin-inputs: Likewise.
41085         * benchtests/asinh-inputs: Likewise.
41086         * benchtests/atan-inputs: Likewise.
41087         * benchtests/atanh-inputs: Likewise.
41088         * benchtests/cos-inputs: Likewise.
41089         * benchtests/cosh-inputs: Likewise.
41090         * benchtests/exp-inputs: Likewise.
41091         * benchtests/log-inputs: Likewise.
41092         * benchtests/pow-inputs: Likewise.
41093         * benchtests/rint-inputs: Likewise.
41094         * benchtests/sin-inputs: Likewise.
41095         * benchtests/sinh-inputs: Likewise.
41096         * benchtests/tan-inputs: Likewise.
41097         * benchtests/tanh-inputs: Likewise.
41098         * scripts/bench.pl: Add support for new directives.
41100 2013-10-07  Alan Modra  <amodra@gmail.com>
41102         * README: Fix careless merge.
41104 2013-10-05  Alan Modra  <amodra@gmail.com>
41106         * NEWS: Mention powerpc64le support and bugs fixed.
41107         * README: Both big-endian and little-endian powerpc64 supported.
41109 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41111         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
41112         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
41113         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
41114         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
41116 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
41118         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
41119         match prototype.
41121 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
41123         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
41124         Move -mhard-float appending from
41125         ports/sysdeps/powerpc/powerpc32/Makefile.
41126         [$(with-fp) = yes] (ASFLAGS): Likewise.
41127         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
41128         * sysdeps/powerpc/nofpu: Move directory from
41129         ports/sysdeps/powerpc/nofpu.
41130         * sysdeps/powerpc/soft-fp: Move directory from
41131         ports/sysdeps/powerpc/soft-fp.
41132         * sysdeps/powerpc/powerpc32/405: Move directory from
41133         ports/sysdeps/powerpc/powerpc32/405.
41134         * sysdeps/powerpc/powerpc32/440: Move directory from
41135         ports/sysdeps/powerpc/powerpc32/440.
41136         * sysdeps/powerpc/powerpc32/464: Move directory from
41137         ports/sysdeps/powerpc/powerpc32/464.
41138         * sysdeps/powerpc/powerpc32/476: Move directory from
41139         ports/sysdeps/powerpc/powerpc32/476.
41140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
41141         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
41142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
41143         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
41144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
41145         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
41146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
41147         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
41148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
41149         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
41150         * README: Update for powerpc-*-linux-gnu software floating point
41151         support in libc.
41153         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
41154         case to powerpc/powerpc32*.
41155         * sysdeps/unix/sysv/linux/configure: Regenerated.
41157         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
41158         (_FPU_MASK_OM): Define as 0x04.
41159         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
41160         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
41161         0x00c10080.
41162         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
41163         0x0000003c.
41164         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
41166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
41167         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
41168         getcontext_e500.
41169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
41170         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
41171         setcontext_e500.
41172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
41173         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
41174         and setcontext_e500.
41176 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
41178         * locale/iso-3166.def: Update iso-1366.def and related occurrences
41180 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41182         * manual/threads.texi (Default Thread Attributes): Fix typo.
41184 2013-10-04  Will Newton  <will.newton@linaro.org>
41186         * malloc/Makefile: Add tst-memalign.
41187         * malloc/tst-memalign.c: New file.
41189         * malloc/tst-posix_memalign.c: Add comments.
41190         (do_test): Add comments and call free on all potentially
41191         allocated pointers. Add space after cast.
41193         * malloc/tst-pvalloc.c: Add comments.
41194         (do_test): Add comments and call free on all potentially
41195         allocated pointers. Remove duplicate check for NULL pointer.
41196         Add space after cast.
41198         * malloc/tst-valloc.c: Add comments.
41199         (do_test): Add comments and call free on all potentially
41200         allocated pointers. Remove duplicate check for NULL pointer.
41201         Add space after cast.
41203 2013-10-04  Alan Modra  <amodra@gmail.com>
41205         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41206         Use stdint types in rather than __attribute__((mode())).
41207         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41209 2013-10-04  Alan Modra  <amodra@gmail.com>
41211         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41212         Correct handling of unaligned relocs for little-endian.
41213         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41215 2013-10-04  Alan Modra  <amodra@gmail.com>
41217         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
41218         * configure: Regenerate.
41219         * nptl/shlib-versions: Powerpc*le starts at 2.18.
41220         * shlib-versions: Likewise.
41222 2013-10-04  Alan Modra  <amodra@gmail.com>
41224         * string/tester.c (test_memrchr): Increment reported test cycle.
41226 2013-10-04  Alan Modra  <amodra@gmail.com>
41228         * string/test-memcpy.c (do_one_test): When reporting errors, print
41229         string address and don't overrun end of string.
41231 2013-10-04  Alan Modra  <amodra@gmail.com>
41233         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
41234         insrdi.  Make better use of reg selection to speed exit slightly.
41235         Schedule entry path a little better.  Remove useless "are we done"
41236         checks on entry to main loop.  Handle wrapping around zero address.
41237         Correct main loop count.  Handle single left-over word from main
41238         loop inline rather than by using loop_small.  Remove extra word
41239         case in loop_small caused by wrong loop count.  Add little-endian
41240         support.
41241         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
41242         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
41243         cache hint.
41244         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
41245         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
41246         support.  Avoid rlwimi.
41247         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
41249 2013-10-04  Alan Modra  <amodra@gmail.com>
41251         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
41252         insrdi.  Formatting.
41253         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
41254         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
41255         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
41256         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
41257         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
41258         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
41260 2013-10-04  Alan Modra  <amodra@gmail.com>
41262         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
41263         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41264         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
41265         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
41266         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
41267         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41268         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41269         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41270         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
41271         use of regs.  Use power7 mtocrf.  Tidy function tails.
41273 2013-10-04  Alan Modra  <amodra@gmail.com>
41275         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
41276         Formatting.  Consistently use rXXX register defines or rN defines.
41277         Use early exit labels that avoid restoring unused non-volatile regs.
41278         Make cr field use more consistent with rWORDn compares.  Rename
41279         regs used as shift registers for unaligned loop, using rN defines
41280         for short lifetime/multiple use regs.
41281         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41282         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
41283         addi 1,1,64 to pop stack frame.  Simplify return value code.
41284         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41286 2013-10-04  Alan Modra  <amodra@gmail.com>
41288         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
41289         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
41290         rather than rlwimi.
41291         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
41292         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
41293         little-endian support.  Correct typos.
41294         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
41295         rather than rlwimi.
41296         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
41297         in loop and entry code to keep "and." results.
41298         (strchr): Add little-endian support.  Comment.  Move cntlzd
41299         earlier in tail.
41300         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
41302 2013-10-04  Alan Modra  <amodra@gmail.com>
41304         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
41305         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
41306         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
41307         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
41309 2013-10-04  Alan Modra  <amodra@gmail.com>
41311         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
41312         (rTMP): Define as r11.
41313         (strcmp): Add little-endian support.  Optimise tail.
41314         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
41315         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41316         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
41317         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41318         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
41319         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41320         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41322 2013-10-04  Alan Modra  <amodra@gmail.com>
41324         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
41325         little-endian support.  Remove unnecessary "are we done" tests.
41326         Handle "s" wrapping around zero and extremely large "size".
41327         Correct main loop count.  Handle single left-over word from main
41328         loop inline rather than by using small_loop.  Correct comments.
41329         Delete "zero" tail, use "end_max" instead.
41330         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
41332 2013-10-04  Alan Modra  <amodra@gmail.com>
41334         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
41335         support.  Don't branch over align.
41336         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
41337         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
41338         support.  Rearrange tmp reg use to suit.  Comment.
41339         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
41341 2013-10-04  Alan Modra  <amodra@gmail.com>
41343         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
41345 2013-10-04  Alan Modra  <amodra@gmail.com>
41347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
41348         conditional form of branch and link when obtaining pc.
41349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
41351 2013-10-04  Alan Modra  <amodra@gmail.com>
41353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
41354         HIWORD/LOWORD.
41355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
41356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
41358 2013-10-04  Alan Modra  <amodra@gmail.com>
41360         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
41361         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
41362         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
41363         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
41364         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41365         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
41366         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
41367         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41368         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
41369         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
41371 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41372             Alistair Popple <alistair@ozlabs.au.ibm.com>
41373             Alan Modra <amodra@gmail.com>
41375         [BZ #15723]
41376         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
41377         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
41378         _dl_hwcap access for little-endian.
41379         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
41380         destroy vmx regs when saving unaligned.
41381         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
41382         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
41383         destroy vmx regs when saving unaligned.
41385 2013-10-04  Alan Modra  <amodra@gmail.com>
41387         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
41388         Don't use a union to pack hi/low value.
41390 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41392         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
41393         for little-endian.
41394         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
41395         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
41396         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
41397         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
41398         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
41400 2013-10-04  Alan Modra  <amodra@gmail.com>
41402         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
41403         constants to usual value for .cst8 section, and remove redundant
41404         high address load.
41405         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
41406         constant for 0x1p52.  Load little-endian words of double from
41407         correct stack offsets.
41409 2013-10-04  Alan Modra  <amodra@gmail.com>
41411         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
41412         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
41413         words of double from correct stack offsets.
41414         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
41415         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
41416         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
41417         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
41418         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
41419         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
41420         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
41421         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
41422         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
41423         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
41424         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
41425         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
41426         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41427         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41428         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41429         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
41430         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
41432 2013-10-04  Alan Modra  <amodra@gmail.com>
41434         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
41435         64-bit int/double union.
41436         (_FPU_SETCW): Likewise.
41437         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
41438         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
41440 2013-10-04  Alan Modra  <amodra@gmail.com>
41442         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
41443         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
41445 2013-10-04  Alan Modra  <amodra@gmail.com>
41447         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
41448         use vector int constants.
41449         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
41451 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41453         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
41454         array with long long.
41455         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
41456         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
41457         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
41458         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
41459         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
41460         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
41461         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
41462         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
41463         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
41464         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
41465         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
41466         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
41467         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
41469 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41471         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
41472         (__signbit): Likewise.  Correct for little-endian.
41473         (__signbitl): Call __signbit.
41474         (lrint): Correct for little-endian.
41475         (lrintf): Call lrint.
41477 2013-10-04  Alan Modra  <amodra@gmail.com>
41479         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
41480         union 32-bit int array member with 64-bit int array.
41481         (t515, tm256): Double rather than long double.
41482         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
41484 2013-10-04  Alan Modra  <amodra@gmail.com>
41486         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
41487         Delete.
41488         (IEEE854_LONG_DOUBLE_BIAS): Delete.
41489         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
41490         version of math_ldbl.h.
41492 2013-10-04  Alan Modra  <amodra@gmail.com>
41494         [BZ #15734], [BZ #15735]
41495         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
41496         all uses of ieee875 long double macros and unions.  Simplify test
41497         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
41498         ldbl_extract_mantissa value for ix,iy exponents.  Properly
41499         normalize after ldbl_extract_mantissa, and don't add hidden bit
41500         already handled.  Don't treat low word of ieee854 mantissa like
41501         low word of IBM long double and mask off bit when testing for
41502         zero.
41503         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
41504         all uses of ieee875 long double macros and unions.  Simplify tests
41505         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
41506         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
41507         two1022, instead use their values.  Recognise that tests for large
41508         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
41509         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
41510         Rewrite all uses of ieee875 long double macros and unions.  Simplify
41511         test for 0.0L and nan.  Correct negation.
41512         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
41513         ieee875 long double macros and unions.  Correct output for large
41514         magnitude x.  Correct absolute value calculation.
41515         (__erfcl): Likewise.
41516         * math/libm-test.inc: Add tests for errors discovered in IBM long
41517         double versions of fmodl, remainderl, erfl and erfcl.
41519 2013-10-04  Alan Modra  <amodra@gmail.com>
41521         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
41522         all uses of ieee854 long double macros and unions.  Simplify tests
41523         for long doubles that are fully specified by the high double.
41524         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
41525         Likewise.
41526         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
41527         Remove dead code too.
41528         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
41529         (__ieee754_ynl): Likewise.
41530         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
41531         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
41532         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
41533         Remove dead code too.
41534         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
41535         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
41536         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
41537         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
41538         Simplify.
41539         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
41540         Simplify.
41541         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
41542         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
41543         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
41544         Comment on variable precision.
41545         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
41546         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41547         Likewise.
41548         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
41549         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41550         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41551         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
41552         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
41554 2013-10-04  Alan Modra  <amodra@gmail.com>
41556         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
41557         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
41558         all uses of ieee854 long double macros and unions.
41559         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
41560         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41561         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
41562         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
41563         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
41564         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
41565         Likewise.
41566         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
41567         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41568         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
41569         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41570         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
41571         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
41572         Simplify sign and nan test too.
41573         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
41574         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
41575         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
41576         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
41577         Likewise.
41578         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
41579         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
41580         Likewise.
41581         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41582         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
41583         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
41584         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
41585         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
41586         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
41588 2013-10-04  Alan Modra  <amodra@gmail.com>
41590         * stdio-common/printf_size.c (__printf_size): Don't use
41591         union ieee854_long_double in fpnum union.
41592         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
41593         signbit macro to retrieve sign from long double.
41594         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
41595         retrieve sign from long double.
41596         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
41597         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
41598         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
41599         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41600         * math/test-misc.c (main): Don't use union ieee854_long_double.
41602 2013-10-04  Alan Modra  <amodra@gmail.com>
41604         [BZ #15680]
41605         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
41606         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
41607         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
41608         calculation.  Remove unnecessary test for denormal exponent.
41609         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
41610         Correct handling of denormals.  Avoid undefined shift behaviour.
41611         Correct normalisation of low mantissa when low double is denormal.
41612         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
41613         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
41614         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
41615         Correct normalisation of low mantissa.  Test for overflow of high
41616         mantissa and normalise.
41617         (ldbl_nearbyint): Use more readable constant for two52.
41618         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
41619         (__mpn_construct_long_double): Fix test for overflow of high
41620         mantissa and correct normalisation.  Avoid undefined shift.
41622 2013-10-04  Alan Modra  <amodra@gmail.com>
41624         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
41625         (union ibm_extended_long_double): Define as an array of ieee754_double.
41626         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
41627         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
41628         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
41629         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41630         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41631         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
41632         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41633         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
41634         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41635         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
41636         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
41638 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
41640         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
41641         page size instead of calling getpagesize.
41643         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
41644         (LOCFILE_ALIGN_MASK): Likewise.
41645         (LOCFILE_ALIGN_UP): Likewise.
41646         (LOCFILE_ALIGNED_P): Likewise.
41647         * locale/programs/ld-collate.c (collate_output): Use the new
41648         macros instead of __alignof__ (int32_t).
41649         * locale/weight.h (findidx): Likewise.
41651 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
41653         [BZ #431]
41654         * manual/string.texi: Fix strncat and wcsncat.
41656 2013-10-03  Brooks Moses  <bmoses@google.com>
41658         [BZ #15915]
41659         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
41660         * Makerules: ...here, and adjust associated comments.
41662 2013-10-02  Will Newton  <will.newton@linaro.org>
41664         * malloc/Makefile: Add tst-pvalloc.
41665         * malloc/tst-pvalloc.c: New file.
41667 2013-10-02  Will Newton  <will.newton@linaro.org>
41669         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
41670         improve test coverage.
41672 2013-10-02  Will Newton  <will.newton@linaro.org>
41674         * malloc/Makefile: Add tst-posix_memalign.
41675         * malloc/tst-posix_memalign.c: New file.
41677 2013-10-01  Eric Blake  <eblake@redhat.com>
41679         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
41680         Use __THROWNL rather than __THROW on static functions.
41682 2013-09-30  Petr Machata  <pmachata@redhat.com>
41684         * elf/elf.h (R_AARCH64_ABS16): New macro.
41685         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
41686         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
41687         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
41688         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
41689         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
41690         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
41691         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
41692         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
41693         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
41694         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
41695         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
41696         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
41697         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
41698         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
41699         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
41700         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
41701         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
41702         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
41703         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
41704         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
41705         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
41706         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
41707         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
41708         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
41709         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
41710         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
41711         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
41712         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
41713         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
41714         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
41715         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
41716         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
41717         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
41718         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
41719         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
41720         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
41721         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
41722         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
41723         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
41724         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
41725         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
41726         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
41727         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
41728         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
41729         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
41730         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
41731         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
41732         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
41733         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
41734         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
41735         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
41736         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
41737         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
41738         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
41739         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
41740         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
41741         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
41742         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
41743         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
41744         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
41745         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
41746         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
41747         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
41748         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
41749         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
41750         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
41751         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
41752         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
41753         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
41754         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
41755         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
41756         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
41757         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
41758         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
41759         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
41760         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
41761         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
41762         (R_AARCH64_TLSDESC_LDR): Likewise.
41763         (R_AARCH64_TLSDESC_ADD): Likewise.
41764         (R_AARCH64_TLSDESC_CALL): Likewise.
41766 2013-09-30  Andreas Schwab  <schwab@suse.de>
41768         [BZ #15048]
41769         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
41770         the nss database lookup.
41771         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41772         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41774 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
41776         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
41778 2013-09-28  P. J. McDermott  <pj@pehjota.net>
41780         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
41781         ${Bash-specific parameter/pattern/string} parameter expansion.
41782         * sysdeps/unix/make-syscalls.sh: Likewise.
41784 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41786         * sysdeps/sh/stackguard-macros.h: New file.
41788 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
41790         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
41791         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
41792         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
41793         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
41794         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41795         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
41797 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41799         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
41800         Fix thread ID register.
41802 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
41804         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
41805         [POSIX || UNIX98]: Require rather than permitting all symbols from
41806         <time.h>.
41807         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
41808         element of struct sched_param.
41809         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
41810         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
41811         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
41812         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
41813         constant.
41815 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
41817         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
41818         argument calculation.
41820 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
41822         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
41823         Expect macro.
41824         [POSIX] (pthread_attr_t): Do not require type.
41825         [POSIX] (pthread_cond_t): Likewise.
41826         [POSIX] (pthread_condattr_t): Likewise.
41827         [POSIX] (pthread_key_t): Likewise.
41828         [POSIX] (pthread_mutex_t): Likewise.
41829         [POSIX] (pthread_mutexattr_t): Likewise.
41830         [POSIX] (pthread_once_t): Likewise.
41831         [POSIX] (pthread_t): Likewise.
41832         [POSIX-based standards] (pthread_atfork): Expect function.
41834 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
41835             Richard Sandiford  <richard@codesourcery.com>
41837         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
41838         (swap_endianness_p): New extern variable.
41839         (set_big_endian): New inline function.
41840         (maybe_swap_uint32): Likewise.
41841         (maybe_swap_uint32_array): Likewise.
41842         (maybe_swap_uint32_obstack): Likewise.
41843         * locale/programs/locfile.c: Include <stdbool.h>.
41844         (swap_endianness_p): New variable.
41845         (add_locale_uint32): Call maybe_swap_uint32.
41846         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
41847         (write_locale_data): Call maybe_swap_uint32_array.
41848         * locale/programs/ld-collate.c (obstack_int32_grow): Call
41849         maybe_swap_uint32.
41850         (obstack_int32_grow_fast): Likewise.
41851         (output_weightwc): Call maybe_swap_uint32_obstack.
41852         (collate_output): Likewise.
41853         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
41854         (OPT_LITTLE_ENDIAN): Likewise.
41855         (options): Add --little-endian and --big-endian options.
41856         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
41857         * locale/programs/locarchive.c: Include "locfile.h".
41858         (GET): New macro.
41859         (SET): Likewise.
41860         (INC): Likewise.
41861         (create_archive): Use the new macros to access fields of
41862         structures directly mapped from or written to locale archives.
41863         (oldlocrecentcmp): Likewise.
41864         (enlarge_archive): Likewise.
41865         (insert_name): Likewise.
41866         (add_alias): Likewise.
41867         (add_locale): Likewise.
41868         (delete_locales_from_archive): Likewise.
41869         (show_archive_content): Likewise.
41870         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
41871         locale data.
41873 2013-09-24  Roland McGrath  <roland@hack.frob.com>
41875         * manual/freemanuals.texi: Updated from (newly) canonical copy at
41876         http://www.gnu.org/doc/freemanuals.texi.
41877         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
41879 2013-09-24  Will Newton  <will.newton@linaro.org>
41881         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
41882         macro.
41884 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
41886         * locale/hashval.h (compute_hashval): Interpret bytes of key as
41887         unsigned char.
41889 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
41891         * manual/threads.texi (POSIX Threads): Fix a typo.
41893 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
41895         [BZ #14547]
41896         * string/tst-strcoll-overflow.c: New test case.
41897         * string/Makefile (xtests): Add tst-strcoll-overflow.
41898         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
41899         cache if string sizes may cause integer overflow.
41901         [BZ #14547]
41902         * string/strcoll_l.c (coll_seq): New members rule, idx,
41903         save_idx and back_us.
41904         (get_next_seq_nocache): New function.
41905         (do_compare_nocache): New function.
41906         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
41907         when malloc fails.
41909 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
41911         [BZ #15754]
41912         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
41913         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
41914         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
41916         [BZ #15754]
41917         * elf/Makefile (tests): Add tst-ptrguard1.
41918         (tests-static): Add tst-ptrguard1-static.
41919         (tst-ptrguard1-ARGS): Define.
41920         (tst-ptrguard1-static-ARGS): Define.
41921         * elf/tst-ptrguard1.c: New file.
41922         * elf/tst-ptrguard1-static.c: New file.
41923         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
41924         * sysdeps/i386/stackguard-macros.h: Likewise.
41925         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41926         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41927         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41928         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41929         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41930         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41932 2013-09-23  Hector Marco  <hecmargi@upv.es>
41933             Ismael Ripoll  <iripoll@disca.upv.es>
41934             Carlos O'Donell  <carlos@redhat.com>
41936         [BZ #15754]
41937         * sysdeps/generic/stackguard-macros.h: Define
41938         __pointer_chk_guard_local and POINTER_CHK_GUARD.
41939         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
41940         Define __pointer_chk_guard_local.
41941         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
41942         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
41944 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
41946         [BZ #15859]
41947         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
41949 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
41951         * include/string.h (__ffs): Declare as hidden.
41952         * string/ffs.c (__ffs): Define as hidden.
41953         * sysdeps/i386/ffs.c (__ffs): Likewise.
41954         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
41955         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
41956         * sysdeps/s390/ffs.c (__ffs): Likewise.
41957         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
41959 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
41961         * NEWS: Mention malloc probes.
41963         * malloc/arena.c (new_heap): New memory_heap_new probe.
41964         (grow_heap): New memory_heap_more probe.
41965         (shrink_heap): New memory_heap_less probe.
41966         (heap_trim): New memory_heap_free probe.
41967         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
41968         (systrim): New memory_sbrk_less probe.
41969         * manual/probes.texi: Document them.
41971         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
41972         * manual/probes.texi: Document it.
41974         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
41975         (__libc_realloc): Add memory_realloc_retry probe.
41976         (__libc_memalign): Add memory_memalign_retry probe.
41977         (__libc_valloc): Add memory_valloc_retry probe.
41978         (__libc_pvalloc): Add memory_pvalloc_retry probe.
41979         (__libc_calloc): Add memory_calloc_retry probe.
41980         * manual/probes.texi: Document them.
41982         * malloc/arena.c (get_free_list): Add probe
41983         memory_arena_reuse_free_list.
41984         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
41985         and memory_arena_reuse.
41986         (arena_get2) [!PER_THREAD]: Likewise.
41987         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
41988         memory_arena_reuse_realloc.
41989         * manual/probes.texi: Document them.
41991         * malloc/malloc.c (__libc_free): Add
41992         memory_mallopt_free_dyn_thresholds probe.
41993         (__libc_mallopt): Add multiple memory_mallopt probes.
41994         * manual/probes.texi: Document them.
41996         * malloc/malloc.c: Include stap-probe.h.
41997         (__libc_mallopt): Add memory_mallopt probe.
41998         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
41999         * manual/probes.texi: New.
42000         * manual/Makefile (chapters): Add probes.
42001         * manual/threads.texi: Set next node.
42003 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
42005         [BZ #15963, #13985]
42006         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
42007         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
42008         Add `Chinese' to `nan' entry name.
42010 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42012         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
42013         (POLYNOMIAL): Likewise.
42014         (TAYLOR_SINCOS): Likewise.
42015         (TAYLOR_SLOW): Likewise.
42016         (__sin): Use TAYLOR_SINCOS.
42017         (__cos): Likewise.
42018         (slow): Use TAYLOR_SLOW.
42019         (sloww): Likewise.
42020         (bsloww): Likewise.
42021         (csloww): Likewise.
42023 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42025         * stdlib/strtod_l.c: Fix buffer overrun.
42027 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42029         * benchtests/Makefile (bench): Add sincos.
42030         * benchtests/bench-sincos.c: New file.
42032         * math/libm-test.inc (cos_test_data): New test inputs.
42033         (sin_test_data): Likewise.
42035         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
42036         macro.
42037         (__sin): Use it.
42038         (__cos): Likewise.
42039         (slow1): Likewise.
42040         (slow2): Likewise.
42041         (sloww1): Likewise.
42042         (sloww2): Likewise.
42043         (bsloww1): Likewise.
42044         (bsloww2): Likewise.
42045         (cslow2): Likewise.
42046         (csloww1): Likewise.
42047         (csloww2): Likewise.
42049         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
42050         function.
42051         (__sin): Use it.
42052         (__cos): Likewise.
42054         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
42055         gotos.
42056         (__cos): Likewise.
42058 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
42060         * config.h.in (HAVE_MIPS_NAN2008): New macro.
42061         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
42062         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
42063         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
42064         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
42065         * elf/cache.c (print_entry): Handle the new cache flags.
42067 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
42068             Aldy Hernandez  <aldyh@redhat.com>
42070         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
42071         Change condition to [_SOFT_FLOAT].
42072         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
42073         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
42074         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
42075         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
42076         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
42077         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
42078         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
42079         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
42080         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
42081         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
42082         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
42083         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
42084         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
42085         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
42086         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
42087         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
42088         declaration.
42090 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
42092         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
42093         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
42094         (__longjmp): Use LOAD_GP to load saved GPRs.
42095         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
42096         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
42097         (__sigsetjmp): Use SAVE_GP to save GPRs.
42099         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
42100         Do not append -msoft-float.
42101         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
42103 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42105         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
42107 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
42109         [BZ #15966]
42110         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
42111         (_FPU_GETCW): Use initial "__" on variable and field names but not
42112         on macro parameter name.
42113         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
42114         parentheses around reference to macro parameter.
42116 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
42118         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
42119         prototype.
42120         (ctype_startup): Use uint32_t in cast and sizeof for
42121         ctype->charnames.
42123 2013-09-11  Jia Liu  <proljc@gmail.com>
42125         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
42126         __daddr_t_defined.
42127         [__FreeBSD__]: Likewise.
42129 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
42131         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
42132         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
42133         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
42134         (strchr): Remove __strchr_sse42 ifunc selection.
42135         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
42136         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
42138 2013-09-11  Will Newton  <will.newton@linaro.org>
42140         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
42141         parameter to RES. Remove hardcoded 1000 value.
42142         * benchtests/bench-skeleton.c (main): Pass RES parameter
42143         to TIMING_INIT and multiply result by 1000.
42145 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42147         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42149 2013-09-11  Andreas Schwab  <schwab@suse.de>
42151         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
42152         if not defined.
42153         (O_TMPFILE) [__USE_GNU]: Define.
42154         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
42155         Define.
42157 2013-09-11  Will Newton  <will.newton@linaro.org>
42159         [BZ #15857]
42160         * malloc/malloc.c (__libc_memalign): Check the value of bytes
42161         does not overflow.
42163 2013-09-11  Will Newton  <will.newton@linaro.org>
42165         [BZ #15856]
42166         * malloc/malloc.c (__libc_valloc): Check the value of bytes
42167         does not overflow.
42169 2013-09-11  Will Newton  <will.newton@linaro.org>
42171         [BZ #15855]
42172         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
42173         does not overflow.
42175 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
42177         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
42178         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42179         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42180         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42181         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42183 2013-09-10  Allan McRae  <allan@archlinux.org>
42185         [BZ #15748]
42186         * manual/arith.texi (Parsing of Floats): Clarify
42187         cross-reference.
42189         [BZ #15849]
42190         * manual/install.texi (Running make install): Mention
42191         --enable-pt-chown.
42192         * INSTALL: Regenerated.
42194 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
42196         * csu/init-first.c (_init): Remove the !SHARED condition around
42197         FPU control word initialization.
42198         * elf/dl-support.c (_dl_fpu_control): New variable.
42199         (_dl_aux_init) <AT_FPUCW>: Initialize it.
42200         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
42201         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
42202         * math/test-fpucw-static.c: New file.
42203         * math/test-fpucw-ieee.c: New file.
42204         * math/test-fpucw-ieee-static.c: New file.
42205         * math/Makefile (tests): Add `test-fpucw-ieee' and
42206         `$(tests-static)'.
42207         (tests-static): New variable.
42208         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
42209         dependency to...
42210         [($(build-shared),yes)]
42211         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
42212         ... this.
42213         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
42214         New dependency.
42216 2013-09-09  Allan McRae  <allan@archlinux.org>
42218         [BZ #15939]
42219         * manual/string.texi (Collation Functions): Fix typo in
42220         strcoll example.
42221         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
42223         [BZ #15893]
42224         * stdlib/isomac.c (get_null_defines): Fix memory leak.
42226         [BZ #15892]
42227         * libio/memstream.c (open_memstream): Fix memory leak.
42228         * libio/wmemstream.c (open_wmemstream): Likewise.
42230         [BZ #15895]
42231         * nscd/netgroupcache.c: Fix nesting of ifdefs.
42233 2013-09-09  Will Newton  <will.newton@linaro.org>
42235         * malloc/Makefile: Add tst-realloc to tests.
42236         * malloc/tst-realloc.c: New file.
42238 2013-09-09  Allan McRae  <allan@archlinux.org>
42240         [BZ #15844]
42241         * COPYING: Update from GNU website to fix FSF address.
42242         * COPYING.LIB: Likewise.
42244 2013-09-06  David S. Miller  <davem@davemloft.net>
42246         * po/zh_TW.po: Update Chinese (traditional) translation from
42247         translation project.
42249 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
42250             Joseph Myers  <joseph@codesourcery.com>
42252         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
42253         "localeinfo.h".
42254         (obstack_chunk_alloc): New macro.
42255         (obstack_chunk_free): Likewise.
42256         (record_offset): New function.
42257         (init_locale_data): Likewise.
42258         (align_locale_data): Likewise.
42259         (add_locale_empty): Likewise.
42260         (add_locale_raw_data): Likewise.
42261         (add_locale_raw_obstack): Likewise.
42262         (add_locale_string): Likewise.
42263         (add_locale_wstring): Likewise.
42264         (add_locale_uint32): Likewise.
42265         (add_locale_uint32_array): Likewise.
42266         (add_locale_char): Likewise.
42267         (start_locale_structure): Likewise.
42268         (end_locale_structure): Likewise.
42269         (start_locale_prelude): Likewise.
42270         (end_locale_prelude): Likewise.
42271         (write_locale_data): Take locale_file structure rather than an
42272         iovec.
42273         * locale/programs/locfile.h: Include "obstack.h".
42274         (struct locale_file): Change to store locale file contents instead
42275         of header.
42276         (init_locale_data): New prototype.
42277         (align_locale_data): Likewise.
42278         (add_locale_empty): Likewise.
42279         (add_locale_raw_data): Likewise.
42280         (add_locale_raw_obstack): Likewise.
42281         (add_locale_string): Likewise.
42282         (add_locale_wstring): Likewise.
42283         (add_locale_uint32): Likewise.
42284         (add_locale_uint32_array): Likewise.
42285         (add_locale_char): Likewise.
42286         (start_locale_structure): Likewise.
42287         (end_locale_structure): Likewise.
42288         (start_locale_prelude): Likewise.
42289         (end_locale_prelude): Likewise.
42290         (write_locale_data): Update prototype.
42291         * locale/programs/3level.h (struct TABLE): Remove result field.
42292         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
42293         Use new locale_file interface.
42294         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
42295         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
42296         * locale/programs/ld-address.c (address_output): Use new
42297         locale_file interface.
42298         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
42299         NO_ADD_LOCALE.
42300         (collate_finish): Don't call collseq_table_finalize.
42301         (collate_output): Use new locale_file interface.
42302         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
42303         in file.
42304         (NO_FINALIZE): Change to NO_ADD_LOCALE.
42305         (TABLE): Move defines earlier in file.
42306         (ELEMENT): Likewise.
42307         (DEFAULT): Likewise.
42308         (wctrans_table_add): Move macro and inline function earlier in
42309         file.
42310         (struct wctype_table): Move type earlier in file.
42311         (add_locale_wctype_table): New static prototype.
42312         (struct locale_ctype_t): Use logical types instead of struct iovec
42313         pointers for members.
42314         (ctype_output): Use new locale_file interface.
42315         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
42316         new locale_file interface.
42317         (allocate_arrays): Update for use of new locale_file interface.
42318         * locale/programs/ld-identification.c (identification_output): Use
42319         new locale_file interface.
42320         * locale/programs/ld-measurement.c (measurement_output): Likewise.
42321         * locale/programs/ld-messages.c (messages_output): Likewise.
42322         * locale/programs/ld-monetary.c (monetary_output): Likewise.
42323         * locale/programs/ld-name.c (name_output): Likewise.
42324         * locale/programs/ld-numeric.c (numeric_output): Likewise.
42325         * locale/programs/ld-paper.c (paper_output): Likewise.
42326         * locale/programs/ld-telephone.c (telephone_output): Likewise.
42327         * locale/programs/ld-time.c (time_output): Likewise.
42329 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42331         * benchtests/Makefile: Add memrchr benchmark.
42332         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
42333         benchmark as memrchr.
42334         * benchtests/bench-memrchr-ifunc.c: New file.
42335         * benchtests/bench-memrchr.c: New file.
42337 2013-09-06   Will Newton  <will.newton@linaro.org>
42339         * benchtests/Makefile (string-bench): Add memcpy.
42341 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
42342             Cong Wang  <amwang@redhat.com>
42344         [BZ #15850]
42345         * sysdeps/unix/sysv/linux/bits/in.h
42346         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
42347         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
42348         before __USE_KERNEL_IPV6_DEFS uses.
42349         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
42350         IPPROTO_BEETPH.
42351         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
42352         sockaddr_in6, or ipv6_mreq.
42354 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42356         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
42357         memory access for final bytes in some large inputs.
42358         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
42360 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42362         * string/test-memrchr.c: New file.
42363         * string/test-memrchr-ifunc.c: New file.
42364         * string/Makefile: Add new memrchr testcase.
42366 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
42368         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
42369         fanotify_init returns EPERM.
42371 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
42373         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
42374         errors.
42375         (top level): Treat second token from macro or constant entries for
42376         allowed headers as allowed.
42377         * include/complex.h: Condition internal declarations on
42378         [!_ISOMAC].
42379         * include/fenv.h: Condition include of <stdbool.h> and internal
42380         declarations on [!_ISOMAC].
42382 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
42384         [BZ #15923]
42385         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
42387 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
42389         * configure.in (--enable-versioning): Remove configure option.
42390         (libc_cv_asm_symver_directive): Remove configure test.
42391         (libc_cv_ld_version_script_option): Likewise.
42392         (VERSIONING): Remove variable and AC_SUBST.
42393         (DO_VERSIONING): Remove AC_DEFINE.
42394         * configure: Regenerated.
42395         * config.h.in (DO_VERSIONING): Remove macro.
42396         * Makerules [$(versioning) = yes]: Change conditionals to
42397         [$(build-shared) = yes].
42398         * config.make.in (versioning): Remove variable.
42399         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
42400         [$(build-shared) = yes].
42401         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
42402         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
42403         * elf/Makefile [$(versioning) = yes]: Change conditionals to
42404         [$(build-shared) = yes].
42405         * extra-lib.mk [$(versioning) = yes]: Likewise.
42406         * hurd/Makefile [$(versioning) = yes]: Likewise.
42407         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
42408         [SHARED].
42409         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
42410         [SHARED].
42411         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
42412         [SHARED && !NO_HIDDEN].
42413         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
42414         [SHARED].
42415         [SHARED && DO_VERSIONING]: Likewise..
42416         * libio/Makefile [$(versioning) = yes]: Change conditionals to
42417         [$(build-shared) = yes].
42418         * manual/install.texi (--disable-versioning): Remove
42419         documentation.
42420         * INSTALL: Regenerated.
42421         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
42422         to [SHARED].
42423         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
42424         [$(build-shared) = yes].
42425         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
42426         * sysdeps/i386/i686/multiarch/strstr-c.c
42427         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
42428         [SHARED && !NO_HIDDEN].
42429         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
42430         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
42431         * sysdeps/powerpc/powerpc32/dl-machine.c
42432         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
42433         * sysdeps/powerpc/powerpc32/sysdep.h
42434         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
42435         to [SHARED && PIC && !NO_HIDDEN].
42436         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
42437         conditional to [SHARED].
42439 2013-09-04   Will Newton  <will.newton@linaro.org>
42441         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
42442         * benchtests/bench-string.h: Include bench-timing.h instead
42443         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
42444         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
42445         call to HP_TIMING_DIFF_INIT.
42446         * benchtests/bench-memccpy.c: Use bench-timing.h macros
42447         instead of hp-timing.h macros.
42448         * benchtests/bench-memchr.c: Likewise.
42449         * benchtests/bench-memcmp.c: Likewise.
42450         * benchtests/bench-memcpy.c: Likewise.
42451         * benchtests/bench-memmem.c: Likewise.
42452         * benchtests/bench-memmove.c: Likewise.
42453         * benchtests/bench-memset.c: Likewise.
42454         * benchtests/bench-rawmemchr.c: Likewise.
42455         * benchtests/bench-strcasecmp.c: Likewise.
42456         * benchtests/bench-strcasestr.c: Likewise.
42457         * benchtests/bench-strcat.c: Likewise.
42458         * benchtests/bench-strchr.c: Likewise.
42459         * benchtests/bench-strcmp.c: Likewise.
42460         * benchtests/bench-strcpy.c: Likewise.
42461         * benchtests/bench-strcpy_chk.c: Likewise.
42462         * benchtests/bench-strlen.c: Likewise.
42463         * benchtests/bench-strncasecmp.c: Likewise.
42464         * benchtests/bench-strncat.c: Likewise.
42465         * benchtests/bench-strncmp.c: Likewise.
42466         * benchtests/bench-strncpy.c: Likewise.
42467         * benchtests/bench-strnlen.c: Likewise.
42468         * benchtests/bench-strpbrk.c: Likewise.
42469         * benchtests/bench-strrchr.c: Likewise.
42470         * benchtests/bench-strspn.c: Likewise.
42471         * benchtests/bench-strstr.c: Likewise.
42473 2013-09-04  Will Newton  <will.newton@linaro.org>
42475         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
42477 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
42479         [BZ #15427]
42480         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
42481         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
42482         * math/libm-test.inc (lgamma_test_data): Add more tests.
42483         * sysdeps/i386/fpu/libm-test-ulps: Update.
42484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42486 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
42488         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
42489         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42490         Add ifunc.
42491         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
42492         Add strcmp-sse2-unaligned
42493         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
42495 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
42497         * Versions.def (libc): Add GLIBC_2.19.
42499 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
42501         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
42502         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
42504 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
42506         [BZ #14155]
42507         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
42508         intermediate calculations in recurrence.
42509         (__ieee754_ynf): Likewise.
42510         * math/libm-test.inc (jn_test_data): Do not allow spurious
42511         underflow exception.  Add more tests.
42512         (yn_test_data): Add more tests.
42513         * sysdeps/i386/fpu/libm-test-ulps: Update.
42514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42516 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
42518         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
42520 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
42522         * csu/init-first.c: Fix then/than typos.
42523         * locale/programs/ld-collate.c: Likewise.
42524         * locale/programs/linereader.h: Likewise.
42525         * manual/charset.texi: Likewise.
42526         * manual/filesys.texi: Likewise.
42527         * manual/stdio.texi: Likewise.
42528         * manual/string.texi: Likewise.
42529         * stdlib/fmtmsg.c: Likewise.
42530         * sysdeps/i386/stpncpy.S: Likewise.
42531         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42532         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
42533         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42534         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
42536 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
42538         * elf/dl-open.c: Fix typos.
42539         * iconvdata/gbbig5.c: Likewise.
42540         * iconvdata/iso-2022-jp.c: Likewise.
42541         * iconv/gconv_int.h: Likewise.
42542         * iconv/loop.c: Likewise.
42543         * nis/rpcsvc/nis.h: Likewise.
42544         * resolv/ns_name.c: Likewise.
42545         * stdio-common/vfscanf.c: Likewise.
42546         * streams/stropts.h: Likewise.
42547         * sunrpc/rpc_thread.c: Likewise.
42548         * sysdeps/i386/strpbrk.S: Likewise.
42549         * sysdeps/ieee754/k_standard.c: Likewise.
42550         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42551         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42552         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
42553         * sysdeps/mach/hurd/profil.c: Likewise.
42554         * sysdeps/s390/dl-procinfo.h: Likewise.
42555         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
42556         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
42557         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
42558         * sysdeps/x86_64/dl-trampoline.S: Likewise.
42559         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42561 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
42563         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
42564         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
42566 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
42568         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
42569         aix specific files.
42570         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
42571         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
42572         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
42573         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
42574         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
42575         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
42576         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
42577         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
42579 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
42580             Roland McGrath  <roland@hack.frob.com>
42582         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
42583         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
42585 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42587         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
42588         __executable_start symbol instead of _start.
42590 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
42592         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
42593         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
42594         Move macros to...
42595         * sysdeps/gnu/ldsodefs.h: ... this new file.
42597         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
42598         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
42599         instead of ELFOSABI_LINUX.
42601         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
42602         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
42603         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
42604         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
42605         Likewise.
42606         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
42607         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
42608         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
42609         Likewise.
42610         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
42611         (ibm_extended_long_double): Add ieee_nan member.
42612         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
42613         (do_test): New function.
42615         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
42616         TEST_TRUNC.
42617         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
42618         functions, renamed from truncdfsf_test, trunctfsf_test,
42619         trunctfdf_test.
42620         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
42621         functions.
42622         (do_test): Run all these.
42624 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
42626         * argp/argp-help.c: Fix typos.
42627         * argp/argp-parse.c: Likewise.
42628         * debug/backtracesyms.c: Likewise.
42629         * elf/elf.h: Likewise.
42630         * malloc/malloc.c: Likewise.
42631         * nis/nis_print.c: Likewise.
42632         * resolv/res_comp.c: Likewise.
42633         * stdlib/stdlib.h: Likewise.
42634         * sunrpc/clnt_tcp.c: Likewise.
42635         * sunrpc/clnt_udp.c: Likewise.
42636         * sunrpc/clnt_unix.c: Likewise.
42637         * sysdeps/unix/bsd/ptsname.c: Likewise.
42638         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
42639         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
42640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
42641         Likewise.
42642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
42643         Likewise.
42644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
42645         Likewise.
42646         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
42648 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42650         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
42651         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42653 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
42655         [BZ #15897]
42656         * dlfcn/Makefile (tests): Add bug-dl-leaf.
42657         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
42658         ($(objpfx)bug-dl-leaf): New rule.
42659         ($(objpfx)bug-dl-leaf.so): Likewise.
42660         ($(objpfx)bug-dl-leaf.out): Likewise.
42661         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
42662         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
42663         * dlfcn/bug-dl-leaf.c: New test.
42664         * dlfcn/bug-dl-leaf-lib.c: Likewise.
42665         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
42666         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
42667         (dlclose): Likewise.
42668         (dlmopen): Likewise.
42670 2013-08-27  Roland McGrath  <roland@hack.frob.com>
42672         * include/netdb.h [!_ISOMAC]:
42673         Don't include <tls.h>.
42674         (h_errno, __libc_h_errno): Move declaration and macros out of
42675         [_LIBC_REENTRANT].
42677         * include/resolv.h [_RESOLV_H_]:
42678         Don't include <tls.h>.
42679         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
42680         * resolv/res_libc.c: Don't include <tls.h>.
42681         (_res): Use __attribute__ ((nocommon)) in place of
42682         __attribute__ ((section (".bss"))).
42684         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
42685         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
42687         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
42689         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
42690         only under [SIOCGIFCONF && SIOCGIFNETMASK].
42692         * resolv/res_mkquery.c: Include <sys/time.h>.
42694         * inet/ifreq.c: Moved to ...
42695         * sysdeps/unix/ifreq.c: ... here.
42696         * inet/ifreq.c: New file, true stub version.
42698         * socket/sa_len.c: New file.
42699         * socket/Makefile (aux): Add it.
42700         * sysdeps/unix/sysv/linux/Makefile
42701         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
42702         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
42703         and #include <socket/sa_len.c>.
42704         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
42705         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
42707         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
42708         * bits/socket.h: ... here.
42710         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
42711         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
42712         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
42714 2013-08-27  Andreas Schwab  <schwab@suse.de>
42716         [BZ #15736]
42717         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
42718         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
42719         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
42720         * string/test-strcasecmp.c (test_main): Run tests in several
42721         locales.
42722         * string/test-strncasecmp.c (test_main): Likewise.
42724         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
42725         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
42726         to __strcasecmp_nonascii and __strncasecmp_nonascii.
42727         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
42728         (__strncasecmp_ssse3) [PIC]: Likewise.
42730 2013-08-26  Roland McGrath  <roland@hack.frob.com>
42732         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
42734         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
42735         instead of explicitly declaring xdecrypt.
42736         * nis/nss_nis/nis-publickey.c: Likewise.
42738 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42740         [BZ #15890]
42741         * nscd/aicache.c: Include res_hconf.h.
42742         (addhstaiX): Initialize res_hconf.
42744 2013-08-26  Andreas Schwab  <schwab@suse.de>
42746         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
42747         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
42749 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42751         * nscd/aicache.c (addhstaiX): Fix indentation.
42753 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
42755         * configure.ac: Quote $build_pt_chown test.
42756         * configure: Regenerated.
42758 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
42760         [BZ #15532]
42761         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
42762         * math/s_cexpf.c (__cexpf): Likewise.
42763         * math/s_cexpl.c (__cexpl): Likewise.
42764         * math/libm-test.inc (cexp_test_data): Correct expected return
42765         value for NaN + i0.  Add another test.
42767 2013-08-22  David S. Miller  <davem@davemloft.net>
42769         * po/ca.po: Update Catalan translation from translation project.
42770         * po/uk.po: Add Ukrainian translations from translation project.
42772 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
42774         [BZ #15797]
42775         * math/s_fdim.c (__fdim): Check for infinite arguments if result
42776         is infinite, not alongside NaN test.
42777         * math/s_fdimf.c (__fdimf): Likewise.
42778         * math/s_fdiml.c (__fdiml): Likewise.
42779         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
42780         errno is unchanged.
42782 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
42784         * argp/argp-help.c: Fix typos.
42785         * crypt/speeds.c: Likewise.
42786         * csu/check_fds.c: Likewise.
42787         * elf/dl-load.c: Likewise.
42788         * elf/dl-open.c: Likewise.
42789         * elf/reldep3.c: Likewise.
42790         * elf/reldep.c: Likewise.
42791         * elf/sprof.c: Likewise.
42792         * iconv/iconv_charmap.c: Likewise.
42793         * iconv/skeleton.c: Likewise.
42794         * iconv/strtab.c: Likewise.
42795         * io/lockf64.c: Likewise.
42796         * libio/libioP.h: Likewise.
42797         * resolv/gai_notify.c: Likewise.
42798         * resolv/ns_name.c: Likewise.
42799         * resolv/ns_samedomain.c: Likewise.
42800         * resolv/res_send.c: Likewise.
42801         * stdlib/random.c: Likewise.
42802         * sunrpc/rpc/xdr.h: Likewise.
42803         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
42804         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42805         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42806         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42807         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42808         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42809         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42810         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42811         * sysdeps/mach/hurd/check_fds.c: Likewise.
42812         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
42813         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
42814         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42815         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
42816         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42817         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
42818         * sysdeps/pthread/aio_notify.c: Likewise.
42819         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
42820         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
42821         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
42822         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42823         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
42825 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42827         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
42828         version if bit_Slow_SSE4_2 is set.
42829         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42830         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42832 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42834         [BZ #15867]
42835         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
42836         trampoline stack frame information.
42837         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
42838         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
42839         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
42840         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
42841         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
42842         * sysdeps/unix/sysv/linux/powerpc/init-first.c
42843         (_libc_vdso_platform_setup): Initialize the signal trampolines.
42844         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
42845         sa_flags value.
42846         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
42847         interrupting a syscall and set with option SA_SIGINFO.
42849 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
42851         [BZ #15531]
42852         * math/s_cproj.c (__cproj): Only return an infinity if one part of
42853         argument is infinite.
42854         * math/s_cprojf.c (__cprojf): Likewise.
42855         * math/s_cprojl.c (__cprojl): Likewise.
42856         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
42857         * math/libm-test.inc (cproj_test_data): Add more tests.
42859         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
42861         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
42862         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
42863         size.  Use __ffs to determine corresponding shift.
42865 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
42866             Roland McGrath  <roland@hack.frob.com>
42868         * Makefile (INSTALL): Remove trailing blank lines from output of
42869         makeinfo.
42871 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42873         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
42874         Align 32 bit compat elf_greg to 8 bytes.
42876 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
42878         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
42880 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42882         * string/strcoll_l.c (coll_seq): New structure.
42883         (get_next_seq_cached): New function.
42884         (get_next_seq): New function.
42885         (do_compare): New function.
42886         (STRCOLL): Use GNU style definition.  Simplify implementation
42887         by using get_next_seq, get_next_seq_cached and do_compare.
42889 2013-08-16  Florian Weimer  <fweimer@redhat.com>
42891         [BZ #14699]
42892         CVE-2013-4237
42893         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
42894         member.
42895         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
42896         member.
42897         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
42898         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
42899         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
42900         conditional.
42901         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
42902         GETDENTS_64BIT_ALIGNED.
42903         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
42904         * manual/filesys.texi (Reading/Closing Directory): Document
42905         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
42906         strongly.
42907         * manual/conf.texi (Limits for Files): Add portability note to
42908         NAME_MAX, PATH_MAX.
42909         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
42911 2013-08-13  Andreas Schwab  <schwab@suse.de>
42913         [BZ #15749]
42914         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
42915         of fabs.
42916         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
42917         LDBL_MAX_EXP >= 16384]: Add tests for it.
42919 2013-08-12  David S. Miller  <davem@davemloft.net>
42921         * version.h (RELEASE): Set to "development".
42922         (VERSION): Set to "2.18.90".
42923         * NEWS: Add 2.19 section.
42925 2013-08-03  David S. Miller  <davem@davemloft.net>
42927         * po/ko.po: Update Korean translation from translation project.
42929 2013-08-01  David S. Miller  <davem@davemloft.net>
42931         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
42932         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
42933         Bilka.
42935 2013-07-30  David S. Miller  <davem@davemloft.net>
42937         * po/fr.po: Update French translation from translation project.
42939 2013-07-28  David S. Miller  <davem@davemloft.net>
42941         * po/cs.po: Update Czech translation from translation project.
42943         * po/sv.po: Update Swedish translation from translation project.
42945 2013-07-27  David S. Miller  <davem@davemloft.net>
42947         * po/eo.po: Update Esperanto translation from translation project.
42949         * po/vi.po: Update Vietnamese translation from translation project.
42951         * po/de.po: Update German translation from translation project.
42953 2013-07-26  David S. Miller  <davem@davemloft.net>
42955         * po/bg.po: Update Bulgarian translation from translation project.
42957         * po/nl.po: Update Dutch translation from translation project.
42958         * po/pl.po: Update Polish translation from translation project.
42959         * po/ru.po: Update Russian translation from translation project.
42961 2013-07-24  David S. Miller  <davem@davemloft.net>
42963         * po/libc.pot: Update.
42965 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42967         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
42968         variable page size.
42969         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
42970         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
42971         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
42973 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42975         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
42977 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42978             Andreas Schwab  <schwab@suse.de>
42979             Roland McGrath  <roland@hack.frob.com>
42980             Joseph Myers  <joseph@codesourcery.com>
42981             Carlos O'Donell  <carlos@redhat.com>
42983         [BZ #15755]
42984         * config.h.in: Define HAVE_PT_CHOWN.
42985         * config.make.in (build-pt-chown): New variable.
42986         * configure.in (--enable-pt_chown): New configure option.
42987         * configure: Regenerate.
42988         * login/Makefile: Include Makeconfig.  Build pt_chown only if
42989         build-pt-chown is enabled.
42990         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
42991         pt_chown to fix pty ownership.
42992         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
42993         CLOSE_ALL_FDS.
42994         * manual/install.texi (Configuring and compiling): Mention
42995         --enable-pt_chown. Add @findex for grantpt.
42996         * INSTALL: Regenerate.
42998 2013-07-20  David S. Miller  <davem@davemloft.net>
43000         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
43001         difference between 32-bit and 64-bit.
43003 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
43005         [BZ #15711]
43006         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
43007         Avoid system header dependency with -ffreestanding.
43008         ($(objpfx)bits/syscall%d): Likewise.
43010 2013-07-13  David S. Miller  <davem@davemloft.net>
43012         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
43013         underflows from atanl/atan2l due to bug 15319.
43014         (casinh_test_data): Likewise.
43016 2013-07-07  David S. Miller  <davem@davemloft.net>
43018         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
43020 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
43022         * sysdeps/i386/fpu/libm-test-ulps: Update.
43023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43025 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43027         * configure.in (--enable-lock-elision): Fix message text.
43028         * INSTALL: Regenerate.
43029         * configure: Regenerate.
43031 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43033         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43035 2013-07-03  Andreas Jaeger  <aj@suse.de>
43037         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
43038         define.
43039         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
43040         (ptrace_peeksiginfo_args): Add.
43041         (__ptrace_peeksiginfo_flags): Add.
43042         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43043         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43044         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43046 2013-07-03  Allan McRae  <allan@archlinux.org>
43048         * sysdeps/i386/fpu/libm-test-ulps: Update.
43050 2013-07-02  David S. Miller  <davem@davemloft.net>
43052         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43054 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
43056         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43058 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
43060         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
43061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43063 2013-07-02  Andi Kleen <ak@linux.intel.com>
43065         * config.h.in (ENABLE_LOCK_ELISION): Add.
43066         * configure.in (--enable-lock-elision): Add option.
43067         * manual/install.texi: Document --enable lock elision.
43068         * configure: Regenerate
43069         * INSTALL: Regenerate.
43071 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
43073         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
43074         SSE4.2 strcasecmp for libc.a.
43075         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
43077 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
43079         [BZ #13304]
43080         * soft-fp/op-common.h (_FP_FMA): New macro.
43081         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
43082         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
43083         (_FP_MUL_MEAT_1_imm): ... here.
43084         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
43085         (_FP_MUL_MEAT_1_wide): ... here.
43086         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
43087         (_FP_MUL_MEAT_1_hard): ... here.
43088         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
43089         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
43090         (_FP_MUL_MEAT_2_wide): ... here.
43091         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
43092         (_FP_MUL_MEAT_2_wide_3mul): ... here.
43093         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
43094         (_FP_MUL_MEAT_2_gmp): ... here.
43095         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
43096         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
43097         (_FP_MUL_MEAT_4_wide): ... here.
43098         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
43099         (_FP_MUL_MEAT_4_gmp): ... here.
43100         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
43101         (_FP_WFRACBITS_DW_S): Likewise.
43102         (_FP_WFRACXBITS_DW_S): Likewise.
43103         (_FP_HIGHBIT_DW_S): Likewise.
43104         (FP_FMA_S): Likewise.
43105         (_FP_FRAC_HIGH_DW_S): Likewise.
43106         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
43107         (_FP_WFRACBITS_DW_D): Likewise.
43108         (_FP_WFRACXBITS_DW_D): Likewise.
43109         (_FP_HIGHBIT_DW_D): Likewise.
43110         (FP_FMA_D): Likewise.
43111         (_FP_FRAC_HIGH_DW_D): Likewise.
43112         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
43113         (_FP_WFRACBITS_DW_E): Likewise.
43114         (_FP_WFRACXBITS_DW_E): Likewise.
43115         (_FP_HIGHBIT_DW_E): Likewise.
43116         (FP_FMA_E): Likewise.
43117         (_FP_FRAC_HIGH_DW_E): Likewise.
43118         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
43119         (_FP_WFRACBITS_DW_Q): Likewise.
43120         (_FP_WFRACXBITS_DW_Q): Likewise.
43121         (_FP_HIGHBIT_DW_Q): Likewise.
43122         (FP_FMA_Q): Likewise.
43123         (_FP_FRAC_HIGH_DW_Q): Likewise.
43124         * soft-fp/fmasf4.c: New file.
43125         * soft-fp/fmadf4.c: Likewise.
43126         * soft-fp/fmatf4.c: Likewise.
43128 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43130         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43131         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
43132         Silvermont.
43133         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
43134         macro.
43135         (index_Slow_SSE4_2): Likewise.
43136         (index_Prefer_PMINUB_for_stringop): Likewise.
43137         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
43138         bit_Slow_SSE4_2 is set.
43139         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43140         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43142 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43144         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
43145         rtld_global._dl_hwcap2.
43146         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
43147         POWER8.
43148         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
43149         POWER8 feature descriptions defined in _dl_hwcap2.
43150         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
43151         string handling for POWER8 feature bits.
43152         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
43153         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
43154         _dl_powerpc_cap_flags.
43155         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
43156         * sysdeps/powerpc/rtld-global-offsets.sym
43157         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
43158         _dl_hwcap2 in the rtld_global_ro structure.
43160 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43162         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
43163         hardware capabilities in support of AT_HWCAP2.
43164         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
43165         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
43166         GLRO(dl_hwcap2).
43167         (_dl_show_auxv): Add support for calling _dl_procinfo to display
43168         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
43169         explicitly the unknown a_type display mechanism is used.
43170         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
43171         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
43172         struct member.
43173         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
43174         to macro prototype for AT_HWCAP2 support.
43175         * sysdeps/i386/dl-procinfo.h: Likewise.
43176         * sysdeps/s390/dl-procinfo.h: Likewise.
43177         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
43178         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
43179         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
43180         return -1 for unknown a_type display fallback.
43181         * sysdeps/sparc/dl-procinfo.h: Likewise.
43182         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
43183         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
43185 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
43187         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
43188         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
43190 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
43192         [BZ #12492]
43193         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
43194         mprotect making __stack_prot writable.
43196 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
43197             Joseph Myers  <joseph@codesourcery.com>
43199         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
43200         as being properly aligned.
43202 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
43204         * dlfcn/modstatic5.c: New file.
43205         * dlfcn/tststatic5.c: New file.
43206         * dlfcn/Makefile (tests): Add tststatic5.
43207         (tests-static): Likewise.
43208         (modules-names): Add modstatic5.
43209         (tststatic5-ENV): New variable.
43210         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
43212         [BZ #15022]
43213         * elf/dl-support.c (_dl_main_map): New variable.
43214         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
43215         (_dl_nns, _dl_load_adds): Set to 1.
43216         (_dl_initial_searchlist): Refer to _dl_main_map.
43217         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
43218         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
43219         call to _dl_get_origin.
43220         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
43221         around call_map.
43222         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
43223         * dlfcn/modstatic3.c: New file.
43224         * dlfcn/tststatic3.c: New file.
43225         * dlfcn/tststatic4.c: New file.
43226         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
43227         (tests-static): Likewise.
43228         (modules-names): Add modstatic3.
43229         (tststatic3-ENV, tststatic4-ENV): New variables.
43230         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
43231         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
43233 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
43235         * configure.in (CC): Require GCC version 4.4 or later.
43236         * configure: Regenerated.
43237         * manual/install.texi (Tools for Compilation): Update GCC version
43238         requirement.
43239         * INSTALL: Regenerated.
43241 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43243         [BZ #15674]
43244         * string/test-memcmp.c (check2): New.
43245         (main): Call check2.
43247         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
43249 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
43251         [BZ #15022]
43252         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
43253         over to...
43254         (dl_open_worker) [!SHARED]: ... here.
43256 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43258         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
43260 2013-06-25  Richard Henderson  <rth@redhat.com>
43262         * locale/programs/locarchive.c: Include <libc-internal.h>
43264 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
43266         * manual/texinfo.tex: Update to version 2013-06-21.17, with
43267         trailing whitespace removed.
43269 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
43271         [BZ #10283]
43272         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
43273         * locale/programs/locarchive.c: Include libc-mmap.h.
43274         (prepare_address_space): Take two new outputs (the mmap base and len).
43275         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
43276         values.
43277         (create_archive): Declare new mmap base and len values for
43278         prepare_address_space, and store the result in ah.
43279         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
43280         (enlarge_archive): If ah->mmap_base is not NULL, use that and
43281         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
43282         Declare new mmap base and len values for
43283         prepare_address_space, and store the result in new_ah.
43284         (open_archive): Declare new mmap base and len values for
43285         prepare_address_space, and store the result in ah.
43286         (close_archive): If ah->mmap_base is not NULL, use that and
43287         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
43288         * sysdeps/generic/libc-mmap.h: New file.
43290 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
43292         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
43293         (ALIGN_UP): Likewise.
43294         (PTR_ALIGN_DOWN): Likewise.
43295         (PTR_ALIGN_UP): Likewise.
43297 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43299         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
43300         entry mapped to PPC_PLATFORM_POWER8.
43301         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
43302         POWER8.
43303         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
43304         (_dl_string_platform): Add case for exporting platform position for
43305         POWER8.
43306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
43307         search path to sysdeps/powerpc/powerpc32/power8 directory.
43308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
43309         search path to sysdeps/powerpc/powerpc64/power8 directory.
43310         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
43311         power7 directories.
43312         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
43313         power7 directories.
43315 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43317         * INSTALL: Regenerate.
43319         * nscd/connections.c (nscd_init): Fix comment.
43321 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
43323         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
43325         [BZ #15667]
43326         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
43327         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
43329 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
43331         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
43332         DL_DST_REQ_STATIC.
43333         (DL_DST_REQ_STATIC): Remove macro.
43335 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
43337         [BZ #7006]
43338         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
43339         with a shift of 0 bits.
43341 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
43343         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
43344         $(tststatic-ENV).
43346 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43348         [BZ #15655]
43349         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
43351 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43353         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
43354         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
43355         accepts -fno-tree-loop-distribute-patterns.
43356         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
43357         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
43358         recursive call.
43359         * string/memset.c (memset): Likewise.
43360         * string/test-memmove.c (simple_memmove): Disable loop transformation
43361         to library calls.
43362         * string/test-memset.c (simple_memset): Likewise.
43363         * benchtests/bench-memmove.c (simple_memmove): Likewise.
43364         * benchtests/bench-memset.c (simple_memset): Likewise.
43365         * configure: Regenerated.
43367 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
43369         * math/test-misc.c (main): Ignore fesetround failure when failures
43370         of subsequent rounding tests would be ignored.
43372         [BZ #15654]
43373         * math/fedisblxcpt.c (fedisableexcept): Return 0.
43374         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
43375         * math/fegetenv.c (__fegetenv): Return 0.
43376         * math/fegetexcept.c (fegetexcept): Return 0.
43377         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
43378         FE_TONEAREST.
43379         * math/feholdexcpt.c (feholdexcept): Return 0.
43380         * math/fesetenv.c (__fesetenv): Return 0.
43381         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
43382         argument FE_TONEAREST.
43383         * math/feupdateenv.c (__feupdateenv): Return 0.
43384         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
43386 2013-06-18  Roland McGrath  <roland@hack.frob.com>
43388         * elf/rtld-Rules (rtld-compile-command.S): New variable.
43389         (rtld-compile-command.s, rtld-compile-command.c): New variables.
43390         ($(objpfx)rtld-%.os rules): Use them.
43392 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43394         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
43395         fields.
43397 2013-06-17  Roland McGrath  <roland@hack.frob.com>
43399         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
43400         length of target pattern, then descending length of dependency pattern.
43401         * configure.in (AWK): Require gawk 3.1.2 or newer.
43402         * manual/install.texi (Tools for Compilation): Say that we do.
43403         * configure: Regenerated.
43405         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
43406         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
43407         * scripts/sysd-rules.awk: ... this new script.
43408         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
43409         than a glob-style pattern.
43411 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
43413         * math/test-misc.c (main): Do not treat incorrectly rounded
43414         conversions as failure unless ROUNDING_TESTS passes.
43416 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
43418         [BZ #15631]
43419         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
43420         restore exception state around main square root computation, then
43421         check for inexactness explicitly.
43423         * math/libm-test.inc (fma_test_data): Add another test.
43425 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43427         * manual/threads.texi (Non-POSIX Extensions): New document
43428         node.  Document pthread_getattr_default_np and
43429         pthread_setattr_default_np.
43431         * Versions.def (libpthread): Add GLIBC_2.18.
43432         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
43433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43434         Likewise.
43435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43436         Likewise.
43437         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43438         Likewise.
43439         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43440         Likewise.
43441         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
43442         Likewise.
43443         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43444         Likewise.
43445         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43446         Likewise.
43447         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43448         Likewise.
43449         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
43450         Likewise.
43452 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43454         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43455         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
43457 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
43458             H.J. Lu  <hjl.tools@gmail.com>
43460         [BZ #15627]
43461         * sysdeps/x86_64/rtld-memset.c: Remove file.
43462         * sysdeps/x86_64/rtld-memset.S: New file.
43464 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
43466         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
43467         (test_in_one_mode): Take arguments for whether the rounding mode
43468         is supported for each floating-point type.
43469         (do_test): Pass new arguments to test_in_one_mode using
43470         ROUNDING_TESTS.
43472 2013-06-13  Roland McGrath  <roland@hack.frob.com>
43474         * posix/tst-waitid.c (do_test): Distinguish different instances of
43475         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
43476         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
43477         before entering the kernel for waitpid.
43479 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43481         * NEWS: Fix note on clock function precision.  Text by Roland
43482         McGrath.
43484 2013-06-13  Roland McGrath  <roland@hack.frob.com>
43486         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
43487         it into place only when and if the sanity check passes.
43489 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
43491         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
43492         output for whether conversion result is exact.  Take argument
43493         indicating whether type is IBM long double.
43494         (round_for_all): Change need_exact field to ibm_ld.
43495         * stdlib/tst-strtod-round.c (struct exactness): New type.
43496         (struct test): Change bool ld_ok field to struct exactness exact.
43497         (TEST): Update all definitions for change to field.
43498         (tests): Regenerate array contents.
43499         (test_in_one_mode): Take pointer to new field instead of old ld_ok
43500         field value.  Check for IBM long double here.
43501         (do_test): Update calls to test_in_one_mode.
43503 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43505         [BZ #12515]
43506         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
43507         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
43509 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43511         [BZ #15605]
43512         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
43513         generated by the compiler on loop optimizations.
43514         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
43515         general definitions.
43517 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
43519         * math/bug-nextafter.c: Include <math-tests.h>.
43520         (main): Only test for exceptions if EXCEPTION_TESTS is true for
43521         the relevant type.
43522         * math/bug-nexttoward.c: Include <math-tests.h>.
43523         (main): Only test for exceptions if EXCEPTION_TESTS is true for
43524         the relevant type.
43525         * math/test-misc.c: Include <math-tests.h>.
43526         (main): Only test for exceptions if EXCEPTION_TESTS is true for
43527         the relevant type.
43529 2013-06-12  Andreas Jaeger  <aj@suse.de>
43531         * po/ia.po: Update Interlingua translation from translation
43532         project.
43534 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43536         * include/fenv.h: Include stdbool.h.
43537         (struct rm_ctx): New structure.
43538         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
43539         Define macro.
43540         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
43541         (SET_RESTORE_ROUNDF): Likewise.
43542         (SET_RESTORE_ROUNDL): Likewise.
43543         (SET_RESTORE_ROUND_NOEX): Likewise.
43544         (SET_RESTORE_ROUND_NOEXF): Likewise.
43545         (SET_RESTORE_ROUND_NOEXL): Likewise.
43546         (SET_RESTORE_ROUND_53BIT): Likewise.
43547         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
43548         (libc_feresetround_noexf_ctx): Likewise.
43549         (libc_feresetround_noexl_ctx): Likewise.
43550         (libc_feholdsetround_53bit_ctx): Likewise.
43551         (libc_feresetround_53bit_ctx): Likewise.
43552         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
43553         (libc_feholdexcept_setround_sse_ctx): New function.
43554         (libc_fesetenv_sse_ctx): Likewise.
43555         (libc_feupdateenv_sse_ctx): Likewise.
43556         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
43557         (libc_feholdexcept_setround_387_ctx): Likewise.
43558         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
43559         (libc_feholdsetround_387_prec_ctx): Likewise.
43560         (libc_feholdsetround_387_ctx): Likewise.
43561         (libc_feholdsetround_387_53bit_ctx): Likewise.
43562         (libc_feholdsetround_sse_ctx): Likewise.
43563         (libc_feresetround_sse_ctx): Likewise.
43564         (libc_feresetround_387_ctx): Likewise.
43565         (libc_feupdateenv_387_ctx): Likewise.
43566         (libc_feholdexcept_setroundf_ctx): Define macro.
43567         (libc_fesetenvf_ctx): Likewise.
43568         (libc_feupdateenvf_ctx): Likewise.
43569         (libc_feholdsetroundf_ctx): Likewise.
43570         (libc_feresetroundf_ctx): Likewise.
43571         (libc_feholdexcept_setround_ctx): Likewise.
43572         (libc_fesetenv_ctx): Likewise.
43573         (libc_feupdateenv_ctx): Likewise.
43574         (libc_feholdsetround_ctx): Likewise.
43575         (libc_feresetround_ctx): Likewise.
43576         (libc_feholdexcept_setroundl_ctx): Likewise.
43577         (libc_feupdateenvl_ctx): Likewise.
43578         (libc_feholdsetroundl_ctx): Likewise.
43579         (libc_feresetroundl_ctx): Likewise.
43580         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
43581         (libc_feresetround_53bit_ctx): Likewise.
43583 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43585         * locale/iso-639.def: Convert to UTF-8.
43587 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
43589         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
43590         (EXCEPTION_TESTS_double): Likewise.
43591         (EXCEPTION_TESTS_long_double): Likewise.
43592         (EXCEPTION_TESTS): Likewise.
43593         * math/libm-test.inc (test_exceptions): Only test exceptions if
43594         EXCEPTION_TESTS (FLOAT).
43596 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43598         * benchtests/Makefile (string-bench): Add strcpy_chk and
43599         stpcpy_chk.
43600         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
43601         * benchtests/bench-stpcpy_chk.c: New file.
43602         * benchtests/bench-strcpy_chk-ifunc.c: New file.
43603         * benchtests/bench-strcpy_chk.c: New file.
43604         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
43605         code.
43606         (do_test): Likewise.
43608 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43610         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
43611         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
43612         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
43613         with tabs where appropriate.
43614         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
43615         dl-procinfo.h.
43616         [PPC_PLATFORM_PPC440]: Likewise.
43617         [PPC_PLATFORM_PPC464]: Likewise.
43618         [PPC_PLATFORM_PPC476]: Likewise.
43619         (_dl_string_platform): Add support for detecting ppc405, ppc440,
43620         ppc464, and ppc476 platform strings merging from ports/
43621         dl-procinfo.h.
43623 2013-06-11  Andreas Schwab  <schwab@suse.de>
43625         [BZ #14991]
43626         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
43627         (from_ucs4_idx): Regenerate.
43628         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
43629         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
43630         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
43631         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
43632         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
43633         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
43634         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
43635         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
43636         from FROM_LOOP and TO_LOOP specific macros.
43637         (BODY): Handle combining characters.
43638         * iconvdata/BIG5HKSCS.irreversible: Update.
43639         * iconvdata/BIG5HKSCS.precomposed: New file.
43640         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
43641         characters.
43642         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
43644 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43646         * include/sys/time.h: Fix indentation and add copyright header.
43648         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
43649         (do_test): Likewise.
43650         * string/test-memchr.c (do_one_test): Likewise.
43651         (do_test): Likewise.
43652         * string/test-memcmp.c (do_one_test): Likewise.
43653         (do_test): Likewise.
43654         * string/test-memcpy.c (do_one_test): Likewise.
43655         (do_test): Likewise.
43656         * string/test-memmem.c (do_one_test): Likewise.
43657         (do_test): Likewise.
43658         (do_random_tests): Likewise.
43659         * string/test-memmove.c (do_one_test): Likewise.
43660         (do_test): Likewise.
43661         * string/test-memset.c (do_one_test): Likewise.
43662         (do_test): Likewise.
43663         * string/test-rawmemchr.c (do_one_test): Likewise.
43664         (do_test): Likewise.
43665         * string/test-strcasecmp.c (do_one_test): Likewise.
43666         (do_test): Likewise.
43667         * string/test-strcasestr.c (do_one_test): Likewise.
43668         (do_test): Likewise.
43669         * string/test-strcat.c (do_one_test): Likewise.
43670         (do_test): Likewise.
43671         * string/test-strchr.c (do_one_test): Likewise.
43672         (do_test): Likewise.
43673         * string/test-strcmp.c (do_one_test): Likewise.
43674         (do_test): Likewise.
43675         * string/test-strcpy.c (do_one_test): Likewise.
43676         (do_test): Likewise.
43677         * string/test-string.h: Likewise.
43678         (test_init): Likewise.
43679         * string/test-strlen.c (do_one_test): Likewise.
43680         (do_test): Likewise.
43681         * string/test-strncasecmp.c (do_one_test): Likewise.
43682         (do_test): Likewise.
43683         * string/test-strncat.c (do_one_test): Likewise.
43684         (do_test): Likewise.
43685         * string/test-strncmp.c (do_one_test): Likewise.
43686         (do_test_limit): Likewise.
43687         (do_test): Likewise.
43688         * string/test-strncpy.c (do_one_test): Likewise.
43689         (do_test): Likewise.
43690         * string/test-strnlen.c (do_one_test): Likewise.
43691         (do_test): Likewise.
43692         * string/test-strpbrk.c (do_one_test): Likewise.
43693         (do_test): Likewise.
43694         * string/test-strrchr.c (do_one_test): Likewise.
43695         (do_test): Likewise.
43696         * string/test-strspn.c (do_one_test): Likewise.
43697         (do_test): Likewise.
43698         * string/test-strstr.c (do_one_test): Likewise.
43699         (do_test): Likewise.
43701         * benchtests/Makefile (string-bench): Add string benchmarks.
43702         * benchtests/bench-bcopy-ifunc.c: New file.
43703         * benchtests/bench-bcopy.c: New file.
43704         * benchtests/bench-bzero-ifunc.c: New file.
43705         * benchtests/bench-bzero.c: New file.
43706         * benchtests/bench-memccpy-ifunc.c: New file.
43707         * benchtests/bench-memccpy.c: New file.
43708         * benchtests/bench-memchr-ifunc.c: New file.
43709         * benchtests/bench-memchr.c: New file.
43710         * benchtests/bench-memcmp-ifunc.c: New file.
43711         * benchtests/bench-memcmp.c: New file.
43712         * benchtests/bench-memmem-ifunc.c: New file.
43713         * benchtests/bench-memmem.c: New file.
43714         * benchtests/bench-memmove-ifunc.c: New file.
43715         * benchtests/bench-memmove.c: New file.
43716         * benchtests/bench-mempcpy-ifunc.c: New file.
43717         * benchtests/bench-mempcpy.c: New file.
43718         * benchtests/bench-memset-ifunc.c: New file.
43719         * benchtests/bench-memset.c: New file.
43720         * benchtests/bench-rawmemchr-ifunc.c: New file.
43721         * benchtests/bench-rawmemchr.c: New file.
43722         * benchtests/bench-stpcpy-ifunc.c: New file.
43723         * benchtests/bench-stpcpy.c: New file.
43724         * benchtests/bench-stpncpy-ifunc.c: New file.
43725         * benchtests/bench-stpncpy.c: New file.
43726         * benchtests/bench-strcasecmp-ifunc.c: New file.
43727         * benchtests/bench-strcasecmp.c: New file.
43728         * benchtests/bench-strcasestr-ifunc.c: New file.
43729         * benchtests/bench-strcasestr.c: New file.
43730         * benchtests/bench-strcat-ifunc.c: New file.
43731         * benchtests/bench-strcat.c: New file.
43732         * benchtests/bench-strchr-ifunc.c: New file.
43733         * benchtests/bench-strchr.c: New file.
43734         * benchtests/bench-strchrnul-ifunc.c: New file.
43735         * benchtests/bench-strchrnul.c: New file.
43736         * benchtests/bench-strcmp-ifunc.c: New file.
43737         * benchtests/bench-strcmp.c: New file.
43738         * benchtests/bench-strcpy-ifunc.c: New file.
43739         * benchtests/bench-strcpy.c: New file.
43740         * benchtests/bench-strcspn-ifunc.c: New file.
43741         * benchtests/bench-strcspn.c: New file.
43742         * benchtests/bench-strlen-ifunc.c: New file.
43743         * benchtests/bench-strlen.c: New file.
43744         * benchtests/bench-strncasecmp-ifunc.c: New file.
43745         * benchtests/bench-strncasecmp.c: New file.
43746         * benchtests/bench-strncat-ifunc.c: New file.
43747         * benchtests/bench-strncat.c: New file.
43748         * benchtests/bench-strncmp-ifunc.c: New file.
43749         * benchtests/bench-strncmp.c: New file.
43750         * benchtests/bench-strncpy-ifunc.c: New file.
43751         * benchtests/bench-strncpy.c: New file.
43752         * benchtests/bench-strnlen-ifunc.c: New file.
43753         * benchtests/bench-strnlen.c: New file.
43754         * benchtests/bench-strpbrk-ifunc.c: New file.
43755         * benchtests/bench-strpbrk.c: New file.
43756         * benchtests/bench-strrchr-ifunc.c: New file.
43757         * benchtests/bench-strrchr.c: New file.
43758         * benchtests/bench-strspn-ifunc.c: New file.
43759         * benchtests/bench-strspn.c: New file.
43760         * benchtests/bench-strstr-ifunc.c: New file.
43761         * benchtests/bench-strstr.c: New file.
43763         * benchtests/Makefile: Disable parallel execution of targets.
43764         (string-bench): Add memcpy.
43765         (benchset): New variable to store a list of benchmark sets.
43766         (bench-func): Renamed from bench.
43767         (bench-set): New target.
43768         (bench): Depend on bench-func and bench-set.
43769         * benchtests/README: Add section on benchmark sets.
43770         * benchtests/bench-memcpy-ifunc.c: New file.
43771         * benchtests/bench-memcpy.c: New file.
43772         * benchtests/bench-string.h: New file.
43774 2013-06-11  Andreas Schwab  <schwab@suse.de>
43776         [BZ #15577]
43777         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
43778         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
43779         values in the triple.
43780         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
43781         terminator in the group key.
43783 2013-06-11  Andreas Jaeger  <aj@suse.de>
43785         * po/zh_TW.po: Update Chinese (traditional) translation from
43786         translation project.
43788 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43790         * include/time.h (__clock_gettime): Add libc_hidden_proto.
43791         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
43792         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
43793         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43794         (clock_getcpuclockid): Likewise.
43795         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
43796         Add weak_alias and libc_hidden_def.
43797         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
43798         * rt/clock_gettime.c (clock_gettime): Rename to
43799         __clock_gettime.  Add weak_alias and libc_hidden_def.
43800         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
43801         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
43802         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
43803         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
43804         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
43805         Likewise.
43806         * rt/clock_settime.c (clock_settime): Rename to
43807         __clock_settime.  Add weak_alias and libc_hidden_def.
43808         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
43810 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
43812         * mach/err_boot.sub: Remove trailing whitespace.
43813         * mach/err_ipc.sub: Likewise.
43814         * mach/err_mach.sub: Likewise.
43816         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
43817         (ROUNDING_TESTS_double): Likewise.
43818         (ROUNDING_TESTS_long_double): Likewise.
43819         (ROUNDING_TESTS): Likewise.
43820         * math/libm-test.inc: Include <math-tests.h>.
43821         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
43822         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
43823         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
43824         (IF_ROUND_INIT_FE_UPWARD): Likewise.
43826 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43828         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
43829         of assigning.
43831 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
43833         * sysdeps/gnu/errlist.awk: Do not generate space at end of
43834         otherwise empty TRANS lines.
43835         * sysdeps/gnu/errlist.c: Regenerated.
43837         * catgets/gencat.c (error_print): Use (void) in function
43838         definition.
43839         * crypt/crypt_util.c (__init_des): Likewise.
43840         * crypt/speeds.c (Stop): Likewise.
43841         (main): Likewise.
43842         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
43843         * inet/ruserpass.c (token): Likewise.
43844         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
43845         * intl/localealias.c (extend_alias_table): Likewise.
43846         * intl/plural-exp.c (init_germanic_plural): Likewise.
43847         * libio/fcloseall.c (__fcloseall): Likewise.
43848         * libio/genops.c (_IO_flush_all): Likewise.
43849         (_IO_flush_all_linebuffered): Likewise.
43850         (_IO_cleanup): Likewise.
43851         (_IO_iter_begin): Likewise.
43852         (_IO_iter_end): Likewise.
43853         (_IO_list_lock): Likewise.
43854         (_IO_list_unlock): Likewise.
43855         (_IO_list_resetlock): Likewise.
43856         * libio/getchar.c (getchar): Likewise.
43857         * libio/getchar_u.c (getchar_unlocked): Likewise.
43858         * libio/getwchar.c (getwchar): Likewise.
43859         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
43860         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
43861         * login/getpt.c (__getpt): Likewise.
43862         * login/tst-utmp.c (main): Likewise.
43863         * malloc/hooks.c (__malloc_check_init): Likewise.
43864         * malloc/malloc.c (__malloc_stats): Likewise.
43865         * malloc/mtrace.c (tr_break): Likewise.
43866         (mtrace): Likewise.
43867         (muntrace): Likewise.
43868         * misc/fstab.c (endfsent): Likewise.
43869         * misc/getclktck.c (__getclktck): Likewise.
43870         * misc/getdtsz.c (__getdtablesize): Likewise.
43871         * misc/gethostid.c (gethostid): Likewise.
43872         * misc/getpagesize.c (__getpagesize): Likewise.
43873         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
43874         (__get_nprocs): Likewise.
43875         (__get_phys_pages): Likewise.
43876         (__get_avphys_pages): Likewise.
43877         * misc/getttyent.c (getttyent): Likewise.
43878         (setttyent): Likewise.
43879         (endttyent): Likewise.
43880         * misc/getusershell.c (getusershell): Likewise.
43881         (endusershell): Likewise.
43882         (setusershell): Likewise.
43883         (initshells): Likewise.
43884         * misc/hsearch.c (__hdestroy): Likewise.
43885         * misc/sync.c (sync): Likewise.
43886         * misc/syslog.c (closelog_internal): Likewise.
43887         (closelog): Likewise.
43888         * misc/ttyslot.c (ttyslot): Likewise.
43889         * misc/vhangup.c (vhangup): Likewise.
43890         * posix/fork.c (__fork): Likewise.
43891         * posix/getegid.c (__getegid): Likewise.
43892         * posix/geteuid.c (__geteuid): Likewise.
43893         * posix/getgid.c (__getgid): Likewise.
43894         * posix/getpid.c (__getpid): Likewise.
43895         * posix/getppid.c (__getppid): Likewise.
43896         * posix/getuid.c (__getuid): Likewise.
43897         * posix/pause.c (pause): Likewise.
43898         * posix/setpgrp.c (setpgrp): Likewise.
43899         * posix/setsid.c (__setsid): Likewise.
43900         * posix/test-vfork.c (noop): Likewise.
43901         * resolv/gethnamaddr.c (_endhtent): Likewise.
43902         (_gethtent): Likewise.
43903         (ht_endhostent): Likewise.
43904         (gethostent): Likewise.
43905         (dns_service): Likewise.
43906         * stdlib/drand48.c (drand48): Likewise.
43907         * stdlib/lrand48.c (lrand48): Likewise.
43908         * stdlib/mrand48.c (mrand48): Likewise.
43909         * stdlib/rand.c (rand): Likewise.
43910         * stdlib/random.c (__random): Likewise.
43911         * stdlib/setenv.c (clearenv): Likewise.
43912         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
43913         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
43914         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
43915         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
43916         (__get_nprocs): Likewise.
43917         (__get_phys_pages): Likewise.
43918         (__get_avphys_pages): Likewise.
43919         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
43920         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
43921         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
43922         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
43923         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
43924         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
43925         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
43926         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
43927         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
43928         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
43929         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
43930         * sysdeps/mach/hurd/sync.c (sync): Likewise.
43931         * sysdeps/posix/clock.c (clock): Likewise.
43932         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
43933         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
43934         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
43935         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
43936         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
43937         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
43938         (__get_nprocs_conf): Likewise.
43939         (__get_phys_pages): Likewise.
43940         (__get_avphys_pages): Likewise.
43941         * time/clock.c (clock): Likewise.
43942         * time/tzset.c (__tzname_max): Likewise.
43944 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
43946         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
43947         (__bswap_32): Do not use "register".
43948         * crypt/crypt.c (_ufc_doit_r): Likewise.
43949         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
43950         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
43951         * gmon/gmon.c (__monstartup): Likewise.
43952         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
43953         * hurd/hurdmalloc.c (more_memory): Likewise.
43954         (malloc): Likewise.
43955         (free): Likewise.
43956         (realloc): Likewise.
43957         (malloc_fork_prepare): Likewise.
43958         (malloc_fork_parent): Likewise.
43959         (malloc_fork_child): Likewise.
43960         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
43961         (_svcauth_des): Likewise.
43962         * inet/inet_lnaof.c (inet_lnaof): Likewise.
43963         * inet/inet_net.c (inet_network): Likewise.
43964         * inet/inet_netof.c (inet_netof): Likewise.
43965         * inet/rcmd.c (__validuser2_sa): Likewise.
43966         * io/fts.c (fts_open): Likewise.
43967         (fts_load): Likewise.
43968         (fts_close): Likewise.
43969         (fts_read): Likewise.
43970         (fts_children): Likewise.
43971         (fts_build): Likewise.
43972         (fts_stat): Likewise.
43973         (fts_sort): Likewise.
43974         (fts_alloc): Likewise.
43975         (fts_lfree): Likewise.
43976         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
43977         (_IO_file_xsgetn): Likewise.
43978         (_IO_file_xsgetn_mmap): Likewise.
43979         * libio/iofopncook.c (_IO_cookie_read): Likewise.
43980         (_IO_cookie_write): Likewise.
43981         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
43982         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
43983         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
43984         * malloc/obstack.c (_obstack_begin): Likewise.
43985         (_obstack_begin_1): Likewise.
43986         (_obstack_newchunk): Likewise.
43987         (_obstack_allocated_p): Likewise.
43988         (obstack_free): Likewise.
43989         (_obstack_memory_used): Likewise.
43990         * misc/getttyent.c (getttynam): Likewise.
43991         (getttyent): Likewise.
43992         (skip): Likewise.
43993         (value): Likewise.
43994         * misc/getusershell.c (initshells): Likewise.
43995         * misc/syslog.c (__vsyslog_chk): Likewise.
43996         * misc/ttyslot.c (ttyslot): Likewise.
43997         * nis/nis_hash.c (__nis_hash): Likewise.
43998         * posix/fnmatch_loop.c (FCT): Likewise.
43999         * posix/getconf.c (print_all): Likewise.
44000         (main): Likewise.
44001         * posix/getopt.c (exchange): Likewise.
44002         * posix/glob.c (globfree): Likewise.
44003         (prefix_array): Likewise.
44004         (__glob_pattern_type): Likewise.
44005         * resolv/arpa/nameser.h (NS_GET16): Likewise.
44006         (NS_GET32): Likewise.
44007         (NS_PUT16): Likewise.
44008         (NS_PUT32): Likewise.
44009         * resolv/gethnamaddr.c (getanswer): Likewise.
44010         (gethostbyname2): Likewise.
44011         (gethostbyaddr): Likewise.
44012         (_gethtent): Likewise.
44013         (_gethtbyname2): Likewise.
44014         (_gethtbyaddr): Likewise.
44015         * resolv/ns_print.c (dst_s_get_int16): Likewise.
44016         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
44017         * resolv/res_init.c (__res_vinit): Likewise.
44018         (net_mask): Likewise.
44019         * resolv/res_mkquery.c (outchar): Likewise.
44020         (PRINT): Likewise.
44021         * stdio-common/printf_fp.c (outchar): Likewise.
44022         (PRINT): Likewise.
44023         * stdio-common/printf_fphex.c (outchar): Likewise.
44024         (PRINT): Likewise.
44025         * stdio-common/printf_size.c (outchar): Likewise.
44026         (PRINT): Likewise.
44027         * stdio-common/test_rdwr.c (main): Likewise.
44028         * stdio-common/tfformat.c (matches): Likewise.
44029         * stdio-common/vfprintf.c (outchar): Likewise.
44030         (printf_unknown): Likewise.
44031         (buffered_vfprintf): Likewise.
44032         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
44033         * stdio-common/xbug.c (AppendToBuffer): Likewise.
44034         (ReadFile): Likewise.
44035         * stdlib/qsort.c (SWAP): Likewise.
44036         (_quicksort): Likewise.
44037         * stdlib/setenv.c (__add_to_environ): Likewise.
44038         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
44039         * stdlib/strtol_l.c (__strtol_l): Likewise.
44040         * stdlib/tst-strtod.c (main): Likewise.
44041         * stdlib/tst-strtol.c (main): Likewise.
44042         * stdlib/tst-strtoll.c (main): Likewise.
44043         * string/bits/string2.h (__strcmp_cc): Likewise.
44044         (__strcmp_cg): Likewise.
44045         (__strcspn_c1): Likewise.
44046         (__strcspn_c2): Likewise.
44047         (__strcspn_c3): Likewise.
44048         (__strspn_c1): Likewise.
44049         (__strspn_c2): Likewise.
44050         (__strspn_c3): Likewise.
44051         (__strsep_1c): Likewise.
44052         (__strsep_2c): Likewise.
44053         (__strsep_3c): Likewise.
44054         * string/memccpy.c (__memccpy): Likewise.
44055         * string/stpcpy.c (__stpcpy): Likewise.
44056         * string/strcmp.c (strcmp): Likewise.
44057         * string/strrchr.c (strrchr): Likewise.
44058         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
44059         Likewise.
44060         * sysdeps/mach/hurd/getcwd.c
44061         (_hurd_canonicalize_directory_name_internal): Likewise.
44062         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
44063         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
44064         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
44065         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
44066         Likewise, in both definitions.
44067         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
44068         definitions.
44069         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
44070         64] (__bswap_64): Likewise.
44071         * time/test_time.c (main): Likewise.
44072         * time/tzfile.c (__tzfile_read): Likewise.
44073         (__tzfile_compute): Likewise.
44074         * time/tzset.c (__tzset_parse_tz): Likewise.
44075         (tzset_internal): Likewise.
44076         (compute_change): Likewise.
44077         * wcsmbs/wcscat.c (__wcscat): Likewise.
44078         * wcsmbs/wcschr.c (wcschr): Likewise.
44079         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
44080         * wcsmbs/wcscspn.c (wcscspn): Likewise.
44081         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
44082         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
44083         * wcsmbs/wcsspn.c (wcsspn): Likewise.
44084         * wcsmbs/wcsstr.c (wcsstr): Likewise.
44085         * wcsmbs/wmemchr.c (wmemchr): Likewise.
44086         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44087         * wcsmbs/wmemset.c (wmemset): Likewise.
44089 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
44091         * scripts/config.guess: Update to version 2013-05-16.
44092         * scripts/config.sub: Update to version 2013-04-24.
44093         * scripts/install-sh: Update to version 2011-11-20.07.
44094         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
44095         * scripts/move-if-change: Update to version 2012-01-06 07:23.
44097 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
44099         * debug/fgetws_u_chk.c: Fix leading whitespaces.
44100         * elf/sln.c: Likewise.
44101         * hurd/hurd/ioctl.h: Likewise.
44102         * hurd/hurdmalloc.c: Likewise.
44103         * hurd/xattr.c: Likewise.
44104         * include/shlib-compat.h: Likewise.
44105         * inet/ruserpass.c: Likewise.
44106         * libio/iofgets_u.c: Likewise.
44107         * libio/iofgetws_u.c: Likewise.
44108         * locale/programs/ld-identification.c: Likewise.
44109         * locale/programs/ld-time.c: Likewise.
44110         * mach/msg-destroy.c: Likewise.
44111         * nss/nss_files/files-netgrp.c: Likewise.
44112         * resolv/res_data.c: Likewise.
44113         * soft-fp/op-1.h: Likewise.
44114         * soft-fp/op-2.h: Likewise.
44115         * soft-fp/op-4.h: Likewise.
44116         * soft-fp/op-common.h: Likewise.
44117         * stdio-common/printf_fphex.c: Likewise.
44118         * stdlib/strtod_l.c: Likewise.
44119         * sunrpc/rpc/clnt.h: Likewise.
44120         * sysdeps/generic/framestate.c: Likewise.
44121         * sysdeps/i386/bsd-_setjmp.S: Likewise.
44122         * sysdeps/i386/bsd-setjmp.S: Likewise.
44123         * sysdeps/i386/__longjmp.S: Likewise.
44124         * sysdeps/i386/setjmp.S: Likewise.
44125         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44126         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44127         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44128         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44129         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44130         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44131         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44132         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44133         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44134         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
44135         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44136         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44137         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44138         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44139         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44140         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44141         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44142         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
44143         * sysdeps/ieee754/support.c: Likewise.
44144         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44145         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
44146         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
44147         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
44148         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
44149         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
44150         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
44151         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
44152         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
44153         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
44154         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
44155         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
44156         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
44157         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
44158         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
44159         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
44160         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
44163 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
44165         * posix/transbug.c: Remove executable mode.
44167 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
44169         * crypt/speeds.c: Remove trailing whitespace.
44170         * dlfcn/default.c: Likewise.
44171         * elf/ifuncdep2.c: Likewise.
44172         * elf/ifuncmain1.c: Likewise.
44173         * elf/ifuncmain1vis.c: Likewise.
44174         * elf/testobj.h: Likewise.
44175         * elf/tst-stackguard1.c: Likewise.
44176         * gmon/sys/gmon.h: Likewise.
44177         * hurd/hurdmsg.c: Likewise.
44178         * hurd/new-fd.c: Likewise.
44179         * hurd/ports-get.c: Likewise.
44180         * iconvdata/ibm1008_420.c: Likewise.
44181         * inet/tst-getni1.c: Likewise.
44182         * inet/tst-getni2.c: Likewise.
44183         * libio/ioungetc.c: Likewise.
44184         * libio/wfiledoalloc.c: Likewise.
44185         * manual/libm-err-tab.pl: Likewise.
44186         * math/w_dremf.c: Likewise.
44187         * misc/ftruncate.c: Likewise.
44188         * posix/bug-glob2.c: Likewise.
44189         * posix/tst-pcre.c: Likewise.
44190         * posix/wait4.c: Likewise.
44191         * resolv/README: Likewise.
44192         * resolv/res_debug.h: Likewise.
44193         * resolv/tst-inet_ntop.c: Likewise.
44194         * setjmp/bug269-setjmp.c: Likewise.
44195         * soft-fp/extended.h: Likewise.
44196         * soft-fp/op-1.h: Likewise.
44197         * soft-fp/op-2.h: Likewise.
44198         * soft-fp/op-4.h: Likewise.
44199         * soft-fp/op-8.h: Likewise.
44200         * soft-fp/testit.c: Likewise.
44201         * stdio-common/bug16.c: Likewise.
44202         * stdlib/random.c: Likewise.
44203         * sunrpc/rpcsvc/rquota.x: Likewise.
44204         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
44205         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44206         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44207         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44208         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44209         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44210         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44211         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44212         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44213         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44214         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44215         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44216         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44217         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44218         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44219         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44220         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44221         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44222         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44223         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44224         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44225         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44226         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
44227         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44228         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44229         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44230         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44231         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44232         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44233         * sysdeps/ieee754/s_lib_version.c: Likewise.
44234         * sysdeps/mach/hurd/check_fds.c: Likewise.
44235         * sysdeps/mach/hurd/getsockname.c: Likewise.
44236         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
44237         * sysdeps/mach/hurd/recvfrom.c: Likewise.
44238         * sysdeps/powerpc/bits/link.h: Likewise.
44239         * sysdeps/powerpc/dl-procinfo.c: Likewise.
44240         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
44241         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
44242         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
44243         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
44244         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44245         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
44246         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
44247         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
44248         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44249         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
44250         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
44251         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
44252         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44253         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44254         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44255         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
44256         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
44257         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44258         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44259         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44260         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
44261         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44262         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
44263         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
44264         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
44265         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
44266         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44267         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44268         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
44269         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
44270         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
44271         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44272         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44273         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
44274         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
44275         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
44276         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
44277         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
44278         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
44279         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
44280         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
44281         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
44282         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
44283         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
44284         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
44285         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
44286         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
44287         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
44288         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
44289         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44290         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44291         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
44292         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
44293         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
44294         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
44295         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
44296         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44297         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
44298         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
44299         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
44300         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
44301         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
44302         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
44303         * sysdeps/powerpc/sysdep.h: Likewise.
44304         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44305         * sysdeps/s390/s390-64/sub_n.S: Likewise.
44306         * sysdeps/sh/dl-trampoline.S: Likewise.
44307         * sysdeps/sh/memset.S: Likewise.
44308         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
44309         * sysdeps/sh/strlen.S: Likewise.
44310         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
44311         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
44312         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
44313         * sysdeps/sparc/sparc32/rem.S: Likewise.
44314         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
44315         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
44316         * sysdeps/sparc/sparc32/strchr.S: Likewise.
44317         * sysdeps/sparc/sparc32/udiv.S: Likewise.
44318         * sysdeps/sparc/sparc32/urem.S: Likewise.
44319         * sysdeps/sparc/sparc64/add_n.S: Likewise.
44320         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44321         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
44322         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
44323         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
44324         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
44325         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
44326         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
44327         * sysdeps/unix/bsd/times.c: Likewise.
44328         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
44329         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
44330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
44331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
44332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
44333         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
44334         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
44335         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
44336         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
44337         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
44338         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
44339         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
44340         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
44341         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44342         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
44343         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
44344         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
44345         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
44346         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
44347         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
44348         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
44349         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
44350         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44351         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
44352         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
44353         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
44354         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
44355         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44356         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
44357         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
44358         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
44359         * sysdeps/x86_64/strcspn.S: Likewise.
44361 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44363         * locale/C-translit.h: Revert #include <stdint.h> because this is a
44364         generated file.  Regenerate properly from gen-translit.pl.
44365         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
44366         locale/C-translit.h.
44368 2013-06-05  Andreas Schwab  <schwab@suse.de>
44370         [BZ #15100]
44371         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
44372         week as 6 instead of -1.
44373         * time/tst-strptime.c (day_tests): Add test case.
44375 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44377         * sysdeps/generic/math_private.h
44378         (libc_feholdexcept_setround_53bit): Replace with
44379         libc_feholdsetround_53bit.
44380         (libc_feupdateenv_53bit): Replace with
44381         libc_feresetround_53bit.
44382         (SET_RESTORE_ROUND_53BIT): Adjust.
44384 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44386         * string/test-strchrnul.c: Add copyright header.
44388         * posix/tst-getaddrinfo4.c: Increase test timeout.
44390 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
44392         [BZ #15536]
44393         * math/libm-test.inc (MAX_EXP): Remove
44394         (MIN_EXP): Define.
44395         (ulp): Use MIN_EXP - MANT_DIG.
44396         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
44398 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
44400         * po/be.po: Revert last change.
44401         * po/zh_CN.po: Likewise.
44402         * po/header.pot: Likewise.
44404 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
44406         * Makefile ($(common-objpfx)linkobj/libc.so): Define
44407         link-libc-deps to empty as target-specific variable.
44408         * Makerules (link-libc-args): New variable.
44409         (libc-for-link): Likewise.
44410         (link-libc-deps): Likewise.
44411         (lib%.so): Depend on $(link-libc-deps).  Link with
44412         $(link-libc-args).
44413         (build-module): Link with $(link-libc-args).
44414         (build-module-asneeded): Likewise.
44415         (build-module-helper-objlist): Filter out $(link-libc-deps) from
44416         list of objects.
44417         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
44418         target-specific variable.
44419         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
44420         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
44421         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
44422         libc.
44423         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
44424         libc and ld.so.
44425         ($(objpfx)libpcprofile.so): Likewise.
44426         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
44427         libc_nonshared.a.
44428         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
44429         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
44430         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
44431         $(link-libc-deps).
44432         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
44433         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
44434         * login/Makefile ($(objpfx)libutil.so): Likewise.
44435         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
44436         * math/Makefile ($(objpfx)libm.so): Likewise.
44437         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
44438         $(objpfx)libnsl.so): Define libc-for-link as target-specific
44439         variable instead of depending directly on libc.
44440         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
44441         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
44442         $(link-libc-deps).
44443         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
44444         libc.
44445         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
44446         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
44447         ($(objpfx)libanl.so): Likewise.
44448         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
44449         ld.so.
44450         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
44451         $(link-libc-deps).
44452         * sysdeps/i386/fpu/Makefile: Remove file.
44453         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
44454         ($(objpfx)libm.so): Remove dependency on ld.so.
44456 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
44458         [BZ # 15553]
44459         * nis/yp_xdr.c (XDRMAXNAME): Define.
44460         (XDRMAXRECORD): Define.
44461         (xdr_domainname): Use XDRMAXNAME.
44462         (xdr_mapname): Likewise.
44463         (xdr_peername): Likewise.
44464         (xdr_keydat): Use XDRMAXRECORD.
44465         (xdr_valdat): Likewise.
44467 2013-05-30  Jeff Law  <law@redhat.com>
44469         [BZ #14256]
44470         * manual/errno.texi (ESTALE): Update to account for more than
44471         just NFS file systems.
44472         * sysdeps/gnu/errlist.c: Regenerated.
44474 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44476         [BZ #15465]
44477         * elf/Makefile (tests): Add tst-null-argv.
44478         (modules-names):  Add tst-null-argv-lib.
44479         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
44480         (tst-null-argv-ENV): Set environment for tst-null-argv.
44481         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
44482         (RTLD_PROGNAME): New macro.
44483         * elf/tst-null-argv.c: New test case.
44484         * elf/tst-null-argv-lib.c: Library for test case.
44485         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
44486         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
44487         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
44488         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
44489         * elf/dl-init.c (call_init): Likewise.
44490         (_dl_init): Likewise.
44491         * elf/dl-load.c (print_search_path): Likewise.
44492         (_dl_map_object): Likewise.
44493         * elf/dl-lookup.c (do_lookup_x): Likewise.
44494         (add_dependency): Likewise.
44495         (_dl_lookup_symbol_x): Likewise.
44496         (_dl_debug_bindings): Likewise.
44497         * elf/dl-open.c (_dl_show_scope): Likewise.
44498         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
44499         * elf/dl-version.c (match_symbol): Likewise.
44500         (_dl_check_map_versions): Likewise.
44501         * elf/rtld.c (dl_main): Likewise.
44502         (print_unresolved): Use RTLD_PROGNAME.
44503         (print_missing_version): Likewise.
44504         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
44505         (elf_machine_rela): Likewise.
44506         * sysdeps/powerpc/powerpc32/dl-machine.c
44507         (__process_machine_rela): Likewise.
44508         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44509         Likewise.
44510         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
44511         Likewise.
44512         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
44513         Likewise.
44514         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44515         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
44516         Likewise.
44517         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
44518         Likewise.
44519         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44521 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
44523         * po/be.po: Add descriptive title.
44524         * po/zh_CN.po: Likewise.
44525         * po/header.pot: Likewise.
44527 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
44529         * locale/programs/locarchive.c (create_archive): Inlucde fname in
44530         error message.
44531         (enlarge_archive): Likewise.
44533 2013-05-28  Ben North  <ben@redfrontdoor.org>
44535         * manual/arith.texi (frexp): It is the magnitude of the return
44536         value which lies in [0.5, 1), not the return value itself.
44538 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44540         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44542 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
44544         * stdio-common/bug26.c (main): Correct fscanf template.
44546         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
44547         declare _dl_skip_args.
44549         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
44550         Don't declare.
44552         * manual/platform.texi: Add missing @end deftypefun.
44554 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
44556         [BZ #15529]
44557         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
44558         bit of mantissa of 2^16382.
44559         * math/libm-test.inc (hypot_test_data): Add more tests.
44561         * math/libm-test.inc: Add drem and pow10 to list of tested
44562         functions.
44563         (pow10_test): New function.
44564         (drem_test): Likewise.
44565         (drem_test_tonearest): Likewise.
44566         (drem_test_towardzero): Likewise.
44567         (drem_test_downward): Likewise.
44568         (drem_test_upward): Likewise.
44569         (main): Call the new functions.
44571         * math/libm-test.inc (finite_test_data): Remove.
44572         (finite_test): Run tests from isfinite_test_data.
44573         (gamma_test_data): Remove.
44574         (gamma_test): Run tests from lgamma_test_data.
44575         * sysdeps/i386/fpu/libm-test-ulps: Update.
44576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44578 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44580         * manual/platform.texi: Add PowerPC PPR function set documentation.
44581         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
44582         implementation.
44584 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
44586         * math/libm-test.inc (MAX_EXP): Define.
44587         (ULPDIFF): Define.
44588         (ulp): New function.
44589         (check_float_internal): Use ULPDIFF.
44590         (cpow_test): Disable failing test.
44591         (check_ulp): Test ulp() implemetnation.
44592         (main): Call check_ulp before starting tests.
44594 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
44596         * math/gen-libm-test.pl (generate_testfile): Do not handle
44597         START_DATA and END_DATA.
44598         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
44599         END_DATA.
44600         (acos_tonearest_test_data): Likewise.
44601         (acos_towardzero_test_data): Likewise.
44602         (acos_downward_test_data): Likewise.
44603         (acos_upward_test_data): Likewise.
44604         (acosh_test_data): Likewise.
44605         (asin_test_data): Likewise.
44606         (asin_tonearest_test_data): Likewise.
44607         (asin_towardzero_test_data): Likewise.
44608         (asin_downward_test_data): Likewise.
44609         (asin_upward_test_data): Likewise.
44610         (asinh_test_data): Likewise.
44611         (atan_test_data): Likewise.
44612         (atanh_test_data): Likewise.
44613         (atan2_test_data): Likewise.
44614         (cabs_test_data): Likewise.
44615         (cacos_test_data): Likewise.
44616         (cacosh_test_data): Likewise.
44617         (carg_test_data): Likewise.
44618         (casin_test_data): Likewise.
44619         (casinh_test_data): Likewise.
44620         (catan_test_data): Likewise.
44621         (catanh_test_data): Likewise.
44622         (cbrt_test_data): Likewise.
44623         (ccos_test_data): Likewise.
44624         (ccosh_test_data): Likewise.
44625         (ceil_test_data): Likewise.
44626         (cexp_test_data): Likewise.
44627         (cimag_test_data): Likewise.
44628         (clog_test_data): Likewise.
44629         (clog10_test_data): Likewise.
44630         (conj_test_data): Likewise.
44631         (copysign_test_data): Likewise.
44632         (cos_test_data): Likewise.
44633         (cos_tonearest_test_data): Likewise.
44634         (cos_towardzero_test_data): Likewise.
44635         (cos_downward_test_data): Likewise.
44636         (cos_upward_test_data): Likewise.
44637         (cosh_test_data): Likewise.
44638         (cosh_tonearest_test_data): Likewise.
44639         (cosh_towardzero_test_data): Likewise.
44640         (cosh_downward_test_data): Likewise.
44641         (cosh_upward_test_data): Likewise.
44642         (cpow_test_data): Likewise.
44643         (cproj_test_data): Likewise.
44644         (creal_test_data): Likewise.
44645         (csin_test_data): Likewise.
44646         (csinh_test_data): Likewise.
44647         (csqrt_test_data): Likewise.
44648         (ctan_test_data): Likewise.
44649         (ctan_tonearest_test_data): Likewise.
44650         (ctan_towardzero_test_data): Likewise.
44651         (ctan_downward_test_data): Likewise.
44652         (ctan_upward_test_data): Likewise.
44653         (ctanh_test_data): Likewise.
44654         (ctanh_tonearest_test_data): Likewise.
44655         (ctanh_towardzero_test_data): Likewise.
44656         (ctanh_downward_test_data): Likewise.
44657         (ctanh_upward_test_data): Likewise.
44658         (erf_test_data): Likewise.
44659         (erfc_test_data): Likewise.
44660         (exp_test_data): Likewise.
44661         (exp_tonearest_test_data): Likewise.
44662         (exp_towardzero_test_data): Likewise.
44663         (exp_downward_test_data): Likewise.
44664         (exp_upward_test_data): Likewise.
44665         (exp10_test_data): Likewise.
44666         (exp2_test_data): Likewise.
44667         (expm1_test_data): Likewise.
44668         (fabs_test_data): Likewise.
44669         (fdim_test_data): Likewise.
44670         (finite_test_data): Likewise.
44671         (floor_test_data): Likewise.
44672         (fma_test_data): Likewise.
44673         (fma_towardzero_test_data): Likewise.
44674         (fma_downward_test_data): Likewise.
44675         (fma_upward_test_data): Likewise.
44676         (fmax_test_data): Likewise.
44677         (fmin_test_data): Likewise.
44678         (fmod_test_data): Likewise.
44679         (fpclassify_test_data): Likewise.
44680         (frexp_test_data): Likewise.
44681         (gamma_test_data): Likewise.
44682         (hypot_test_data): Likewise.
44683         (ilogb_test_data): Likewise.
44684         (isfinite_test_data): Likewise.
44685         (isgreater_test_data): Likewise.
44686         (isgreaterequal_test_data): Likewise.
44687         (isinf_test_data): Likewise.
44688         (isless_test_data): Likewise.
44689         (islessequal_test_data): Likewise.
44690         (islessgreater_test_data): Likewise.
44691         (isnan_test_data): Likewise.
44692         (isnormal_test_data): Likewise.
44693         (issignaling_test_data): Likewise.
44694         (isunordered_test_data): Likewise.
44695         (j0_test_data): Likewise.
44696         (j1_test_data): Likewise.
44697         (jn_test_data): Likewise.
44698         (ldexp_test_data): Likewise.
44699         (lgamma_test_data): Likewise.
44700         (lrint_test_data): Likewise.
44701         (lrint_tonearest_test_data): Likewise.
44702         (lrint_towardzero_test_data): Likewise.
44703         (lrint_downward_test_data): Likewise.
44704         (lrint_upward_test_data): Likewise.
44705         (llrint_test_data): Likewise.
44706         (llrint_tonearest_test_data): Likewise.
44707         (llrint_towardzero_test_data): Likewise.
44708         (llrint_downward_test_data): Likewise.
44709         (llrint_upward_test_data): Likewise.
44710         (log_test_data): Likewise.
44711         (log10_test_data): Likewise.
44712         (log1p_test_data): Likewise.
44713         (log2_test_data): Likewise.
44714         (logb_test_data): Likewise.
44715         (logb_downward_test_data): Likewise.
44716         (lround_test_data): Likewise.
44717         (llround_test_data): Likewise.
44718         (modf_test_data): Likewise.
44719         (nearbyint_test_data): Likewise.
44720         (nextafter_test_data): Likewise.
44721         (nexttoward_test_data): Likewise.
44722         (pow_test_data): Likewise.
44723         (pow_tonearest_test_data): Likewise.
44724         (pow_towardzero_test_data): Likewise.
44725         (pow_downward_test_data): Likewise.
44726         (pow_upward_test_data): Likewise.
44727         (remainder_test_data): Likewise.
44728         (remainder_tonearest_test_data): Likewise.
44729         (remainder_towardzero_test_data): Likewise.
44730         (remainder_downward_test_data): Likewise.
44731         (remainder_upward_test_data): Likewise.
44732         (remquo_test_data): Likewise.
44733         (rint_test_data): Likewise.
44734         (rint_tonearest_test_data): Likewise.
44735         (rint_towardzero_test_data): Likewise.
44736         (rint_downward_test_data): Likewise.
44737         (rint_upward_test_data): Likewise.
44738         (round_test_data): Likewise.
44739         (scalb_test_data): Likewise.
44740         (scalbn_test_data): Likewise.
44741         (scalbln_test_data): Likewise.
44742         (signbit_test_data): Likewise.
44743         (sin_test_data): Likewise.
44744         (sin_tonearest_test_data): Likewise.
44745         (sin_towardzero_test_data): Likewise.
44746         (sin_downward_test_data): Likewise.
44747         (sin_upward_test_data): Likewise.
44748         (sincos_test_data): Likewise.
44749         (sinh_test_data): Likewise.
44750         (sinh_tonearest_test_data): Likewise.
44751         (sinh_towardzero_test_data): Likewise.
44752         (sinh_downward_test_data): Likewise.
44753         (sinh_upward_test_data): Likewise.
44754         (sqrt_test_data): Likewise.
44755         (tan_test_data): Likewise.
44756         (tan_tonearest_test_data): Likewise.
44757         (tan_towardzero_test_data): Likewise.
44758         (tan_downward_test_data): Likewise.
44759         (tan_upward_test_data): Likewise.
44760         (tanh_test_data): Likewise.
44761         (tgamma_test_data): Likewise.
44762         (trunc_test_data): Likewise.
44763         (y0_test_data): Likewise.
44764         (y1_test_data): Likewise.
44765         (yn_test_data): Likewise.
44766         (significand_test_data): Likewise.
44768         * math/gen-libm-test.pl (@functions): Remove variable.
44769         (generate_testfile): Don't handle START and END lines.
44770         * math/libm-test.inc (START): New macro.
44771         (END): Likewise.
44772         (END_COMPLEX): Likewise.
44773         (acos_test): Use END macro without arguments.
44774         (acos_test_tonearest): Likewise.
44775         (acos_test_towardzero): Likewise.
44776         (acos_test_downward): Likewise.
44777         (acos_test_upward): Likewise.
44778         (acosh_test): Likewise.
44779         (asin_test): Likewise.
44780         (asin_test_tonearest): Likewise.
44781         (asin_test_towardzero): Likewise.
44782         (asin_test_downward): Likewise.
44783         (asin_test_upward): Likewise.
44784         (asinh_test): Likewise.
44785         (atan_test): Likewise.
44786         (atanh_test): Likewise.
44787         (atan2_test): Likewise.
44788         (cabs_test): Likewise.
44789         (cacos_test): Use END_COMPLEX macro without arguments.
44790         (cacosh_test): Likewise.
44791         (carg_test): Use END macro without arguments.
44792         (casin_test): Use END_COMPLEX macro without arguments.
44793         (casinh_test): Likewise.
44794         (catan_test): Likewise.
44795         (catanh_test): Likewise.
44796         (cbrt_test): Use END macro without arguments.
44797         (ccos_test): Use END_COMPLEX macro without arguments.
44798         (ccosh_test): Likewise.
44799         (ceil_test): Use END macro without arguments.
44800         (cexp_test): Use END_COMPLEX macro without arguments.
44801         (cimag_test): Use END macro without arguments.
44802         (clog_test): Use END_COMPLEX macro without arguments.
44803         (clog10_test): Likewise.
44804         (conj_test): Likewise.
44805         (copysign_test): Use END macro without arguments.
44806         (cos_test): Likewise.
44807         (cos_test_tonearest): Likewise.
44808         (cos_test_towardzero): Likewise.
44809         (cos_test_downward): Likewise.
44810         (cos_test_upward): Likewise.
44811         (cosh_test): Likewise.
44812         (cosh_test_tonearest): Likewise.
44813         (cosh_test_towardzero): Likewise.
44814         (cosh_test_downward): Likewise.
44815         (cosh_test_upward): Likewise.
44816         (cpow_test): Use END_COMPLEX macro without arguments.
44817         (cproj_test): Likewise.
44818         (creal_test): Use END macro without arguments.
44819         (csin_test): Use END_COMPLEX macro without arguments.
44820         (csinh_test): Likewise.
44821         (csqrt_test): Likewise.
44822         (ctan_test): Likewise.
44823         (ctan_test_tonearest): Likewise.
44824         (ctan_test_towardzero): Likewise.
44825         (ctan_test_downward): Likewise.
44826         (ctan_test_upward): Likewise.
44827         (ctanh_test): Likewise.
44828         (ctanh_test_tonearest): Likewise.
44829         (ctanh_test_towardzero): Likewise.
44830         (ctanh_test_downward): Likewise.
44831         (ctanh_test_upward): Likewise.
44832         (erf_test): Use END macro without arguments.
44833         (erfc_test): Likewise.
44834         (exp_test): Likewise.
44835         (exp_test_tonearest): Likewise.
44836         (exp_test_towardzero): Likewise.
44837         (exp_test_downward): Likewise.
44838         (exp_test_upward): Likewise.
44839         (exp10_test): Likewise.
44840         (exp2_test): Likewise.
44841         (expm1_test): Likewise.
44842         (fabs_test): Likewise.
44843         (fdim_test): Likewise.
44844         (finite_test): Likewise.
44845         (floor_test): Likewise.
44846         (fma_test): Likewise.
44847         (fma_test_towardzero): Likewise.
44848         (fma_test_downward): Likewise.
44849         (fma_test_upward): Likewise.
44850         (fmax_test): Likewise.
44851         (fmin_test): Likewise.
44852         (fmod_test): Likewise.
44853         (fpclassify_test): Likewise.
44854         (frexp_test): Likewise.
44855         (gamma_test): Likewise.
44856         (hypot_test): Likewise.
44857         (ilogb_test): Likewise.
44858         (isfinite_test): Likewise.
44859         (isgreater_test): Likewise.
44860         (isgreaterequal_test): Likewise.
44861         (isinf_test): Likewise.
44862         (isless_test): Likewise.
44863         (islessequal_test): Likewise.
44864         (islessgreater_test): Likewise.
44865         (isnan_test): Likewise.
44866         (isnormal_test): Likewise.
44867         (issignaling_test): Likewise.
44868         (isunordered_test): Likewise.
44869         (j0_test): Likewise.
44870         (j1_test): Likewise.
44871         (jn_test): Likewise.
44872         (ldexp_test): Likewise.
44873         (lgamma_test): Likewise.
44874         (lrint_test): Likewise.
44875         (lrint_test_tonearest): Likewise.
44876         (lrint_test_towardzero): Likewise.
44877         (lrint_test_downward): Likewise.
44878         (lrint_test_upward): Likewise.
44879         (llrint_test): Likewise.
44880         (llrint_test_tonearest): Likewise.
44881         (llrint_test_towardzero): Likewise.
44882         (llrint_test_downward): Likewise.
44883         (llrint_test_upward): Likewise.
44884         (log_test): Likewise.
44885         (log10_test): Likewise.
44886         (log1p_test): Likewise.
44887         (log2_test): Likewise.
44888         (logb_test): Likewise.
44889         (logb_test_downward): Likewise.
44890         (lround_test): Likewise.
44891         (llround_test): Likewise.
44892         (modf_test): Likewise.
44893         (nearbyint_test): Likewise.
44894         (nextafter_test): Likewise.
44895         (nexttoward_test): Likewise.
44896         (pow_test): Likewise.
44897         (pow_test_tonearest): Likewise.
44898         (pow_test_towardzero): Likewise.
44899         (pow_test_downward): Likewise.
44900         (pow_test_upward): Likewise.
44901         (remainder_test): Likewise.
44902         (remainder_test_tonearest): Likewise.
44903         (remainder_test_towardzero): Likewise.
44904         (remainder_test_downward): Likewise.
44905         (remainder_test_upward): Likewise.
44906         (remquo_test): Likewise.
44907         (rint_test): Likewise.
44908         (rint_test_tonearest): Likewise.
44909         (rint_test_towardzero): Likewise.
44910         (rint_test_downward): Likewise.
44911         (rint_test_upward): Likewise.
44912         (round_test): Likewise.
44913         (scalb_test): Likewise.
44914         (scalbn_test): Likewise.
44915         (scalbln_test): Likewise.
44916         (signbit_test): Likewise.
44917         (sin_test): Likewise.
44918         (sin_test_tonearest): Likewise.
44919         (sin_test_towardzero): Likewise.
44920         (sin_test_downward): Likewise.
44921         (sin_test_upward): Likewise.
44922         (sincos_test): Likewise.
44923         (sinh_test): Likewise.
44924         (sinh_test_tonearest): Likewise.
44925         (sinh_test_towardzero): Likewise.
44926         (sinh_test_downward): Likewise.
44927         (sinh_test_upward): Likewise.
44928         (sqrt_test): Likewise.
44929         (tan_test): Likewise.
44930         (tan_test_tonearest): Likewise.
44931         (tan_test_towardzero): Likewise.
44932         (tan_test_downward): Likewise.
44933         (tan_test_upward): Likewise.
44934         (tanh_test): Likewise.
44935         (tgamma_test): Likewise.
44936         (trunc_test): Likewise.
44937         (y0_test): Likewise.
44938         (y1_test): Likewise.
44939         (yn_test): Likewise.
44940         (significand_test): Likewise.
44942 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
44944         [BZ #15381]
44945         * libio/genops.c (_IO_no_init): Initialize wide struct info.
44947 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
44949         [BZ #14894]
44950         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
44951         __ppc_mdoio and __ppc_mdoom.
44952         * manual/platform.texi: Document new functions __ppc_yield,
44953         __ppc_mdoio and __ppc_mdoom.
44955 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
44957         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
44958         (main): Mention "tls" pseudo-hwcap is legacy.
44959         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
44961 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
44963         * math/gen-libm-test.pl (parse_args): Output only string of
44964         arguments as text for test name, not full call or descriptions of
44965         tests for extra outputs.
44966         (generate_testfile): Do not pass function name to parse_args.
44967         Generate this_func variable from START.
44968         * math/libm-test.inc (struct test_f_f_data): Rename test_name
44969         field to arg_str.
44970         (struct test_ff_f_data): Likewise.
44971         (test_ff_f_data_nexttoward): Likewise.
44972         (struct test_fi_f_data): Likewise.
44973         (struct test_fl_f_data): Likewise.
44974         (struct test_if_f_data): Likewise.
44975         (struct test_fff_f_data): Likewise.
44976         (struct test_c_f_data): Likewise.
44977         (struct test_f_f1_data): Likewise.  Remove field extra_name.
44978         (struct test_fF_f1_data): Likewise.
44979         (struct test_ffI_f1_data): Likewise.
44980         (struct test_c_c_data): Rename test_name field to arg_str.
44981         (struct test_cc_c_data): Likewise.
44982         (struct test_f_i_data): Likewise.
44983         (struct test_ff_i_data): Likewise.
44984         (struct test_f_l_data): Likewise.
44985         (struct test_f_L_data): Likewise.
44986         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
44987         and extra2_name.
44988         (COMMON_TEST_SETUP): New macro.
44989         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
44990         (COMMON_TEST_CLEANUP): Likewise.
44991         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
44992         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
44993         macros.
44994         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
44995         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
44996         macros.
44997         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
44998         (RUN_TEST_fff_f): Take argument string.  Call new setup and
44999         cleanup macros.
45000         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
45001         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
45002         macros.
45003         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
45004         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
45005         macros.
45006         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
45007         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
45008         cleanup macros.
45009         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
45010         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
45011         cleanup macros.
45012         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
45013         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
45014         cleanup macros.
45015         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
45016         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
45017         macros.
45018         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
45019         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
45020         macros.
45021         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
45022         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
45023         macros.
45024         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
45025         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
45026         cleanup macros.
45027         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
45028         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
45029         cleanup macros.
45030         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
45031         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
45032         macros.
45033         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
45034         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
45035         cleanup macros.
45036         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
45037         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
45038         macros.
45039         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
45040         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
45041         macros.
45042         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
45043         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
45044         cleanup macros.
45045         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
45047 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
45049         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
45050         to _sifields.sigfault.
45051         (si_addr_lsb): Define new macro.
45052         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
45053         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45054         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
45056 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
45058         [BZ #15441]
45059         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
45060         returns -1.
45061         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
45062         null return -1.
45063         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
45064         loading the domain.
45066 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
45068         * math/gen-libm-test.pl (parse_args): Do not include expected
45069         result in test name.
45070         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
45071         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45072         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45073         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45074         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45077 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45079         * benchtests/Makefile: Sort function entries.
45081         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
45082         tanh, asinh, acosh, atanh.
45083         * benchtests/acos-inputs: New file.
45084         * benchtests/acosh-inputs: New file.
45085         * benchtests/asin-inputs: New file.
45086         * benchtests/asinh-inputs: New file.
45087         * benchtests/atanh-inputs: New file.
45088         * benchtests/cosh-inputs: New file.
45089         * benchtests/log-inputs: New file.
45090         * benchtests/sinh-inputs: New file.
45091         * benchtests/tanh-inputs: New file.
45093 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
45095         [BZ #15339]
45096         * posix/tst-getaddrinfo4.c: New test.
45097         * posix/Makefile (tests): Add it.
45099 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45101         [BZ #15339]
45102         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
45103         when no services were used.
45104         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
45105         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
45107 2013-05-21  Andreas Schwab  <schwab@suse.de>
45109         [BZ #15014]
45110         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
45111         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
45112         successful.
45113         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
45114         redundant variable declarations and reallocation of buffer when
45115         parsing as IPv6 address.  Always set NSS status when called from
45116         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
45117         buffer too small.  Correct computation of needed size.
45118         * nss/Makefile (tests): Add test-digits-dots.
45119         * nss/test-digits-dots.c: New test.
45121 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45123         * benchtests/Makefile: Remove instructions for adding
45124         benchmark tests.
45125         * benchtests/README: New file to explain how to execute and
45126         enhance the benchmark tests.
45128 2013-05-21  Andreas Schwab  <schwab@suse.de>
45130         [BZ #15493]
45131         * setjmp/Makefile (tests): Add tst-sigsetjmp.
45132         * setjmp/tst-sigsetjmp.c: New test.
45134 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
45136         * sysdeps/x86_64/memset.S (memset): New implementation.
45137         (__bzero): Likewise.
45138         (__memset_tail): New function.
45140 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
45142         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
45143         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
45144         __memcpy_sse2_unaligned ifunc selection.
45145         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45146         Add memcpy-sse2-unaligned.S.
45147         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45148         Add: __memcpy_sse2_unaligned.
45150 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
45152         [BZ #15490]
45153         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
45154         math_force_eval before restoring floating-point envrionment.
45155         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
45156         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
45157         Likewise.
45158         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
45159         <math_private.h>.
45160         (__nearbyintl): Use math_force_eval before restoring
45161         floating-point environment.
45162         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
45164         * math/gen-libm-test.pl (special_functions): Remove.
45165         (parse_args): Don't handle TEST_extra.  Handle functions with no
45166         return value.
45167         * math/libm-test.inc (struct test_sincos_data): Replace with
45168         struct test_fFF_11_data.
45169         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
45170         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
45171         (sincos_test_data): Change element type to struct
45172         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
45173         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
45174         RUN_TEST_LOOP_sincos.
45175         * math/README.libm-test: Don't mention special handling of
45176         individual functions.
45177         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
45178         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45179         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45180         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45181         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45184         * math/gen-libm-test.pl (get_variable): Remove function.
45185         (parse_args): Don't show pointer parameters to call in test
45186         names.  Use "extra output N" in test names for extra outputs
45187         rather than naming variables.
45189 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
45191         [BZ #15488]
45192         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
45193         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
45194         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
45195         double tests.
45196         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
45197         disable.
45198         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
45199         check_long_double.
45201         * math/gen-libm-test.pl (@tests): Remove variable.
45202         ($count): Likewise.
45203         (new_test): Remove function.
45204         (show_exceptions): New function.
45205         (special_functions): Use show_exceptions instead of new_test.
45206         (parse_args): Likewise.
45207         (generate_testfile): Pass only function name in generated call to
45208         print_max_error or print_complex_max_error.
45209         (get_ulps): Do not handle complex tests specially.
45210         (output_test): Rename to ...
45211         (get_all_ulps_for_test): ... this.  Return a string rather than
45212         printing to a file.  Require ulps to be present.
45213         (output_ulps): Generate arrays rather than #defines.
45214         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
45215         (struct ulp_data): New type.
45216         (BUILD_COMPLEX_ULP): Remove macro.
45217         (compare_ulp_data): New function.
45218         (find_ulps): Likewise.
45219         (find_test_ulps): Likewise.
45220         (find_function_ulps): Likewise.
45221         (find_complex_function_ulps): Likewise.
45222         (print_max_error): Determine allowed ulps using
45223         find_function_ulps.
45224         (print_complex_max_error): Determine allowed ulps using
45225         find_complex_function_ulps.
45226         (check_float_internal): Determine max ulps using find_test_ulps.
45227         (check_float): Do not take max_ulp parameter.  Update call to
45228         check_float_internal.
45229         (check_complex): Likewise.
45230         (check_int): Do not take max_ulp parameter.
45231         (check_long): Likewise.
45232         (check_bool): Likewise.
45233         (check_longlong): Likewise.
45234         (struct test_f_f_data): Remove max_ulp field.
45235         (struct test_ff_f_data): Likewise.
45236         (struct test_ff_f_data_nexttoward): Likewise.
45237         (struct test_fi_f_data): Likewise.
45238         (struct test_fl_f_data): Likewise.
45239         (struct test_if_f_data): Likewise.
45240         (struct test_fff_f_data): Likewise.
45241         (struct test_c_f_data): Likewise.
45242         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
45243         (struct test_fF_f1_data): Likewise.
45244         (struct test_ffI_f1_data): Likewise.
45245         (struct test_c_c_data): Remove max_ulp field.
45246         (struct test_cc_c_data): Likewise.
45247         (struct test_f_i_data): Likewise.
45248         (struct test_ff_i_data): Likewise.
45249         (struct test_f_l_data): Likewise.
45250         (struct test_f_L_data): Likewise.
45251         (struct test_sincos_data): Likewise.
45252         (RUN_TEST_f_f): Do not handle ulps.
45253         (RUN_TEST_LOOP_f_f): Likewise.
45254         (RUN_TEST_2_f): Likewise.
45255         (RUN_TEST_LOOP_2_f): Likewise.
45256         (RUN_TEST_fff_f): Likewise.
45257         (RUN_TEST_LOOP_fff_f): Likewise.
45258         (RUN_TEST_c_f): Likewise.
45259         (RUN_TEST_LOOP_c_f): Likewise.
45260         (RUN_TEST_f_f1): Likewise.
45261         (RUN_TEST_LOOP_f_f1): Likewise.
45262         (RUN_TEST_fF_f1): Likewise.
45263         (RUN_TEST_LOOP_fF_f1): Likewise.
45264         (RUN_TEST_fI_f1): Likewise.
45265         (RUN_TEST_LOOP_fI_f1): Likewise.
45266         (RUN_TEST_ffI_f1): Likewise.
45267         (RUN_TEST_LOOP_ffI_f1): Likewise.
45268         (RUN_TEST_c_c): Likewise.
45269         (RUN_TEST_LOOP_c_c): Likewise.
45270         (RUN_TEST_cc_c): Likewise.
45271         (RUN_TEST_LOOP_cc_c): Likewise.
45272         (RUN_TEST_f_i): Likewise.
45273         (RUN_TEST_LOOP_f_i): Likewise.
45274         (RUN_TEST_f_i_tg): Likewise.
45275         (RUN_TEST_LOOP_f_i_tg): Likewise.
45276         (RUN_TEST_ff_i_tg): Likewise.
45277         (RUN_TEST_LOOP_ff_i_tg): Likewise.
45278         (RUN_TEST_f_b): Likewise.
45279         (RUN_TEST_LOOP_f_b): Likewise.
45280         (RUN_TEST_f_b_tg): Likewise.
45281         (RUN_TEST_LOOP_f_b_tg): Likewise.
45282         (RUN_TEST_f_l): Likewise.
45283         (RUN_TEST_LOOP_f_l): Likewise.
45284         (RUN_TEST_f_L): Likewise.
45285         (RUN_TEST_LOOP_f_L): Likewise.
45286         (RUN_TEST_sincos): Likewise.
45287         (RUN_TEST_LOOP_sincos): Likewise.
45289 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
45291         [BZ #15480]
45292         [BZ #15485]
45293         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
45294         main case of finite arguments, set rounding mode to FE_TONEAREST
45295         and discard exceptions.
45296         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
45297         exceptions.
45298         (remainder_tonearest_test_data): New variable.
45299         (remainder_test_tonearest): New function.
45300         (remainder_towardzero_test_data): New variable.
45301         (remainder_test_towardzero): New function.
45302         (remainder_downward_test_data): New variable.
45303         (remainder_test_downward): New function.
45304         (remainder_upward_test_data): New variable.
45305         (remainder_test_upward): New function.
45306         (main): Call the new test functions.
45308         * math/libm-test.inc (struct test_f_f1_data): Remove field
45309         extra_init.
45310         (struct test_fF_f1_data): Likewise.
45311         (struct test_ffI_f1_data): Likewise.
45312         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
45313         based on value of EXTRA_EXPECTED.
45314         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
45315         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
45316         EXTRA_VAR based on value of EXTRA_EXPECTED.
45317         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
45318         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
45319         EXTRA_VAR based on value of EXTRA_EXPECTED.
45320         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
45321         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
45322         EXTRA_VAR based on value of EXTRA_EXPECTED.
45323         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
45324         * math/gen-libm-test.pl (parse_args): Don't output initializers
45325         for extra output values.
45327         * math/libm-test.inc (check_int): Expect result to be exactly
45328         equal to expected value and do not handle ulps.
45329         (check_long): Likewise.
45330         (check_longlong): Likewise.
45332         * math/libm-test.inc (ceil_test_data): Test for "inexact"
45333         exceptions.
45334         (cimag_test_data): Likewise.
45335         (conj_test_data): Likewise.
45336         (copysign_test_data): Likewise.
45337         (cproj_test_data): Likewise.
45338         (creal_test_data): Likewise.
45339         (fabs_test_data): Likewise.
45340         (fdim_test_data): Likewise.
45341         (finite_test_data): Likewise.
45342         (floor_test_data): Likewise.
45343         (fmax_test_data): Likewise.
45344         (fmin_test_data): Likewise.
45345         (fmod_test_data): Likewise.
45346         (fpclassify_test_data): Likewise.
45347         (frexp_test_data): Likewise.
45348         (ilogb_test_data): Likewise.
45349         (isfinite_test_data): Likewise.
45350         (isgreater_test_data): Likewise.
45351         (isgreaterequal_test_data): Likewise.
45352         (isinf_test_data): Likewise.
45353         (isless_test_data): Likewise.
45354         (islessequal_test_data): Likewise.
45355         (islessgreater_test_data): Likewise.
45356         (isnan_test_data): Likewise.
45357         (isnormal_test_data): Likewise.
45358         (issignaling_test_data): Likewise.
45359         (isunordered_test_data): Likewise.
45360         (ldexp_test_data): Likewise.
45361         (lrint_test_data): Likewise.
45362         (lrint_test_data) [TEST_FLOAT]: Disable one test.
45363         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
45364         (lrint_tonearest_test_data): Test for "inexact" exceptions.
45365         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
45366         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
45367         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
45368         test input.
45369         (lrint_towardzero_test_data): Test for "inexact" exceptions.
45370         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
45371         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
45372         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
45373         that test input.
45374         (lrint_downward_test_data): Test for "inexact" exceptions.
45375         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
45376         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
45377         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
45378         test input.
45379         (lrint_upward_test_data): Test for "inexact" exceptions.
45380         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
45381         test input.
45382         (llrint_test_data): Test for "inexact" exceptions.
45383         (llrint_test_data) [TEST_FLOAT]: Disable one test.
45384         (llrint_tonearest_test_data): Test for "inexact" exceptions.
45385         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
45386         (llrint_towardzero_test_data): Test for "inexact" exceptions.
45387         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
45388         (llrint_downward_test_data): Test for "inexact" exceptions.
45389         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
45390         (llrint_upward_test_data): Test for "inexact" exceptions.
45391         (logb_test_data): Likewise.
45392         (logb_downward_test_data): Likewise.
45393         (nextafter_test_data): Likewise.
45394         (nexttoward_test_data): Likewise.
45395         (remainder_test_data): Likewise.
45396         (remquo_test_data): Likewise.
45397         (scalbn_test_data): Likewise.
45398         (scalbln_test_data): Likewise.
45399         (signbit_test_data): Likewise.
45400         (sqrt_test_data): Likewise.
45401         (significand_test_data): Likewise.
45403 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45405         [BZ #15424]
45406         * benchtests/bench-modf.c (struct args): Mark arg0 as
45407         volatile.
45408         * scripts/bench.pl: Mark members of struct args as volatile.
45410 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45412         [BZ # 15497]
45413         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
45414         negative infinity on POWER6 or lower.
45415         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
45417 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
45419         [BZ #15442]
45420         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
45421         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
45422         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
45423         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
45424         (_FP_SETQNAN): New macro.
45425         (_FP_SETQNAN_SEMIRAW): Likewise.
45426         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
45427         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
45428         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
45429         (FP_EXTEND): Use _FP_FRAC_SNANP.
45430         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
45431         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
45432         into account.
45433         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
45434         New macro.
45435         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
45436         Likewise.
45438 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
45440         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
45441         with DIVIDE_BY_ZERO_EXCEPTION.
45442         (gamma_test_data): Likewise.
45443         (lgamma_test_data): Likewise.
45444         (log_test_data): Likewise.
45445         (log10_test_data): Likewise.
45446         (log2_test_data): Likewise.
45447         (tgamma_test_data): Likewise.
45449         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
45450         (acos_test_tonearest): Likewise.
45451         (acos_test_towardzero): Likewise.
45452         (acos_test_downward): Likewise.
45453         (acos_test_upward): Likewise.
45454         (acosh_test): Likewise.
45455         (asin_test): Likewise.
45456         (asin_test_tonearest): Likewise.
45457         (asin_test_towardzero): Likewise.
45458         (asin_test_downward): Likewise.
45459         (asin_test_upward): Likewise.
45460         (asinh_test): Likewise.
45461         (atan_test): Likewise.
45462         (atanh_test): Likewise.
45463         (atan2_test): Likewise.
45464         (cabs_test): Likewise.
45465         (cacos_test): Likewise.
45466         (cacosh_test): Likewise.
45467         (casin_test): Likewise.
45468         (casinh_test): Likewise.
45469         (catan_test): Likewise.
45470         (catanh_test): Likewise.
45471         (cbrt_test): Likewise.
45472         (ccos_test): Likewise.
45473         (ccosh_test): Likewise.
45474         (cexp_test): Likewise.
45475         (clog_test): Likewise.
45476         (clog10_test): Likewise.
45477         (cos_test): Likewise.
45478         (cos_test_tonearest): Likewise.
45479         (cos_test_towardzero): Likewise.
45480         (cos_test_downward): Likewise.
45481         (cos_test_upward): Likewise.
45482         (cosh_test): Likewise.
45483         (cosh_test_tonearest): Likewise.
45484         (cosh_test_towardzero): Likewise.
45485         (cosh_test_downward): Likewise.
45486         (cosh_test_upward): Likewise.
45487         (cpow_test): Likewise.
45488         (csin_test): Likewise.
45489         (csinh_test): Likewise.
45490         (csqrt_test): Likewise.
45491         (ctan_test): Likewise.
45492         (ctan_test_tonearest): Likewise.
45493         (ctan_test_towardzero): Likewise.
45494         (ctan_test_downward): Likewise.
45495         (ctan_test_upward): Likewise.
45496         (ctanh_test): Likewise.
45497         (ctanh_test_tonearest): Likewise.
45498         (ctanh_test_towardzero): Likewise.
45499         (ctanh_test_downward): Likewise.
45500         (ctanh_test_upward): Likewise.
45501         (erf_test): Likewise.
45502         (erfc_test): Likewise.
45503         (exp_test): Likewise.
45504         (exp_test_tonearest): Likewise.
45505         (exp_test_towardzero): Likewise.
45506         (exp_test_downward): Likewise.
45507         (exp_test_upward): Likewise.
45508         (exp10_test): Likewise.
45509         (exp2_test): Likewise.
45510         (expm1_test): Likewise.
45511         (fmod_test): Likewise.
45512         (gamma_test): Likewise.
45513         (hypot_test): Likewise.
45514         (j0_test): Likewise.
45515         (j1_test): Likewise.
45516         (jn_test): Likewise.
45517         (lgamma_test): Likewise.
45518         (log_test): Likewise.
45519         (log10_test): Likewise.
45520         (log1p_test): Likewise.
45521         (log2_test): Likewise.
45522         (logb_test_downward): Likewise.
45523         (pow_test): Likewise.
45524         (pow_test_tonearest): Likewise.
45525         (pow_test_towardzero): Likewise.
45526         (pow_test_downward): Likewise.
45527         (pow_test_upward): Likewise.
45528         (remainder_test): Likewise.
45529         (remquo_test): Likewise.
45530         (sin_test): Likewise.
45531         (sin_test_tonearest): Likewise.
45532         (sin_test_towardzero): Likewise.
45533         (sin_test_downward): Likewise.
45534         (sin_test_upward): Likewise.
45535         (sincos_test): Likewise.
45536         (sinh_test): Likewise.
45537         (sinh_test_tonearest): Likewise.
45538         (sinh_test_towardzero): Likewise.
45539         (sinh_test_downward): Likewise.
45540         (sinh_test_upward): Likewise.
45541         (sqrt_test): Likewise.
45542         (tan_test): Likewise.
45543         (tan_test_tonearest): Likewise.
45544         (tan_test_towardzero): Likewise.
45545         (tan_test_downward): Likewise.
45546         (tan_test_upward): Likewise.
45547         (tanh_test): Likewise.
45548         (tgamma_test): Likewise.
45549         (y0_test): Likewise.
45550         (y1_test): Likewise.
45551         (yn_test): Likewise.
45553         * math/gen-libm-test.pl (adjust_arg): Remove function.
45554         (special_function): Remove argument $in_func.  Only handle
45555         generating output for tables of tests, not inside functions.
45556         (parse_args): Likewise.
45557         (generate_testfile): Remove variable $in_func.  Update call to
45558         parse_args.
45559         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
45560         (MINUS_ZERO_INIT): Rename macro to minus_zero.
45561         (PLUS_INFTY_INIT): Rename macro to plus_infty.
45562         (MINUS_INFTY_INIT): Rename macro to minus_infty.
45563         (QNAN_VALUE_INIT): Rename macro to qnan_value.
45564         (MAX_VALUE_INIT): Rename macro to max_value.
45565         (MIN_VALUE_INIT): Rename macro to min_value.
45566         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
45567         (plus_zero): Remove variable.
45568         (minus_zero): Likewise.
45569         (plus_infty): Likewise.
45570         (minus_infty): Likewise.
45571         (qnan_value): Likewise.
45572         (max_value): Likewise.
45573         (min_value): Likewise.
45574         (min_subnorm_value): Likewise.
45576 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45578         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
45579         uint64_t or uint32_t usage.
45580         * crypt/sha256-block.c: Likewise.
45581         * crypt/sha256-crypt.c: Likewise.
45582         * crypt/sha256.c: Likewise.
45583         * crypt/sha512-block.c: Likewise.
45584         * crypt/sha512-crypt.c: Likewise.
45585         * crypt/sha512.c: Likewise.
45586         * debug/backtrace-tst.c: Likewise.
45587         * debug/pcprofiledump.c: Likewise.
45588         * elf/cache.c: Likewise.
45589         * elf/dl-cache.c: Likewise.
45590         * elf/dl-misc.c: Likewise.
45591         * elf/dl-profile.c: Likewise.
45592         * elf/dl-support.c: Likewise.
45593         * elf/ldconfig.c: Likewise.
45594         * elf/sprof.c: Likewise.
45595         * iconv/dummy-repertoire.c: Likewise.
45596         * iconv/iconv_charmap.c: Likewise.
45597         * iconv/skeleton.c: Likewise.
45598         * iconvdata/8bit-generic.c: Likewise.
45599         * iconvdata/cp737.h: Likewise.
45600         * iconvdata/cp775.h: Likewise.
45601         * iconvdata/ibm1008.h: Likewise.
45602         * iconvdata/ibm1025.h: Likewise.
45603         * iconvdata/ibm1046.h: Likewise.
45604         * iconvdata/ibm1097.h: Likewise.
45605         * iconvdata/ibm1112.h: Likewise.
45606         * iconvdata/ibm1122.h: Likewise.
45607         * iconvdata/ibm1123.h: Likewise.
45608         * iconvdata/ibm1124.h: Likewise.
45609         * iconvdata/ibm1129.h: Likewise.
45610         * iconvdata/ibm1130.h: Likewise.
45611         * iconvdata/ibm1132.h: Likewise.
45612         * iconvdata/ibm1133.h: Likewise.
45613         * iconvdata/ibm1137.h: Likewise.
45614         * iconvdata/ibm1140.h: Likewise.
45615         * iconvdata/ibm1141.h: Likewise.
45616         * iconvdata/ibm1142.h: Likewise.
45617         * iconvdata/ibm1143.h: Likewise.
45618         * iconvdata/ibm1144.h: Likewise.
45619         * iconvdata/ibm1145.h: Likewise.
45620         * iconvdata/ibm1146.h: Likewise.
45621         * iconvdata/ibm1147.h: Likewise.
45622         * iconvdata/ibm1148.h: Likewise.
45623         * iconvdata/ibm1149.h: Likewise.
45624         * iconvdata/ibm1153.h: Likewise.
45625         * iconvdata/ibm1154.h: Likewise.
45626         * iconvdata/ibm1155.h: Likewise.
45627         * iconvdata/ibm1156.h: Likewise.
45628         * iconvdata/ibm1157.h: Likewise.
45629         * iconvdata/ibm1158.h: Likewise.
45630         * iconvdata/ibm1160.h: Likewise.
45631         * iconvdata/ibm1161.h: Likewise.
45632         * iconvdata/ibm1162.h: Likewise.
45633         * iconvdata/ibm1163.h: Likewise.
45634         * iconvdata/ibm1164.h: Likewise.
45635         * iconvdata/ibm1166.h: Likewise.
45636         * iconvdata/ibm1167.h: Likewise.
45637         * iconvdata/ibm12712.h: Likewise.
45638         * iconvdata/ibm1390.h: Likewise.
45639         * iconvdata/ibm1399.h: Likewise.
45640         * iconvdata/ibm16804.h: Likewise.
45641         * iconvdata/ibm4517.h: Likewise.
45642         * iconvdata/ibm4899.h: Likewise.
45643         * iconvdata/ibm4909.h: Likewise.
45644         * iconvdata/ibm4971.h: Likewise.
45645         * iconvdata/ibm5347.h: Likewise.
45646         * iconvdata/ibm803.h: Likewise.
45647         * iconvdata/ibm856.h: Likewise.
45648         * iconvdata/ibm901.h: Likewise.
45649         * iconvdata/ibm902.h: Likewise.
45650         * iconvdata/ibm9030.h: Likewise.
45651         * iconvdata/ibm9066.h: Likewise.
45652         * iconvdata/ibm921.h: Likewise.
45653         * iconvdata/ibm922.h: Likewise.
45654         * iconvdata/ibm9448.h: Likewise.
45655         * iconvdata/isiri-3342.h: Likewise.
45656         * iconvdata/jis0201.h: Likewise.
45657         * include/link.h: Likewise.
45658         * include/netdb.h: Likewise.
45659         * inet/check_native.c: Likewise.
45660         * inet/check_pf.c: Likewise.
45661         * inet/getipv4sourcefilter.c: Likewise.
45662         * inet/getnameinfo.c: Likewise.
45663         * inet/getsourcefilter.c: Likewise.
45664         * inet/htonl.c: Likewise.
45665         * inet/setipv4sourcefilter.c: Likewise.
45666         * inet/setsourcefilter.c: Likewise.
45667         * inet/test-inet6_opt.c: Likewise.
45668         * inet/tst-network.c: Likewise.
45669         * locale/C-collate.c: Likewise.
45670         * locale/C-ctype.c: Likewise.
45671         * locale/C-time.c: Likewise.
45672         * locale/C-translit.h: Likewise.
45673         * locale/loadarchive.c: Likewise.
45674         * locale/programs/3level.h: Likewise.
45675         * locale/programs/charmap.c: Likewise.
45676         * locale/programs/charmap.h: Likewise.
45677         * locale/programs/ld-address.c: Likewise.
45678         * locale/programs/ld-collate.c: Likewise.
45679         * locale/programs/ld-ctype.c: Likewise.
45680         * locale/programs/ld-identification.c: Likewise.
45681         * locale/programs/ld-measurement.c: Likewise.
45682         * locale/programs/ld-messages.c: Likewise.
45683         * locale/programs/ld-monetary.c: Likewise.
45684         * locale/programs/ld-name.c: Likewise.
45685         * locale/programs/ld-numeric.c: Likewise.
45686         * locale/programs/ld-paper.c: Likewise.
45687         * locale/programs/ld-telephone.c: Likewise.
45688         * locale/programs/ld-time.c: Likewise.
45689         * locale/programs/linereader.c: Likewise.
45690         * locale/programs/locale.c: Likewise.
45691         * locale/programs/locarchive.c: Likewise.
45692         * locale/programs/locfile.h: Likewise.
45693         * locale/programs/repertoire.c: Likewise.
45694         * locale/programs/simple-hash.c: Likewise.
45695         * locale/programs/simple-hash.h: Likewise.
45696         * malloc/memusage.c: Likewise.
45697         * malloc/memusagestat.c: Likewise.
45698         * nis/nis_defaults.c: Likewise.
45699         * nis/nis_hash.c: Likewise.
45700         * nis/nis_print.c: Likewise.
45701         * nis/nis_xdr.c: Likewise.
45702         * nscd/connections.c: Likewise.
45703         * nscd/hstcache.c: Likewise.
45704         * nscd/nscd_gethst_r.c: Likewise.
45705         * nscd/nscd_getserv_r.c: Likewise.
45706         * nscd/nscd_helper.c: Likewise.
45707         * nscd/servicescache.c: Likewise.
45708         * nss/makedb.c: Likewise.
45709         * nss/nss_db/db-XXX.c: Likewise.
45710         * nss/nss_db/db-initgroups.c: Likewise.
45711         * nss/nss_db/db-netgrp.c: Likewise.
45712         * nss/nss_files/files-network.c: Likewise.
45713         * nss/nss_files/files-parse.c: Likewise.
45714         * posix/bug-regex5.c: Likewise.
45715         * posix/fnmatch_loop.c: Likewise.
45716         * posix/regcomp.c: Likewise.
45717         * posix/regexec.c: Likewise.
45718         * posix/tst-rfc3484-2.c: Likewise.
45719         * posix/tst-rfc3484-3.c: Likewise.
45720         * posix/tst-rfc3484.c: Likewise.
45721         * resolv/nss_dns/dns-canon.c: Likewise.
45722         * resolv/nss_dns/dns-network.c: Likewise.
45723         * resolv/res_init.c: Likewise.
45724         * resolv/res_mkquery.c: Likewise.
45725         * resolv/tst-aton.c: Likewise.
45726         * stdlib/cxa_atexit.c: Likewise.
45727         * stdlib/cxa_finalize.c: Likewise.
45728         * stdlib/gen-fpioconst.c: Likewise.
45729         * stdlib/strtol_l.c: Likewise.
45730         * string/tst-endian.c: Likewise.
45731         * sunrpc/auth_des.c: Likewise.
45732         * sunrpc/clnt_udp.c: Likewise.
45733         * sunrpc/rtime.c: Likewise.
45734         * sunrpc/svcauth_des.c: Likewise.
45735         * sunrpc/xdr.c: Likewise.
45736         * sunrpc/xdr_intXX_t.c: Likewise.
45737         * sunrpc/xdr_rec.c: Likewise.
45738         * sysdeps/generic/ldconfig.h: Likewise.
45739         * sysdeps/generic/ldsodefs.h: Likewise.
45740         * sysdeps/generic/memusage.h: Likewise.
45741         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45742         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
45743         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
45744         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45745         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45746         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45747         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45748         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45749         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45750         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
45751         * sysdeps/posix/getaddrinfo.c: Likewise.
45752         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45753         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45754         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45755         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45756         * sysdeps/powerpc/test-gettimebase.c: Likewise.
45757         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
45758         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
45759         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
45760         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
45761         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
45762         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45763         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45764         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
45765         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
45766         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
45767         * sysdeps/x86_64/dl-tls.h: Likewise.
45768         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
45769         * time/alt_digit.c: Likewise.
45770         * time/era.c: Likewise.
45771         * wcsmbs/tst-c16c32-1.c: Likewise.
45773 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
45775         * math/libm-test.inc (struct test_sincos_data): New type.
45776         (RUN_TEST_LOOP_sincos): New macro.
45777         (sincos_test_data): New variable.
45778         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
45780 2013-05-16  Richard Henderson  <rth@redhat.com>
45782         * math/atest-exp2.c (LIMB64): New macro.
45783         (CONSTSZ): New macro.
45784         (mp_exp1, mp_exp_m1, mp_log2): New variables.
45785         (hexdig): Move ...
45786         (print_mpn_fp): ... to function scope.
45787         (read_mpn_hex): Remove.
45788         (get_log2): Remove.
45789         (exp2_mpn): Use mp_log2.
45790         (main): Use mp_exp1.
45792 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
45794         * math/libm-test.inc: Remove comment about not testing "inexact"
45795         exceptions.
45796         (INEXACT_EXCEPTION): New macro.
45797         (NO_INEXACT_EXCEPTION): Likewise.
45798         (INVALID_EXCEPTION_OK): Update value.
45799         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45800         (OVERFLOW_EXCEPTION_OK): Likewise.
45801         (UNDERFLOW_EXCEPTION_OK): Likewise.
45802         (IGNORE_ZERO_INF_SIGN): Likewise.
45803         (ERRNO_UNCHANGED): Likewise.
45804         (ERRNO_EDOM): Likewise.
45805         (ERRNO_ERANGE): Likewise.
45806         (test_exceptions): Handle testing "inexact" exceptions.
45807         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
45808         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
45809         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
45810         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
45811         INEXACT_EXCEPTION.
45812         (rint_towardzero_test_data): Likewise.
45813         (rint_downward_test_data): Likewise.
45814         (rint_upward_test_data): Likewise.
45816         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
45817         with OVERFLOW_EXCEPTION.
45818         (exp10_test_data): Likewise.
45819         (exp2_test_data): Likewise.
45820         (expm1_test_data): Likewise.
45821         (lgamma_test_data): Likewise.
45822         (pow_test_data): Likewise.
45823         (tgamma_test_data): Likewise.
45824         (yn_test_data): Remove duplicate test of overflow.
45826         * math/libm-test.inc (struct test_cc_c_data): New type.
45827         (RUN_TEST_LOOP_cc_c): New macro.
45828         (cpow_test_data): New variable.
45829         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
45831         * math/libm-test.inc (struct test_f_L_data): New type.
45832         (RUN_TEST_LOOP_f_L): New macro.
45833         (llrint_test_data): New variable.
45834         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
45835         (llrint_tonearest_test_data): New variable.
45836         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
45837         (llrint_towardzero_test_data): New variable.
45838         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
45839         (llrint_downward_test_data): New variable.
45840         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
45841         (llrint_upward_test_data): New variable.
45842         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
45843         (llround_test_data): New variable.
45844         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
45846 2013-05-13  Peter Collingbourne  <pcc@google.com>
45848         * math/atest-exp2.c (get_log2): Remove const attribute.
45850 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
45852         * math/libm-test.inc (struct test_f_l_data): New type.
45853         (RUN_TEST_LOOP_f_l): New macro.
45854         (lrint_test_data): New variable.
45855         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
45856         (lrint_tonearest_test_data): New variable.
45857         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
45858         (lrint_towardzero_test_data): New variable.
45859         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
45860         (lrint_downward_test_data): New variable.
45861         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
45862         (lrint_upward_test_data): New variable.
45863         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
45864         (lround_test_data): New variable.
45865         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
45867 2013-05-15  Peter Collingbourne  <pcc@google.com>
45869         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
45870         (EXTRACT_WORDS64) Use where appropriate.
45871         (INSERT_WORDS64) Likewise.
45873         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
45874         constraints with x constraints.
45875         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
45877         * malloc/obstack.c (_obstack_compat): Add initializer.
45879 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
45881         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
45882         si_trapno and add si_addr_lsb to _sifields.sigfault.
45883         (si_trapno): Remove macro.
45884         (si_addr_lsb): Define new macro.
45885         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
45887 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
45889         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
45890         instead of TEST_f_l.
45891         (llrint_test_tonearest): Likewise.
45892         (llrint_test_towardzero): Likewise.
45893         (llrint_test_downward): Likewise.
45894         (llrint_test_upward): Likewise.
45895         (llround_test): Likewise.
45897         * math/libm-test.inc (struct test_f_i_data): Add comment.
45898         (RUN_TEST_LOOP_f_b): New macro.
45899         (RUN_TEST_LOOP_f_b_tg): Likewise.
45900         (finite_test_data): New variable.
45901         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
45902         (isfinite_test_data): New variable.
45903         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45904         (isinf_test_data): New variable.
45905         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45906         (isnan_test_data): New variable.
45907         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45908         (isnormal_test_data): New variable.
45909         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45910         (issignaling_test_data): New variable.
45911         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45912         (signbit_test_data): New variable.
45913         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45915         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
45916         with INVALID_EXCEPTION.
45917         (acosh_test_data): Likewise.
45918         (asin_test_data): Likewise.
45919         (atanh_test_data): Likewise.
45920         (fmod_test_data): Likewise.
45921         (log_test_data): Likewise.
45922         (log10_test_data): Likewise.
45923         (log2_test_data): Likewise.
45924         (pow_test_data): Likewise.
45925         (sqrt_test_data): Likewise.
45926         (y0_test_data): Likewise.
45927         (y1_test_data): Likewise.
45928         (yn_test_data): Likewise.
45930         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
45931         function contents.
45933         * math/libm-test.inc (struct test_ff_i_data): New type.
45934         (RUN_TEST_LOOP_ff_i_tg): New macro.
45935         (isgreater_test_data): New variable.
45936         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45937         (isgreaterequal_test_data): New variable.
45938         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45939         (isless_test_data): New variable.
45940         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45941         (islessequal_test_data): New variable.
45942         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45943         (islessgreater_test_data): New variable.
45944         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45945         (isunordered_test_data): New variable.
45946         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45948 2013-05-14  David S. Miller  <davem@davemloft.net>
45950         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45952 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
45954         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
45956         * math/libm-test.inc (struct test_fF_f1_data): Change type of
45957         extra_test to int.
45958         (struct test_f_i_data): Change type of max_ulp to int.
45960         * math/libm-test.inc (test_ffI_f1_data): New type.
45961         (RUN_TEST_LOOP_ffI_f1): New macro.
45962         (remquo_test_data): New variable.
45963         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
45965         * setjmp/tst-setjmp-fp.c: New file.
45966         * setjmp/Makefile (tests): Add tst-setjmp-fp.
45967         (link-libm): New variable.
45968         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
45970         * math/libm-test.inc (struct test_f_i_data): New type.
45971         (RUN_TEST_LOOP_f_i): New macro.
45972         (RUN_TEST_LOOP_f_i_tg): Likewise.
45973         (fpclassify_test_data): New variable.
45974         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
45975         (ilogb_test_data): New variable.
45976         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
45978         * math/libm-test.inc (scalbln_test): Correct function name in END
45979         call.
45981         * math/libm-test.inc (struct test_f_f1_data): Add comment.
45982         (RUN_TEST_LOOP_fI_f1): New macro.
45983         (frexp_test_data): New variable.
45984         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
45986         * math/libm-test.inc (struct test_fF_f1_data): New type.
45987         (RUN_TEST_LOOP_fF_f1): New macro.
45988         (modf_test_data): New variable.
45989         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
45991         * math/libm-test.inc (struct test_f_f1_data): New type.
45992         (RUN_TEST_LOOP_f_f1): New macro.
45993         (gamma_test_data): New variable.
45994         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
45995         (lgamma_test_data): New variable.
45996         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
45998 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
46000         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
46001         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
46002         (main): Comment "tls" pseudo-hwcap.
46004 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
46006         * math/libm-test.inc (struct test_fl_f_data): New type.
46007         (RUN_TEST_LOOP_fl_f): New variable.
46008         (scalbln_test_data): New variable.
46009         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
46011         * math/libm-test.inc (struct test_fi_f_data): New type.
46012         (RUN_TEST_LOOP_fi_f): New macro.
46013         (ldexp_test_data): New variable.
46014         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
46015         (scalbn_test_data): New variable.
46016         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
46018         * math/libm-test.inc (struct test_c_f_data): New type.
46019         (RUN_TEST_LOOP_c_f): New macro.
46020         (cabs_test_data): New variable.
46021         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
46022         (carg_test_data): New variable.
46023         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
46024         (cimag_test_data): New variable.
46025         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
46026         (creal_test_data): New variable.
46027         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
46029         * math/libm-test.inc (struct test_if_f_data): New type.
46030         (RUN_TEST_LOOP_if_f): New macro.
46031         (jn_test_data): New variable.
46032         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
46033         (yn_test_data): New variable.
46034         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
46036         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
46038 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46040         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
46041         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
46043 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46045         * benchtests/Makefile (CPPFLAGS-nonlib): Add
46046         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
46047         (bench-deps): Add bench-timing.h.
46048         * benchtests-bench-skeleton.c: Include bench-timing.h.
46049         (main): Use TIMING_* macros instead of clock_gettime.
46050         * benchtests/bench-timing.h: New file.
46052         [BZ #14582]
46053         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
46054         Renamed from _LIB_VERSION.
46055         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
46057 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
46059         * math/libm-test.inc (struct test_fff_f_data): New type.
46060         (RUN_TEST_LOOP_fff_f): New macro.
46061         (fma_test_data): New variable.
46062         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
46063         (fma_towardzero_test_data): New variable.
46064         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
46065         (fma_downward_test_data): New variable.
46066         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
46067         (fma_upward_test_data): New variable.
46068         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
46070         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
46071         (struct test_c_c_data): New type.
46072         (RUN_TEST_LOOP_c_c): New macro.
46073         (cacos_test_data): New variable.
46074         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
46075         (cacosh_test_data): New variable.
46076         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
46077         (casin_test_data): New variable.
46078         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
46079         (casinh_test_data): New variable.
46080         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
46081         (catan_test_data): New variable.
46082         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
46083         (catanh_test_data): New variable.
46084         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
46085         (ccos_test_data): New variable.
46086         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
46087         (ccosh_test_data): New variable.
46088         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
46089         (cexp_test_data): New variable.
46090         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
46091         (clog_test_data): New variable.
46092         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
46093         (clog10_test_data): New variable.
46094         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
46095         (conj_test_data): New variable.
46096         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
46097         (cproj_test_data): New variable.
46098         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
46099         (csin_test_data): New variable.
46100         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
46101         (csinh_test_data): New variable.
46102         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
46103         (csqrt_test_data): New variable.
46104         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
46105         (ctan_test_data): New variable.
46106         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
46107         (ctan_tonearest_test_data): New variable.
46108         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
46109         (ctan_towardzero_test_data): New variable.
46110         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
46111         (ctan_downward_test_data): New variable.
46112         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
46113         (ctan_upward_test_data): New variable.
46114         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
46115         (ctanh_test_data): New variable.
46116         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
46117         (ctanh_tonearest_test_data): New variable.
46118         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
46119         (ctanh_towardzero_test_data): New variable.
46120         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
46121         (ctanh_downward_test_data): New variable.
46122         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
46123         (ctanh_upward_test_data): New variable.
46124         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
46125         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
46126         of BUILD_COMPLEX.
46128         * math/libm-test.inc (struct test_ff_f_data): New type.
46129         (struct test_ff_f_data_nexttoward): Likewise.
46130         (RUN_TEST_LOOP_2_f): New macro.
46131         (RUN_TEST_LOOP_ff_f): Likewise.
46132         (atan2_test_data): New variable.
46133         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
46134         (copysign_test_data): New variable.
46135         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
46136         (fdim_test_data): New variable.
46137         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
46138         (fmax_test_data): New variable.
46139         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
46140         (fmin_test_data): New variable.
46141         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
46142         (fmod_test_data): New variable.
46143         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
46144         (hypot_test_data): New variable.
46145         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
46146         (nextafter_test_data): New variable.
46147         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
46148         (nexttoward_test_data): New variable.
46149         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
46150         (pow_test_data): New variable.
46151         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
46152         (pow_tonearest_test_data): New variable.
46153         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
46154         (pow_towardzero_test_data): New variable.
46155         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
46156         (pow_downward_test_data): New variable.
46157         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
46158         (pow_upward_test_data): New variable.
46159         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
46160         (remainder_test_data): New variable.
46161         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
46162         (scalb_test_data): New variable.
46163         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
46164         * sysdeps/i386/fpu/libm-test-ulps: Update.
46166 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
46168         * math/libm-test.inc (fma_test): Use max_value instead of local
46169         variable fltmax.
46170         (nextafter_test): Likewise.
46172         * math/libm-test.inc (acos_towardzero_test_data): New variable.
46173         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46174         (acos_downward_test_data): New variable.
46175         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46176         (acos_upward_test_data): New variable.
46177         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46178         (acosh_test_data): New variable.
46179         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
46180         (asin_test_data): New variable.
46181         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
46182         (asin_tonearest_test_data): New variable.
46183         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46184         (asin_towardzero_test_data): New variable.
46185         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46186         (asin_downward_test_data): New variable.
46187         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46188         (asin_upward_test_data): New variable.
46189         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46190         (asinh_test_data): New variable.
46191         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
46192         (atan_test_data): New variable.
46193         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
46194         (atanh_test_data): New variable.
46195         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
46196         (cbrt_test_data): New variable.
46197         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
46198         (ceil_test_data): New variable.
46199         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
46200         (cos_test_data): New variable.
46201         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
46202         (cos_tonearest_test_data): New variable.
46203         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46204         (cos_towardzero_test_data): New variable.
46205         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46206         (cos_downward_test_data): New variable.
46207         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46208         (cos_upward_test_data): New variable.
46209         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46210         (cosh_test_data): New variable.
46211         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
46212         (cosh_tonearest_test_data): New variable.
46213         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46214         (cosh_towardzero_test_data): New variable.
46215         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46216         (cosh_downward_test_data): New variable.
46217         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46218         (cosh_upward_test_data): New variable.
46219         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46220         (erf_test_data): New variable.
46221         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
46222         (erfc_test_data): New variable.
46223         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
46224         (exp_test_data): New variable.
46225         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
46226         (exp_tonearest_test_data): New variable.
46227         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46228         (exp_towardzero_test_data): New variable.
46229         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46230         (exp_downward_test_data): New variable.
46231         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46232         (exp_upward_test_data): New variable.
46233         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46234         (exp10_test_data): New variable.
46235         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
46236         (exp2_test_data): New variable.
46237         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
46238         (expm1_test_data): New variable.
46239         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
46240         (fabs_test_data): New variable.
46241         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
46242         (floor_test_data): New variable.
46243         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
46244         (j0_test_data): New variable.
46245         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
46246         (j1_test_data): New variable.
46247         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
46248         (log_test_data): New variable.
46249         (log_test): Run tests with RUN_TEST_LOOP_f_f.
46250         (log10_test_data): New variable.
46251         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
46252         (log1p_test_data): New variable.
46253         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
46254         (log2_test_data): New variable.
46255         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
46256         (logb_test_data): New variable.
46257         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
46258         (logb_downward_test_data): New variable.
46259         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46260         (nearbyint_test_data): New variable.
46261         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
46262         (rint_test_data): New variable.
46263         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
46264         (rint_tonearest_test_data): New variable.
46265         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46266         (rint_towardzero_test_data): New variable.
46267         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46268         (rint_downward_test_data): New variable.
46269         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46270         (rint_upward_test_data): New variable.
46271         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46272         (round_test_data): New variable.
46273         (round_test): Run tests with RUN_TEST_LOOP_f_f.
46274         (sin_test_data): New variable.
46275         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
46276         (sin_tonearest_test_data): New variable.
46277         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46278         (sin_towardzero_test_data): New variable.
46279         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46280         (sin_downward_test_data): New variable.
46281         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46282         (sin_upward_test_data): New variable.
46283         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46284         (sinh_test_data): New variable.
46285         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
46286         (sinh_tonearest_test_data): New variable.
46287         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46288         (sinh_towardzero_test_data): New variable.
46289         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46290         (sinh_downward_test_data): New variable.
46291         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46292         (sinh_upward_test_data): New variable.
46293         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46294         (sqrt_test_data): New variable.
46295         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
46296         (tan_test_data): New variable.
46297         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
46298         (tan_tonearest_test_data): New variable.
46299         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46300         (tan_towardzero_test_data): New variable.
46301         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46302         (tan_downward_test_data): New variable.
46303         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46304         (tan_upward_test_data): New variable.
46305         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46306         (tanh_test_data): New variable.
46307         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
46308         (tgamma_test_data): New variable.
46309         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
46310         (trunc_test_data): New variable.
46311         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
46312         (y0_test_data): New variable.
46313         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
46314         (y1_test_data): New variable.
46315         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
46316         (significand_test_data): New variable.
46317         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
46319 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
46321         [BZ #12387]
46322         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
46324 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
46326         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
46328 2013-05-10  Andreas Jaeger  <aj@suse.de>
46330         [BZ #15448]
46331         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
46332         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
46334 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
46336         * math/gen-libm-test.pl (adjust_arg): New function.
46337         (special_functions): Handle generating output in both functions
46338         and arrays.
46339         (parse_args): Likewise.
46340         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
46341         $in_func argument to parse_args.
46342         * math/libm-test.inc (struct test_f_f_data): New type.
46343         (IF_ROUND_INIT_): New macro.
46344         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
46345         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
46346         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
46347         (IF_ROUND_INIT_FE_UPWARD): Likewise.
46348         (ROUND_RESTORE_): Likewise.
46349         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
46350         (ROUND_RESTORE_FE_TONEAREST): Likewise.
46351         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
46352         (ROUND_RESTORE_FE_UPWARD): Likewise.
46353         (RUN_TEST_LOOP_f_f): New macro.
46354         (acos_test_data): New variable.
46355         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
46356         (acos_tonearest_test_data): New variable.
46357         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46359 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46361         * benchtests/bench-skeleton.c (startup): Fix coding style.
46363 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
46365         [BZ #6809]
46366         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
46367         negative infinity argument.
46368         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
46369         negative infinity argument.
46370         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
46371         negative infinity argument.
46372         * math/libm-test.inc (tgamma_test): Expect errno to be set for
46373         domain errors.
46375 2013-05-10  Florian Weimer  <fweimer@redhat.com>
46377         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
46378         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
46379         * iconv/iconv_prog.c (main): Likewise.
46380         * locale/programs/charmap-dir.c (charmap_readdir)
46381         (fopen_uncompressed): Likewise.
46382         * locale/programs/locfile.c (siblings_uncached)
46383         (write_locale_data): Use lstat64 instead of lstat.
46384         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
46385         stat.
46387 2013-05-10  Andreas Jaeger  <aj@suse.de>
46389         [BZ #15395]
46390         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
46391         localization.
46392         Include <locale.h>.
46394 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
46396         * elf/dl-close.c (_dl_close_worker): Add comments.
46398 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
46400         [BZ #15359]
46401         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
46402         high part of pi/2.
46403         (__ieee754_rem_pio2l): Update comments.
46405         [BZ #15429]
46406         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
46407         high part of pi/2.
46408         (__ieee754_rem_pio2l): Update comments.
46410         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
46411         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
46413         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
46414         M_PI_4l.
46416         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
46417         (M_PI_34_LOG10El): Likewise.
46418         (M_PI2_LOG10El): Likewise.
46419         (M_PI4_LOG10El): Likewise.
46420         (M_PI_LOG10El): Likewise.
46422 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46424         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46426 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
46428         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
46429         (MINUS_ZERO_INIT): Likewise.
46430         (PLUS_INFTY_INIT): Likewise.
46431         (MINUS_INFTY_INIT): Likewise.
46432         (QNAN_VALUE_INIT): Likewise.
46433         (MAX_VALUE_INIT): Likewise.
46434         (MIN_VALUE_INIT): Likewise.
46435         (MIN_SUBNORM_VALUE_INIT): Likewise.
46436         (plus_zero): Initialize with PLUS_ZERO_INIT.
46437         (minus_zero): Initialize with MINUS_ZERO_INIT.
46438         (plus_infty): Initialize with PLUS_INFTY_INIT.
46439         (minus_infty): Initialize with MINUS_INFTY_INIT.
46440         (qnan_value): Initialize with QNAN_VALUE_INIT.
46441         (max_value): Initialize with MAX_VALUE_INIT.
46442         (min_value): Initialize with MIN_VALUE_INIT.
46443         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
46445         * math/libm-test.inc (RUN_TEST_if_f): New macro.
46446         (jn_test): Use TEST_if_f instead of TEST_ff_f.
46447         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
46448         (yn_test): Use TEST_if_f instead of TEST_ff_f.
46450         * math/libm-test.inc (RUN_TEST_f_f): New macro.
46451         (RUN_TEST_2_f): Likewise.
46452         (RUN_TEST_ff_f): Likewise.
46453         (RUN_TEST_fi_f): Likewise.
46454         (RUN_TEST_fl_f): Likewise.
46455         (RUN_TEST_fff_f): Likewise.
46456         (RUN_TEST_c_f): Likewise.
46457         (RUN_TEST_f_f1): Likewise.
46458         (RUN_TEST_fF_f1): Likewise.
46459         (RUN_TEST_fI_f1): Likewise.
46460         (RUN_TEST_ffI_f1): Likewise.
46461         (RUN_TEST_c_c): Likewise.
46462         (RUN_TEST_cc_c): Likewise.
46463         (RUN_TEST_f_i): Likewise.
46464         (RUN_TEST_f_i_tg): Likewise.
46465         (RUN_TEST_ff_i_tg): Likewise.
46466         (RUN_TEST_f_b): Likewise.
46467         (RUN_TEST_f_b_tg): Likewise.
46468         (RUN_TEST_f_l): Likewise.
46469         (RUN_TEST_f_L): Likewise.
46470         (RUN_TEST_sincos): Likewise.
46471         * math/gen-libm-test.pl (new_test): Take new argument to indicate
46472         whether to show exceptions.  Do not include ");\n" in return
46473         value.
46474         (special_functions): Output call to RUN_TEST_sincos instead of
46475         check_float calls.  Update calls to new_test.
46476         (parse_args): Output call to single RUN_TEST_* macro instead of
46477         check_* calls and other assignments.  Update calls to new_test.
46479         [BZ #2546]
46480         [BZ #2560]
46481         [BZ #5159]
46482         [BZ #15426]
46483         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
46484         input to result for tgamma overflow.
46485         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
46486         (gamma_coeff): New variable.
46487         (NCOEFF): New macro.
46488         (gamma_positive): New function.
46489         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
46490         underflow here.  Use gamma_positive instead of exp (lgamma) for
46491         other arguments.
46492         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
46493         (gamma_coeff): New variable.
46494         (NCOEFF): New macro.
46495         (gammaf_positive): New function.
46496         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
46497         underflow here.  Use gamma_positive instead of exp (lgamma) for
46498         other arguments.
46499         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
46500         (gamma_coeff): New variable.
46501         (NCOEFF): New macro.
46502         (gammal_positive): New function.
46503         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
46504         underflow here.  Use gamma_positive instead of exp (lgamma) for
46505         other arguments.
46506         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
46507         (gamma_coeff): New variable.
46508         (NCOEFF): New macro.
46509         (gammal_positive): New function.
46510         (__ieee754_gammal_r): Handle positive infinity, overflow and
46511         underflow here.  Handle NaN the same as positive infinity.  Remove
46512         check x < 0xffffffff for negative integers.  Use gamma_positive
46513         instead of exp (lgamma) for other arguments.
46514         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
46515         (gamma_coeff): New variable.
46516         (NCOEFF): New macro.
46517         (gammal_positive): New function.
46518         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
46519         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
46520         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
46521         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
46522         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
46523         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
46524         * sysdeps/generic/math_private.h (__gamma_productf): New
46525         prototype.
46526         (__gamma_product): Likewise.
46527         (__gamma_productl): Likewise.
46528         * math/Makefile (libm-calls): Add gamma_product.
46529         * math/libm-test.inc (tgamma_test): Add more tests.
46530         * sysdeps/i386/fpu/libm-test-ulps: Update.
46531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46533 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
46535         * benchtests/bench-skeleton.c (main): Preheat CPU.
46537 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
46539         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
46541 2013-05-07  Roland McGrath  <roland@hack.frob.com>
46543         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
46544         and _dl_skip_args_internal.
46546 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
46548         * manual/message.texi (Message Translation): Talk about users.
46549         Message to key mapping impacts design.
46551 2013-05-06  Roland McGrath  <roland@hack.frob.com>
46553         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
46555         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
46557         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
46558         * sysdeps/wordsize-64/glob64.c: ... here.
46560         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
46561         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
46562         New macros.
46564         * debug/getlogin_r_chk.c: Moved to ...
46565         * login/getlogin_r_chk.c: ... here.
46566         * debug/Makefile (routines): Move getlogin_r_chk to ...
46567         * login/Makefile (routines): ... here.
46568         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
46569         * login/Versions (libc: GLIBC_2.4): ... here.
46571         * io/poll.c (__poll): Renamed from poll.
46572         Add libc_hidden_def.
46573         (poll): Define as weak alias.
46575         * debug/ptsname_r_chk.c: Moved to ...
46576         * login/ptsname_r_chk.c: ... here.
46577         * debug/Makefile (routines): Move ptsname_r_chk to ...
46578         * login/Makefile (routines): ... here.
46579         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
46580         * login/Versions (libc: GLIBC_2.4): ... here.
46582         * posix/getlogin.c: Moved to ...
46583         * login/getlogin.c: ... here.
46584         * posix/getlogin_r.c: Moved to ...
46585         * login/getlogin_r.c: ... here.
46586         * posix/getlogin_r.c: Moved to ...
46587         * login/getlogin_r.c: ... here.
46588         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
46589         * login/Makefile (routines): ... here.
46590         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
46591         * login/Versions (libc: GLIBC_2.0): ... here.
46593         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
46594         (setrlimit): Define as weak alias.
46596         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
46597         Call __ names for open, ftruncate, and close.
46598         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
46599         (truncate): Define as weak alias.
46601 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
46603         * math/gen-libm-test.pl (parse_args): Initialize x before each
46604         test of frexp, modf and remquo.
46606         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
46607         test signgam value.
46609 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46611         [BZ #15418]
46612         [BZ #15419]
46613         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
46614         internal tests.
46615         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46617 2013-05-06  Roland McGrath  <roland@hack.frob.com>
46619         * elf/dl-writev.h: New file.
46620         * elf/dl-misc.c: Include it.
46621         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
46622         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
46624 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
46626         * math/libm-test.inc (noXFails): Remove variable.
46627         (noXPasses): Likewise.
46628         (BUILD_COMPLEX_INT): Remove macro.
46629         (print_screen): Remove xfail argument.
46630         (print_screen_max_error): Likewise.
46631         (update_stats): Likewise.
46632         (print_max_error): Likewise.  Update calls to other affected
46633         functions.
46634         (print_complex_max_error): Likewise.
46635         (test_single_exception): Update calls to print_screen.
46636         (test_single_errno): Likewise.
46637         (check_float_internal): Remove xfail argument.  Update calls to
46638         other affected functions.
46639         (check_float): Likewise.
46640         (check_complex): Likewise.
46641         (check_int): Likewise.
46642         (check_long): Likewise.
46643         (check_bool): Likewise.
46644         (check_longlong): Likewise.
46645         (main): Don't print noXFails and noXPasses.
46646         * math/gen-libm-test.pl (top level): Don't mention expected
46647         failure handling in comment.
46648         (new_test): Don't handle expected failures.
46649         (parse_args): Don't mention expected failure handling in comment.
46650         (generate_testfile): Don't handle expected failures.
46651         (parse_ulps): Likewise.
46652         (print_ulps_file): Likewise.
46653         (get_failure): Remove function.
46654         (output_test): Don't handle expected failures.
46655         * make/README.libm-test: Don't mention expected failure handling.
46657         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
46658         (minus_zero): Likewise.
46659         (plus_infty): Likewise.
46660         (minus_infty): Likewise.
46661         (qnan_value): Likewise.
46662         (max_value): Likewise.
46663         (min_value): Likewise.
46664         (min_subnorm_value): Likewise.
46665         (initialize): Do not initialize those variables dynamically.
46667 2013-05-03  Roland McGrath  <roland@hack.frob.com>
46669         * io/open.c (__open_2): Moved to ...
46670         * io/open_2.c: ... this new file.
46671         * io/open64.c (__open64_2): Moved to ...
46672         * io/open64_2.c: ... this new file.
46673         * io/openat.c (__openat_2): Moved to ...
46674         * io/openat_2.c: ... this new file.
46675         * io/openat64.c (__openat64_2): Moved to ...
46676         * io/openat64_2.c: ... this new file.
46677         * io/Makefile (routines): Add them.
46678         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
46679         * sysdeps/unix/sysv/linux/open_2.c: File removed.
46680         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
46681         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
46682         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
46683         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
46684         (__openat64): Add hidden_ver.
46685         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
46686         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
46688         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
46689         Separately conditionalize setting of GLRO(dl_sysinfo) so
46690         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
46691         as well, but the actual setting is only under [NEED_DL_SYSINFO].
46693 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46695         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
46696         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
46697         definition.
46698         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
46699         * sysdeps/unix/sysv/linux/powerpc/init-first.c
46700         (_libc_vdso_platform_setup): Add __vdso_time initialization.
46701         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
46702         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
46704 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
46706         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
46707         test signgam value.
46709         * math/libm-test.inc (hypot_test): Do not use
46710         IGNORE_ZERO_INF_SIGN.
46712 2013-05-03  Andreas Jaeger  <aj@suse.de>
46714         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
46715         Linux 3.9.
46716         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
46717         (PF_MAX): Adjust for VSOCK change.
46719 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46721         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46723 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
46725         [BZ #15264]
46726         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
46727         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
46728         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
46730 2013-05-02  David S. Miller  <davem@davemloft.net>
46732         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46734 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
46736         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
46738 2013-05-01  Roland McGrath  <roland@hack.frob.com>
46740         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
46742 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
46744         [BZ #14952]
46745         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
46746         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
46747         Use __attribute__ ((__gnu_inline__)).
46748         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
46749         Don't use __attribute__ ((__gnu_inline__)).
46751 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
46753         [BZ #15423]
46754         * math/s_catan.c (__catan): Handle small real or imaginary part of
46755         input specially to avoid spurious underflow.
46756         * math/s_catanf.c (__catanf): Likewise.
46757         * math/s_catanh.c (__catanh): Likewise.
46758         * math/s_catanhf.c (__catanhf): Likewise.
46759         * math/s_catanhl.c (__catanhl): Likewise.
46760         * math/s_catanl.c (__catanl): Likewise.
46761         * math/libm-test.inc (catan_test): Add more tests.
46762         (catanh_test): Likewise.
46763         * sysdeps/i386/fpu/libm-test-ulps: Update.
46764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46766 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46768         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46770 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
46772         [BZ #15416]
46773         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
46774         accurately for denominator in atan2.
46775         * math/s_catanf.c (__catanf): Likewise.
46776         * math/s_catanh.c (__catanh): Likewise.
46777         * math/s_catanhf.c (__catanhf): Likewise.
46778         * math/s_catanhl.c (__catanhl): Likewise.
46779         * math/s_catanl.c (__catanl): Likewise.
46780         * math/libm-test.inc (catan_test): Add more tests.
46781         (catanh_test): Likewise.
46782         * sysdeps/i386/fpu/libm-test-ulps: Update.
46783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46785 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46787         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
46789         * benchtests/Makefile (bench): Remove slow benchmarks.
46790         * benchtests/atan-inputs: Add slow benchmark inputs.
46791         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
46792         (BENCH_FUNC): Accept variant offset.
46793         (VARIANT): Define.
46794         * benchtests/bench-skeleton.c (main): Run benchmark for each
46795         variant.
46796         * benchtests/cos-inputs: Add slow benchmark inputs.
46797         * benchtests/exp-inputs: Likewise.
46798         * benchtests/pow-inputs: Likewise.
46799         * benchtests/sin-inputs: Likewise.
46800         * benchtests/slowatan-inputs: Remove.
46801         * benchtests/slowatan.c: Remove.
46802         * benchtests/slowcos-inputs: Remove.
46803         * benchtests/slowcos.c: Remove.
46804         * benchtests/slowexp-inputs: Remove.
46805         * benchtests/slowexp.c: Remove.
46806         * benchtests/slowpow-inputs: Remove.
46807         * benchtests/slowpow.c: Remove.
46808         * benchtests/slowsin-inputs: Remove.
46809         * benchtests/slowsin.c: Remove.
46810         * benchtests/slowtan-inputs: Remove.
46811         * benchtests/slowtan.c: Remove.
46812         * benchtests/tan-inputs: Add slow benchmark inputs.
46813         * scripts/bench.pl: Parse comments and directives.
46815         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
46816         in CPPFLAGS.
46817         ($(objpfx)bench-%.c): Remove *-ITER.
46818         * benchtests/bench-modf.c: Remove definition of ITER.
46819         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
46820         (main): Loop for DURATION seconds instead of fixed number of
46821         iterations.
46822         * scripts/bench.pl: Don't expect iterations in parameters.
46824 2013-04-29  Roland McGrath  <roland@hack.frob.com>
46826         * io/fchdir.c (__fchdir): Renamed from fchdir.
46827         (fchdir): Define as weak alias.
46829 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
46831         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
46832         (ERRNO_EDOM): Likewise.
46833         (ERRNO_ERANGE): Likewise.
46834         (noErrnoTests): New variable.
46835         (init_max_error): Set errno to 0.
46836         (test_single_errno): New function.
46837         (test_errno): Likewise.
46838         (check_float_internal): Call test_errno.  Set errno to 0.
46839         (check_complex): Refer to errno tests in comment.
46840         (check_int): Call test_errno.  Set errno to 0.
46841         (check_long): Likewise.
46842         (check_bool): Likewise.
46843         (check_longlong): Likewise.
46844         (cos_test): Use ERRNO_* flags for errno tests instead of
46845         check_int.
46846         (expm1_test): Likewise.
46847         (fmod_test): Likewise.
46848         (ilogb_test): Likewise.
46849         (lgamma_test): Likewise.
46850         (pow_test): Likewise.
46851         (remainder_test): Likewise.
46852         (sin_test): Likewise.
46853         (tan_test): Likewise.
46854         (yn_test): Likewise.
46855         (initialize): Set errno to 0.
46856         (main): Print number of errno tests.
46857         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
46859 2013-04-29  Andreas Jaeger  <aj@suse.de>
46861         [BZ #15084]
46862         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
46863         and RES_USEVC.
46865         [BZ #15085]
46866         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
46867         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
46868         unimplemented.
46870         [BZ #15380]
46871         * stdlib/random.c (__initstate): Return NULL if
46872         __initstate fails.
46874         [BZ #15086]
46875         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
46876         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
46877         RES_SNGLKUPREOP.
46879 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46881         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46883 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
46885         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
46886         of individual tests.
46887         (casin_test): Likewise.
46888         (casinh_test): Likewise.
46890 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
46892         [BZ #15409]
46893         * math/s_catan.c (__catan): Handle arguments with large real or
46894         imaginary part separately without squaring.
46895         * math/s_catanf.c (__catanf): Likewise.
46896         * math/s_catanh.c (__catanh): Likewise.
46897         * math/s_catanhf.c (__catanhf): Likewise.
46898         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
46899         and redefine.
46900         (__catanhl): Handle arguments with large real or imaginary part
46901         separately without squaring.
46902         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
46903         and redefine.
46904         (__catanl): Handle arguments with large real or imaginary part
46905         separately without squaring.
46906         * math/libm-test.inc (catan_test): Add more tests.
46907         (catanh_test): Likewise.
46908         * sysdeps/i386/fpu/libm-test-ulps: Update.
46909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46911 2013-04-27  Andreas Jaeger  <aj@suse.de>
46913         [BZ #15007]
46914         * stdlib/stdlib.h: Update guards for qecvt.
46915         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
46916         <stdlib.h>.
46918 2013-04-27  Allan McRae  <allan@archlinux.org>
46920         * sysdeps/i386/fpu/libm-test-ulps: Update.
46922 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
46924         [BZ #15406]
46925         * math/s_catan.c: Include <float.h>.
46926         (__catan): Ensure underflow exception occurs for underflowed
46927         result.
46928         * math/s_catanf.c: Include <float.h>.
46929         (__catanf): Ensure underflow exception occurs for underflowed
46930         result.
46931         * math/s_catanh.c: Include <float.h>.
46932         (__catanh): Ensure underflow exception occurs for underflowed
46933         result.
46934         * math/s_catanhf.c: Include <float.h>.
46935         (__catanhf): Ensure underflow exception occurs for underflowed
46936         result.
46937         * math/s_catanhl.c: Include <float.h>.
46938         (__catanhl): Ensure underflow exception occurs for underflowed
46939         result.
46940         * math/s_catanl.c: Include <float.h>.
46941         (__catanl): Ensure underflow exception occurs for underflowed
46942         result.
46943         * math/libm-test.inc (catan_test): Add more tests.
46944         (catanh_test): Likewise.
46946         [BZ #15405]
46947         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
46948         underflowed result.
46949         * math/s_ccoshf.c (__ccoshf): Likewise.
46950         * math/s_ccoshl.c (__ccoshl): Likewise.
46951         * math/s_csin.c (__csin): Likewise.
46952         * math/s_csinf.c (__csinf): Likewise.
46953         * math/s_csinh.c (__csinh): Likewise.
46954         * math/s_csinhf.c (__csinhf): Likewise.
46955         * math/s_csinhl.c (__csinhl): Likewise.
46956         * math/s_csinl.c (__csinl): Likewise.
46957         * math/libm-test.inc (ccos_test): Add more tests.
46958         (ccosh_test): Likewise.
46959         (csin_test): Likewise.
46960         (csinh_test): Likewise.
46962 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46964         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
46965         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
46966         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
46967         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
46968         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
46969         powerpc/power5+/fpu folders.
46970         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
46973 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
46975         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46977 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
46979         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
46980         additions to variable.
46981         [$(config-machine) = x86_64] (modules-names): Likewise.
46982         ($(objpfx)tst-audit3): Remove dependency.
46983         ($(objpfx)tst-audit3.out): Likewise.
46984         ($(objpfx)tst-audit4): Likewise.
46985         ($(objpfx)tst-audit4.out): Likewise.
46986         ($(objpfx)tst-audit5): Likewise.
46987         ($(objpfx)tst-audit5.out): Likewise.
46988         ($(objpfx)tst-audit6): Likewise.
46989         ($(objpfx)tst-audit6.out): Likewise.
46990         ($(objpfx)tst-audit7): Likewise.
46991         ($(objpfx)tst-audit7.out): Likewise.
46992         (tst-audit3-ENV): Remove variable.
46993         (tst-audit4-ENV): Likewise.
46994         (tst-audit5-ENV): Likewise.
46995         (tst-audit6-ENV): Likewise.
46996         (tst-audit7-ENV): Likewise.
46997         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
46998         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
46999         addition to variable.
47000         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
47001         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
47002         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
47003         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
47004         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
47005         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
47006         tst-audit3, tst-audit4 and tst-audit5.
47007         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
47008         tst-audit6 and tst-audit7.
47009         [$(subdir) = elf] (modules-names): Add audit modules for those
47010         tests.
47011         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
47012         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
47013         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
47014         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
47015         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
47016         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
47017         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
47018         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
47019         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
47020         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
47021         [$(subdir) = elf] (tst-audit3-ENV): New variable.
47022         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
47023         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
47024         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
47025         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
47026         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
47027         Likewise.
47028         [$(subdir) = elf && $(config-cflags-avx) = yes]
47029         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
47030         [$(subdir) = elf && $(config-cflags-avx) = yes]
47031         (CFLAGS-tst-auditmod4a.c): Likewise.
47032         [$(subdir) = elf && $(config-cflags-avx) = yes]
47033         (CFLAGS-tst-auditmod4b.c): Likewise.
47034         [$(subdir) = elf && $(config-cflags-avx) = yes]
47035         (CFLAGS-tst-auditmod6b.c): Likewise.
47036         [$(subdir) = elf && $(config-cflags-avx) = yes]
47037         (CFLAGS-tst-auditmod6c.c): Likewise.
47038         [$(subdir) = elf && $(config-cflags-avx) = yes]
47039         (CFLAGS-tst-auditmod7b.c): Likewise.
47040         * elf/tst-audit3.c: Move to ...
47041         * sysdeps/x86_64/tst-audit3.c: ... here.
47042         * elf/tst-audit4.c: Move to ...
47043         * sysdeps/x86_64/tst-audit4.c: ... here.
47044         * elf/tst-audit5.c: Move to ...
47045         * sysdeps/x86_64/tst-audit5.c: ... here.
47046         * elf/tst-audit6.c: Move to ...
47047         * sysdeps/x86_64/tst-audit6.c: ... here.
47048         * elf/tst-audit7.c: Move to ...
47049         * sysdeps/x86_64/tst-audit7.c: ... here.
47050         * elf/tst-auditmod3a.c: Move to ...
47051         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
47052         * elf/tst-auditmod3b.c: Move to ...
47053         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
47054         * elf/tst-auditmod4a.c: Move to ...
47055         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
47056         * elf/tst-auditmod4b.c: Move to ...
47057         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
47058         * elf/tst-auditmod5a.c: Move to ...
47059         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
47060         * elf/tst-auditmod5b.c: Move to ...
47061         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
47062         * elf/tst-auditmod6a.c: Move to ...
47063         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
47064         * elf/tst-auditmod6b.c: Move to ...
47065         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
47066         * elf/tst-auditmod6c.c: Move to ...
47067         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
47068         * elf/tst-auditmod7a.c: Move to ...
47069         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
47070         * elf/tst-auditmod7b.c: Move to ...
47071         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
47073 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
47075         [BZ #15366]
47076         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
47077         define unconditionally.
47078         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
47079         define unconditionally.
47080         (INT8_C, INT16_C, etc.): Likewise.
47082 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
47084         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
47085         __ehdr_start with hidden visibility.
47087         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
47089 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
47091         * math/libm-test.inc (cos_test): Use accurate hex constants.
47092         (sincost_test): Likewise.
47094 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
47096         * math/libm-test.inc (catan_test): Add more tests.
47097         (catanh_test): Likewise.
47099         * math/s_catanf.c (__catanf): Use suffixed floating-point
47100         constants.
47101         * math/s_catanhf.c (__catanhf): Likewise.
47102         * math/s_catanhl.c (__catanhl): Likewise.
47103         * math/s_catanl.c (__catanl): Likewise.
47105         [BZ #15394]
47106         * math/s_catan.c (__catan): Calculate imaginary part of result
47107         with log1p not log unless computing log of number close to 0.
47108         * math/s_catanf.c (__catanf): Likewise.
47109         * math/s_catanl.c (__catanl): Likewise.
47110         * math/s_catanh.c (__catanh): Calculate real part of result with
47111         log1p not log unless computing log of number close to 0.
47112         * math/s_catanhf.c (__catanhf): Likewise.
47113         * math/s_catanhl.c (__catanhl): Likewise.
47114         * math/libm-test.inc (catan_test): Add more tests.
47115         (catanh_test): Likewise.
47116         * sysdeps/i386/fpu/libm-test-ulps: Update.
47117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47119 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47121         * benchtests/Makefile: Mention files in which fast and slow
47122         paths of math functions are implemented.
47124 2013-04-23  Roland McGrath  <roland@hack.frob.com>
47126         * sysdeps/posix/timespec_get.c: New file.
47128 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47130         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
47131         POWER.
47132         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
47133         for POWER.
47134         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
47135         powerpc/power5/fpu folders.
47136         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
47137         * benchtests/Makefile: Add modf testcase.
47138         * benchtests/bench-modf.c: New file: Benchmark test for mo
47140 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47142         [BZ #14888]
47143         * time/Makefile (tests): Add tst-strptime-whitespace.
47144         * time/strptime_l.c (get_number): Use ISSPACE.
47145         (__strptime_internal): Likewise.
47146         * time/tst-strptime-whitespace.c: New test case.
47148 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
47150         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
47151         member.
47152         (_nss_files_init): Set it here.
47154 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
47156         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
47157         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
47158         unsigned.
47160 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
47162         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
47164 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47166         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
47167         size just once.
47169 2013-04-21  David S. Miller  <davem@davemloft.net>
47171         * po/ru.po: Update Russion translation from translation project.
47173 2013-04-17  Adam Conrad  <adconrad@0c3.net>
47175         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
47176         and setfsgid.
47178 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
47180         * configure.in: Remove i386 configure warning. Remove i386 case.
47181         * configure: Regenerate.
47182         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
47183         Add example to error message.
47184         * sysdeps/i386/configure: Regenerate.
47186 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47188         * benchtests/Makefile (bench): Add cos, tan, slowcos and
47189         slowtan.
47190         * benchtests/cos-inputs: New file.
47191         * benchtests/slowcos-inputs: New file.
47192         * benchtests/slowcos.c: New file.
47193         * benchtests/slowtan-inputs: New file.
47194         * benchtests/slowtan.c: New file.
47195         * benchtests/tan-inputs: New file.
47197 2013-04-16  Roland McGrath  <roland@hack.frob.com>
47199         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
47200         considered kosher.
47202 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47204         * benchtests/Makefile: Include cppflags-iterator.mk to add
47205         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
47207         * Makefile.in (bench-clean): New target.
47208         * benchtests/Makefile (bench-clean): Likewise.
47210 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
47212         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
47214 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
47216         * stdio-common/tstdiomisc.c: Fix coding-style violation.
47218 2013-04-15  Andreas Schwab  <schwab@suse.de>
47220         * nscd/grpcache.c (cache_addgr): Properly check for short write.
47221         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47222         * nscd/pwdcache.c (cache_addpw): Likewise.
47223         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
47224         more than recsize.
47226 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47228         * benchtests/Makefile (bench): Write all output to
47229         bench-out.tmp together.
47231 2013-04-15  Andreas Schwab  <schwab@suse.de>
47233         * nscd/nscd.c (main): Don't fork again after closing files.
47235 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47237         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
47239         * benchtests/Rules (bench-deps): Collect dependencies into a
47240         single variable.  Add Makefile to dependencies.
47241         ($(objpfx)bench-%.c): Depend on bench-deps.
47243 2013-04-12  Roland McGrath  <roland@hack.frob.com>
47244             Xavier Roche  <roche+kml2@exalead.com>
47246         [BZ #15361]
47247         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
47248         just that it's a file descriptor.
47249         * manual/llio.texi (Synchronizing AIO Operations): Update description
47250         for EBADF error from aio_fsync.
47252 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
47254         * Rules (bench): Move target definition...
47255         * benchtests/Makefile: ... here.
47257 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
47259         * math/libm-test.inc (cos_test): Fix PI/2 test.
47260         (sincos_test): Likewise.
47261         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
47262         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
47264 2013-04-11  Andreas Schwab  <schwab@suse.de>
47266         [BZ #13988]
47267         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
47268         accept exponent character only when digits were seen.
47269         * stdio-common/Makefile (tests): Add bug26.
47270         * stdio-common/bug26.c: New file.
47272         [BZ #14293]
47273         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
47274         non-freeable.
47276 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47278         * Makeconfig (rtld-prefix): Define built linker prefix.
47279         * Rules (run-bench): Use it.
47280         * math/Makefile (run-regen-ulps): Likewise.
47282         * Rules (bench): Remove eval.
47284 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47285             Roland McGrath  <roland@hack.frob.com>
47286             Ondrej Bilka  <neleai@seznam.cz>
47288         [BZ #15346]
47289         * time/getdate.c: Include ctype.h and alloca.h.
47290         (__getdate_r): Trim leading and trailing spaces of input.
47291         * time/tst-getdate.c (tests): Add tests with leading and
47292         trailing spaces.
47294 2013-04-08  Roland McGrath  <roland@hack.frob.com>
47296         [BZ #14280]
47297         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
47298         when computing value.
47300 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47302         * math/README.libm-test (How can I generate "libm-test-ulps"?):
47303         Use testrun.sh to run libm tests.
47305         [BZ #15309]
47306         * elf/dl-open.c (dl_open_worker): memset all of seen array.
47308 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
47310         [BZ #15264]
47311         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
47313 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47315         * Makefile.in (regen-ulps): New target.
47316         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
47317         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
47318         [ifneq (no,$(PERL)] (regen-ulps): New target.
47319         [ifeq (no,$(PERL)] (regen-ulps): New target.
47320         * math/libm-test.inc (ulps_file_name): Define.
47321         (output_dir): New variable.
47322         (options): Add "output-dir" option.
47323         (parse_opt): Handle 'o' case.
47324         (main): If output_dir is non-NULL use it as a prefix
47325         otherwise use "".
47326         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
47328 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47330         [BZ #10060, #10062]
47331         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
47332         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
47333         fail configure if __sync_val_compare_and_swap is not inlined.
47334         * sysdeps/i386/configure: Regenerate.
47335         * configure.in: Build for i686 when configured for i386.
47336         * configure: Regenerate.
47337         * README: Remove i386 reference.
47339 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47341         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
47342         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47344 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
47346         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
47347         (lmsnanval): New variables.
47348         (F): Add conversion tests.
47349         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
47350         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
47352         * stdio-common/tstdiomisc.c (F): Properly collect individual
47353         tests' results.
47355         [BZ #14686, #15336]
47356         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
47357         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
47358         Instead, use input NaN values or generate a qNaN by arithmetic
47359         operation.  Also fix bugs to comply with the standard.
47360         * math/libm-test.inc (remainder_test): Add more tests.
47362         [BZ #15335, #15342]
47363         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
47364         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
47365         input NaN values or generate a qNaN by arithmetic operation.
47367         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
47368         unreachable code.
47370         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
47371         definitions.
47373 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
47375         [BZ #14478]
47376         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
47377         underflowed result.
47378         * math/s_cexpf.c (__cexpf): Likewise.
47379         * math/s_cexpl.c (__cexpl): Likewise.
47380         * math/libm-test.inc (cexp_test): Add more tests.
47382 2013-04-03  Andreas Schwab  <schwab@suse.de>
47384         [BZ #15330]
47385         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
47386         order arrays from heap if bigger than alloca cutoff.
47388 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
47390         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
47391         (SNAN_TESTS_double): Refer to GCC PR56831.
47392         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
47393         GCC PR56828.
47395 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47397         * Rules (bench): Move bench.out after the run is complete.
47399         * Rules (bench): Echo currently running benchmark.
47401         * benchtests/Makefile (bench): Add atan and slowatan.
47402         * benchtests/atan-inputs: New file.
47403         * benchtests/slowatan-inputs: New file.
47404         * benchtests/slowatan.c: New file.
47406         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
47407         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
47408         its value.
47410         [BZ #15305]
47411         * sysdeps/unix/sysv/linux/kernel-features.h
47412         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
47413         __ASSUME_XFS_RESTRICTED_CHOWN.
47414         * sysdeps/unix/sysv/linux/pathconf.c
47415         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
47416         Save and restore errno.
47418 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
47420         [BZ #15327]
47421         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
47422         arguments using __kernel_casinh.
47423         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
47424         arguments using __kernel_casinhf.
47425         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
47426         arguments using __kernel_casinhl.
47427         * math/libm-test.inc (cacosh_test): Add more tests.
47428         * sysdeps/i386/fpu/libm-test-ulps: Update.
47429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47431 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47433         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
47434         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
47436         * bench/Makefile (bench): Add sin and slowsin.
47437         * benchtests/sin-inputs: New file.
47438         * benchtests/slowsin-inputs: New file.
47439         * benchtests/slowsin.c: New file.
47441         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
47442         (bench): Add slowexp and slowpow.
47443         (exp-ITER): Increase iterations.
47444         (pow-ITER): Likewise.
47445         * benchtests/exp-inputs: Change input.
47446         * benchtests/pow-inputs: Likewise.
47447         * benchtests/slowexp-inputs: New file.
47448         * benchtests/slowexp.c: New file.
47449         * benchtests/slowpow-inputs: New file.
47450         * benchtests/slowpow.c: New file.
47452 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47454         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
47455         instructions.
47456         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47457         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
47458         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
47459         * benchtests/Makefile: Add rint benchtest.
47460         * benchtests/rint-inputs: Input for rint benchtest.
47462 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
47464         * Versions.def (libm): Add GLIBC_2.18.
47465         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
47466         hidden libm prototypes.
47467         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
47468         * math/Makefile (libm-calls): Add s_issignaling.
47469         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
47470         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
47471         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
47472         declaration.
47473         * math/math.h [__USE_GNU] (issignaling): New macro.
47474         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
47475         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
47476         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
47477         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
47478         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
47479         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
47480         * manual/arith.texi (issignaling): New section.
47481         * manual/libm-err-tab.pl (@all_functions): Update comment.
47482         * math/gen-libm-test.pl (parse_args): Apply special handling for
47483         issignaling.
47484         * math/libm-test.inc (print_float, issignaling_test): New
47485         functions.
47486         (check_float_internal): Add issignaling checks.
47487         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
47488         default definition.
47489         * sysdeps/powerpc/math-tests.h: New file.
47490         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
47491         tests.
47492         * math/test-snan.c (TEST_FUNC): Likewise.
47494 2013-03-30  David S. Miller  <davem@davemloft.net>
47496         * po/de.po: Update from translation team.
47498 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
47500         [BZ #10357]
47501         * math/k_casinh.c (__kernel_casinh): Handle arguments with
47502         imaginary part less than 1.0 and real part less than 0.5
47503         specially.
47504         * math/k_casinhf.c (__kernel_casinhf): Likewise.
47505         * math/k_casinhl.c (__kernel_casinhl): Likewise.
47506         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
47507         (cacos_test): Add more tests.
47508         (casin_test): Likewise.
47509         (casinh_test): Likewise.
47510         * sysdeps/i386/fpu/libm-test-ulps: Update.
47511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47513 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47515         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
47516         ONE with its value.
47518         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
47519         (__pow_mp): Replace ONE and MONE with their values.
47520         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
47521         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
47522         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
47523         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
47524         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
47525         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
47527         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
47529         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
47530         (__pow_mp): Replace ZERO and MZERO with their values.
47531         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
47532         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
47533         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
47534         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
47535         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
47536         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
47537         (__sqr): Likewise.
47539         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
47541         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
47543 2013-03-28  Roland McGrath  <roland@hack.frob.com>
47545         * include/stdlib.h [!SHARED] (__call_tls_dtors):
47546         Declare with __attribute__ ((weak)).
47547         * stdlib/exit.c (__libc_atexit) [!SHARED]:
47548         Call __call_tls_dtors only if it's not NULL.
47550 2013-03-28  Roland McGrath  <roland@hack.frob.com>
47552         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
47553         didn't do it already, then set _dl_phdr and _dl_phnum based on the
47554         magic __ehdr_start linker symbol if it's defined.
47555         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
47556         them up here if it was already done.
47558         * elf/dl-support.c (_dl_phdr): Make pointer to const.
47559         (_dl_aux_init): Use const in cast when setting it.
47560         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
47561         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
47562         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
47564         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
47565         Declare them here.
47566         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
47567         * csu/libc-tls.c: Nor here.
47568         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
47570         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
47571         (__libc_message): Never call vsyslog.
47573 2013-03-28  Alan Modra  <amodra@gmail.com>
47575         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
47576         Define as empty.
47577         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
47578         Likewise.
47580 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47582         [BZ #15214]
47583         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
47584         underflow.
47585         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47587 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47589         [BZ #15304]
47590         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
47591         Don't add gid passed as argument.
47593         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
47595 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
47597         [BZ #15307]
47598         * math/k_casinh.c (__kernel_casinh): Handle arguments with
47599         imaginary part between 1.0 and 1.5 and real part less than 0.5
47600         specially.
47601         * math/k_casinhf.c (__kernel_casinhf): Likewise.
47602         * math/k_casinhl.c (__kernel_casinhl): Likewise.
47603         * math/libm-test.inc (cacos_test): Add more tests.
47604         (casin_test): Likewise.
47605         (casinh_test): Likewise.
47606         * sysdeps/i386/fpu/libm-test-ulps: Update.
47607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47609 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47611         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
47612         constants.
47613         (norm): Likewise.
47614         (denorm): Likewise.
47615         (__dbl_mp): Likewise.
47616         (add_magnitudes): Likewise.
47617         (sub_magnitudes): Likewise.
47618         (__add): Likewise.
47619         (__sub): Likewise.
47620         (__mul): Likewise.
47621         (__sqr): Likewise.
47622         (__inv): Likewise.
47623         (__dvd): Likewise.
47625         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
47626         commented code.
47627         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
47628         (__dubcos): Likewise.
47629         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
47630         (__ieee754_acos): Likewise.
47631         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
47632         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
47633         (__exp1): Likewise.
47634         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
47635         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47636         (log1): Likewise.
47637         (my_log2): Likewise.
47638         (checkint): Likewise.
47639         * sysdeps/ieee754/dbl-64/e_remainder.c
47640         (__ieee754_remainder): Likewise.
47641         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
47642         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
47643         (bsloww): Likewise.
47644         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
47646         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
47647         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
47648         MANTISSA_STORE_T to store computations on mantissa.  Use
47649         macros for rounding and division.
47650         (denorm): Likewise.
47651         (__dbl_mp): Likewise.
47652         (add_magnitudes): Likewise.
47653         (sub_magnitudes): Likewise.
47654         (__mul): Likewise.
47655         (__sqr): Likewise.
47656         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
47657         powers of two in terms of TWOPOW macro.
47658         (mp_no): Make type of mantissa as MANTISSA_T.
47659         [!RADIXI]: Define RADIXI.
47660         [!TWO52]: Define TWO52.
47661         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
47663 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47665         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
47666         llroundl symbol when building for PPC32.
47668 2013-03-24  Mark H Weaver  <mhw@netris.org>
47670         * manual/arith.texi (Normalization Functions): Fix prototypes for
47671         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
47673 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47675         [BZ #13889]
47676         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
47677         high value to check if expl overflow.
47678         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
47679         to check for underflow and overflow.
47680         * math/libm-test.inc: Add exp test.
47682 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
47684         [BZ #11120]
47685         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
47686         with NOT_IN_libc.
47688 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47690         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
47691         symbol.
47693 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
47695         * math/gen-libm-test.pl (parse_args, special_functions): Properly
47696         wrap blocks consisting of several statements.
47698         * sysdeps/generic/math-tests.h: New file.
47699         * sysdeps/i386/fpu/math-tests.h: Likewise.
47700         * math/test-snan.c: Include it.
47701         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
47703 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
47705         [BZ #15285]
47706         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
47707         (__ieee754_j0l): Do not improve calculations using cos of twice
47708         input for inputs above LDBL_MAX / 2.0L.
47709         (__ieee754_y0l): Likewise.
47710         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
47711         (__ieee754_j1l): Do not improve calculations using cos of twice
47712         input for inputs above LDBL_MAX / 2.0L.
47713         (__ieee754_y1l): Likewise.
47714         * math/libm-test.inc (j0_test): Add another test.
47715         (j1_test): Likewise.
47716         (y0_test): Likewise.
47717         (y1_test): Likewise.
47718         * sysdeps/i386/fpu/libm-test-ulps: Update.
47720 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47722         * Rules ($(objpfx)bench-%.c): Include code from a C source
47723         file.
47725 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
47727         [BZ #15287]
47728         * math/k_casinh.c (__kernel_casinh): Handle arguments with
47729         imaginary part 1.0 and real part less than 0.5 specially.
47730         * math/k_casinhf.c (__kernel_casinhf): Likewise.
47731         * math/k_casinhl.c (__kernel_casinhl): Likewise.
47732         * math/libm-test.inc (cacos_test): Add more tests.
47733         (casin_test): Likewise.
47734         (casinh_test): Likewise.
47735         * sysdeps/i386/fpu/libm-test-ulps: Update.
47736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47738 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47740         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
47741         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
47743 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
47745         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
47746         * config.make.in (config-cflags-sse4): Remove variable.
47747         (config-cflags-avx): Likewise.
47748         (config-cflags-sse2avx): Likewise.
47749         (config-cflags-novzeroupper): Likewise.
47750         (config-asflags-i686): Likewise.
47751         (have-mfma4): Likewise.
47752         (have-as-vis3): Likewise.
47753         (MIG): Likewise.
47754         * configure.in (MIG): Do not AC_SUBST.
47755         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
47756         (libc_cv_cc_sse4): Do not AC_SUBST.
47757         (libc_cv_cc_avx): Likewise.
47758         (libc_cv_cc_sse2avx): Likewise.
47759         (libc_cv_cc_novzeroupper): Likewise.
47760         (libc_cv_cc_fma4): Likewise.
47761         (libc_cv_as_i686): Likewise.
47762         (libc_cv_sparc_as_vis3): Likewise.
47763         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
47764         LIBC_CONFIG_VAR.
47765         (config-asflags-i686): Likewise.
47766         (config-cflags-avx): Likewise.
47767         (config-cflags-sse2avx): Likewise.
47768         (have-mfma4): Likewise.
47769         (config-cflags-novzeroupper): Likewise.
47770         * sysdeps/mach/configure.in (MIG): Likewise.
47771         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
47772         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
47773         LIBC_CONFIG_VAR.
47774         (config-cflags-avx): Likewise.
47775         (config-cflags-sse2avx): Likewise.
47776         (have-mfma4): Likewise.
47777         (config-cflags-novzeroupper): Likewise.
47778         * configure: Regenerated.
47779         * sysdeps/i386/configure: Likewise.
47780         * sysdeps/mach/configure: Likewise.
47781         * sysdeps/sparc/configure: Likewise.
47782         * sysdeps/x86_64/configure: Likewise.
47784 2013-03-20  Roland McGrath  <roland@hack.frob.com>
47786         [BZ #14812]
47787         * locale/programs/localedef.c (options): Put N_ translation marker
47788         on argument names, not just descriptions.
47790 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47792         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
47794 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
47796         [BZ #14176]
47797         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
47799 2013-03-19  Roland McGrath  <roland@hack.frob.com>
47801         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
47802         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
47803         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
47804         [!BEFORE_ABORT] (before_abort): New function.
47805         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
47806         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
47807         (writev_for_fatal): New function.
47808         (WRITEV_FOR_FATAL): New macro; call that.
47809         (backtrace_and_maps): New function.
47810         (BEFORE_ABORT): New macro; call that.
47811         (struct str_list): Type removed.
47812         (__libc_message, __libc_fatal): Functions removed.
47813         Include <sysdeps/posix/libc_fatal.c> instead.
47815 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
47817         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
47818         constants.
47819         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
47820         double constants.
47822 2013-03-19  Andreas Schwab  <schwab@suse.de>
47824         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
47825         * sysdeps/gnu/configure: Regenerate.
47827         * configure.in: Substitute libc_cv_rtlddir.
47828         * configure: Regenerate.
47829         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
47830         * Makeconfig (rtlddir, inst_rtlddir): New variables.
47831         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
47832         * elf/Makefile (install-others, CFLAGS-interp.c)
47833         (ldso_install, common-ldd-rewrite): Likewise.
47834         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
47835         $(inst_slibdir)/$(rtld-installed-name).
47836         * scripts/rellns-sh: Add -p option.
47837         * Makerules (make-shlib-link): Use rellns-sh to get relative name
47838         for source.
47840 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47842         * manual/nptl.texi: Renamed to ...
47843         * manual/threads.texi: ... this.
47844         * manual/Makefile (chapters): Update.
47846 2013-03-18  Roland McGrath  <roland@hack.frob.com>
47848         [BZ #14812]
47849         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
47850         on argument names, not just descriptions.
47851         * malloc/memusagestat.c (options): Likewise.
47852         * nss/getent.c (options): Likewise.
47854 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
47856         [BZ #14812]
47857         * iconv/iconv_prog.c (options): Put N_ translation marker
47858         on argument names, not just descriptions.
47859         * iconv/iconvconfig.c (options): Likewise.
47861 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
47863         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
47864         implementation which is faster on all x86_64 architectures.
47865         Tested on AMD, Intel Nehalem, SNB, IVB.
47866         * sysdeps/x86_64/strnlen.S: Likewise.
47868         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47869         Remove all multiarch strlen and strnlen versions.
47870         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
47871         Remove strlen and strnlen related parts.
47873         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
47874         Inline strlen part.
47875         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
47877         * sysdeps/x86_64/multiarch/strlen.S: Remove.
47878         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
47879         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
47880         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
47881         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
47882         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
47884 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
47886         * manual/memory.texi (Malloc Tunable Parameters):
47887         Sort parameters alphabetically. Add comments for missing entries.
47889 2013-03-17  David S. Miller  <davem@davemloft.net>
47891         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47893 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
47895         [BZ #15283]
47896         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
47897         for arguments at most half maximum finite value.
47898         * math/libm-test.inc (j0_test): Add more tests.
47899         (j1_test): Likewise.
47900         (y0_test): Likewise.
47901         (y1_test): Likewise.
47902         * sysdeps/i386/fpu/libm-test-ulps: Update.
47903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47905         [BZ #14155]
47906         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
47907         1 / x and functions P and Q for arguments above 0x1p256L.
47908         (__ieee754_y0l): Likewise.
47909         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
47910         (__ieee754_y1l): Likewise.
47911         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
47912         (j1_test): Likewise.
47913         (y0_test): Likewise.
47914         (y1_test): Likewise.
47916 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
47918         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
47919         variable.
47921 2013-03-15  Roland McGrath  <roland@hack.frob.com>
47923         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
47924         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
47925         zero since it's initialized to EXEC_PAGESIZE.
47927         * sysdeps/unix/sysv/linux/ldsodefs.h
47928         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
47929         * sysdeps/generic/ldsodefs.h: ... here.
47931 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
47933         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
47935         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
47936         math/test-snan.c.
47937         * math/test-snan.c: Renamed from
47938         sysdeps/powerpc/fpu/test-powerpc-snan.c.
47939         * math/Makefile (tests): Add test-snan.
47940         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
47941         test-powerpc-snan.
47943         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
47944         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
47945         functions.
47946         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
47947         __builtin_nan family of functions.
47948         * math/libm-test.inc (initialize): Initialize qnan_value with
47949         __builtin_nan family of functions.
47950         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
47951         Remove variables.
47952         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
47953         Remove functions.
47954         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
47955         storage class.  Initialize qNaN_var and sNaN_var with
47956         __builtin_nan and __builtin_nans families of functions,
47957         respectively.
47959         * math/libm-test.inc (acosh_test): Also test with qNaN input.
47960         (sqrt_test): Remove duplicate test with qNaN input.
47961         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
47962         (round_test, signbit_test, significand_test): Note missing +/-Inf
47963         as well as qNaN tests.
47965         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
47966         qNaN_var.  Fix a few strings, too.
47967         * math/libm-test.inc (nan_value): Rename to qnan_value.
47968         * math/gen-libm-test.pl (%beautify): Adjust to that.
47969         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
47970         * math/test-misc.c (main): Likewise.
47971         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
47972         to __qnan_bytes, and __qnan_union, respectively.
47973         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
47974         Likewise.
47975         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
47976         and lqnanval, respectively.
47977         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
47978         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
47979         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
47980         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
47982         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
47983         * math/test-misc.c (main) [__x86_64__]: Enable test for long
47984         doubles.
47986         * math/test-misc.c (main): Fix copy'n'pastos.
47987         * misc/tst-efgcvt.c (special): Likewise.
47989         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
47990         Remove declarations.
47992 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47994         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
47995         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
47996         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
47997         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
47999 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48001         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
48002         macro to return vdso values correctly in IFUNC implementations.
48003         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
48004         Optimization by using IFUNC.
48006 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48007             Richard Henderson  <rth@redhat.com>
48008             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48010         * Makefile.in (bench): New target.
48011         * NEWS: Mention the benchmark framework.
48012         * Rules (bench): Likewise.
48013         (binaries-bench): Generate binaries for functions to
48014         benchmark.
48015         * benchtests/Makefile: New makefile for benchmark tests.
48016         * benchtests/bench-skeleton.c: New skeleton file for benchmark
48017         programs.
48018         * benchtests/exp-inputs: New input file for EXP function.
48019         * benchtests/pow-inputs: New input file for POW function.
48020         * scripts/bench.pl: New script to generate source files for
48021         benchmark programs.
48023 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48025         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
48026         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
48027         computations on mantissa.  Use macros for rounding and
48028         division.
48029         (denorm): Likewise.
48030         (__dbl_mp): Likewise.
48031         (add_magnitudes): Likewise.
48032         (sub_magnitudes): Likewise.
48033         (__mul): Likewise.
48034         (__sqr): Likewise.
48035         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
48036         powers of two in terms of TWOPOW macro.
48037         (mp_no): Make type of mantissa as MANTISSA_T.
48038         [!RADIXI]: Define RADIXI.
48039         [!TWO52]: Define TWO52.
48040         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
48042         * manual/nptl.texi (cindex): Modify threads to pthreads.
48044 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
48046         * sysdeps/x86_64/preconfigure: Regenerated.
48048 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
48050         [BZ #14155]
48051         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
48052         0x1p28 and above.
48053         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
48054         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
48055         0x1p28 and above.
48056         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
48057         * math/libm-test.inc (j0_test): Do not allow one spurious
48058         underflow exception.
48059         (y1_test): Likewise.
48061 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48063         * manual/Makefile (chapters): Add nptl.
48064         * manual/debug.texi (Debugging Support): Add link to Threads
48065         chapter.
48066         * manual/nptl.texi: New file.
48068         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
48070 2013-03-14  Petr Baudis  <pasky@ucw.cz>
48072         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
48073         for non-NULL pointer before the memory validity test. Pointed
48074         out by Holger Brunck <holger.brunck@keymile.com>.
48076 2013-03-13  Andreas Schwab  <schwab@suse.de>
48078         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
48079         instead of .os.
48081 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
48083         * timezone/zic.c: Update from tzcode 2013b.
48085 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
48087         * manual/install.texi (Configuring and compiling):
48088         Mention i686 and i586.
48089         * INSTALL: Regenerate.
48091 2013-03-12  Roland McGrath  <roland@hack.frob.com>
48093         * sysdeps/init_array/elf-init.c: New file.
48094         * csu/elf-init.c
48095         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
48096         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
48098         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
48099         __gmon_start__ as global, but as static with a .preinit_array pointer.
48100         * sysdeps/init_array/gmon-start.c: New file.  Use that.
48101         * sysdeps/init_array/crti.S: New file, empty except for comments.
48102         * sysdeps/init_array/crtn.S: Likewise.
48104 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
48106         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
48107         definining bcopy.
48108         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48109         Remove Prefer_SSE_for_memop.
48110         * sysdeps/x86_64/multiarch/init-arch.h: Remove
48111         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
48112         HAS_PREFER_SSE_FOR_MEMOP.
48113         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
48114         memset-x86-64.
48115         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48116         Remove bzero, memset ifunc support.
48117         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
48118         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
48119         * sysdeps/x86_64/multiarch/memset.S: Likewise.
48120         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
48122 2013-03-11  Andreas Schwab  <schwab@suse.de>
48124         [BZ #15234]
48125         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
48126         by SHLIB_COMPAT.
48127         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
48128         (GLIBC_2.16): Remove pthread_atfork.
48130 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
48132         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
48133         (ptestcases.h): Likewise.
48135 2013-03-08  Roland McGrath  <roland@hack.frob.com>
48137         * Makeconfig ($(common-objpfx)config.status): Depend on
48138         sysdeps/*/preconfigure{,.in} too.
48140 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
48142         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
48143         (__free_hook): Use void * instead of __malloc_ptr_t.
48144         (__malloc_hook): Likewise.
48145         (__realloc_hook): Likewise.
48146         (__memalign_hook): Likewise.
48147         (__after_morecore_hook): Likewise.
48148         * malloc/arena.c (save_malloc_hook): Likewise.
48149         (save_free_hook): Likewise.
48150         * malloc/hooks.c (malloc_hook_ini): Likewise.
48151         (realloc_hook_ini): Likewise.
48152         (memalign_hook_ini): Likewise.
48153         * malloc/malloc.c (malloc_hook_ini): Likewise.
48154         (realloc_hook_ini): Likewise.
48155         (memalign_hook_ini): Likewise.
48156         (__free_hook): Likewise.
48157         (__malloc_hook): Likewise.
48158         (__realloc_hook): Likewise.
48159         (__memalign_hook): Likewise.
48160         (__libc_malloc): Likewise.
48161         (__libc_free): Likewise.
48162         (__libc_realloc): Likewise.
48163         (__libc_memalign): Likewise.
48164         (__libc_valloc): Likewise.
48165         (__libc_pvalloc): Likewise.
48166         (__libc_calloc): Likewise.
48167         (__posix_memalign): Likewise.
48168         * malloc/morecore.c (__sbrk): Likewise.
48169         (__default_morecore): Likewise.
48171         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
48173         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
48174         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
48175         __malloc_ptrdiff_t.
48177         * malloc/malloc.h (__malloc_size_t): Remove macro.
48178         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
48179         __malloc_size_t.
48180         (old_memalign_hook): Likewise.
48181         (old_realloc_hook): Likewise.
48182         (struct hdr): Likewise.
48183         (flood): Likewise.
48184         (mallochook): Likewise.
48185         (memalignhook): Likewise.
48186         (reallochook): Likewise.
48187         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
48188         (tr_old_realloc_hook): Likewise.
48189         (tr_old_memalign_hook): Likewise.
48190         (tr_mallochook): Likewise.
48191         (tr_reallochook): Likewise.
48192         (tr_memalignhook): Likewise.
48194 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48196         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
48197         default_ldbl_pack and using as default implementation.
48198         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
48199         implementation.
48200         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
48201         redundant definition.
48202         (ldbl_insert_mantissa): Likewise.
48203         (ldbl_canonicalize): Likewise.
48204         (ldbl_nearbyint): Likewise.
48205         (ldbl_pack): Rename to ldbl_pack_ppc.
48206         (ldbl_unpack): Rename to ldbl_unpack_ppc.
48207         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
48208         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
48210 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
48212         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
48213         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
48214         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
48215         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
48216         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
48217         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
48218         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
48219         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
48221 2013-03-07  Andreas Jaeger  <aj@suse.de>
48223         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48224         bits/mman-linux.h.
48226 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
48228         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
48229         Include mpa.h and declare __MPEXP.
48230         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
48231         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
48232         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
48233         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
48234         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
48235         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
48236         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
48238         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
48239         (__slowpow): Use long double EXPL and LOGL functions to
48240         compute POW.
48241         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
48242         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
48243         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
48244         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
48245         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
48246         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
48248         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
48249         intermediate variable to calculate exponent.
48250         (__sqr): Likewise.
48251         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
48252         Likewise.
48253         (__sqr): Likewise.
48255         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
48256         [!NO__SQR]: Define __sqr.
48257         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
48258         and NO__SQR.  Remove all code except __mul and __sqr.  Include
48259         sysdeps/ieee754/dbl-64/mpa.c.
48260         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48262         [BZ #12723]
48263         * posix/Makefile (tests): Add tst-pathconf.
48264         * posix/tst-pathconf.c: New test case.
48265         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
48266         _PC_PIPE_BUF.
48267         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
48269 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
48271         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
48273 2013-03-06  Andreas Jaeger  <aj@suse.de>
48275         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
48276         definition via __MAP_ANONYMOUS.
48278         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
48279         it's not part of Linux headers.
48281         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
48282         (MAP_HUGE_MASK): Define.
48284         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48285         Define.
48286         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48287         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48288         Define.
48289         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48290         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48291         Define.
48292         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48293         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
48294         Define.
48295         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48297         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
48298         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
48299         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
48300         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
48301         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
48302         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
48304         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48305         Handle f2fs.
48307         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48308         Handle f2fs and efivarfs.
48310         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
48311         f2fs.
48313         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
48314         (EFIVARFS_MAGIC): Add.
48315         (F2FS_LINK_MAX): Add.
48317 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
48319         * stdio-common/vfprintf.c: Replace __builtin_expect with
48320         __glibc_unlikely.
48322 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
48324         [BZ #13550]
48325         * sysdeps/generic/bp-sym.h: Remove file.
48326         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
48327         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
48328         <bp-sym.h> and <bp-asm.h>.
48329         (__longjmp): Don't use BP_SYM.
48330         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
48331         and <bp-asm.h>.
48332         (memcpy): Don't use BP_SYM.
48333         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
48334         <bp-sym.h> and <bp-asm.h>.
48335         (memcpy): Don't use BP_SYM.
48336         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
48337         <bp-asm.h>.
48338         (memcpy): Don't use BP_SYM.
48339         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
48340         <bp-asm.h>.
48341         (memset): Don't use BP_SYM.
48342         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48343         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48344         (__bzero): Don't use BP_SYM.
48345         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48346         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48347         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
48348         <bp-sym.h> and <bp-asm.h>.
48349         (memcmp): Don't use BP_SYM.  Remove comment about bounded
48350         pointers.
48351         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
48352         <bp-sym.h> and <bp-asm.h>.
48353         (memcpy): Don't use BP_SYM.
48354         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
48355         <bp-sym.h> and <bp-asm.h>.
48356         (memset): Don't use BP_SYM.
48357         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48358         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48359         (__bzero): Don't use BP_SYM.
48360         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48361         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48362         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
48363         <bp-sym.h> and <bp-asm.h>.
48364         (strncmp): Don't use BP_SYM.  Remove comment about bounded
48365         pointers.
48366         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
48367         <bp-sym.h> and <bp-asm.h>.
48368         (memcpy): Don't use BP_SYM.
48369         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
48370         <bp-sym.h> and <bp-asm.h>.
48371         (memset): Don't use BP_SYM.
48372         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48373         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48374         (__bzero): Don't use BP_SYM.
48375         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48376         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48377         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
48378         <bp-sym.h> and <bp-asm.h>.
48379         (__memchr): Don't use BP_SYM.
48380         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
48381         <bp-sym.h> and <bp-asm.h>.
48382         (memcmp): Don't use BP_SYM.  Remove comment about bounded
48383         pointers.
48384         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
48385         <bp-sym.h> and <bp-asm.h>.
48386         (memcpy): Don't use BP_SYM.
48387         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
48388         <bp-sym.h> and <bp-asm.h>.
48389         (__mempcpy): Don't use BP_SYM.
48390         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
48391         <bp-sym.h> and <bp-asm.h>.
48392         (__memrchr): Don't use BP_SYM.
48393         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
48394         <bp-sym.h> and <bp-asm.h>.
48395         (memset): Don't use BP_SYM.
48396         (__bzero): Likewise.
48397         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
48398         <bp-sym.h> and <bp-asm.h>.
48399         (__rawmemchr): Don't use BP_SYM.
48400         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
48401         <bp-sym.h> and <bp-asm.h>.
48402         (__STRCMP): Don't use BP_SYM.
48403         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
48404         <bp-sym.h> and <bp-asm.h>.
48405         (strchr): Don't use BP_SYM.
48406         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
48407         <bp-sym.h> and <bp-asm.h>.
48408         (__strchrnul): Don't use BP_SYM.
48409         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
48410         <bp-sym.h> and <bp-asm.h>.
48411         (strlen): Don't use BP_SYM.
48412         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
48413         <bp-sym.h> and <bp-asm.h>.
48414         (strncmp): Don't use BP_SYM.  Remove comment about bounded
48415         pointers.
48416         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
48417         <bp-sym.h> and <bp-asm.h>.
48418         (__strnlen): Don't use BP_SYM.
48419         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
48420         <bp-sym.h> and <bp-asm.h>.
48421         (__GI__setjmp): Don't use BP_SYM.
48422         (_setjmp): Likewise.
48423         (__sigsetjmp): Likewise.
48424         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
48425         (L(start_addresses)): Don't use BP_SYM.
48426         (_start): Likewise.
48427         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
48428         <bp-asm.h>.
48429         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
48430         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
48431         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48432         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
48433         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
48434         <bp-asm.h>.
48435         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
48436         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
48437         about bounded pointers.
48438         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
48439         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
48440         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
48441         <bp-asm.h>.
48442         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
48443         about bounded pointers.  Remove GKM FIXME comments.
48444         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
48445         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
48446         <bp-asm.h>.
48447         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
48448         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
48449         Remove GKM FIXME comments.
48450         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48451         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
48452         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
48453         <bp-asm.h>.
48454         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
48455         about bounded pointers.  Remove GKM FIXME comment.
48456         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
48457         and <bp-asm.h>.
48458         (strncmp): Don't use BP_SYM.  Remove comment about bounded
48459         pointers.
48460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
48461         <bp-sym.h> and <bp-asm.h>.
48462         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
48463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
48464         <bp-sym.h> and <bp-asm.h>.
48465         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
48466         comment.
48468 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
48470         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
48471         call free(NULL).
48473 2013-03-05  David S. Miller  <davem@davemloft.net>
48475         * po/es.po: Update from translation team.
48477 2013-03-05  Andreas Jaeger  <aj@suse.de>
48479         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
48480         <bits/mman-linux.h>.
48481         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
48482         is fine.
48483         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
48484         <bits/mman-linux.h> to end of file.
48485         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
48486         is fine.
48487         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
48488         <bits/mman-linux.h> to end of file.
48489         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
48490         is fine.
48491         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
48492         <bits/mman-linux.h> to end of file.
48494         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
48495         (MCL_CURRENT, MCL_FUTURE): Define here.
48497 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48499         [BZ #15232]
48500         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
48501         attribute_hidden.
48502         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
48504 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48506         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
48507         fourth parameter needed for rt_sigprocmask syscall.
48508         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
48509         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
48510         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
48511         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
48512         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
48513         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
48515 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
48517         [BZ #13550]
48518         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
48519         comment about bounded pointers.
48520         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
48521         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
48523 2013-03-04  Andreas Jaeger  <aj@suse.de>
48525         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
48526         common definitions.
48528         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
48529         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
48530         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
48531         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48532         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48533         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48535 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48537         [BZ #15055]
48538         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
48539         __ieee754_sqrl instead of __sqrl.
48541 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
48543         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
48544         * sysdeps/powerpc/fpu_control.h: ... here.
48545         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
48546         * sysdeps/powerpc/bits/fenvinline.h: ... here.
48547         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
48548         * sysdeps/powerpc/bits/mathinline.h: ... here.
48550 2013-03-01  Roland McGrath  <roland@hack.frob.com>
48552         * elf/dl-hwcaps.c (_dl_important_hwcaps):
48553         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
48554         to just [NEED_DL_SYSINFO_DSO].
48555         * elf/dl-support.c: Likewise.
48556         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
48557         * elf/rtld.c (dl_main): Likewise.
48558         * elf/setup-vdso.h (setup_vdso): Likewise.
48559         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
48560         * sysdeps/unix/sysv/linux/dl-sysdep.c
48561         (_dl_discover_osversion): Likewise.
48563 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
48565         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
48566         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
48568 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
48570         * NEWS: Mention libm performance improvements and non-x86 PI
48571         futex support.
48573         * csu/libc-start.c (__pthread_initialize_minimal): Change
48574         function arguments.
48575         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
48577 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
48579         [BZ #13550]
48580         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
48581         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
48582         <bp-sym.h> and <bp-asm.h>.
48583         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
48584         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
48585         and <bp-asm.h>.
48586         (memcpy): Don't use BP_SYM.
48587         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
48588         <bp-asm.h>.
48589         (__mpn_add_n): Don't use BP_SYM.
48590         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
48591         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
48592         and <bp-asm.h>.
48593         (__mpn_addmul_1): Don't use BP_SYM.
48594         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48595         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
48596         <bp-sym.h>.
48597         (_setjmp): Don't use BP_SYM.
48598         (__novmx_setjmp): Likewise.
48599         (__GI__setjmp): Likewise.
48600         (__vmx_setjmp): Likewise.
48601         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
48602         <bp-sym.h>.
48603         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
48604         (__bzero): Don't use BP_SYM.
48605         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48606         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48607         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
48608         <bp-sym.h> and <bp-asm.h>.
48609         (memcpy): Don't use BP_SYM.
48610         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
48611         <bp-sym.h> and <bp-asm.h>.
48612         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
48613         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
48614         <bp-sym.h> and <bp-asm.h>.
48615         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
48616         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
48617         <bp-asm.h>.
48618         (__mpn_lshift): Don't use BP_SYM.
48619         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48620         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
48621         <bp-asm.h>.
48622         (memset): Don't use BP_SYM.
48623         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48624         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48625         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
48626         <bp-asm.h>.
48627         (__mpn_mul_1): Don't use BP_SYM.
48628         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48629         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
48630         <bp-sym.h> and <bp-asm.h>.
48631         (memcmp): Don't use BP_SYM.
48632         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
48633         <bp-sym.h> and <bp-asm.h>.
48634         (memcpy): Don't use BP_SYM.
48635         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
48636         <bp-sym.h> and <bp-asm.h>.
48637         (memset): Don't use BP_SYM.
48638         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
48639         <bp-sym.h> and <bp-asm.h>.
48640         (strncmp): Don't use BP_SYM.
48641         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
48642         <bp-sym.h> and <bp-asm.h>.
48643         (memcpy): Don't use BP_SYM.
48644         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
48645         <bp-sym.h> and <bp-asm.h>.
48646         (memset): Don't use BP_SYM.
48647         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
48648         <bp-sym.h> and <bp-asm.h>.
48649         (__memchr): Don't use BP_SYM.
48650         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
48651         <bp-sym.h> and <bp-asm.h>.
48652         (memcmp): Don't use BP_SYM.
48653         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
48654         <bp-sym.h> and <bp-asm.h>.
48655         (memcpy): Don't use BP_SYM.
48656         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
48657         <bp-sym.h> and <bp-asm.h>.
48658         (__mempcpy): Don't use BP_SYM.
48659         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
48660         <bp-sym.h> and <bp-asm.h>.
48661         (__memrchr): Don't use BP_SYM.
48662         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
48663         <bp-sym.h> and <bp-asm.h>.
48664         (memset): Don't use BP_SYM.
48665         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
48666         <bp-sym.h> and <bp-asm.h>.
48667         (__rawmemchr): Don't use BP_SYM.
48668         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
48669         <bp-sym.h> and <bp-asm.h>.
48670         (__STRCMP): Don't use BP_SYM.
48671         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
48672         <bp-sym.h> and <bp-asm.h>.
48673         (strchr): Don't use BP_SYM.
48674         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
48675         <bp-sym.h> and <bp-asm.h>.
48676         (__strchrnul): Don't use BP_SYM.
48677         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
48678         <bp-sym.h> and <bp-asm.h>.
48679         (strlen): Don't use BP_SYM.
48680         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
48681         <bp-sym.h> and <bp-asm.h>.
48682         (strncmp): Don't use BP_SYM.
48683         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
48684         <bp-sym.h> and <bp-asm.h>.
48685         (__strnlen): Don't use BP_SYM.
48686         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
48687         <bp-asm.h>.
48688         (__mpn_rshift): Don't use BP_SYM.
48689         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48690         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
48691         <bp-sym.h> and <bp-asm.h>.
48692         (__sigsetjmp): Don't use BP_SYM.
48693         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
48694         (L(start_addresses)): Don't use BP_SYM.
48695         (_start): Likewise.
48696         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
48697         <bp-asm.h>.
48698         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
48699         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48700         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
48701         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
48702         <bp-asm.h>.
48703         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
48704         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
48705         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
48706         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
48707         <bp-asm.h>.
48708         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
48709         comments.
48710         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
48711         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
48712         <bp-asm.h>.
48713         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
48714         FIXME comments.
48715         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48716         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
48717         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
48718         <bp-asm.h>.
48719         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
48720         comment.
48721         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
48722         and <bp-asm.h>.
48723         (strncmp): Don't use BP_SYM,
48724         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
48725         <bp-asm.h>.
48726         (__mpn_sub_n): Don't use BP_SYM.
48727         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48728         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
48729         and <bp-asm.h>.
48730         (__mpn_submul_1): Don't use BP_SYM.
48731         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
48733         <bp-sym.h> and <bp-asm.h>.
48734         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
48735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
48736         <bp-sym.h> and <bp-asm.h>.
48737         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
48738         comment.
48740 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48742         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
48743         Use ZK to minimize writes to Z.
48744         (sub_magnitudes): Simplify code a bit.
48745         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
48746         Use ZK to minimize writes to Z.
48747         (sub_magnitudes): Simplify code a bit.
48749 2013-02-27  Roland McGrath  <roland@hack.frob.com>
48751         * csu/gmon-start.c: Add special exception to license text.
48753 2013-02-27  Richard Henderson  <rth@redhat.com>
48755         * scripts/config.guess: Update from config.git.
48756         * scripts/config.sub: Likewise.
48758 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48760         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
48762         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
48764         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
48766         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
48768         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
48770 2013-02-26  Roland McGrath  <roland@hack.frob.com>
48772         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
48773         [$(build-shared = yes].
48775 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48777         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
48778         (__mul): Reduce iterations for calculating mantissa.
48780         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
48781         MPTWO.
48782         (__mpranred): Likewise.
48784         [BZ #15160]
48785         * malloc/memusagestat.c (main): Draw graphs for heap and stack
48786         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
48788 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
48790         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
48791         Define __attribute__.
48793 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48795         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
48796         unused.
48797         * posix/regex_internal.h (__attribute): Remove.
48798         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
48799         (re_string_context_at): Likewise.
48800         (bitset_not): Use __attribute__ and mark function as possibly
48801         unused.
48802         (bitset_merge): Likewise.
48803         (bitset_mask): Likewise.
48804         (re_string_char_size_at): Likewise.
48805         (re_string_wchar_at): Likewise.
48806         (re_string_elem_size_at): Likewise.
48808 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
48810         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
48811         code.
48812         (cc32): Likewise.
48814         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
48815         (__acr): Likewise.
48816         (__cpy): Likewise.
48817         (norm): Likewise.
48818         (denorm): Likewise.
48819         (__dbl_mp): Likewise.
48820         (add_magnitudes): Likewise.
48821         (sub_magnitudes): Likewise.
48822         (__mul): Likewise.
48823         (__inv): Likewise.
48825         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
48826         style.
48828         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
48829         style.
48831         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
48832         code.
48834         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
48835         up changes with default code.
48836         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
48837         Likewise.
48839 2013-02-24  Allan McRae  <allan@archlinux.org>
48841         * manual/socket.texi (The Internet Namespace): Order menu items
48842         to match that in the file.
48844         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
48845         node listing of the info page menu.
48847 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
48849         [BZ #13550]
48850         * sysdeps/i386/bp-asm.h: Remove file.
48851         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
48852         (PARMS): Do not use macros from bp-asm.h.
48853         (S1): Likewise.
48854         (S2): Likewise.
48855         (SIZE): Likewise.
48856         (__mpn_add_n): Do not use BP_SYM
48857         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
48858         "bp-asm.h".
48859         (PARMS): Do not use macros from bp-asm.h.
48860         (S1): Likewise.
48861         (SIZE): Likewise.
48862         (__mpn_addmul_1): Do not use BP_SYM
48863         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
48864         "bp-asm.h".
48865         (PARMS): Do not use macros from bp-asm.h.
48866         (SIGMSK): Likewise.
48867         (_setjmp): Likewise.  Do not use BP_SYM.
48868         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
48869         "bp-asm.h".
48870         (PARMS): Do not use macros from bp-asm.h.
48871         (SIGMSK): Likewise.
48872         (setjmp): Likewise.  Do not use BP_SYM.
48873         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
48874         "bp-asm.h".
48875         (PARMS): Do not use macros from bp-asm.h.
48876         (__frexp): Do not use BP_SYM.
48877         (frexp): Likewise.
48878         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
48879         "bp-asm.h".
48880         (PARMS): Do not use macros from bp-asm.h.
48881         (__frexpf): Do not use BP_SYM.
48882         (frexpf): Likewise.
48883         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
48884         "bp-asm.h".
48885         (PARMS): Do not use macros from bp-asm.h.
48886         (__frexpl): Do not use BP_SYM.
48887         (frexpl): Likewise.
48888         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
48889         "bp-asm.h".
48890         (PARMS): Do not use macros from bp-asm.h.
48891         (__remquo): Do not use BP_SYM.
48892         (remquo): Likewise.
48893         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
48894         "bp-asm.h".
48895         (PARMS): Do not use macros from bp-asm.h.
48896         (__remquof): Do not use BP_SYM.
48897         (remquof): Likewise.
48898         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
48899         "bp-asm.h".
48900         (PARMS): Do not use macros from bp-asm.h.
48901         (__remquol): Do not use BP_SYM.
48902         (remquol): Likewise.
48903         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
48904         "bp-asm.h".
48905         (PARMS): Do not use macros from bp-asm.h.
48906         (DEST): Likewise.
48907         (SRC): Likewise.
48908         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
48909         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
48910         "bp-asm.h".
48911         (PARMS): Do not use macros from bp-asm.h.
48912         (strlen): Do not use BP_SYM.
48913         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
48914         "bp-asm.h".
48915         (PARMS): Do not use macros from bp-asm.h.
48916         (S1): Likewise.
48917         (S2): Likewise.
48918         (SIZE): Likewise.
48919         (__mpn_add_n): Do not use BP_SYM.
48920         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
48921         "bp-asm.h".
48922         (PARMS): Do not use macros from bp-asm.h.
48923         (S1): Likewise.
48924         (SIZE): Likewise.
48925         (__mpn_addmul_1): Do not use BP_SYM.
48926         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
48927         weak_alias.
48928         (bzero): Likewise.
48929         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
48930         "bp-asm.h".
48931         (PARMS): Do not use macros from bp-asm.h.
48932         (S): Likewise.
48933         (SIZE): Likewise.
48934         (__mpn_lshift): Do not use BP_SYM.
48935         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
48936         "bp-asm.h".
48937         (PARMS): Do not use macros from bp-asm.h.
48938         (DEST): Likewise.
48939         (SRC): Likewise.
48940         (LEN): Likewise.
48941         (memcpy): Likewise.  Do not use BP_SYM.
48942         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
48943         libc_hidden_def and weak_alias.
48944         (mempcpy): Do not use BP_SYM in weak_alias.
48945         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
48946         "bp-asm.h".
48947         (PARMS): Do not use macros from bp-asm.h.
48948         (DEST): Likewise.
48949         (LEN): Likewise.
48950         [!BZERO_P] (CHR): Likewise.
48951         (memset): Likewise.  Do not use BP_SYM.
48952         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
48953         "bp-asm.h".
48954         (PARMS): Do not use macros from bp-asm.h.
48955         (S1): Likewise.
48956         (SIZE): Likewise.
48957         (__mpn_mul_1): Do not use BP_SYM.
48958         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
48959         "bp-asm.h".
48960         (PARMS): Do not use macros from bp-asm.h.
48961         (S): Likewise.
48962         (SIZE): Likewise.
48963         (__mpn_rshift): Do not use BP_SYM.
48964         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
48965         "bp-asm.h".
48966         (PARMS): Do not use macros from bp-asm.h.
48967         (STR): Likewise.
48968         (CHR): Likewise.
48969         (strchr): Likewise.  Do not use BP_SYM.
48970         (index): Do not use BP_SYM in weak_alias.
48971         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
48972         "bp-asm.h".
48973         (PARMS): Do not use macros from bp-asm.h.
48974         (DEST): Likewise.
48975         (SRC): Likewise.
48976         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
48977         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
48978         "bp-asm.h".
48979         (PARMS): Do not use macros from bp-asm.h.
48980         (strlen): Do not use BP_SYM.
48981         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
48982         "bp-asm.h".
48983         (PARMS): Do not use macros from bp-asm.h.
48984         (S1): Likewise.
48985         (S2): Likewise.
48986         (SIZE): Likewise.
48987         (__mpn_sub_n): Do not use BP_SYM.
48988         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
48989         "bp-asm.h".
48990         (PARMS): Do not use macros from bp-asm.h.
48991         (S1): Likewise.
48992         (SIZE): Likewise.
48993         (__mpn_submul_1): Do not use BP_SYM.
48994         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
48995         "bp-asm.h".
48996         (PARMS): Do not use macros from bp-asm.h.
48997         (S1): Likewise.
48998         (S2): Likewise.
48999         (SIZE): Likewise.
49000         (__mpn_add_n): Do not use BP_SYM.
49001         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
49002         weak_alias.
49003         (bzero): Likewise.
49004         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
49005         "bp-asm.h".
49006         (PARMS): Do not use macros from bp-asm.h.
49007         (BLK2): Likewise.
49008         (LEN): Likewise.
49009         (memcmp): Do not use BP_SYM.
49010         (bcmp): Do not use BP_SYM in weak_alias.
49011         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
49012         "bp-asm.h".
49013         (PARMS): Do not use macros from bp-asm.h.
49014         (DEST): Likewise.
49015         (SRC): Likewise.
49016         (LEN): Likewise.
49017         (memcpy): Likewise.  Do not use BP_SYM.
49018         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
49019         "bp-asm.h".
49020         (PARMS): Do not use macros from bp-asm.h.
49021         (DEST): Likewise.
49022         (SRC): Likewise.
49023         (LEN): Likewise.
49024         (memmove): Likewise.  Do not use BP_SYM.
49025         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
49026         "bp-asm.h".
49027         (PARMS): Do not use macros from bp-asm.h.
49028         (DEST): Likewise.
49029         (SRC): Likewise.
49030         (LEN): Likewise.
49031         (__mempcpy): Likewise.  Do not use BP_SYM.
49032         (mempcpy): Do not use BP_SYM in weak_alias.
49033         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
49034         "bp-asm.h".
49035         (PARMS): Do not use macros from bp-asm.h.
49036         (DEST): Likewise.
49037         (LEN): Likewise.
49038         [!BZERO_P] (CHR): Likewise.
49039         (memset): Likewise.  Do not use BP_SYM.
49040         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
49041         "bp-asm.h".
49042         (PARMS): Do not use macros from bp-asm.h.
49043         (STR2): Likewise.
49044         (strcmp): Do not use BP_SYM.
49045         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
49046         "bp-asm.h".
49047         (PARMS): Do not use macros from bp-asm.h.
49048         (STR): Likewise.
49049         (DELIM): Likewise.
49050         [USE_AS_STRTOK_R] (SAVE): Likewise.
49051         (FUNCTION): Likewise.  Do not use BP_SYM.
49052         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
49053         aliases.
49054         (strtok_r): Likewise.
49055         (__GI___strtok_r): Likewise.
49056         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
49057         (PARMS): Do not use macros from bp-asm.h.
49058         (S): Likewise.
49059         (SIZE): Likewise.
49060         (__mpn_lshift): Do not use BP_SYM.
49061         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
49062         (PARMS): Do not use macros from bp-asm.h.
49063         (STR): Likewise.
49064         (CHR): Likewise.
49065         (__memchr): Do not use BP_SYM.
49066         (memchr): Do not use BP_SYM in weak_alias.
49067         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
49068         (PARMS): Do not use macros from bp-asm.h.
49069         (BLK2): Likewise.
49070         (LEN): Likewise.
49071         (memcmp): Do not use BP_SYM.
49072         (bcmp): Do not use BP_SYM in weak_alias.
49073         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
49074         (PARMS): Do not use macros from bp-asm.h.
49075         (S1): Likewise.
49076         (SIZE): Likewise.
49077         (__mpn_mul_1): Do not use BP_SYM.
49078         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
49079         "bp-asm.h".
49080         (PARMS): Do not use macros from bp-asm.h.
49081         (STR): Likewise.
49082         (CHR): Likewise.
49083         (__rawmemchr): Do not use BP_SYM.
49084         (rawmemchr): Do not use BP_SYM in weak_alias.
49085         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
49086         (PARMS): Do not use macros from bp-asm.h.
49087         (S): Likewise.
49088         (SIZE): Likewise.
49089         (__mpn_rshift): Do not use BP_SYM.
49090         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
49091         (PARMS): Do not use macros from bp-asm.h.
49092         (SIGMSK): Likewise.
49093         (__sigsetjmp): Likewise.  Do not use BP_SYM.
49094         * sysdeps/i386/start.S: Do not include "bp-sym.h".
49095         (_start): Do not use BP_SYM.
49096         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
49097         (PARMS): Do not use macros from bp-asm.h.
49098         (DEST): Likewise.
49099         (SRC): Likewise.
49100         (__stpcpy): Likewise.  Do not use BP_SYM.
49101         (stpcpy): Do not use BP_SYM in weak_alias.
49102         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
49103         "bp-asm.h".
49104         (PARMS): Do not use macros from bp-asm.h.
49105         (DEST): Likewise.
49106         (SRC): Likewise.
49107         (LEN): Likewise.
49108         (__stpncpy): Likewise.  Do not use BP_SYM.
49109         (stpncpy): Do not use BP_SYM in weak_alias.
49110         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
49111         (PARMS): Do not use macros from bp-asm.h.
49112         (STR): Likewise.
49113         (CHR): Likewise.
49114         (strchr): Likewise.  Do not use BP_SYM.
49115         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
49116         "bp-asm.h".
49117         (PARMS): Do not use macros from bp-asm.h.
49118         (STR): Likewise.
49119         (CHR): Likewise.
49120         (__strchrnul): Likewise.  Do not use BP_SYM.
49121         (strchrnul): Do not use BP_SYM in weak_alias.
49122         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
49123         "bp-asm.h".
49124         (PARMS): Do not use macros from bp-asm.h.
49125         (STOP): Likewise.
49126         (strcspn): Do not use BP_SYM.
49127         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
49128         "bp-asm.h".
49129         (PARMS): Do not use macros from bp-asm.h.
49130         (STR): Likewise.
49131         (STOP): Likewise.
49132         (strpbrk): Likewise.  Do not use BP_SYM.
49133         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
49134         "bp-asm.h".
49135         (PARMS): Do not use macros from bp-asm.h.
49136         (STR): Likewise.
49137         (CHR): Likewise.
49138         (strrchr): Likewise.  Do not use BP_SYM.
49139         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
49140         (PARMS): Do not use macros from bp-asm.h.
49141         (SKIP): Likewise.
49142         (strspn): Do not use BP_SYM.
49143         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
49144         (PARMS): Do not use macros from bp-asm.h.
49145         (STR): Likewise.
49146         (DELIM): Likewise.
49147         (SAVE): Likewise.
49148         (FUNCTION): Likewise.  Do not use BP_SYM.
49149         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
49150         aliases.
49151         (strtok_r): Likewise.
49152         (__GI___strtok_r): Likewise.
49153         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
49154         (PARMS): Do not use macros from bp-asm.h.
49155         (S1): Likewise.
49156         (S2): Likewise.
49157         (SIZE): Likewise.
49158         (__mpn_sub_n): Do not use BP_SYM.
49159         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
49160         "bp-asm.h".
49161         (PARMS): Do not use macros from bp-asm.h.
49162         (S1): Likewise.
49163         (SIZE): Likewise.
49164         (__mpn_submul_1): Do not use BP_SYM.
49165         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
49166         <bp-sym.h>.
49167         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
49168         and <bp-asm.h>.
49169         (PARMS): Do not use macros from bp-asm.h.
49170         (FLAGS): Likewise.
49171         (PTID): Likewise.
49172         (TLS): Likewise.
49173         (CTID): Likewise.
49174         (__clone): Do not use BP_SYM.
49175         (clone): Do not use BP_SYM in weak_alias.
49176         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
49177         and <bp-asm.h>.
49178         (PARMS): Do not use macros from bp-asm.h.
49179         (LEN): Likewise.
49180         (__mmap64): Do not use BP_SYM.
49181         (mmap64): Do not use BP_SYM in weak_alias.
49182         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
49183         <bp-sym.h> and <bp-asm.h>.
49184         (PARMS): Do not use macros from bp-asm.h.
49185         (__posix_fadvise64_l64): Do not use BP_SYM.
49186         * sysdeps/unix/sysv/linux/i386/semtimedop.S
49187         (PARMS): Do not use macros from bp-asm.h.
49188         (NSOPS): Likewise.
49189         (semtimedop): Do not use BP_SYM.
49190         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
49191         and <bp-asm.h>.
49193 2013-02-21  Allan McRae  <allan@archlinux.org>
49195         * manual/message.texi (Charset conversion in gettext):
49196         Move @end statement to beginning of line.
49198 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49200         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
49201         static.
49202         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
49203         Likewise.
49205         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
49206         (denorm): Likewise.
49207         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
49208         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
49210 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49212         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
49213         tail-call to the resolved function if pltexit isn't needed.
49215 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49217         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
49218         or Y being zero as being unlikely.
49219         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
49220         Likewise.
49222 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
49224         * manual/nss.texi (System Databases and Name Service Switch):
49225         Remove frobnicate @pxref.
49227 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
49229         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
49230         __attribute__ ((unused)) to __attribute__ ((__unused__)).
49232 2013-02-20  Petr Machata  <pmachata@redhat.com>
49234         * elf/elf.h (R_ARM_TARGET1): New macro.
49235         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
49236         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
49237         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
49238         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
49239         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
49240         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
49241         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
49242         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
49243         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
49244         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
49245         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
49246         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
49247         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
49248         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
49249         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
49250         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
49251         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
49252         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
49253         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
49254         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
49255         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
49256         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
49257         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
49258         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
49259         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
49260         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
49261         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
49262         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
49263         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
49264         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
49265         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
49266         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
49267         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
49268         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
49269         (R_ARM_THM_GOT_BREL12): Likewise.
49270         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
49271         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
49272         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
49273         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
49274         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
49275         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
49276         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
49277         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
49278         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
49280 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
49282         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
49283         __attribute_used__ to __attribute__ ((unused)).
49285 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49287         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
49288         powerpc mpa.c.
49289         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
49290         comment formatting.
49291         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
49293 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
49295         [BZ #13550]
49296         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
49297         Remove macro.
49298         (ENTER): Remove both macro definitions.
49299         (LEAVE): Likewise.
49300         (CHECK_BOUNDS_LOW): Likewise.
49301         (CHECK_BOUNDS_HIGH): Likewise.
49302         (CHECK_BOUNDS_BOTH): Likewise.
49303         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
49304         (RETURN_BOUNDED_POINTER): Likewise.
49305         (RETURN_NULL_BOUNDED_POINTER): Likewise.
49306         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
49307         (POP_ERRNO_LOCATION_RETURN): Likewise.
49308         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
49309         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49310         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
49311         macros.
49312         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49313         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
49314         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
49315         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
49316         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
49317         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
49318         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
49319         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
49320         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
49321         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
49322         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
49323         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
49324         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49325         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
49326         removed macros.
49327         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49328         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
49329         macros.
49330         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49331         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
49332         * sysdeps/i386/i586/memset.S (memset): Likewise.
49333         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
49334         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49335         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
49336         macros.
49337         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49338         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
49339         Change uses of L(2) to L(out).
49340         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
49341         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
49342         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
49343         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49344         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
49345         removed macros.
49346         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49347         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
49348         macros.
49349         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49350         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
49351         (RETURN): Do not use macro LEAVE.
49352         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
49353         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
49354         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
49355         * sysdeps/i386/i686/memset.S (memset): Likewise.
49356         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
49357         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
49358         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49359         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
49360         Likewise.
49361         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49362         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
49363         L(1_2) and L(1_3) into L(1).
49364         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
49365         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
49366         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49367         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
49368         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49369         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
49370         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
49371         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49372         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
49373         macros.
49374         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
49375         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49376         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
49377         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
49378         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
49379         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49380         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
49381         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
49382         * sysdeps/i386/strcspn.S (strcspn): Likewise.
49383         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
49384         * sysdeps/i386/strrchr.S (strrchr): Likewise.
49385         * sysdeps/i386/strspn.S (strspn): Likewise.
49386         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
49387         conditional code.
49388         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49389         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
49390         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
49391         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
49392         L(1_3) into L(1_1).
49393         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
49394         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49395         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
49396         macros.
49397         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49399 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
49401         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
49402         macro.
49404 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49406         * math/atest-exp.c (exp_mpn): Remove ROUND.
49407         * math/atest-exp2.c (exp_mpn): Likewise.
49408         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
49410         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
49411         * stdlib/tst-tls-atexit-lib.c: Likewise.
49412         * stdlib/tst-tls-atexit.c: Likewise.
49414 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
49416         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
49417         and __attribute_alloc_size__.
49419 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
49421         * include/programs/xmalloc.h: Change __attribute_alloc_size to
49422         __attribute_alloc_size__.
49423         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
49424         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
49426 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
49428         * include/programs/xmalloc.h: New file.
49429         * catgets/gencat.c: Include it.
49430         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
49431         * elf/pldd.c: Likewise.
49432         * iconv/iconv_charmap.c: Likewise.
49433         * iconv/iconvconfig.c: Likewise.
49434         * iconv/strtab.c: Likewise.
49435         * locale/programs/locale.c: Likewise.
49436         * locale/programs/localedef.h: Likewise.
49437         * locale/programs/simple-hash.c: Likewise.
49438         * nscd/nscd.h: Likewise.
49439         * nss/makedb.c: Likewise.
49440         * sysdeps/generic/ldconfig.h: Likewise.
49442 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
49444         * Versions.def: Add GLIBC_2.18.
49445         * include/link.h (struct link_map): New member l_tls_dtor_count.
49446         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
49447         (__call_tls_dtors): Likewise.
49448         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
49449         __cxa_thread_atexit_impl.
49450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49451         Likewise.
49452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49453         Likewise.
49454         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
49455         Likewise.
49456         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
49457         Likewise.
49458         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
49459         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
49460         Likewise.
49461         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
49462         Likewise.
49463         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
49464         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
49465         Likewise.
49466         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
49467         (tests): Add test case tst-tls-atexit.
49468         (modules-names): Add shared library for tst-tls-atexit.
49469         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
49470         (GLIBC_PRIVATE): Add __call_tls_dtors.
49471         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
49472         for libstdc++.
49473         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
49474         * stdlib/tst-tls-atexit.c: New test case.
49475         * stdlib/tst-tls-atexit-lib.c: New test case.
49477         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
49479         * elf/Versions (ld): Add _dl_find_dso_for_object.
49480         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
49481         * elf/dl-open.c (_dl_find_dso_for_object): New function.
49482         (dl_open_worker): Use _dl_find_dso_for_object.
49483         * elf/dl-sym.c (do_sym): Likewise.
49484         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
49486 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49488         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
49489         Syntactic changes only.
49490         (_dl_runtime_profile): Do a tail-call to the resolved function.
49492 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
49494         [BZ #13550]
49495         * sysdeps/x86_64/bp-asm.h: Remove file.
49496         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
49497         <bp-sym.h> and <bp-asm.h>.
49498         (__clone): Do not use BP_SYM.
49499         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
49500         <bp-sym.h> and <bp-asm.h>.
49501         * sysdeps/unix/x86_64/sysdep.S: Likewise.
49502         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
49503         "bp-asm.h".
49504         (_setjmp): Do not use BP_SYM.
49505         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
49506         "bp-asm.h".
49507         (setjmp): Do not use BP_SYM.
49508         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
49509         libc_hidden_def.
49510         (mempcpy): Do not use BP_SYM in weak_alias.
49511         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
49512         "bp-asm.h".
49513         (strchr): Do not use BP_SYM.
49514         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
49515         "bp-asm.h".
49516         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
49517         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
49518         (_start): Do not use BP_SYM.
49519         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
49520         "bp-asm.h".
49521         (strcat): Do not use BP_SYM.
49522         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
49523         "bp-asm.h".
49524         (STRCMP): Do not use BP_SYM.
49525         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
49526         "bp-asm.h".
49527         (STRCPY): Do not use BP_SYM.
49528         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
49529         "bp-asm.h".
49530         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
49531         "bp-asm.h".
49532         (FUNCTION): Do not use BP_SYM.
49533         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
49534         weak_alias.
49535         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
49537 2013-02-17  Andreas Jaeger  <aj@suse.de>
49539         * time/Versions: Sort entries.
49540         * string/Versions: Likewise.
49541         * resolv/Versions: Likewise.
49542         * posix/Versions: Likewise.
49543         * iconv/Versions: Likewise.
49544         * elf/Versions: Likewise.
49545         * wcsmbs/Versions: Likewise.
49547 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49549         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
49550         loop termination condition.
49552         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
49553         variable to calculate EZ.
49554         (__sqr): Likewise.
49556         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
49557         the lower precision input.
49559 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
49561         [BZ #13550]
49562         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
49563         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
49564         (run-via-rtld-prefix): Do not handle %-bp tests.
49565         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
49566         (all-object-suffixes): Remove .ob.
49567         (bppfx): Remove variable.
49568         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
49569         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
49570         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
49571         [$(build-bounded) = yes] (libtype.ob): Likewise.
49572         * Makerules (elide-routines.ob): Remove variable.
49573         (do-tests-clean): Do not handle *-bp.out.
49574         (common-mostlyclean): Do not handle *-bp and *-bp.out.
49575         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
49576         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
49577         (tests): Do not include $(tests-bp.out).
49578         (xtests): Do not include $(xtests-bp.out).
49579         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
49580         [$(build-bounded) = yes] ($(addprefix
49581         $(objpfx),$(binaries-bounded))): Remove rule.
49582         ($(objpfx)%-bp.out): Remove rule.
49583         * config.make.in (build-bounded): Remove variable.
49584         * crypt/Makefile [$(build-bounded) = yes]
49585         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
49586         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
49587         append to variable.
49588         [$(build-bounded) = yes] (install-lib): Likewise.
49589         [$(build-bounded) = yes] (generated): Likewise.
49590         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
49591         Remove rule.
49592         * intl/Makefile [$(build-bounded) = yes]
49593         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
49594         * math/Makefile [$(build-bounded) = yes]
49595         ($(tests:%=$(objpfx)%-bp): Likewise.
49596         * misc/Makefile [$(build-bounded) = yes]
49597         ($(objpfx)tst-tsearch-bp): Likewise.
49598         * nptl/Makeconfig (bounded-thread-library): Remove variable.
49599         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
49600         Remove dependency.
49601         * string/Makefile (o-objects.ob): Remove variable.
49602         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
49603         (CFLAGS-.ob): Remove variable.
49604         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
49605         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
49606         both definitions of variable.
49607         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
49608         (ASFLAGS-.ob): Remove variable.
49610 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
49612         [BZ #13550]
49613         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
49614         Remove __BOUNDED_POINTERS__ from condition.
49615         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
49616         * string/bits/string2.h [!__NO_STRING_INLINES &&
49617         !__BOUNDED_POINTERS__]: Likewise.
49618         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
49619         Likewise.
49620         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
49621         Remove conditional code.
49622         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
49623         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
49624         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
49625         condition.
49627         [BZ #13550]
49628         * csu/libc-start.c: Do not include <bp-sym.h>.
49629         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
49630         * elf/dl-open.c: Do not include <bp-sym.h>.
49631         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
49632         * math/fegetenv.c: Do not include <bp-sym.h>.
49633         (fegetenv): Do not use BP_SYM in versioned symbols.
49634         * nptl/sysdeps/pthread/bits/libc-lockP.h
49635         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
49636         <bp-sym.h>.
49637         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49638         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
49639         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49640         (__pthread_mutex_destroy): Likewise.
49641         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49642         (__pthread_mutex_lock): Likewise.
49643         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49644         (__pthread_mutex_trylock): Likewise.
49645         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49646         (__pthread_mutex_unlock): Likewise.
49647         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49648         (__pthread_mutexattr_init): Likewise.
49649         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49650         (__pthread_mutexattr_destroy): Likewise.
49651         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49652         (__pthread_mutexattr_settype): Likewise.
49653         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49654         (__pthread_rwlock_init): Likewise.
49655         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49656         (__pthread_rwlock_destroy): Likewise.
49657         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49658         (__pthread_rwlock_rdlock): Likewise.
49659         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49660         (__pthread_rwlock_tryrdlock): Likewise.
49661         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49662         (__pthread_rwlock_wrlock): Likewise.
49663         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49664         (__pthread_rwlock_trywrlock): Likewise.
49665         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49666         (__pthread_rwlock_unlock): Likewise.
49667         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49668         (__pthread_key_create): Likewise.
49669         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49670         (__pthread_setspecific): Likewise.
49671         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49672         (__pthread_getspecific): Likewise.
49673         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
49674         Likewise.
49675         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49676         (_pthread_cleanup_push_defer): Likewise.
49677         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49678         (_pthread_cleanup_pop_restore): Likewise.
49679         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49680         (pthread_setcancelstate): Likewise.
49681         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
49682         <bp-sym.h>.
49683         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
49684         (memchr): Do not use BP_SYM in weak_alias.
49685         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
49686         (fegetenv): Do not use BP_SYM in versioned symbols.
49687         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
49688         (fesetenv): Do not use BP_SYM in versioned symbols.
49689         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
49690         (feupdateenv): Do not use BP_SYM in versioned symbols.
49691         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
49692         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
49693         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
49694         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
49695         (open64): Do not use BP_SYM in weak_alias.
49696         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
49697         (fegetenv): Do not use BP_SYM in versioned symbols.
49698         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
49699         (fesetenv): Do not use BP_SYM in versioned symbols.
49700         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
49701         (feupdateenv): Do not use BP_SYM in versioned symbols.
49702         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
49703         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
49704         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
49705         (feraiseexcept): Do not use BP_SYM in versioned symbols.
49706         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
49707         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
49708         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
49709         <bp-sym.h>.
49710         (__libc_start_main): Do not use BP_SYM.
49712 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49714         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
49715         redundant return line.
49716         (norm): Likewise.
49717         (denorm): Likewise.
49718         (dbl_mp): Likewise.
49719         (sub_magnitudes): Likewise.
49720         (__add): Likewise.
49721         (__sub): Likewise.
49722         (__mul): Likewise.
49723         (__inv): Likewise.
49724         (__dvd): Likewise.
49725         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
49726         (norm): Likewise.
49727         (denorm): Likewise.
49728         (dbl_mp): Likewise.
49729         (sub_magnitudes): Likewise.
49730         (__add): Likewise.
49731         (__sub): Likewise.
49732         (__mul): Likewise.
49733         (__inv): Likewise.
49734         (__dvd): Likewise.
49736         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
49737         instead of __mul.
49738         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49739         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
49740         (cc32): Likewise.
49742         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
49743         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
49744         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
49745         of __mul for squares.
49746         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
49747         function
49748         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
49749         Likewise.
49750         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
49751         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49753 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
49755         [BZ #13550]
49756         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
49757         code.
49758         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
49759         prototype or function definition.  Rename ubp_* variables and
49760         parameters.  Remove argv definitions conditional on
49761         [__BOUNDED_POINTERS__].
49762         * debug/backtrace.c (__backtrace): Do not use __unbounded.
49763         * elf/dl-runtime.c (_dl_fixup): Likewise.
49764         * include/set-hooks.h (RUN_HOOK): Likewise.
49765         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
49766         definition.
49767         * string/strcpy.c (strcpy): Do not use __unbounded.
49768         * sysdeps/generic/frame.h (struct layout): Likewise.
49769         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
49770         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
49771         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
49772         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
49773         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
49774         (__backtrace): Likewise.
49775         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
49776         use __ptrvalue.
49777         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
49778         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
49779         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
49780         Likewise.
49781         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
49782         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
49783         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
49784         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
49785         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
49786         Do not use __unbounded.
49787         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
49788         Rename __unboundedrlimits parameter to rlimits in prototype.
49789         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
49790         Do not use __unbounded.
49791         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
49792         not use __ptrvalue.
49793         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
49794         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
49795         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
49796         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
49797         __ptrvalue or __unbounded.
49798         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
49799         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
49800         use __unbounded.
49801         (__new_msgctl): Do not use __ptrvalue.
49802         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
49803         __unbounded.
49804         (__libc_msgrcv): Do not use __ptrvalue.
49805         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
49806         startup_info): Do not use __unbounded.
49807         (__libc_start_main): Likewise.  Rename ubp_* variables and
49808         parameters.  Remove argv definitions conditional on
49809         [__BOUNDED_POINTERS__].
49810         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
49811         __ptrvalue.
49812         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
49813         use __unbounded.
49814         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
49815         or __ptrvalue.
49816         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
49817         use __unbounded.
49818         (__new_shmctl): Do not use __ptrvalue.
49819         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
49820         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
49821         Likewise.
49822         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
49823         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
49824         (__libc_sigaction): Likewise.
49825         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
49826         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
49827         Likewise.
49828         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
49830 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
49832         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
49834         * string/mempcpy.c: Implement by calling memcpy.
49836 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49838         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
49840         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
49841         evaluation.
49843         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
49844         values in the mantissa.
49846         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
49847         minimize writes to Z.
49848         (sub_magnitudes): Simplify code a bit.
49850 2013-02-12  Roland McGrath  <roland@hack.frob.com>
49852         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
49853         from the message.  The linker prefixes all warnings with that already.
49855 2013-02-12  Andreas Schwab  <schwab@suse.de>
49857         [BZ #15078]
49858         * posix/regexec.c (extend_buffers): Add parameter min_len.
49859         (check_matching): Pass minimum needed length.
49860         (clean_state_log_if_needed): Likewise.
49861         (get_subexp): Likewise.
49862         * posix/Makefile (tests): Add bug-regex34.
49863         (bug-regex34-ENV): Define.
49864         * posix/bug-regex34.c: New file.
49866         [BZ #11561]
49867         * posix/regcomp.c (parse_bracket_exp): When looking up collating
49868         elements compare against the byte sequence of it, not its name.
49869         * posix/Makefile (tests): Add bug-regex35.
49870         (bug-regex35-ENV): Define.
49871         * posix/bug-regex35.c: New file.
49873 2013-02-11  Tom de Vries  <tom@codesourcery.com>
49875         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
49876         comment.
49877         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
49878         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
49879         (CHECK_EOL): Add undef.
49881 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
49883         * bits/stdlib-bsearch.h: New file.
49884         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
49885         * stdlib/stdlib.h: Likewise.
49887 2013-02-11  Roland McGrath  <roland@hack.frob.com>
49889         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
49890         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
49891         declaration.
49892         * manual/search.texi (Array Search Function): Add missing const in
49893         lfind prototype.
49894         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
49895         declaration to use rlim_t.
49896         (Basic Scheduling Functions): Remove erroneous const from
49897         sched_getparam prototype.  Remove erroneous * from
49898         sched_get_priority_max and sched_get_priority_min prototypes.
49899         (Resource Usage): Fix summary @comment on vtimes to refer to
49900         sys/vtimes.h rather than vtimes.h.
49901         Add missing *s in vtimes prototype.
49902         (Limits on Resources): Fix ulimit prototype to return long int.
49903         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
49904         prototypes to use long int rather than double.
49905         (BSD Random): Fix initstate and setstate to use char *, not void *.
49906         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
49907         prototype to make second argument 'struct aiocb64 *const[]'.
49908         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
49909         (Status of AIO Operations): Remove erroneous const in aio_return and
49910         aio_return64 prototypes.
49911         (Synchronizing I/O): Fix sync prototype to return void.
49912         * manual/startup.texi (Suboptions): Remove an erroneous const in
49913         getsubopt prototype.
49914         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
49915         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
49916         use size_t rather than int.
49917         (Scanning All Users): Likewise for getpwent_r.
49918         (Setting Groups): Add missing const to setgroups prototype.
49919         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
49920         * manual/socket.texi (Host Names): Fix gethostbyaddr and
49921         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
49922         'const void *' rather than 'const char *'.
49923         (Host Address Functions): Likewise for inet_ntop.
49924         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
49925         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
49926         ssize_t for return value.
49927         (Sending Data): Likewise for send, sendto, sendmsg.
49928         (Socket Option Functions): Add a missing const in setsockopt prototype.
49929         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
49930         use wchar_t for the argument.
49931         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
49932         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
49933         take no arguments.
49934         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
49935         double/float/long double for second argument.
49936         Fix return types of significand, significandf, significandl.
49937         * manual/filesys.texi (Setting Permissions): Use mode_t for second
49938         argument in fchmod prototype.
49939         (File Owner): Use uid_t and gid_t in fchown prototype.
49940         (File Times): Add const to utimes, futimes, and lutimes prototypes.
49941         (Making Special Files): Use mode_t and dev_t in mknod prototype.
49942         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
49943         use 'const struct dirent **' as argument types to CMP function pointer
49944         argument.
49945         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
49946         (File Times): Fix summary magic @comment for struct utimbuf and utime
49947         to refer to utime.h, not time.h.
49948         * manual/string.texi (Argz Functions): Add missing const in
49949         argz_extract and argz_next prototypes.
49950         (Finding Tokens in a String): Likewise for basename.
49951         (String/Array Comparison): Fix typo in wcscasecmp prototype.
49952         (Copying and Concatenation): Fix typo in wmemmove prototype.
49953         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
49954         (Signal Stack): Remove erroneous const in sigstack prototype.
49955         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
49956         prototype.
49957         (Simple Calendar Time): Likewise for stime.
49958         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
49959         prototype.
49960         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
49961         say sys/sysctl.h instead.
49962         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
49963         and vsyslog prototypes.
49965 2013-02-11  Tom de Vries  <tom@codesourcery.com>
49967         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
49968         Remove.
49970 2013-02-11  Roland McGrath  <roland@hack.frob.com>
49972         * misc/sys/mman.h: Fix typo in mremap comment.
49974 2013-02-08  Roland McGrath  <roland@hack.frob.com>
49976         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
49977         the '\0' terminator.
49979 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
49981         [BZ #13550]
49982         * debug/segfault.c: Don't include <bp-checks.h>.
49983         * sysdeps/generic/bp-checks.h: Remove file.
49984         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
49985         (__GETDENTS): Don't use CHECK_N.
49986         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
49987         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
49988         (__getgroups): Don't use CHECK_N.
49989         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
49990         (setgroups): Don't use CHECK_N.
49991         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
49992         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
49993         (__libc_msgrcv): Don't use CHECK_N.
49994         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
49995         (__libc_msgsnd): Don't use CHECK_N.
49996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
49997         <bp-checks.h>.
49998         (__libc_pread): Don't use CHECK_N.
49999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
50000         include <bp-checks.h>.
50001         (__libc_pread64): Don't use CHECK_N.
50002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
50003         include <bp-checks.h>.
50004         (__libc_pwrite): Don't use CHECK_N.
50005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
50006         include <bp-checks.h>.
50007         (__libc_pwrite64): Don't use CHECK_N.
50008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
50009         <bp-checks.h>.
50010         (__libc_pread): Don't use CHECK_N.
50011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
50012         include <bp-checks.h>.
50013         (__libc_pread64): Don't use CHECK_N.
50014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
50015         include <bp-checks.h>.
50016         (__libc_pwrite): Don't use CHECK_N.
50017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
50018         include <bp-checks.h>.
50019         (__libc_pwrite64): Don't use CHECK_N.
50020         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
50021         (do_pread): Don't use CHECK_N.
50022         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
50023         (do_pread64): Don't use CHECK_N.
50024         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
50025         (do_pwrite): Don't use CHECK_N.
50026         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
50027         (do_pwrite64): Don't use CHECK_N.
50028         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
50029         (__libc_readv): Don't use CHECK_N.
50030         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
50031         (semop): Don't use CHECK_N.
50032         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
50033         <bp-checks.h>.
50034         (semtimedop): Don't use CHECK_N.
50035         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
50036         (__libc_pread): Don't use CHECK_N.
50037         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
50038         <bp-checks.h>.
50039         (__libc_pread64): Don't use CHECK_N.
50040         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
50041         <bp-checks.h>.
50042         (__libc_pwrite): Don't use CHECK_N.
50043         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
50044         <bp-checks.h>.
50045         (__libc_pwrite64): Don't use CHECK_N.
50046         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
50047         <bp-checks.h>.
50048         (__libc_msgrcv): Don't use CHECK_N.
50049         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
50050         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
50051         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
50052         (__libc_writev): Don't use CHECK_N.
50054 2013-02-08  Roland McGrath  <roland@hack.frob.com>
50056         * string/strcpy.c: Removed unused variable.
50058         * Makeconfig (+sysdep-includes): Define with := rather than =.
50059         Use an existing include/ subdir of each sysdeps dir before it.
50061 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50063         * nscd/connection.c (register_traced_file): Comment function.
50064         [HAVE_INOTIFY] (union __inev): Define.
50065         [HAVE_INOTIFY] (inotify_check_files): New function.
50066         [HAVE_INOTIFY] (clear_db_cache): Likewise.
50067         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
50068         clear_db_cache.
50069         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
50071 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50073         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
50074         loaded if not already and that a failure is permanent.
50076 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50078         [BZ #15006]
50079         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
50080         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
50082 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
50084         [BZ #13550]
50085         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
50086         (CHECK_1_NULL_OK): Likewise.
50087         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
50088         (__fxstat): Do not use CHECK_1.
50089         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
50090         <bp-checks.h>.
50091         (___fxstat64): Do not use CHECK_1.
50092         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
50093         <bp-checks.h>.
50094         (__fxstatat): Do not use CHECK_1.
50095         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
50096         <bp-checks.h>.
50097         (__fxstatat64): Do not use CHECK_1.
50098         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
50099         <bp-checks.h>.
50100         (__fxstat): Do not use CHECK_1.
50101         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
50102         <bp-checks.h>.
50103         (__fxstatat): Do not use CHECK_1.
50104         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
50105         <bp-checks.h>.
50106         (__getresgid): Do not use CHECK_1.
50107         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
50108         <bp-checks.h>.
50109         (__getresuid): Do not use CHECK_1.
50110         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
50111         <bp-checks.h>.
50112         (__lxstat): Do not use CHECK_1.
50113         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
50114         <bp-checks.h>.
50115         (__old_msgctl): Do not use CHECK_1.
50116         (__new_msgctl): Likewise.
50117         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
50118         <bp-checks.h>.
50119         (__new_setrlimit): Do not use CHECK_1.
50120         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
50121         <bp-checks.h>.
50122         (__old_shmctl): Do not use CHECK_1.
50123         (__new_shmctl): Likewise.
50124         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
50125         <bp-checks.h>.
50126         (__xstat): Do not use CHECK_1.
50127         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
50128         (__lxstat): Do not use CHECK_1.
50129         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
50130         <bp-checks.h>.
50131         (___lxstat64): Do not use CHECK_1.
50132         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
50133         (__old_msgctl): Do not use CHECK_1.
50134         (__new_msgctl): Likewise.
50135         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
50136         <bp-checks.h>.
50137         (__gettimeofday): Do not use CHECK_1.
50138         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
50139         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
50140         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
50141         <bp-checks.h>.
50142         (__gettimeofday): Do not use CHECK_1.
50143         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
50144         (__old_shmctl): Do not use CHECK_1_NULL_OK.
50145         (__new_shmctl): Do not use CHECK_1.
50146         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
50147         <bp-checks.h>.
50148         (do_sigtimedwait): Do not use CHECK_1.
50149         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
50150         <bp-checks.h>.
50151         (do_sigwaitinfo): Do not use CHECK_1.
50152         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
50153         <bp-checks.h>.
50154         (msgctl): Do not use CHECK_1.
50155         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
50156         <bp-checks.h>.
50157         (shmctl): Do not use CHECK_1.
50158         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
50159         (ustat): Do not use CHECK_1.
50160         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
50161         <bp-checks.h>.
50162         (__fxstat): Do not use CHECK_1.
50163         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
50164         <bp-checks.h>.
50165         (__fxstatat): Do not use CHECK_1.
50166         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
50167         <bp-checks.h>.
50168         (__lxstat): Do not use CHECK_1.
50169         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
50170         <bp-checks.h>.
50171         (__xstat): Do not use CHECK_1.
50172         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
50173         (__xstat): Do not use CHECK_1.
50174         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
50175         (___xstat64): Do not use CHECK_1.
50177         [BZ #13550]
50178         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
50179         definitions.
50180         (CHECK_BOUNDS_HIGH): Likewise.
50181         * string/strcpy.c: Do not include <bp-checks.h>.
50182         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
50184 2013-02-07  Roland McGrath  <roland@hack.frob.com>
50186         * nscd/nscd-client.h (__nscd_drop_map_ref):
50187         Add __attribute__ ((unused)).
50188         * nis/nss-nisplus.h (niserr2nss): Likewise.
50190         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
50191         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
50193         * csu/libc-tls.c (init_static_tls, init_slotinfo):
50194         Remove inline keyword.
50195         * include/rounding-mode.h (round_away): Likewise.
50196         * libio/wfileops.c (adjust_wide_data): Likewise.
50197         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
50198         (__m128i_strloadu_tolower): Likewise.
50199         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
50200         (__m128i_strloadu_tolower): Likewise.
50201         * time/mktime.c (ydhms_diff): Likewise.
50202         * locale/elem-hash.h (elem_hash): Likewise.
50203         * locale/setlocale.c (setdata): Likewise.
50204         * posix/regex_internal.h (re_string_char_size_at): Likewise.
50205         (re_string_wchar_at): Likewise.
50206         (bitset_not, bitset_merge, bitset_mask): Likewise.
50207         [!(__GNUC__ > 3)] (inline): Remove macro.
50208         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
50209         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
50210         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
50211         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
50212         * string/memcmp.c (memcmp_bytes): Likewise.
50213         * locale/programs/locarchive.c (compute_hashval): Likewise.
50214         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
50215         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
50216         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
50217         * nss/getent.c (print_rpc, print_protocols): Likewise.
50218         (print_passwd, print_group, print_aliases): Likewise.
50219         * nis/nss-nisplus.h (niserr2nss): Likewise.
50220         * nscd/connections.c (restart_p): Likewise.
50221         Change return type to bool.
50223 2013-02-05  Roland McGrath  <roland@hack.frob.com>
50225         * Makeconfig (all-Depend-files): Add existing
50226         $(sorted-subdirs:=/Depend) files.
50227         (all-subdirs): Remove nss.
50228         * sysdeps/unix/inet/Subdirs: Add it here instead.
50229         * hesiod/Depend: New file.
50231         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
50232         instead of calling alloca.
50234         * io/lseek.c (__lseek): Rename to __libc_lseek.
50235         Define __lseek as an alias.
50237         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
50239 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
50241         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
50242         else clause and remove check for non-standard endianness.
50244 2013-02-04  David S. Miller  <davem@davemloft.net>
50246         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50248 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
50250         [BZ #13550]
50251         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
50252         (__ubp_memchr): Remove prototype.
50253         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
50254         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
50255         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
50256         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
50257         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
50258         Remove alias.
50259         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
50260         (__ubp_memchr): Likewise.
50261         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
50262         (__ubp_memchr): Likewise.
50263         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
50264         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
50265         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
50266         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
50267         CHECK_STRING.
50268         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
50269         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
50270         (__getcwd): Do not use CHECK_STRING.
50271         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
50272         <bp-checks.h>.
50273         (__real_chown): Do not use CHECK_STRING.
50274         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
50275         <bp-checks.h>.
50276         (fchownat): Do not use CHECK_STRING.
50277         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
50278         CHECK_STRING.
50279         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
50280         <bp-checks.h>.
50281         (__lchown): Do not use CHECK_STRING.
50282         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
50283         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
50284         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
50285         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
50286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
50287         include <bp-checks.h>.
50288         (truncate64): Do not use CHECK_STRING.
50289         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
50290         <bp-checks.h>.
50291         (__real_chown): Do not use CHECK_STRING.
50292         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
50293         <bp-checks.h>.
50294         (__lchown): Do not use CHECK_STRING.
50295         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
50296         <bp-checks.h>.
50297         (__chown): Do not use CHECK_STRING.
50298         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
50299         <bp-checks.h>.
50300         (truncate64): Do not use CHECK_STRING.
50301         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
50302         Likewise.
50303         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
50304         (__xmknod): Do not use CHECK_STRING.
50305         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
50306         <bp-checks.h>.
50307         (__xmknodat): Do not use CHECK_STRING.
50308         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
50309         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
50311 2013-02-04  Andreas Schwab  <schwab@suse.de>
50313         [BZ #14142]
50314         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
50315         * include/netdb.h: Likewise for h_errno.
50316         * elf/tst-stackguard1.c: Include <tls.h>.
50318 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
50320         * elf/link.h (struct link_map): Extend the l_addr comment.
50321         * include/link.h (struct link_map): Likewise.
50323 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
50325         [BZ #13550]
50326         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
50327         (BOUNDED_1): Remove macro.
50328         * debug/backtrace.c: Don't include <bp-checks.h>.
50329         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
50330         (__backtrace): Likewise.
50331         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
50332         <bp-checks.h>.
50333         (__backtrace): Don't use BOUNDED_1.
50334         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
50335         <bp-checks.h>.
50336         (__backtrace): Don't use BOUNDED_1.
50337         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
50338         (__backtrace): Don't use BOUNDED_1.
50339         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
50340         (shmat): Don't use BOUNDED_N.
50342 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
50344         [BZ #13550]
50345         * sysdeps/generic/bp-start.h: Remove file.
50346         * csu/libc-start.c: Don't include <bp-start.h>.
50347         (LIBC_START_MAIN): Set up __environ directly instead of using
50348         INIT_ARGV_and_ENVIRON.
50349         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
50350         <bp-start.h>.
50352         [BZ #13550]
50353         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
50354         definitions.
50355         (CHECK_FCNTL): Likewise.
50356         (CHECK_N_PAGES): Likewise.
50358         [BZ #13550]
50359         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
50360         definitions.
50361         (CHECK_SIGSET_NULL_OK): Likewise.
50362         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
50363         <bp-checks.h>.
50364         (sigpending): Don't use CHECK_SIGSET.
50365         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
50366         <bp-checks.h>.
50367         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
50368         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
50369         <bp-checks.h>.
50370         (do_sigsuspend): Don't use CHECK_SIGSET.
50371         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
50372         use CHECK_SIGSET.
50373         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
50374         (do_sigwait): Don't use CHECK_SIGSET.
50375         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
50376         use CHECK_SIGSET.
50377         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
50378         include <bp-checks.h>.
50379         (sigpending): Don't use CHECK_SIGSET.
50380         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
50381         include <bp-checks.h>.
50382         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
50383         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
50384         <bp-checks.h>.
50385         (sigpending): Don't use CHECK_SIGSET.
50386         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
50387         <bp-checks.h>.
50388         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
50390         [BZ #13550]
50391         * sysdeps/generic/bp-semctl.h: Remove file.
50392         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
50393         <bp-checks.h> and <bp-semctl.h>.
50394         (__old_semctl): Don't use CHECK_SEMCTL.
50395         (__new_semctl): Likewise.
50396         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
50397         and <bp-semctl.h>.
50398         (__old_semctl): Don't use CHECK_SEMCTL.
50399         (__new_semctl): Likewise.
50400         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
50401         <bp-checks.h> and <bp-semctl.h>.
50402         (__old_semctl): Don't use CHECK_SEMCTL.
50403         (__new_semctl): Likewise.
50404         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
50405         <bp-checks.h> and <bp-semctl.h>.
50406         (semctl): Don't use CHECK_SEMCTL.
50408         [BZ #13550]
50409         * Makerules (elide-bp-thunks): Remove variable.
50410         (elide-routines.oS): Don't use $(elide-bp-thunks).
50411         (elide-routines.os): Likewise.
50412         (elide-routines.o): Likewise.
50413         (elide-routines.op): Likewise.
50414         (elide-routines.og): Likewise.
50415         (objects): Don't use $(bp-thunks).
50416         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
50417         include.
50418         (common-generated): Do not add s-proto-bp.d.
50419         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
50420         (int): Likewise.
50421         (typ): Likewise.
50422         Do not generate makefile rules for bounded-pointer thunks.
50423         * sysdeps/generic/bp-thunks.h: Remove file.
50424         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
50425         * sysdeps/unix/s-proto-bp.S: Likewise.
50427         [BZ #15062]
50428         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
50429         parts of result separately when argument is not close to line from
50430         -i to i and one part of argument is small.
50431         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50432         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50433         * math/libm-test.inc (cacos_test): Add more tests.
50434         (casin_test): Likewise.
50435         (casinh_test): Likewise.
50436         * sysdeps/i386/fpu/libm-test-ulps: Update.
50437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50439 2013-01-31  David S. Miller  <davem@davemloft.net>
50441         * po/de.po: Update from translation team.
50443 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
50445         * time/tzfile.c: Include stdint.h for SIZE_MAX.
50447 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
50449         * configure.in (_AC_PROG_CC_C89): New definition.
50450         * configure: Regenerate.
50452         * configure.in (AC_PROG_CPP): New definition.
50453         * configure: Regenerate.
50455 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
50457         * debug/tst-backtrace.h: New file.
50458         * debug/tst-backtrace2.c: Include tst-backtrace.h.
50459         (ret): Remove variable.
50460         (x): Likewise.
50461         (FAIL): Remove macro.
50462         (NO_INLINE): Likewise.
50463         (fn1): Use match function instead of strstr.
50464         * debug/tst-backtrace3.c: Include tst-backtrace.h.
50465         (ret): Remove variable.
50466         (x): Likewise.
50467         (FAIL): Remove macro.
50468         (NO_INLINE): Likewise.
50469         (fn): Use match function instead of strstr.
50470         * debug/tst-backtrace4.c: Include tst-backtrace.h.
50471         (ret): Remove variable.
50472         (x): Likewise.
50473         (FAIL): Remove macro.
50474         (NO_INLINE): Likewise.
50475         (handle_signal): Use match function instead of strstr.
50476         * debug/tst-backtrace5.c: Include tst-backtrace.h.
50477         (ret): Remove variable.
50478         (x): Likewise.
50479         (FAIL): Remove macro.
50480         (NO_INLINE): Likewise.
50481         (handle_signal): Use match function instead of strstr.
50483 2013-01-23  Roland McGrath  <roland@hack.frob.com>
50485         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
50487 2013-01-23  David S. Miller  <davem@davemloft.net>
50489         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
50490         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
50491         argument of CAS if possible.
50492         * sysdeps/sparc/sparc64/bits/atomic.h
50493         (__arch_compare_and_exchange_val_32_acq): Likewise.
50494         (__arch_compare_and_exchange_val_64_acq): Likewise.
50496 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
50498         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
50499         * sysdeps/posix/ulimit.c: ... this.
50500         Include <limits.h>.
50501         * sysdeps/unix/bsd/ulimit.c: Remove file.
50503 2013-01-23  Adam Conrad  <adconrad@0c3.net>
50505         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
50506         (LDFLAGS-tst-array5): Likewise.
50508 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
50510         [BZ #15036]
50511         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
50512         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
50513         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
50514         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
50516 2013-01-21  David S. Miller  <davem@davemloft.net>
50518         * sysdeps/sparc/backtrace.c: New file.
50519         * sysdeps/sparc/sparc32/backtrace.h: New file.
50520         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
50521         * sysdeps/sparc/sparc64/backtrace.h: New file.
50522         * sysdeps/sparc/sparc64/backtrace.c: Delete.
50523         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
50524         -funwind-tables.
50526 2013-01-21  Andreas Schwab  <schwab@suse.de>
50528         [BZ #15020]
50529         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
50530         closed its stdout.
50532 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
50534         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
50535         "mpa2.h".
50536         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50538 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
50539             Mark Mitchell  <mark@codesourcery.com>
50540             Tom de Vries  <tom@codesourcery.com>
50541             Paul Pluzhnikov  <ppluzhnikov@google.com>
50543         * debug/tst-backtrace2.c: New file.
50544         * debug/tst-backtrace3.c: Likewise.
50545         * debug/tst-backtrace4.c: Likewise.
50546         * debug/tst-backtrace5.c: Likewise.
50547         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
50548         (CFLAGS-tst-backtrace3.c): Likewise.
50549         (CFLAGS-tst-backtrace4.c): Likewise.
50550         (CFLAGS-tst-backtrace5.c): Likewise.
50551         (LDFLAGS-tst-backtrace2): Likewise.
50552         (LDFLAGS-tst-backtrace3): Likewise.
50553         (LDFLAGS-tst-backtrace4): Likewise.
50554         (LDFLAGS-tst-backtrace5): Likewise.
50555         (tests): Add new tests tst-backtrace2, tst-backtrace3,
50556         tst-backtrace4 and tst-backtrace5.
50558 2013-01-18  Anton Blanchard  <anton@samba.org>
50559             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50561         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
50562         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
50563         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
50564         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
50565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
50566         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
50567         "+r" and remove output regs list as redundant.  Add explicit inline
50568         asm to specify register of return val to work around compiler codegen
50569         bug.  Remove (int) cast on return value.  Add return type parameter to
50570         use in macro so that this macro does not truncate return value for
50571         64-bit values.
50572         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
50573         pass to INTERNAL_VSYSCALL_NCS.
50574         (INLINE_VSYSCALL): Add 'long int' as return type to
50575         INTERNAL_VSYSCALL_NCS macro invocation.
50576         (INTERNAL_VSYSCALL): Add 'long int' as return type to
50577         INTERNAL_VSYSCALL_NCS macro invocation.
50578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50580 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50582         [BZ #14496]
50583         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
50584         Fix application of SIMD FP exception mask.
50586         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
50587         mp_no from a power of two.
50588         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
50589         __mpexp_twomm1.  Use __pow_mp.
50591         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
50592         multiplication.
50594 2013-01-17  David S. Miller  <davem@davemloft.net>
50596         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50598 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
50600         [BZ #15023]
50601         * include/complex.h: Condition contents on [!_COMPLEX_H].
50602         (__kernel_casinhf): New prototype.
50603         (__kernel_casinh): Likewise.
50604         (__kernel_casinhl): Likewise.
50605         * math/Makefile (libm_calls): Add k_casinh.
50606         * math/k_casinh.c: New file.
50607         * math/k_casinhf.c: Likewise.
50608         * math/k_casinhl.c: Likewise.
50609         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
50610         finite nonzero arguments.
50611         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
50612         finite nonzero arguments.
50613         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
50614         finite nonzero arguments.
50615         * math/s_casinh.c: Do not include <float.h>.
50616         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
50617         * math/s_casinhf.c: Do not include <float.h>.
50618         (__casinhf): Move code for finite nonzero arguments to
50619         k_casinhf.c.
50620         * math/s_casinhl.c: Do not include <float.h>.
50621         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
50622         redefine.
50623         (__casinhl): Move code for finite nonzero arguments to
50624         k_casinhl.c.
50625         * math/libm-test.inc (cacos_test): Add more tests.
50626         * sysdeps/i386/fpu/libm-test-ulps: Update.
50627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50629 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
50631         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
50632         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
50633         [!HAVE_MREMAP]: Remove [defined linux] case.
50634         * malloc/arena.c: Do not include <malloc-sysdep.h>.
50636 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50638         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
50640 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
50642         * elf/elf.h (R_386_SIZE32): New relocation.
50643         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
50644         R_386_SIZE32.
50645         (elf_machine_rela): Likewise.
50646         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
50647         R_X86_64_SIZE64 and R_X86_64_SIZE32.
50649 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
50651         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
50652         (FP_FAST_FMA): Do not define.
50653         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
50654         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
50655         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
50656         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
50657         !_SOFT_FLOAT]: Likewise.
50658         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
50659         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
50660         value.
50661         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
50662         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
50663         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
50664         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
50665         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
50666         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
50667         file.
50669 2013-01-16  Andreas Schwab  <schwab@suse.de>
50671         [BZ #14327]
50672         * include/stdlib.h (__mktemp): Add declaration.
50673         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
50674         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
50676 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50678         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
50679         definitions.
50680         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
50681         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
50682         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
50683         definitions here.
50684         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
50685         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
50686         definitions.
50687         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
50688         and ONE.
50689         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
50690         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
50691         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
50692         definitions.
50693         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
50694         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
50695         definitions.
50696         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
50698         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
50700 2013-01-15  David S. Miller  <davem@davemloft.net>
50702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
50703         trunc{,f} to libm-sysdep_routes.
50704         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
50705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
50706         file.
50707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
50708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
50709         file.
50710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
50711         file.
50712         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
50713         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
50714         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
50715         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
50716         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
50717         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
50718         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
50719         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
50721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
50722         nearbyint{,f} to libm-sysdep_routes.
50723         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
50724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
50725         New file.
50726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
50727         file.
50728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
50729         New file.
50730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
50731         file.
50732         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
50733         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
50734         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
50735         file.
50736         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
50737         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
50738         file.
50739         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
50740         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
50741         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
50743         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
50744         libc_feholdexcept and libc_fesetenv.
50746 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
50748         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
50750 2013-01-14  David S. Miller  <davem@davemloft.net>
50752         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
50753         (SPARC_ASM_VIS2_IFUNC): Likewise.
50754         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
50755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
50756         use of 'siam' instruction.
50757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
50758         Likewise.
50759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
50760         Likewise.
50761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
50762         Likewise.
50763         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
50764         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
50765         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
50766         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
50767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
50768         file.
50769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
50770         file.
50771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
50772         file.
50773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
50774         file.
50775         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
50776         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
50777         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
50778         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
50779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
50780         new VIS2 routines.
50781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
50782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
50784         Likewise.
50785         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
50786         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
50787         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
50788         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
50789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
50790         routines to libm-sysdep_routines.
50791         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
50793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
50794         fdim/fdimf to libm-sysdep_routines.
50795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
50796         file.
50797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
50798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
50799         file.
50800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
50801         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
50802         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
50803         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
50804         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
50805         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
50806         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
50808 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50810         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
50811         to optimize copies.
50813         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
50814         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
50815         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50817         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
50818         local variable MPTWO.
50819         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
50820         Likewise.
50822 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
50824         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
50825         GLOB_NOESCAPE.
50827 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
50829         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
50831 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
50833         * manual/pattern.texi (glob_t): Document gl_flags.
50834         (glob64_t): Likewise.
50836 2013-01-11  David S. Miller  <davem@davemloft.net>
50838         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
50839         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
50840         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
50841         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
50842         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
50843         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
50844         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
50845         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
50846         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
50847         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
50848         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
50849         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
50850         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
50852         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
50853         sparc V9 rather than using V8 code.
50854         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
50855         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
50857         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
50858         Move to...
50859         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
50860         Here.
50862 2013-01-11  Roland McGrath  <roland@hack.frob.com>
50864         [BZ #14941]
50865         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
50866         not in the main loop.
50867         * configure: Regenerated.
50869 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
50871         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
50872         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
50873         to just #else.
50874         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
50875         [!__GLIBC_HAVE_LONG_LONG] case.
50876         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
50877         condition to just #else.
50878         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
50879         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
50880         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
50881         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
50882         unconditional.
50883         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
50884         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
50885         #elif condition to just #else.
50886         * sysdeps/unix/sysv/linux/sys/sysmacros.h
50887         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
50888         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
50889         #elif condition to just #else.
50891 2013-01-11  Steve Ellcey  <sellcey@mips.com>
50893         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
50894         (EF_MIPS_ARCH_64): Fix value.
50895         (EF_MIPS_ARCH_32R2): New.
50896         (EF_MIPS_ARCH_64R2): New.
50898 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
50900         * Makeconfig (+link-pie-before-libc): New.
50901         (+link-pie-after-libc): Likewise.
50902         (+link-pie-tests): Likewise.
50903         (+link-pie): Rewritten.
50904         (link-before-libc): Remove $(config-LDFLAGS).
50905         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
50906         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
50907         (config-LDFLAGS): Renamed to ...
50908         (rtld-LDFLAGS): This.
50909         (rtld-tests-LDFLAGS): New macro.
50910         (link-libc-rpath-link): Likewise.
50911         (link-libc-tests-rpath-link): Likewise.
50912         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
50913         (link-libc): Prepand $(link-libc-rpath-link).
50914         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
50915         (test-program-prefix): New macro.
50916         (test-via-rtld-prefix): Likewise.
50917         (test-program-cmd): Likewise.
50918         (host-test-program-cmd): Likewise.
50919         * Makefile ($(common-objpfx)testrun.sh): Replace
50920         $(run-program-prefix) with $(test-program-prefix).
50921         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
50922         $(rtld-LDFLAGS).
50923         ($(common-objpfx)shlib.lds): Likewise.
50924         (build-module-helper): Likewise.
50925         ($(common-objpfx)format.lds): Likewise.
50926         * Rules (binaries-pie-tests): New.
50927         (binaries-pie-notests): Likewise.
50928         (binaries-pie): Rewritten.
50929         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
50930         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
50931         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
50932         (make-test-out): Replace $(host-built-program-cmd) with
50933         $(host-test-program-cmd).
50934         * config.make.in (build-hardcoded-path-in-tests): New variable.
50935         * configure.in (--enable-hardcoded-path-in-tests): New configure
50936         option.
50937         (hardcoded_path_in_tests): New AC_SUBST.
50938         * configure: Regenerated.
50939         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
50940         $(built-program-cmd) with $(test-program-cmd).
50941         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
50942         (test_program_cmd): This.
50943         * elf/Makefile ($(objpfx)order.out): Run test with
50944         $(test-program-prefix).
50945         ($(objpfx)order2.out): Likewise.
50946         ($(objpfx)tst-initorder.out): Likewise.
50947         ($(objpfx)tst-initorder2.out): Likewise.
50948         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
50949         $(test-program-cmd).
50950         ($(objpfx)tst-array1-static.out): Likewise.
50951         ($(objpfx)tst-array2.out): Likewise.
50952         ($(objpfx)tst-array3.out): Likewise.
50953         ($(objpfx)tst-array4.out): Likewise.
50954         ($(objpfx)tst-array5.out): Likewise.
50955         ($(objpfx)tst-array5-static.out): Likewise.
50956         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
50957         $(test-program-cmd).
50958         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
50959         $(run-program-prefix) with $(test-program-prefix).
50960         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
50961         (test_program_prefix): This.
50962         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
50963         $(run-program-prefix) with $(test-program-prefix).
50964         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
50965         (test_program_prefix): This.
50966         * iconvdata/tst-tables.sh: Likewise.
50967         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
50968         $(run-program-prefix) with $(test-program-prefix).
50969         ($(objpfx)tst-translit.out): Likewise.
50970         ($(objpfx)tst-gettext2.out): Likewise.
50971         ($(objpfx)tst-gettext4.out): Likewise.
50972         ($(objpfx)tst-gettext6.out): Likewise.
50973         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
50974         (test_program_prefix): This.
50975         * intl/tst-gettext2.sh: Likewise.
50976         * intl/tst-gettext4.sh  Likewise.
50977         * intl/tst-gettext6.sh: Likewise.
50978         * intl/tst-translit.sh: Likewise.
50979         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
50980         with $(test-program-cmd).
50981         * libio/Makefile ($(objpfx)test-freopen.out): Replace
50982         $(run-program-prefix) with $(test-program-prefix).
50983         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
50984         (test_program_prefix): This.
50985         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
50986         $(run-program-prefix) with $(test-program-prefix).
50987         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
50988         (test_program_prefix): This.
50989         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
50990         * posix/Makefile ($(objpfx)globtest.out): Replace
50991         $(run-via-rtld-prefix) and $(test-wrapper) with
50992         $(test-program-prefix) and $(test-via-rtld-prefix).
50993         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
50994         $(test-program-prefix).
50995         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
50996         $(host-test-program-cmd).
50997         (tst-spawn-ARGS): Likewise.
50998         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
50999         $(test-program-prefix).
51000         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
51001         (test_via_rtld_prefix): This.
51002         (test_wrapper): Renamed to ...
51003         (test_program_prefix): This.
51004         (run_program_prefix): Replaced by test_program_prefix.
51005         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
51006         (test_program_prefix): This.
51007         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
51008         with $(host-test-program-cmd).
51009         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
51010         $(run-program-prefix) with $(test-program-prefix).
51011         ($(objpfx)tst-printf.out): Likewise.
51012         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
51013         $(test-program-cmd).
51014         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
51015         (test_program_prefix): This.
51016         * stdio-common/tst-unbputc.sh: Likewise.
51017         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
51018         $(run-program-prefix) with $(test-program-prefix).
51019         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
51020         (test_program_prefix): This.
51021         * string/Makefile ($(objpfx)tst-svc.out):  Replace
51022         $(built-program-cmd) with $(test-program-cmd).
51024 2013-01-11  Andreas Jaeger  <aj@suse.de>
51026         [BZ #15003]
51027         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
51028         value. Sync with Linux 3.7.
51030 2013-01-10  David S. Miller  <davem@davemloft.net>
51032         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
51033         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
51034         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
51036 2013-01-10  Roland McGrath  <roland@hack.frob.com>
51038         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
51039         never set.
51040         * configure: Regenerated.
51042 2013-01-10  David S. Miller  <davem@davemloft.net>
51044         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
51045         sparc V9 rather than using V8 code.
51046         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
51047         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
51049 2013-01-10  Roland McGrath  <roland@hack.frob.com>
51051         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
51052         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
51053         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
51054         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
51055         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
51056         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
51057         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
51058         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
51059         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
51060         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
51061         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
51062         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
51063         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
51064         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
51065         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
51066         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
51067         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
51068         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
51069         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
51070         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
51071         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
51072         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
51073         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
51074         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
51075         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
51076         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
51077         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
51079 2013-01-10  David S. Miller  <davem@davemloft.net>
51081         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51083 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
51085         * posix/Makefile (tests-static): New variable.
51086         (tests): Add $(tests-static).
51087         (tst-exec-static-ARGS): New variable.
51088         (tst-spawn-static-ARGS): Likewise.
51089         * posix/tst-exec-static.c: New file.
51090         * posix/tst-spawn-static.c: Likewise.
51091         * posix/tst-exec.c: Support run directly.
51092         * posix/tst-spawn.c: Likewise.
51094 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
51096         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
51097         long.
51098         * math/bits/mathcalls.h (llrint): Likewise.
51099         (llround): Likewise.
51100         * stdlib/stdlib.h (struct drand48_data): Likewise.
51101         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
51102         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
51103         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
51104         Likewise.
51105         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
51106         Likewise.
51107         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
51108         (elf_greg_t): Likewise.
51109         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
51110         (__jmp_buf): Likewise.
51111         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
51112         definitions.
51113         (llrint): Likewise, for all definitions.
51114         (llrintl): Likewise.
51116         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
51117         Remove [__GNUC__] condition.
51118         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
51119         condition to just [__USE_ISOC99].
51120         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
51122 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
51124         [BZ #14200]
51125         * sysdeps/unix/sysv/linux/x86/bits/environments.h
51126         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
51127         defined.
51128         (_POSIX_V6_ILP32_OFF32): Likewise.
51129         (_XBS5_ILP32_OFF32): Likewise.
51130         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
51131         (__ILP32_OFFBIG_LDFLAGS): Likewise.
51133 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51135         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
51137         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
51138         doubles __mpexp_twomm1.  Adjust usage.
51139         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
51140         Remove.
51142 2013-01-10  Andreas Schwab  <schwab@suse.de>
51144         [BZ #14964]
51145         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
51146         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
51148 2013-01-09  David S. Miller  <davem@davemloft.net>
51150         [BZ #15003]
51151         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
51152         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
51153         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
51154         (TCP_FASTOPEN): Define.
51155         (tcp_repair_opt): New structure.
51156         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
51157         enum values.
51158         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
51159         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
51160         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
51161         (tcp_cookie_transactions): New structure.
51163 2013-01-09  Anton Blanchard  <anton@samba.org>
51165         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
51166         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
51167         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
51168         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
51170 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
51172         * include/features.h (__USE_ANSI): Remove.
51174 2013-01-09  Roland McGrath  <roland@hack.frob.com>
51176         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
51178         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
51180 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
51182         * sysdeps/s390/fpu/libm-test-ulps: Update.
51184         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51186         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
51187         (__acr): Likewise.
51188         (__cpy): Likewise.
51189         (norm): Likewise.
51190         (denorm): Likewise.
51191         (__mp_dbl): Likewise.
51192         (__dbl_mp): Likewise.
51193         (add_magnitudes): Likewise.
51194         (sub_magnitudes): Likewise.
51195         (__add): Likewise.
51196         (__sub): Likewise.
51197         (__mul): Likewise.
51198         (__inv): Likewise.
51199         (__dvd): Likewise.
51200         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
51201         (__acr): Likewise.
51202         (__cpy): Likewise.
51203         (norm): Likewise.
51204         (denorm): Likewise.
51205         (__mp_dbl): Likewise.
51206         (__dbl_mp): Likewise.
51207         (add_magnitudes): Likewise.
51208         (sub_magnitudes): Likewise.
51209         (__add): Likewise.
51210         (__sub): Likewise.
51211         (__mul): Likewise.
51212         (__inv): Likewise.
51213         (__dvd): Likewise.
51214         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
51215         (__acr): Likewise.
51216         (__cpy): Likewise.
51217         (norm): Likewise.
51218         (denorm): Likewise.
51219         (__mp_dbl): Likewise.
51220         (__dbl_mp): Likewise.
51221         (add_magnitudes): Likewise.
51222         (sub_magnitudes): Likewise.
51223         (__add): Likewise.
51224         (__sub): Likewise.
51225         (__mul): Likewise.
51226         (__inv): Likewise.
51227         (__dvd): Likewise.
51229 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
51231         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
51232         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
51233         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
51234         2 && __USE_EXTERN_INLINES]: Likewise.
51236 2013-01-08  Andreas Jaeger  <aj@suse.de>
51238         [BZ# 14985]
51239         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
51240         Remove.
51241         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
51242         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
51244 2013-01-07  Anton Blanchard  <anton@samba.org>
51246         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
51247         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
51248         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
51249         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
51250         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
51251         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51252         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
51253         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
51254         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
51255         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51256         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51257         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51258         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51259         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51260         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
51261         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51262         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51263         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51264         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
51265         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
51266         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
51267         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
51268         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51269         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
51270         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
51271         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
51272         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51273         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
51274         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
51275         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51276         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
51277         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51278         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51279         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51280         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51281         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51282         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51283         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
51284         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
51285         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
51286         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
51287         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51288         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
51290 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
51292         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
51293         (__MALLOC_PMT): Likewise.
51294         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
51295         [__GNUC__], only on [_LIBC].
51296         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
51297         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
51298         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
51299         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
51300         forward declaration.
51301         (realloc_hook_ini): Likewise.
51302         (memalign_hook_ini): Likewise.
51303         (__libc_memalign): Do not use __MALLOC_PMT in variable
51304         declaration.
51305         (__libc_valloc): Likewise.
51306         (__libc_pvalloc): Likewise.
51307         (__libc_calloc): Likewise.
51308         (__posix_memalign): Likewise.
51310         [BZ #14996]
51311         * math/s_casinh.c: Include <float.h>.
51312         (__casinh): Do not do computation with squaring and square root
51313         for large arguments.
51314         * math/s_casinhf.c: Include <float.h>.
51315         (__casinhf): Do not do computation with squaring and square root
51316         for large arguments.
51317         * math/s_casinhl.c: Include <float.h>.
51318         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
51319         (__casinhl): Do not do computation with squaring and square root
51320         for large arguments.
51321         * math/libm-test.inc (casin_test): Add more tests.
51322         (casinh_test): Likewise.
51323         * sysdeps/i386/fpu/libm-test-ulps: Update.
51324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51326 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
51328         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
51329         (__x86_64_raw_data_cache_size): Likewise.
51330         (__x86_64_data_cache_size_half): Likewise.
51331         (__x86_64_raw_data_cache_size_half): Likewise.
51332         (__x86_64_shared_cache_size): Likewise.
51333         (__x86_64_raw_shared_cache_size): Likewise.
51334         (__x86_64_shared_cache_size_half): Likewise.
51335         (__x86_64_raw_shared_cache_size_half): Likewise.
51336         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
51337         to ...
51338         (__x86_data_cache_size): This.
51339         (__x86_64_raw_data_cache_size): Renamed to ...
51340         (__x86_raw_data_cache_size): This.
51341         (__x86_64_data_cache_size_half): Renamed to ...
51342         (__x86_data_cache_size_half): This.
51343         (__x86_64_raw_data_cache_size_half): Renamed to ...
51344         (__x86_raw_data_cache_size_half): This.
51345         (__x86_64_shared_cache_size): Renamed to ...
51346         (__x86_shared_cache_size): This.
51347         (__x86_64_raw_shared_cache_size): Renamed to ...
51348         (__x86_raw_shared_cache_size): This.
51349         (__x86_64_shared_cache_size_half): Renamed to ...
51350         (__x86_shared_cache_size_half): This.
51351         (__x86_64_raw_shared_cache_size_half): Renamed to ...
51352         (__x86_raw_shared_cache_size_half): This.
51353         * sysdeps/x86_64/memcpy.S: Updated.
51354         * sysdeps/x86_64/memset.S: Likewise.
51355         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
51356         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51357         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51359 2013-01-04  David S. Miller  <davem@davemloft.net>
51361         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51363 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
51365         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
51366         1 to avoid redefinition warning.
51367         (__USE_GNU): Don't define.
51368         (init_signaling_nan): Protoize.
51370         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51372 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51374         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
51375         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
51376         (__cpymn): Likewise.
51377         (norm): Remove commented code.
51378         (denorm): Likewise.
51379         (__mp_dbl): Likewise.
51380         (__inv): Likewise.
51381         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
51382         (__cpymn): Likewise.
51383         (norm): Remove commented code.
51384         (denorm): Likewise.
51385         (__mp_dbl): Likewise.
51386         (__inv): Likewise.
51388         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
51389         mp_no value for 1.0 and 2.0.
51390         (norm): Use RADIXI instead of radixi.d.
51391         (denorm): Likewise.
51392         (__mul): Use 0.0 instead of zero.d.
51393         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
51394         mp_no value for 1.0 and 2.0.
51395         (norm): Use RADIXI instead of radixi.d.
51396         (denorm): Likewise.
51397         (__mul): Use 0.0 instead of zero.d.
51399 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
51401         [BZ #14994]
51402         * math/s_casinh.c (__casinh): Reduce finite argument to first
51403         quadrant then set signs of results at the end.
51404         * math/s_casinhf.c (__casinhf): Likewise.
51405         * math/s_casinhl.c (__casinhl): Likewise.
51406         * math/libm-test.inc (casin_test): Add more tests.
51407         (casinh_test): Likewise.
51408         * sysdeps/i386/fpu/libm-test-ulps: Update.
51409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51411 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51413         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
51415         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
51417         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
51418         declarations.
51419         (denorm): Likewise.
51420         (__mp_dbl): Likewise.
51421         (__inv): Likewise.
51423         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
51424         and adjust the header comment.
51426         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
51427         variable name from declaration.
51429 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
51431         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51432         Initialize COMMON_CPUID_INDEX_7 element.
51433         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
51434         (CPUID_RTM): Likewise.
51435         (HAS_RTM): Likewise.
51436         (COMMON_CPUID_INDEX_7): New enum.
51438 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
51440         [BZ #14981]
51441         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
51442         size is zero, record memory as freed.
51444 2013-01-03  Andreas Jaeger  <aj@suse.de>
51446         * po/ia.po: Add new Interlingua translation.
51448 2012-01-03  Allan McRae  <allan@archlinux.org>
51450         * locale/programs/localedef.c: Fix description of '--posix' flag.
51452 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
51454         * NEWS: Update dates in second copyright notice.
51455         * README: Update copyright dates in example.
51456         * manual/libc.texinfo: Update copyright dates.
51457         * scripts/test-installation.pl: Update copyright date in --version
51458         output.
51460         * hurd/ctty-input.c: Fix copyright notice formatting.
51461         * hurd/ctty-output.c: Likewise.
51462         * hurd/dtable.c: Likewise.
51463         * hurd/hurd-raise.c: Likewise.
51464         * hurd/hurdprio.c: Likewise.
51465         * hurd/msgportdemux.c: Likewise.
51466         * misc/sys/file.h: Likewise.
51467         * misc/sys/ioctl.h: Likewise.
51468         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
51469         * sysdeps/mach/hurd/chdir.c: Likewise.
51470         * sysdeps/mach/hurd/fchdir.c: Likewise.
51471         * sysdeps/mach/hurd/rename.c: Likewise.
51472         * sysdeps/mach/hurd/rmdir.c: Likewise.
51473         * sysdeps/mach/hurd/seekdir.c: Likewise.
51474         * sysdeps/mach/hurd/setsid.c: Likewise.
51475         * sysdeps/posix/wait3.c: Likewise.
51477         * All files with FSF copyright notices: Update copyright dates
51478         using scripts/update-copyrights.
51479         * intl/plural.c: Regenerated.
51480         * locale/programs/charmap-kw.h: Likewise.
51481         * locale/programs/locfile-kw.h: Likewise.
51483 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51485         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
51486         four values.
51488         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
51489         calculation loop and add branch prediction.
51491         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
51492         check access beyond bounds of m1np.
51494         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
51495         MPTWO.
51496         (__inv): Remove local variable MPTWO to use the global
51497         constant.
51498         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
51499         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
51500         variable MPTWO.
51501         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
51502         MP3HALFS static const.
51504 2013-01-01  David S. Miller  <davem@davemloft.net>
51506         * po/ca.po: Update from translation team.
51508 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
51510         * scripts/update-copyrights: New file.
51511         * Makeconfig: Reformat copyright notice.
51512         * ctype/ctype.h: Likewise.
51513         * debug/swprintf_chk.c: Likewise.
51514         * elf/dl-cache.c: Likewise.
51515         * elf/dl-debug.c: Likewise.
51516         * elf/dl-object.c: Likewise.
51517         * grp/initgroups.c: Likewise.
51518         * hurd/Makefile: Likewise.
51519         * hurd/hurd/signal.h: Likewise.
51520         * hurd/hurdfault.c: Likewise.
51521         * hurd/hurdioctl.c: Likewise.
51522         * hurd/hurdlookup.c: Likewise.
51523         * hurd/intr-msg.c: Likewise.
51524         * iconv/gconv_open.c: Likewise.
51525         * libio/swprintf.c: Likewise.
51526         * locale/lc-ctype.c: Likewise.
51527         * locale/nl_langinfo.c: Likewise.
51528         * mach/Machrules: Likewise.
51529         * mach/Makefile: Likewise.
51530         * malloc/obstack.h: Likewise.
51531         * manual/Makefile: Likewise.
51532         * manual/tsort.awk: Likewise.
51533         * misc/bits/stab.def: Likewise.
51534         * nis/nis_print_group_entry.c: Likewise.
51535         * nis/nis_table.c: Likewise.
51536         * nis/nss_compat/compat-pwd.c: Likewise.
51537         * nis/nss_compat/compat-spwd.c: Likewise.
51538         * po/Makefile: Likewise.
51539         * posix/fnmatch.c: Likewise.
51540         * posix/regex.h: Likewise.
51541         * resolv/Makefile: Likewise.
51542         * resolv/nss_dns/dns-network.c: Likewise.
51543         * resolv/res_hconf.c: Likewise.
51544         * scripts/gen-sorted.awk: Likewise.
51545         * soft-fp/soft-fp.h: Likewise.
51546         * stdio-common/printf.h: Likewise.
51547         * stdlib/monetary.h: Likewise.
51548         * stdlib/random.c: Likewise.
51549         * stdlib/random_r.c: Likewise.
51550         * sysdeps/generic/Makefile: Likewise.
51551         * sysdeps/gnu/Makefile: Likewise.
51552         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51553         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51554         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51555         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51556         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51557         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51558         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51559         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51560         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51561         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51562         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51563         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51564         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51565         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51566         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
51567         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51568         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51569         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51570         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51571         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51572         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51573         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51574         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51575         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
51576         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
51577         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51578         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
51579         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
51580         * sysdeps/mach/hurd/errnos.awk: Likewise.
51581         * sysdeps/mach/hurd/fork.c: Likewise.
51582         * sysdeps/mach/hurd/getcwd.c: Likewise.
51583         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
51584         * sysdeps/mach/hurd/mmap.c: Likewise.
51585         * sysdeps/mach/hurd/utimes.c: Likewise.
51586         * sysdeps/mach/hurd/xmknod.c: Likewise.
51587         * sysdeps/posix/profil.c: Likewise.
51588         * sysdeps/posix/readdir_r.c: Likewise.
51589         * sysdeps/powerpc/bits/mathdef.h: Likewise.
51590         * sysdeps/powerpc/bits/setjmp.h: Likewise.
51591         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
51592         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
51593         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
51594         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
51595         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51596         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
51597         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51598         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
51599         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51600         * sysdeps/pthread/lio_listio.c: Likewise.
51601         * sysdeps/sparc/dl-procinfo.h: Likewise.
51602         * sysdeps/unix/i386/sysdep.S: Likewise.
51603         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
51604         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
51605         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
51606         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
51607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51608         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
51609         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
51610         * sysdeps/unix/sysv/linux/speed.c: Likewise.
51611         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
51612         * sysdeps/wordsize-32/divdi3.c: Likewise.
51613         * time/sys/time.h: Likewise.
51614         * wcsmbs/Makefile: Likewise.
51616 2013-01-01  David S. Miller  <davem@davemloft.net>
51618         * po/fr.po: Update from translation team.
51620         * catgets/gencat.c: Update copyright year.
51621         * csu/version.c: Likewise.
51622         * debug/catchsegv.sh: Likewise.
51623         * debug/pcprofiledump.c: Likewise.
51624         * debug/xtrace.sh: Likewise.
51625         * elf/ldconfig.c: Likewise.
51626         * elf/ldd.bash.in: Likewise.
51627         * elf/pldd.c: Likewise.
51628         * elf/sotruss.ksh: Likewise.
51629         * elf/sprof.c: Likewise.
51630         * iconv/iconv_prog.c: Likewise.
51631         * iconv/iconvconfig.c: Likewise.
51632         * locale/programs/locale.c: Likewise.
51633         * locale/programs/localedef.c: Likewise.
51634         * login/programs/pt_chown.c: Likewise.
51635         * malloc/memusage.sh: Likewise.
51636         * malloc/memusagestat.c: Likewise.
51637         * malloc/mtrace.pl: Likewise.
51638         * nscd/nscd.c: Likewise.
51639         * nss/getent.c: Likewise.
51640         * nss/makedb.c: Likewise.
51641         * posix/getconf.c: Likewise.
51643 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51645         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
51646         numbers.
51648 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
51650         * math/bits/mathcalls.h (modf): Use __nonnull.
51652 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51654         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
51655         (split): Use macro CN instead of the bare value.
51656         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
51657         could be used.
51658         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
51659         instead of the bare value.
51660         (power1): Likewise.
51662 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51664         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
51665         __ATAN_TWOM.
51666         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51668         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
51669         their values.
51670         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
51671         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
51672         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
51673         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
51675 2012-12-28  Andreas Jaeger  <aj@suse.de>
51677         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
51678         values are from Linux 3.7.
51680         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
51681         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
51683 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51685         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
51686         TRUE case.
51688         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
51689         (norm): Likewise.
51690         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
51691         variables with preprocessor constants.
51692         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51693         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51694         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51696 2012-12-27  Bruno Haible  <bruno@clisp.org>
51698         [BZ #14317]
51699         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
51700         only if needed.
51702 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51704         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
51705         and use variable directly.
51706         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
51708         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
51709         MPONE.
51710         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
51711         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
51712         variable MPONE.
51713         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
51714         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
51715         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
51716         include directive.  Remove local variable MPONE.
51717         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
51718         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
51719         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51721 2012-12-25  David S. Miller  <davem@davemloft.net>
51723         * version.h (RELEASE): Set to "development".
51724         (VERSION): Set to "2.17.90".
51725         * NEWS: Add 2.18 section.
51727 2012-12-21  David S. Miller  <davem@davemloft.net>
51729         * po/hr.po: Update from translation team.
51731 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51733         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
51735 2012-12-19  Steve Ellcey  <sellcey@mips.com>
51737         * NEWS:  Mention new memcpy for MIPS.
51739 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51741         * manual/contrib.texi (Contributors): Spelling correction.
51743 2012-12-15  David S. Miller  <davem@davemloft.net>
51745         * po/ru.po: Update from translation team.
51747 2012-12-13  David S. Miller  <davem@davemloft.net>
51749         * NEWS: Mention IFUNC testsuite enhancements.
51751         * po/pl.po: Update from translation team.
51752         * po/bg.po: Likewise.
51754         * manual/contrib.texi (Contributors): Update entries for Hongjiu
51755         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
51757 2012-12-11  David S. Miller  <davem@davemloft.net>
51759         * po/sv.po: Update from translation team.
51761         * po/vi.po: Update from translation team.
51763         * po/cs.po: Update from translation team.
51765         * po/de.po: Update from translation team.
51766         * po/eo.po: Likewise.
51767         * po/nl.po: Likewise.
51769 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51771         [BZ #14246]
51772         * manual/argp.texi (Argp Helper Functions): Move node to follow
51773         Argp Parsing State.
51775         [BZ #14872]
51776         * manual/conf.texi (Limits on File System Capacity): Mention if
51777         terminating null is included in the max size.
51779 2012-12-10  Andreas Jaeger  <aj@suse.de>
51781         * po/cs.po: Update from translation team.
51783 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
51785         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
51786         void pointer and cast to uintptr_t.
51787         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
51788         path.
51789         * sysdeps/s390/s390-64/memcpy.S: Likewise.
51790         * sysdeps/s390/s390-64/memset.S: Likewise.
51792 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
51794         [BZ #14833]
51795         * menual/message.texi (Message Translation): Fix typos.
51796         (Helper programs for gettext): Likewise.
51798 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
51800         [BZ #14898]
51801         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
51802         Change to -1.
51804 2012-12-07  David S. Miller  <davem@davemloft.net>
51806         * po/libc.pot: Update.
51808 2012-12-07  Richard Henderson  <rth@redhat.com>
51810         [BZ #10114]
51811         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
51812         normal/normal case to before the switch.
51813         (_FP_DIV): Likewise.
51815 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
51816             Mike Frysinger  <vapier@gentoo.org>
51818         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
51819         check for __NR_fadvise64_64.
51821 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
51823         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
51824         0, not just to plain "0" as a statement.
51825         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
51826         with cw.
51828 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
51830         * NEWS: Use sourceware.org in Bugzilla URL.
51832 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
51834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
51835         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
51837         * stdio-common/tst-put-error.c (do_test): Add newline to the
51838         padded test to ensure flush.
51840 2012-12-05  Jeff Law  <law@redhat.com>
51842         * sunrpc/etc.rpc (fedfs_admin): Add entry.
51844 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
51846         * README: Don't refer to ports add-on as distributed separately.
51847         Mention AArch64 in list of systems supported in the ports add-on.
51849         * LICENSES: Add more non-FSF copyright and license notices.
51851         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
51852         ((unused)).
51854         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
51856         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
51857         10000 as width of padded output.
51859 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
51861         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
51863         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
51864         variable LX with __attribute__ ((unused)).
51865         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
51866         Likewise.
51867         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
51868         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51869         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
51870         with __attribute__ ((unused)).
51872 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
51874         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
51876 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
51878         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
51879         (CFLAGS-nldbl-acos.c): New variable.
51880         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
51881         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
51882         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
51883         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
51884         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
51885         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
51886         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
51887         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
51888         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
51889         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
51890         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
51891         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
51892         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
51893         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
51894         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
51895         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
51896         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
51897         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
51898         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
51899         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
51900         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
51901         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
51902         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
51903         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
51904         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
51905         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
51906         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
51907         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
51908         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
51909         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
51910         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
51911         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
51912         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
51913         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
51914         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
51915         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
51916         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
51917         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
51918         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
51919         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
51920         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
51921         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
51922         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
51923         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
51924         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
51925         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
51926         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
51927         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
51928         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
51929         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
51930         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
51931         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
51932         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
51933         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
51934         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
51935         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
51936         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
51937         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
51938         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
51939         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
51940         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
51941         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
51942         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
51943         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
51944         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
51945         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
51946         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
51947         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
51948         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
51949         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
51950         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
51951         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
51952         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
51953         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
51954         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
51955         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
51956         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
51957         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
51958         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
51959         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
51960         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
51961         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
51962         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
51963         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
51964         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
51965         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
51966         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
51967         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
51968         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
51969         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
51970         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
51971         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
51972         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
51973         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
51974         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
51975         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
51976         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
51978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
51979         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
51981         [BZ #14914]
51982         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
51983         whole low double instead of just low 47 bits when splitting values
51984         into two parts.
51986 2012-12-03  Allan McRae  <allan@archlinux.org>
51988         * manual/stdio.texi (Predefined Printf Handlers): Remove
51989         @hsep and @vsep usage.
51991 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
51993         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
51994         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
51996 2012-12-03  Jeff Law  <law@redhat.com>
51998         * time/sys/time.h (settimeofday): Do not mark TV argument
51999         as __nonnull.
52001 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
52003         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
52004         when currently writing and seek to current position when not.
52005         * libio/Makefile (tests): Remove bug-fclose1.
52006         * libio/bug-fclose1.c: Delete.
52008 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
52010         * manual/arith.texi (feenableexcept): Fix typo.
52011         (fedisableexcept): Likewise.
52013 2012-11-30  Roland McGrath  <roland@hack.frob.com>
52015         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
52016         second, differently-typed declaration, rather than a cast.
52018 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52020         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
52021         * include/rpc/svc.h: ... here.
52023 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
52025         [BZ #13013]
52026         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
52027         depending n and resplen2 to catch cases where answer
52028         equals answerp2.
52030 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
52032         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
52033         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
52035 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
52037         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
52039 2012-11-29  Roland McGrath  <roland@hack.frob.com>
52041         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
52043 2012-11-28  Jeff Law  <law@redhat.com>
52045         [BZ #13761]
52046         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
52047         dataset_temporary.  Track alloca usage into alloca_used.
52048         If dataset is large allocate and release it via malloc/free.
52050 2012-06-04  Florian Weimer  <fweimer@redhat.com>
52052         [BZ #14197]
52053         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
52055 2012-11-28  David S. Miller  <davem@davemloft.net>
52057         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52059 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
52061         [BZ #14803]
52062         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
52063         of pi/2 rounded to nearest to 64 bits.
52064         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
52065         nearest to 64 bits.
52066         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
52067         bits.
52069 2012-11-28  Jeff Law <law@redhat.com>
52070             Martin Osvald <mosvald@redhat.com>
52072         [BZ #14889]
52073         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
52074         * sunrpc/svc.c: Include time.h.
52075         (__svc_accept_failed): New function.
52076         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
52077         any reason other than EINTR, call __svc_accept_failed.
52078         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
52079         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
52081 2012-11-28  Andreas Schwab  <schwab@suse.de>
52083         * scripts/abilist.awk: Also handle indirect functions in .opd
52084         section.
52086 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
52088         [BZ #13881]
52089         * sysdeps/x86/fpu/powl_helper.c: New file.
52090         * sysdeps/x86/fpu/Makefile: Likewise.
52091         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
52092         (p3): New object.
52093         (__ieee754_powl): Use __powl_helper for finite arguments except
52094         integer exponents below 8.
52095         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
52096         (p3): New object.
52097         (__ieee754_powl): Use __powl_helper for finite arguments except
52098         integer exponents below 8.
52099         * math/libm-test.inc (pow_test): Add more tests and enable some
52100         previously disabled tests.
52101         * sysdeps/i386/fpu/libm-test-ulps: Update.
52102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52104 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52105             Carlos O'Donell  <carlos_odonell@mentor.com>
52107         * nss/makedb.c (is_prime): Assert that input is odd and greater
52108         than 4.  Note that fact in a comment too.
52109         (next_prime): Add 4 to input.
52111 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52113         [BZ #11741]
52114         * libio/Makefile (tests): Add test case tst-fwrite-error.
52115         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
52116         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
52117         * libio/tst-fwrite-error.c: New test case.
52119 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
52121         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
52122         before casting to void *.
52123         * include/libc-internal.h (__pointer_type): New macro.
52124         (__integer_if_pointer_type_sub): Likewise.
52125         (__integer_if_pointer_type): Likewise.
52126         (cast_to_integer): Likewise.
52127         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
52128         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
52129         before casting to atomic64_t.
52130         (atomic_exchange_acq): Likewise.
52131         (__arch_exchange_and_add_body): Likewise.
52132         (__arch_add_body): Likewise.
52133         (atomic_add_negative): Likewise.
52134         (atomic_add_zero): Likewise.
52136 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
52138         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
52139         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
52140         (add_fdes): Likewise.
52141         (linear_search_fdes): Likewise.
52142         (binary_search_unencoded_fdes): Likewise.
52144 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
52146         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
52148 2012-11-24  Adam Conrad  <adconrad@0c3.net>
52150         * configure.in: Autodetect C++ header directories.
52151         * configure: Regenerated.
52153 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
52155         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
52157 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
52159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52161 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
52163         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
52164         LDBL_MANT_DIG == 106]: Disable some tests.
52165         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
52166         Likewise.
52167         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
52168         Likewise.
52170         [BZ #14871]
52171         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
52172         input for small inputs.  Return +/- pi/2 for large inputs.
52173         * math/libm-test.inc (atan_test): Add more tests.
52175         * sysdeps/generic/unwind-dw2-fde-glibc.c
52176         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
52177         __attribute__ ((unused)).
52179         [BZ #14645]
52180         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
52181         x * y if x and y are nonzero and z is zero.
52183         [BZ #14811]
52184         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
52185         nonzero exponents with absolute value below 0x1p-117 to +/-
52186         0x1p-117.
52188         [BZ #14869]
52189         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
52190         up arguments below 2**-450, not just those below 2**-500.
52191         * math/libm-test.inc (hypot_test): Add another test.
52193         [BZ #14868]
52194         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
52195         Return a+b for ratio over 2**120, not 2**60.
52196         * math/libm-test.inc (hypot_test): Add another test.
52198         * math/libm-test.inc (clog_test): Use
52199         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
52200         (clog10_test): Likewise.
52202         [BZ #6778]
52203         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
52205 2012-11-22  Andreas Schwab  <schwab@suse.de>
52207         * sysdeps/i386/fpu/libm-test-ulps: Update.
52209 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
52211         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
52212         printf output with newline.
52214 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
52216         [BZ #14865]
52217         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
52218         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
52219         -z nodlopen, -z initfirst and -z execstack support.
52220         * configure: Regenerated.
52222         * elf/elf.h (DF_1_NODIRECT): New macro.
52223         (DF_1_IGNMULDEF): Likewise.
52224         (DF_1_NOKSYMS): Likewise.
52225         (DF_1_NOHDR): Likewise.
52226         (DF_1_EDITED): Likewise.
52227         (DF_1_NORELOC): Likewise.
52228         (DF_1_SYMINTPOSE): Likewise.
52229         (DF_1_GLOBAUDIT): Likewise.
52230         (DF_1_SINGLETON): Likewise.
52231         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
52232         DT_1_SUPPORTED_MASK bits.
52233         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
52235 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
52237         * sysdeps/unix/make-syscalls.sh: Document prefixes.
52239 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
52241         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
52242         macro.
52244         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
52245         (sendmmsg): Move declarations...
52246         * socket/sys/socket.h: ... here.
52247         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
52248         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
52249         include it from...
52250         * socket/recvmmsg.c: ... this new file.
52251         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
52252         (sendmmsg): Rename to __sendmmsg, create weak alias and make
52253         definition of __sendmmsg hidden.
52254         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
52255         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
52256         Move ENOSYS stub into and include it from...
52257         * socket/sendmmsg.c: ... this new file.
52258         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
52259         (sysdep_routines): Move recvmmsg and sendmmsg...
52260         * socket/Makefile (routines): ... here.
52261         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
52262         (GLIBC_PRIVATE): Add __sendmmsg.
52263         * include/sys/socket.h (__sendmmsg): Add declarations.
52264         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
52265         sendmmsg.
52267 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
52269         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
52270         variable I1 with __attribute__ ((unused)).
52271         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
52273 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
52275         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
52276         DUMMY variables with __attribute__ ((unused)).
52278         * bits/byteswap.h: Include <bits/types.h>.
52279         (__bswap_64): Use __uint64_t instead of unsigned long long int.
52281 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
52283         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
52284         string_t.  Do not manually set errno.
52285         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
52286         length with __strnlen.  Make sure to both set errno and return it on
52287         failure.
52289 2012-11-19  David S. Miller  <davem@davemloft.net>
52291         With help from Joseph Myers.
52292         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
52293         very large arguments properly.
52294         * math/libm-test.inc (atan_test): New tests.
52295         (atan2_test): New tests.
52296         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52297         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52299 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
52301         [BZ #14856]
52302         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
52303         Define to 3.
52305         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
52306         [POSIX] (EADDRNOTAVAIL): Likewise.
52307         [POSIX] (EAFNOSUPPORT): Likewise.
52308         [POSIX] (EALREADY): Likewise.
52309         [POSIX] (ECONNABORTED): Likewise.
52310         [POSIX] (ECONNREFUSED): Likewise.
52311         [POSIX] (ECONNRESET): Likewise.
52312         [POSIX] (EDESTADDRREQ): Likewise.
52313         [POSIX] (EDQUOT): Likewise.
52314         [POSIX] (EHOSTUNREACH): Likewise.
52315         [POSIX] (EIDRM): Likewise.
52316         [POSIX] (EISCONN): Likewise.
52317         [POSIX] (ELOOP): Likewise.
52318         [POSIX] (EMULTIHOP): Likewise.
52319         [POSIX] (ENETDOWN): Likewise.
52320         [POSIX] (ENETUNREACH): Likewise.
52321         [POSIX] (ENOBUFS): Likewise.
52322         [POSIX] (ENODATA): Likewise.
52323         [POSIX] (ENOLINK): Likewise.
52324         [POSIX] (ENOMSG): Likewise.
52325         [POSIX] (ENOPROTOOPT): Likewise.
52326         [POSIX] (ENOSR): Likewise.
52327         [POSIX] (ENOSTR): Likewise.
52328         [POSIX] (ENOTCONN): Likewise.
52329         [POSIX] (ENOTSOCK): Likewise.
52330         [POSIX] (EOPNOTSUPP): Likewise.
52331         [POSIX] (EOVERFLOW): Likewise.
52332         [POSIX] (EPROTO): Likewise.
52333         [POSIX] (EPROTONOSUPPORT): Likewise.
52334         [POSIX] (EPROTOTYPE): Likewise.
52335         [POSIX] (ESTALE): Likewise.
52336         [POSIX] (ETIME): Likewise.
52337         [POSIX] (ETXTBSY): Likewise.
52338         [POSIX] (EWOULDBLOCK): Likewise.
52339         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
52340         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
52341         [POSIX] (SEEK_CUR): Likewise.
52342         [POSIX] (SEEK_END): Likewise.
52343         [POSIX || UNIX98] (mode_t): Do not require.
52344         [POSIX] (off_t): Likewise.
52345         [POSIX] (pid_t): Likewise.
52346         [POSIX] (sys/stat.h): Do not allow header.
52347         [POSIX] (unistd.h): Likewise.
52348         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
52349         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
52350         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
52351         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
52352         require.
52353         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
52354         sigevent): Specify elements.
52355         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
52356         entry.
52357         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
52358         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
52360         * conform/data/cpio.h-data [POSIX]: Disable whole file.
52361         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
52362         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
52363         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
52364         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
52365         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
52366         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
52367         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
52368         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
52369         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
52370         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
52371         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
52372         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
52373         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
52374         Likewise.
52375         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
52376         Likewise.
52377         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
52378         Likewise.
52379         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
52380         Likewise.
52381         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
52382         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
52383         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
52384         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
52385         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
52386         Specify lower bound on value.
52387         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
52388         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
52389         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
52390         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
52391         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
52392         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
52393         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
52394         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
52395         value.
52396         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
52397         as optional.
52398         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
52399         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
52400         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
52401         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
52402         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
52403         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
52404         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
52405         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
52406         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
52407         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
52408         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
52409         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
52410         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
52411         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
52412         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
52413         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
52414         entry.
52415         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
52416         optional.
52417         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
52418         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
52419         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
52420         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
52421         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
52422         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
52423         Likewise.
52424         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
52425         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
52426         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
52427         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
52428         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
52429         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
52430         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
52431         as optional.
52432         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
52433         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
52434         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
52435         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
52436         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
52437         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
52438         specify as optional.
52439         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
52440         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
52441         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
52442         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
52443         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
52444         [XPG3] (NL_LANGMAX): Likewise.
52445         [POSIX || XPG3] (NL_MSGMAX): Likewise.
52446         [POSIX || XPG3] (NL_NMAX): Likewise.
52447         [POSIX || XPG3] (NL_SETMAX): Likewise.
52448         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
52449         [XPG3] (NZERO): Likewise.
52450         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
52451         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
52452         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
52453         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
52454         (REG_ERANGE): Expect.
52455         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
52456         optional-constant.
52457         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
52458         Use (void) in prototype.
52459         [POSIX] (*_t): Allow.
52460         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
52461         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
52462         (WRDE_BADVAL): Expect.
52464         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
52465         expect.
52466         [XPG3 || XPG4] (O_RSYNC): Likewise.
52467         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
52468         Likewise.
52469         [XPG3 || XPG4] (pthread_sigmask): Likewise.
52470         [XPG3 || XPG4] (sigqueue): Likewise.
52471         [XPG3 || XPG4] (sigtimedwait): Likewise.
52472         [XPG3 || XPG4] (sigwaitinfo): Likewise.
52473         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
52474         [XPG3 || XPG4] (vsnprintf): Likewise.
52475         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
52476         Likewise.
52477         [XPG3 || XPG4] (blksize_t): Likewise.
52478         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
52479         Likewise.
52480         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
52481         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
52482         [XPG3 || XPG4] (struct itimerspec): Likewise.
52483         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
52484         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
52485         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
52486         [XPG3 || XPG4] (clockid_t): Likewise.
52487         [XPG3 || XPG4] (timer_t): Likewise.
52488         [XPG3 || XPG4] (clock_getres): Likewise.
52489         [XPG3 || XPG4] (clock_gettime): Likewise.
52490         [XPG3 || XPG4] (clock_settime): Likewise.
52491         [XPG3 || XPG4] (nanosleep): Likewise.
52492         [XPG3 || XPG4] (timer_create): Likewise.
52493         [XPG3 || XPG4] (timer_delete): Likewise.
52494         [XPG3 || XPG4] (timer_gettime): Likewise.
52495         [XPG3 || XPG4] (timer_getoverrun): Likewise.
52496         [XPG3 || XPG4] (timer_settime): Likewise.
52497         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
52498         [XPG3 || XPG4] (getlogin_r): Likewise.
52499         [XPG3 || XPG4] (pread): Likewise.
52500         [XPG3 || XPG4] (pthread_atfork): Likewise.
52501         [XPG3 || XPG4] (pwrite): Likewise.
52503         [BZ #14835]
52504         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
52505         <bits/siginfo.h>.
52507 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
52509         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
52510         finalizing MALLSTREAM.
52512         * sysdeps/mach/hurd/syncfs.c: New file.
52514 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52516         [BZ #14719]
52517         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
52518         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
52519         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
52520         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
52521         (_nss_dns_gethostbyname4_r): Likewise.
52522         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
52523         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
52525 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
52527         [BZ #13763]
52528         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
52530 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
52532         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
52533         * elf/cache.c (print_entry): Print ",AArch64" for
52534         FLAG_AARCH64_LIB64
52536         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
52537         * elf/cache.c (print_entry): Print ",hard-float" for
52538         FLAG_ARM_LIBHF.
52540 2012-11-18  David S. Miller  <davem@davemloft.net>
52542         With help from Joseph Myers.
52543         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
52544         cutoff to 2**-13.
52545         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
52546         cutoff to 2**-25.
52547         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
52548         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
52549         small.
52550         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
52551         * math/libm-test.inc (y0_test): New tests.
52552         (y1_test): New tests.
52553         * sysdeps/i386/fpu/libm-test-ulps: Update.
52554         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52555         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52557 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
52559         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
52560         64-bit targets.
52561         * configure: Regenerated.
52563 2012-11-17  David S. Miller  <davem@davemloft.net>
52565         [BZ #14811]
52566         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
52567         nonzero exponents with absolute value below 0x1p-128 to +/-
52568         0x1p-128.
52570 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
52572         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
52574         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
52576         * posix/getconf-speclist.c: New file.
52577         * posix/posix-envs.def: Likewise.
52578         * posix/confstr.c (START_ENV_GROUP): New macro.
52579         (END_ENV_GROUP): Likewise.
52580         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
52581         (KNOWN_PRESENT_ENV_STRING): Likewise.
52582         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
52583         (UNKNOWN_ENVIRONMENT): Likewise.
52584         (confstr): Include posix-envs.def instead of handling
52585         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
52586         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
52587         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
52588         (END_ENV_GROUP): Likewise.
52589         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
52590         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
52591         (UNKNOWN_ENVIRONMENT): Likewise.
52592         (__sysconf): Include posix-envs.def instead of handling associated
52593         cases directly here.
52594         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
52595         preprocessing getconf-speclist.c rather than running getconf or
52596         generating empty file.
52598 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
52600         * scripts/check-local-headers.sh: Ignore 'mach' headers.
52602 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
52604         [BZ #14672]
52605         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
52607 2012-11-16  David S. Miller  <davem@davemloft.net>
52609         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
52610         smaller than LDBL_EPSILON/2.0L, just return xm1.
52612 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
52614         * elf/tst-array1.c (init): Set constructor priority to 1000.
52615         (fini): Set destructor priority to 1000.
52616         * elf/tst-array2dep.c: Likewise.
52618 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52620         [BZ #11741]
52621         * libio/fileops.c (_IO_new_file_write): Correctly return error.
52622         (_IO_new_file_xsputn): Also return EOF if none of the input
52623         data was written when overflow failed.
52624         * libio/iopadn.c (_IO_padn): Likewise.
52625         * libio/iowpadn.c (_IO_wpadn): Likewise.
52626         * stdio-common/tst-put-error.c: Add copyright notice.
52627         (do_test): Add case for printing padded string.
52628         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
52629         _IO_padn returned error.
52630         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
52631         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
52632         return EOF.
52634 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52636         * libio/libioP.h: Add comment note that the references to C++
52637         bits are now obsolete.
52639 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52641         * math/libm-test.inc (check_complex): Use asprintf.
52643 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
52645         * debug/pcprofiledump.c (print_version): Update copyright year.
52646         * malloc/memusagestat.c (print_version): Likewise.
52648 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
52650         [BZ #14831]
52651         * elf/Makefile (tests): Add tst-audit8.
52652         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
52653         ($(objpfx)tst-audit8.out): New target.
52654         (tst-audit8-ENV): New variable.
52655         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
52656         audit if l_reloc_result is NULL.
52657         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
52658         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
52659         * elf/tst-audit8.c: New file.
52661 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52663         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
52664         * misc/Makefile (CFLAGS-select.c): Define.
52665         * posix/Makefile (CFLAGS-pause.c): Define.
52667 2012-11-13  David S. Miller  <davem@davemloft.net>
52669         * crypt/Makefile: Move test targets after toplevel Rules
52670         inclusion.  Grab any necessary sysdep routines when linking.
52671         * crypt/md5.c (md5_process_block): Remove define, we will always
52672         name it __md5_process_block.
52673         (md5_finish_ctx): Update md5_process_block call.
52674         (md5_stream): Likewise.
52675         (md5_process_bytes): Likewise.
52676         (md5_process_block): Rename to __md5_process_block and move to ...
52677         * crypt/md5-block.c: ... here.
52678         * crypt/sha256.c (sha256_process_block): Move to ...
52679         * crypt/sha256-block.c: ... here.
52680         * crypt/sha512.c (sha512_process_block): Move to ...
52681         * crypt/sha512-block.c: ... here.
52682         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
52683         path.
52684         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
52685         * sysdeps/sparc/sparc64/multiarch/Makefile
52686         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
52687         crypt subdir.
52688         (localedef-aux): Add md5 crypto assembler when in locale subdir.
52689         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
52690         multiarch changes.
52691         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
52692         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
52693         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
52694         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
52695         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
52696         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
52697         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
52698         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
52699         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
52700         file.
52701         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
52702         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
52703         file.
52704         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
52706 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
52708         * timezone/tzselect.ksh: Update from tzcode git revision
52709         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
52710         * timezone/zdump.c: Likewise.
52711         * timezone/zic.c: Likewise.
52712         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
52713         in TZVERSION setting, not $(PKGVERSION).
52714         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
52715         REPORT_BUGS_TO settings.
52717         [BZ #14838]
52718         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
52719         macro.
52721 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52723         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
52724         detection to immediately after _FP_ROUND().
52725         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
52726         bits are 0.
52728 2012-11-11  David S. Miller  <davem@davemloft.net>
52730         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
52731         inttypes.h
52732         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
52733         __close rather than their public counterparts.
52735 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
52737         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
52738         file.
52739         [UNIX98] (sem_timedwait): Do not expect.
52740         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
52741         [XPG4 || UNIX98] (sockatmark): Do not expect.
52742         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
52743         (clock_getcpuclockid): Do not expect.
52744         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
52745         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
52746         Do not expect.
52747         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
52748         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
52749         [UNIX98] (vwscanf): Likewise.
52750         [UNIX98] (vswscanf): Likewise.
52752 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
52754         * timezone/version.h: Remove file.
52755         * timezone/README: Do not refer to version.h.
52756         * timezone/Makefile ($(objpfx)zic.o): New dependency on
52757         $(objpfx)version.h.
52758         ($(objpfx)zdump.o): Likewise.
52759         ($(objpfx)version.h): New target.
52761         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
52762         2012i.
52763         * timezone/README: Don't mention modification to tzselect.ksh.
52764         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
52765         work on unmodified tzselect.ksh.  Substitute version numbers in
52766         tzselect.ksh.
52768         * Makefile (format-me): Remove.
52769         (INSTALL): Adjust indentation.  Use commands directly instead of
52770         using $(format-me).
52772         * aclocal.m4 (ACX_PKGVERSION): New macro.
52773         (ACX_BUGURL): Likewise.
52774         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
52775         (PKGVERSION): New AC_DEFINE_UNQUOTED.
52776         (REPORT_BUGS_TO): Likewise.
52777         * configure: Regenerated.
52778         * config.h.in (PKGVERSION): New macro.
52779         (REPORT_BUGS_TO): Likewise.
52780         * config.make.in (PKGVERSION): New variable.
52781         (PKGVERSION_TEXI): Likewise.
52782         (REPORT_BUGS_TO): Likewise.
52783         (REPORT_BUGS_TEXI): Likewise.
52784         * Makefile (format-me): Use -I$(common-objpfx)manual.
52785         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
52786         ($(common-objpfx)manual/%): New target.
52787         (manual/%): Remove target.
52788         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
52789         (print_version): Use PKGVERSION.
52790         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
52791         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
52792         and REPORT_BUGS_TO.
52793         ($(objpfx)xtrace): Likewise.
52794         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
52795         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
52796         (print_version): Use PKGVERSION.
52797         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
52798         (do_version): Use PKGVERSION.
52799         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
52800         REPORT_BUGS_TO.
52801         (common-ldd-rewrite): Likewise.
52802         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
52803         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
52804         (print_version): Use PKGVERSION.
52805         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
52806         * elf/pldd.c (argp_program_bug_address): Remove variable.
52807         (more_help): New function.
52808         (argp): Use more_help.
52809         (print_version): Use PKGVERSION.
52810         * elf/sln.c (main): Use PKGVERSION.
52811         (usage): Use REPORT_BUGS_TO.
52812         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
52813         (top level): Use PKGVERSION.
52814         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
52815         (print_version): Use PKGVERSION.
52816         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
52817         (print_version): Use PKGVERSION.
52818         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
52819         (print_version): Use PKGVERSION.
52820         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
52821         (print_version): Use PKGVERSION.
52822         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
52823         (print_version): Use PKGVERSION.
52824         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
52825         (print_version): Use PKGVERSION.
52826         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
52827         and BUGURL.
52828         ($(objpfx)memusage): Likewise.
52829         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
52830         (do_version): Use PKGVERSION.
52831         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
52832         (print_version): Use PKGVERSION.
52833         * malloc/mtrace.pl ($PACKAGE): Remove variable.
52834         ($PKGVERSION): New variable.
52835         ($REPORT_BUGS_TO): Likewise.
52836         (usage): Use $REPORT_BUGS_TO.
52837         (top level): Use $PKGVERSION.
52838         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
52839         ($(objpfx)pkgvers.texi): New rule.
52840         ($(objpfx)stamp-pkgvers): Likewise.
52841         * manual/install.texi: Include pkgvers.texi.
52842         (--with-pkgversion): Document new configure option.
52843         (--with-bugurl): Likewise.
52844         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
52845         than necessarily for this particular distribution.  Use
52846         REPORT_BUGS_TO for where to report bugs.
52847         * INSTALL: Regenerated.
52848         * manual/libc.texinfo: Include pkgvers.texi.
52849         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
52850         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
52851         (print_version): Use PKGVERSION.
52852         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
52853         (print_version): Use PKGVERSION.
52854         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
52855         (print_version): Use PKGVERSION.
52856         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
52857         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
52858         macro.
52859         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
52860         (print_version): Use PKGVERSION.
52861         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
52862         (print_version): Use PKGVERSION.
52863         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
52864         and PKGVERSION.
52866         * timezone/checktab.awk: Update from tzcode 2012i.
52867         * timezone/ialloc.c: Likewise.
52868         * timezone/private.h: Likewise.
52869         * timezone/scheck.c: Likewise.
52870         * timezone/tzfile.h: Likewise.
52871         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
52872         (TZVERSION): Hardcode tzcode version number.
52873         * timezone/zdump.c: Update from tzcode 2012i.
52874         * timezone/zic.c: Likewise.
52875         * timezone/version.h: New file.
52876         * timezone/README: Describe version.h.  Update upstream location.
52878         [BZ #14824]
52879         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
52880         (mktemp): Enable declaration.
52881         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
52882         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
52883         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
52884         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
52885         Likewise.
52886         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
52887         Likewise.
52888         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
52889         Likewise.
52890         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
52891         Likewise.
52892         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
52893         Likewise.
52894         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
52895         Likewise.
52897         [BZ #14821]
52898         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
52899         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
52900         for copies of such integer values.
52901         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52902         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52904 2012-11-09  Andreas Jaeger  <aj@suse.de>
52906         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
52907         definitions and declarations that are provided by
52908         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
52910 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52912         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
52913         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
52914         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
52915         definition.
52917 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52919         * elf/elf.h: Update comment before AArch64 relocations.
52921 2012-11-07  David S. Miller  <davem@davemloft.net>
52923         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
52924         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52925         (__start_context): Declare.
52926         (__makecontext_ret): Delete.
52927         (__makecontext): Hook up __start_context instead of
52928         __makecontext_ret.
52929         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
52930         (sysdep_routines): Add __start_context when in stdlib.
52932 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
52934         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
52935         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
52936         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
52937         hardcoded "nm".
52938         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
52939         (READELF): New variable.  Use it instead of hardcoded "readelf".
52941 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
52943         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
52944         * sysdeps/x86/Makefile: Here.
52945         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
52946         * sysdeps/x86/tst-xmmymm.sh: This.
52948 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
52950         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
52951         expectations.
52952         [UNIX98] (pthread_barrier_t): Do not expect.
52953         [UNIX98] (pthread_barrierattr_t): Likewise.
52954         [UNIX98] (pthread_spinlock_t): Likewise.
52955         [UNIX98] (pthread_barrier_destroy): Likewise.
52956         [UNIX98] (pthread_barrier_init): Likewise.
52957         [UNIX98] (pthread_barrier_wait): Likewise.
52958         [UNIX98] (pthread_barrierattr_destroy): Likewise.
52959         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
52960         [UNIX98] (pthread_barrierattr_init): Likewise.
52961         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
52962         [UNIX98] (pthread_getcpuclockid): Likewise.
52963         [UNIX98] (pthread_mutex_timedlock): Likewise.
52964         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
52965         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
52966         [UNIX98] (pthread_sigmask): Likewise.
52967         [UNIX98] (pthread_spin_destroy): Likewise.
52968         [UNIX98] (pthread_spin_init): Likewise.
52969         [UNIX98] (pthread_spin_lock): Likewise.
52970         [UNIX98] (pthread_spin_trylock): Likewise.
52971         [UNIX98] (pthread_spin_unlock): Likewise.
52972         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
52973         Do not expect.
52974         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
52975         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
52976         [XPG3 || XPG4] (pthread_cond_t): Likewise.
52977         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
52978         [XPG3 || XPG4] (pthread_key_t): Likewise.
52979         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
52980         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
52981         [XPG3 || XPG4] (pthread_once_t): Likewise.
52982         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
52983         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
52984         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
52985         [XPG3 || XPG4] (pthread_t): Likewise.
52987         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
52988         not expect.
52989         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
52991         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
52992         Change function return type to int.
52994         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
52995         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
52996         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
52997         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
52998         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
52999         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
53000         [!POSIX] (posix_madvise): Likewise.
53001         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
53002         && !UNIX98].
53003         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
53004         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
53005         (mode_t): Likewise.
53006         (posix_mem_offset): Likewise.
53007         (posix_typed_mem_get_info): Likewise.
53008         (posix_typed_mem_open): Likewise.
53010         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
53011         Change condition to [XOPEN2K8].
53013         * conform/conformtest.pl: Preprocess allow-header data with -x c
53014         instead of from stdin.
53015         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
53016         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
53017         [C99-based standards] (cerfc): Likewise.
53018         [C99-based standards] (cexp2): Likewise.
53019         [C99-based standards] (cexpm1): Likewise.
53020         [C99-based standards] (clog10): Likewise.
53021         [C99-based standards] (clog1p): Likewise.
53022         [C99-based standards] (clog2): Likewise.
53023         [C99-based standards] (clgamma): Likewise.
53024         [C99-based standards] (ctgamma): Likewise.
53025         [C99-based standards] (cerff): Likewise.
53026         [C99-based standards] (cerfcf): Likewise.
53027         [C99-based standards] (cexp2f): Likewise.
53028         [C99-based standards] (cexpm1f): Likewise.
53029         [C99-based standards] (clog10f): Likewise.
53030         [C99-based standards] (clog1pf): Likewise.
53031         [C99-based standards] (clog2f): Likewise.
53032         [C99-based standards] (clgammaf): Likewise.
53033         [C99-based standards] (ctgammaf): Likewise.
53034         [C99-based standards] (cerfl): Likewise.
53035         [C99-based standards] (cerfcl): Likewise.
53036         [C99-based standards] (cexp2l): Likewise.
53037         [C99-based standards] (cexpm1l): Likewise.
53038         [C99-based standards] (clog10l): Likewise.
53039         [C99-based standards] (clog1pl): Likewise.
53040         [C99-based standards] (clog2l): Likewise.
53041         [C99-based standards] (clgammal): Likewise.
53042         [C99-based standards] (ctgammal): Likewise.
53043         * conform/data/inttypes.h-data [C99-based standards]: Include
53044         stdint.h-data.  Remove all expectations for stdint.h contents.
53045         [C99-based standards] (PRI*): Do not allow.
53046         [C99-based standards] (SCN*): Likewise.
53047         [C99-based standards] (*_t): Likewise.
53048         [C99-based-standards] (PRId8): Expect macro.
53049         [C99-based-standards] (PRIi8): Likewise.
53050         [C99-based-standards] (PRIo8): Likewise.
53051         [C99-based-standards] (PRIu8): Likewise.
53052         [C99-based-standards] (PRIx8): Likewise.
53053         [C99-based-standards] (PRIX8): Likewise.
53054         [C99-based-standards] (SCNd8): Likewise.
53055         [C99-based-standards] (SCNi8): Likewise.
53056         [C99-based-standards] (SCNo8): Likewise.
53057         [C99-based-standards] (SCNu8): Likewise.
53058         [C99-based-standards] (SCNx8): Likewise.
53059         [C99-based-standards] (PRIdLEAST8): Likewise.
53060         [C99-based-standards] (PRIiLEAST8): Likewise.
53061         [C99-based-standards] (PRIoLEAST8): Likewise.
53062         [C99-based-standards] (PRIuLEAST8): Likewise.
53063         [C99-based-standards] (PRIxLEAST8): Likewise.
53064         [C99-based-standards] (PRIXLEAST8): Likewise.
53065         [C99-based-standards] (SCNdLEAST8): Likewise.
53066         [C99-based-standards] (SCNiLEAST8): Likewise.
53067         [C99-based-standards] (SCNoLEAST8): Likewise.
53068         [C99-based-standards] (SCNuLEAST8): Likewise.
53069         [C99-based-standards] (SCNxLEAST8): Likewise.
53070         [C99-based-standards] (PRIdFAST8): Likewise.
53071         [C99-based-standards] (PRIiFAST8): Likewise.
53072         [C99-based-standards] (PRIoFAST8): Likewise.
53073         [C99-based-standards] (PRIuFAST8): Likewise.
53074         [C99-based-standards] (PRIxFAST8): Likewise.
53075         [C99-based-standards] (PRIXFAST8): Likewise.
53076         [C99-based-standards] (SCNdFAST8): Likewise.
53077         [C99-based-standards] (SCNiFAST8): Likewise.
53078         [C99-based-standards] (SCNoFAST8): Likewise.
53079         [C99-based-standards] (SCNuFAST8): Likewise.
53080         [C99-based-standards] (SCNxFAST8): Likewise.
53081         [C99-based-standards] (PRId16): Likewise.
53082         [C99-based-standards] (PRIi16): Likewise.
53083         [C99-based-standards] (PRIo16): Likewise.
53084         [C99-based-standards] (PRIu16): Likewise.
53085         [C99-based-standards] (PRIx16): Likewise.
53086         [C99-based-standards] (PRIX16): Likewise.
53087         [C99-based-standards] (SCNd16): Likewise.
53088         [C99-based-standards] (SCNi16): Likewise.
53089         [C99-based-standards] (SCNo16): Likewise.
53090         [C99-based-standards] (SCNu16): Likewise.
53091         [C99-based-standards] (SCNx16): Likewise.
53092         [C99-based-standards] (PRIdLEAST16): Likewise.
53093         [C99-based-standards] (PRIiLEAST16): Likewise.
53094         [C99-based-standards] (PRIoLEAST16): Likewise.
53095         [C99-based-standards] (PRIuLEAST16): Likewise.
53096         [C99-based-standards] (PRIxLEAST16): Likewise.
53097         [C99-based-standards] (PRIXLEAST16): Likewise.
53098         [C99-based-standards] (SCNdLEAST16): Likewise.
53099         [C99-based-standards] (SCNiLEAST16): Likewise.
53100         [C99-based-standards] (SCNoLEAST16): Likewise.
53101         [C99-based-standards] (SCNuLEAST16): Likewise.
53102         [C99-based-standards] (SCNxLEAST16): Likewise.
53103         [C99-based-standards] (PRIdFAST16): Likewise.
53104         [C99-based-standards] (PRIiFAST16): Likewise.
53105         [C99-based-standards] (PRIoFAST16): Likewise.
53106         [C99-based-standards] (PRIuFAST16): Likewise.
53107         [C99-based-standards] (PRIxFAST16): Likewise.
53108         [C99-based-standards] (PRIXFAST16): Likewise.
53109         [C99-based-standards] (SCNdFAST16): Likewise.
53110         [C99-based-standards] (SCNiFAST16): Likewise.
53111         [C99-based-standards] (SCNoFAST16): Likewise.
53112         [C99-based-standards] (SCNuFAST16): Likewise.
53113         [C99-based-standards] (SCNxFAST16): Likewise.
53114         [C99-based-standards] (PRId32): Likewise.
53115         [C99-based-standards] (PRIi32): Likewise.
53116         [C99-based-standards] (PRIo32): Likewise.
53117         [C99-based-standards] (PRIu32): Likewise.
53118         [C99-based-standards] (PRIx32): Likewise.
53119         [C99-based-standards] (PRIX32): Likewise.
53120         [C99-based-standards] (SCNd32): Likewise.
53121         [C99-based-standards] (SCNi32): Likewise.
53122         [C99-based-standards] (SCNo32): Likewise.
53123         [C99-based-standards] (SCNu32): Likewise.
53124         [C99-based-standards] (SCNx32): Likewise.
53125         [C99-based-standards] (PRIdLEAST32): Likewise.
53126         [C99-based-standards] (PRIiLEAST32): Likewise.
53127         [C99-based-standards] (PRIoLEAST32): Likewise.
53128         [C99-based-standards] (PRIuLEAST32): Likewise.
53129         [C99-based-standards] (PRIxLEAST32): Likewise.
53130         [C99-based-standards] (PRIXLEAST32): Likewise.
53131         [C99-based-standards] (SCNdLEAST32): Likewise.
53132         [C99-based-standards] (SCNiLEAST32): Likewise.
53133         [C99-based-standards] (SCNoLEAST32): Likewise.
53134         [C99-based-standards] (SCNuLEAST32): Likewise.
53135         [C99-based-standards] (SCNxLEAST32): Likewise.
53136         [C99-based-standards] (PRIdFAST32): Likewise.
53137         [C99-based-standards] (PRIiFAST32): Likewise.
53138         [C99-based-standards] (PRIoFAST32): Likewise.
53139         [C99-based-standards] (PRIuFAST32): Likewise.
53140         [C99-based-standards] (PRIxFAST32): Likewise.
53141         [C99-based-standards] (PRIXFAST32): Likewise.
53142         [C99-based-standards] (SCNdFAST32): Likewise.
53143         [C99-based-standards] (SCNiFAST32): Likewise.
53144         [C99-based-standards] (SCNoFAST32): Likewise.
53145         [C99-based-standards] (SCNuFAST32): Likewise.
53146         [C99-based-standards] (SCNxFAST32): Likewise.
53147         [C99-based-standards] (PRId64): Likewise.
53148         [C99-based-standards] (PRIi64): Likewise.
53149         [C99-based-standards] (PRIo64): Likewise.
53150         [C99-based-standards] (PRIu64): Likewise.
53151         [C99-based-standards] (PRIx64): Likewise.
53152         [C99-based-standards] (PRIX64): Likewise.
53153         [C99-based-standards] (SCNd64): Likewise.
53154         [C99-based-standards] (SCNi64): Likewise.
53155         [C99-based-standards] (SCNo64): Likewise.
53156         [C99-based-standards] (SCNu64): Likewise.
53157         [C99-based-standards] (SCNx64): Likewise.
53158         [C99-based-standards] (PRIdLEAST64): Likewise.
53159         [C99-based-standards] (PRIiLEAST64): Likewise.
53160         [C99-based-standards] (PRIoLEAST64): Likewise.
53161         [C99-based-standards] (PRIuLEAST64): Likewise.
53162         [C99-based-standards] (PRIxLEAST64): Likewise.
53163         [C99-based-standards] (PRIXLEAST64): Likewise.
53164         [C99-based-standards] (SCNdLEAST64): Likewise.
53165         [C99-based-standards] (SCNiLEAST64): Likewise.
53166         [C99-based-standards] (SCNoLEAST64): Likewise.
53167         [C99-based-standards] (SCNuLEAST64): Likewise.
53168         [C99-based-standards] (SCNxLEAST64): Likewise.
53169         [C99-based-standards] (PRIdFAST64): Likewise.
53170         [C99-based-standards] (PRIiFAST64): Likewise.
53171         [C99-based-standards] (PRIoFAST64): Likewise.
53172         [C99-based-standards] (PRIuFAST64): Likewise.
53173         [C99-based-standards] (PRIxFAST64): Likewise.
53174         [C99-based-standards] (PRIXFAST64): Likewise.
53175         [C99-based-standards] (SCNdFAST64): Likewise.
53176         [C99-based-standards] (SCNiFAST64): Likewise.
53177         [C99-based-standards] (SCNoFAST64): Likewise.
53178         [C99-based-standards] (SCNuFAST64): Likewise.
53179         [C99-based-standards] (SCNxFAST64): Likewise.
53180         [C99-based-standards] (PRIdMAX): Likewise.
53181         [C99-based-standards] (PRIiMAX): Likewise.
53182         [C99-based-standards] (PRIoMAX): Likewise.
53183         [C99-based-standards] (PRIuMAX): Likewise.
53184         [C99-based-standards] (PRIxMAX): Likewise.
53185         [C99-based-standards] (PRIXMAX): Likewise.
53186         [C99-based-standards] (SCNdMAX): Likewise.
53187         [C99-based-standards] (SCNiMAX): Likewise.
53188         [C99-based-standards] (SCNoMAX): Likewise.
53189         [C99-based-standards] (SCNuMAX): Likewise.
53190         [C99-based-standards] (SCNxMAX): Likewise.
53191         [C99-based-standards] (PRIdPTR): Likewise.
53192         [C99-based-standards] (PRIiPTR): Likewise.
53193         [C99-based-standards] (PRIoPTR): Likewise.
53194         [C99-based-standards] (PRIuPTR): Likewise.
53195         [C99-based-standards] (PRIxPTR): Likewise.
53196         [C99-based-standards] (PRIXPTR): Likewise.
53197         [C99-based-standards] (SCNdPTR): Likewise.
53198         [C99-based-standards] (SCNiPTR): Likewise.
53199         [C99-based-standards] (SCNoPTR): Likewise.
53200         [C99-based-standards] (SCNuPTR): Likewise.
53201         [C99-based-standards] (SCNxPTR): Likewise.
53202         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
53203         allow.
53204         * conform/data/stdint.h-data: Update comments to clarify
53205         requirements.
53206         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
53207         type.
53208         [C99-based standards] (INT8_MAX): Likewise.
53209         [C99-based standards] (INT16_MIN): Likewise.
53210         [C99-based standards] (INT16_MAX): Likewise.
53211         [C99-based standards] (INT32_MIN): Likewise.
53212         [C99-based standards] (INT32_MAX): Likewise.
53213         [C99-based standards] (INT64_MIN): Likewise.
53214         [C99-based standards] (INT64_MAX): Likewise.
53215         [C99-based standards] (UINT8_MAX): Likewise.
53216         [C99-based standards] (UINT16_MAX): Likewise.
53217         [C99-based standards] (UINT32_MAX): Likewise.
53218         [C99-based standards] (UINT64_MAX): Likewise.
53219         [C99-based standards] (INT_LEAST8_MIN): Likewise.
53220         [C99-based standards] (INT_LEAST8_MAX): Likewise.
53221         [C99-based standards] (INT_LEAST16_MIN): Likewise.
53222         [C99-based standards] (INT_LEAST16_MAX): Likewise.
53223         [C99-based standards] (INT_LEAST32_MIN): Likewise.
53224         [C99-based standards] (INT_LEAST32_MAX): Likewise.
53225         [C99-based standards] (INT_LEAST64_MIN): Likewise.
53226         [C99-based standards] (INT_LEAST64_MAX): Likewise.
53227         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
53228         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
53229         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
53230         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
53231         [C99-based standards] (INT_FAST8_MIN): Likewise.
53232         [C99-based standards] (INT_FAST8_MAX): Likewise.
53233         [C99-based standards] (INT_FAST16_MIN): Likewise.
53234         [C99-based standards] (INT_FAST16_MAX): Likewise.
53235         [C99-based standards] (INT_FAST32_MIN): Likewise.
53236         [C99-based standards] (INT_FAST32_MAX): Likewise.
53237         [C99-based standards] (INT_FAST64_MIN): Likewise.
53238         [C99-based standards] (INT_FAST64_MAX): Likewise.
53239         [C99-based standards] (UINT_FAST8_MAX): Likewise.
53240         [C99-based standards] (UINT_FAST16_MAX): Likewise.
53241         [C99-based standards] (UINT_FAST32_MAX): Likewise.
53242         [C99-based standards] (UINT_FAST64_MAX): Likewise.
53243         [C99-based standards] (INTPTR_MIN): Likewise.
53244         [C99-based standards] (INTPTR_MAX): Likewise.
53245         [C99-based standards] (UINTPTR_MAX): Likewise.
53246         [C99-based standards] (INTMAX_MIN): Likewise.
53247         [C99-based standards] (INTMAX_MAX): Likewise.
53248         [C99-based standards] (UINTMAX_MAX): Likewise.
53249         [C99-based standards] (PTRDIFF_MIN): Likewise.
53250         [C99-based standards] (PTRDIFF_MAX): Likewise.
53251         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
53252         [C99-based standards] (SIZE_MAX): Likewise.
53253         [C99-based standards] (WCHAR_MAX): Likewise.
53254         [C99-based standards] (WINT_MAX): Likewise.
53255         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
53256         constraint on value.
53257         [C99-based standards] (WCHAR_MIN): Likewise.
53258         [C99-based standards] (WINT_MIN): Likewise.
53259         [C99-based standards] (*_t): Allow.
53260         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
53261         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
53262         Include math.h-data and complex.h-data.  Remove all expectations
53263         of math.h and complex.h contents.
53264         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
53265         at end of line.
53266         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
53267         (struct tm): Expect tag.
53268         [C99-based-standards] (wcstof): Expect function.
53269         [C99-based-standards] (wcstold): Likewise.
53270         [C99-based-standards] (wcstoll): Likewise.
53271         [C99-based-standards] (wcstoull): Likewise.
53272         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
53273         macro-int-constant.  Specify type.
53274         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
53275         constraint on value.
53276         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
53277         Specify type.
53278         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
53279         Specify value.
53280         [ISO C standards]: Do not allow headers.
53281         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
53282         wcs[abcdefghijklmnopqrstuvwxyz]*.
53283         [ISO C standards] (*_t): Do not allow.
53284         * conform/data/wctype.h-data [C99-based standards] (iswblank):
53285         Expect function.
53286         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
53287         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
53288         Specify type.
53289         [ISO C standards]: Do not allow headers.
53290         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
53291         is[abcdefghijklmnopqrstuvwxyz]*.
53292         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
53293         to[abcdefghijklmnopqrstuvwxyz]*.
53294         [ISO C standards] (*_t): Do not allow.
53295         * conform/data/stdalign.h-data: New file.
53296         * conform/data/stdbool.h-data: Likewise.
53297         * conform/data/stdnoreturn.h-data: Likewise.
53299 2012-11-07  Roland McGrath  <roland@hack.frob.com>
53301         [BZ #14815]
53302         * manual/filesys.texi (Directory Entries): Typo fix.
53303         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
53305 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53307         * elf/elf.h (EM_AARCH64): New macro.
53308         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
53309         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
53310         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
53311         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
53312         (R_AARCH64_TLSDESC): Likewise.
53313         (NT_ARM_TLS): Likewise.
53314         (NT_ARM_HW_BREAK): Likewise.
53315         (NT_ARM_HW_WATCH): Likewise.
53317 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53319         [BZ #14811]
53320         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
53321         (__ieee754_powl): Saturate nonzero exponents with absolute value
53322         below 0x1p-79 to +/- 0x1p-79.
53323         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
53324         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
53325         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
53326         nonzero exponents with absolute value below 0x1p-32 to +/-
53327         0x1p-32.
53328         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
53329         (__ieee754_powl): Saturate nonzero exponents with absolute value
53330         below 0x1p-79 to +/- 0x1p-79.
53331         * math/libm-test.inc (pow_test): Add more tests.
53333 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53335         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
53336         _dl_s390_cap_flags with kernel. Increase string length.
53337         (_dl_s390_platforms): Add z196 and zEC12.
53339 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53341         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
53342         Change XOPEN21K to XOPEN2K.
53344 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
53346         * string/memmove.c: Use memcpy when possible.
53348 2012-11-06  Andreas Jaeger  <aj@suse.de>
53350         * po/eo.po: Update from translation team.
53352 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
53354         [BZ #14793]
53355         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
53356         exponent and small x and y exponents, scale x or y up.  Increase
53357         by 2 the exponent used in scaling up.
53358         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53359         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53360         * math/libm-test.inc (fma_test): Add more tests.
53361         (fma_test_towardzero): Likewise.
53362         (fma_test_downward): Likewise.
53363         (fma_test_upward): Likewise.
53365 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
53367         [BZ #14805]
53368         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
53369         fenv_t *.
53371         [BZ #14801]
53372         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
53373         namespace for names of struct fields.
53374         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
53375         fenv_t fields.
53376         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
53377         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
53379 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53381         [BZ #3665]
53382         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
53384 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
53386         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
53387         PTR_DEMANGLE.
53389         [BZ #5246]
53390         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
53391         PTR_DEMANGLE.
53393 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
53395         [BZ #14797]
53396         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
53397         definitely overflow as x * y not x * y + z.
53398         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53399         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53400         * math/libm-test.inc (fma_test): Add more tests.
53401         (fma_test_towardzero): Likewise.
53402         (fma_test_downward): Likewise.
53403         (fma_test_upward): Likewise.
53405 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
53407         [BZ #157]
53409         * include/stub-tag.h: Remove file.
53410         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
53411         '#include' of it.
53412         * manual/maint.texi (Porting): Don't reference it.
53413         * Makerules ($(objpfx)stubs): Likewise.
53414         * dirent/closedir.c: Don't include <stub-tag.h>.
53415         * dirent/dirfd.c: Likewise.
53416         * dirent/fdopendir.c: Likewise.
53417         * dirent/getdents.c: Likewise.
53418         * dirent/getdents64.c: Likewise.
53419         * dirent/opendir.c: Likewise.
53420         * dirent/readdir.c: Likewise.
53421         * dirent/readdir64.c: Likewise.
53422         * dirent/readdir64_r.c: Likewise.
53423         * dirent/readdir_r.c: Likewise.
53424         * dirent/rewinddir.c: Likewise.
53425         * dirent/seekdir.c: Likewise.
53426         * dirent/telldir.c: Likewise.
53427         * gmon/profil.c: Likewise.
53428         * grp/setgroups.c: Likewise.
53429         * inet/if_index.c: Likewise.
53430         * io/access.c: Likewise.
53431         * io/chdir.c: Likewise.
53432         * io/chmod.c: Likewise.
53433         * io/chown.c: Likewise.
53434         * io/close.c: Likewise.
53435         * io/dup.c: Likewise.
53436         * io/dup2.c: Likewise.
53437         * io/dup3.c: Likewise.
53438         * io/euidaccess.c: Likewise.
53439         * io/faccessat.c: Likewise.
53440         * io/fchdir.c: Likewise.
53441         * io/fchmod.c: Likewise.
53442         * io/fchmodat.c: Likewise.
53443         * io/fchown.c: Likewise.
53444         * io/fchownat.c: Likewise.
53445         * io/fcntl.c: Likewise.
53446         * io/flock.c: Likewise.
53447         * io/fstatfs.c: Likewise.
53448         * io/fstatfs64.c: Likewise.
53449         * io/fstatvfs.c: Likewise.
53450         * io/fstatvfs64.c: Likewise.
53451         * io/futimens.c: Likewise.
53452         * io/fxstat.c: Likewise.
53453         * io/fxstat64.c: Likewise.
53454         * io/fxstatat.c: Likewise.
53455         * io/fxstatat64.c: Likewise.
53456         * io/getcwd.c: Likewise.
53457         * io/isatty.c: Likewise.
53458         * io/lchmod.c: Likewise.
53459         * io/lchown.c: Likewise.
53460         * io/link.c: Likewise.
53461         * io/linkat.c: Likewise.
53462         * io/lseek.c: Likewise.
53463         * io/lseek64.c: Likewise.
53464         * io/lxstat64.c: Likewise.
53465         * io/mkdir.c: Likewise.
53466         * io/mkdirat.c: Likewise.
53467         * io/mkfifo.c: Likewise.
53468         * io/mkfifoat.c: Likewise.
53469         * io/open.c: Likewise.
53470         * io/open64.c: Likewise.
53471         * io/openat.c: Likewise.
53472         * io/openat64.c: Likewise.
53473         * io/pipe.c: Likewise.
53474         * io/pipe2.c: Likewise.
53475         * io/poll.c: Likewise.
53476         * io/posix_fadvise.c: Likewise.
53477         * io/posix_fadvise64.c: Likewise.
53478         * io/posix_fallocate.c: Likewise.
53479         * io/posix_fallocate64.c: Likewise.
53480         * io/read.c: Likewise.
53481         * io/readlink.c: Likewise.
53482         * io/readlinkat.c: Likewise.
53483         * io/rmdir.c: Likewise.
53484         * io/sendfile.c: Likewise.
53485         * io/sendfile64.c: Likewise.
53486         * io/statfs.c: Likewise.
53487         * io/statfs64.c: Likewise.
53488         * io/statvfs.c: Likewise.
53489         * io/statvfs64.c: Likewise.
53490         * io/symlink.c: Likewise.
53491         * io/symlinkat.c: Likewise.
53492         * io/ttyname.c: Likewise.
53493         * io/ttyname_r.c: Likewise.
53494         * io/umask.c: Likewise.
53495         * io/unlink.c: Likewise.
53496         * io/unlinkat.c: Likewise.
53497         * io/utime.c: Likewise.
53498         * io/utimensat.c: Likewise.
53499         * io/write.c: Likewise.
53500         * io/xmknod.c: Likewise.
53501         * io/xmknodat.c: Likewise.
53502         * io/xstat.c: Likewise.
53503         * io/xstat64.c: Likewise.
53504         * login/getpt.c: Likewise.
53505         * login/grantpt.c: Likewise.
53506         * login/unlockpt.c: Likewise.
53507         * math/e_acoshl.c: Likewise.
53508         * math/e_acosl.c: Likewise.
53509         * math/e_asinl.c: Likewise.
53510         * math/e_atan2l.c: Likewise.
53511         * math/e_atanhl.c: Likewise.
53512         * math/e_coshl.c: Likewise.
53513         * math/e_expl.c: Likewise.
53514         * math/e_fmodl.c: Likewise.
53515         * math/e_gammal_r.c: Likewise.
53516         * math/e_hypotl.c: Likewise.
53517         * math/e_j0l.c: Likewise.
53518         * math/e_j1l.c: Likewise.
53519         * math/e_jnl.c: Likewise.
53520         * math/e_lgammal_r.c: Likewise.
53521         * math/e_log10l.c: Likewise.
53522         * math/e_log2l.c: Likewise.
53523         * math/e_logl.c: Likewise.
53524         * math/e_powl.c: Likewise.
53525         * math/e_rem_pio2l.c: Likewise.
53526         * math/e_sinhl.c: Likewise.
53527         * math/e_sqrtl.c: Likewise.
53528         * math/fclrexcpt.c: Likewise.
53529         * math/fedisblxcpt.c: Likewise.
53530         * math/feenablxcpt.c: Likewise.
53531         * math/fegetenv.c: Likewise.
53532         * math/fegetexcept.c: Likewise.
53533         * math/fegetround.c: Likewise.
53534         * math/feholdexcpt.c: Likewise.
53535         * math/fesetenv.c: Likewise.
53536         * math/fesetround.c: Likewise.
53537         * math/feupdateenv.c: Likewise.
53538         * math/fgetexcptflg.c: Likewise.
53539         * math/fraiseexcpt.c: Likewise.
53540         * math/fsetexcptflg.c: Likewise.
53541         * math/ftestexcept.c: Likewise.
53542         * math/k_cosl.c: Likewise.
53543         * math/k_rem_pio2l.c: Likewise.
53544         * math/k_sinl.c: Likewise.
53545         * math/k_tanl.c: Likewise.
53546         * math/s_asinhl.c: Likewise.
53547         * math/s_atanl.c: Likewise.
53548         * math/s_cbrtl.c: Likewise.
53549         * math/s_erfl.c: Likewise.
53550         * math/s_expm1l.c: Likewise.
53551         * math/s_log1pl.c: Likewise.
53552         * math/s_tanhl.c: Likewise.
53553         * misc/acct.c: Likewise.
53554         * misc/brk.c: Likewise.
53555         * misc/chflags.c: Likewise.
53556         * misc/chroot.c: Likewise.
53557         * misc/fchflags.c: Likewise.
53558         * misc/fgetxattr.c: Likewise.
53559         * misc/flistxattr.c: Likewise.
53560         * misc/fremovexattr.c: Likewise.
53561         * misc/fsetxattr.c: Likewise.
53562         * misc/fsync.c: Likewise.
53563         * misc/ftruncate.c: Likewise.
53564         * misc/futimes.c: Likewise.
53565         * misc/futimesat.c: Likewise.
53566         * misc/getdomain.c: Likewise.
53567         * misc/getdtsz.c: Likewise.
53568         * misc/gethostid.c: Likewise.
53569         * misc/gethostname.c: Likewise.
53570         * misc/getloadavg.c: Likewise.
53571         * misc/getpagesize.c: Likewise.
53572         * misc/getsysstats.c: Likewise.
53573         * misc/getxattr.c: Likewise.
53574         * misc/gtty.c: Likewise.
53575         * misc/ioctl.c: Likewise.
53576         * misc/lgetxattr.c: Likewise.
53577         * misc/listxattr.c: Likewise.
53578         * misc/llistxattr.c: Likewise.
53579         * misc/lremovexattr.c: Likewise.
53580         * misc/lsetxattr.c: Likewise.
53581         * misc/lutimes.c: Likewise.
53582         * misc/madvise.c: Likewise.
53583         * misc/mincore.c: Likewise.
53584         * misc/mlock.c: Likewise.
53585         * misc/mlockall.c: Likewise.
53586         * misc/mmap.c: Likewise.
53587         * misc/mprotect.c: Likewise.
53588         * misc/msync.c: Likewise.
53589         * misc/munlock.c: Likewise.
53590         * misc/munlockall.c: Likewise.
53591         * misc/munmap.c: Likewise.
53592         * misc/preadv.c: Likewise.
53593         * misc/preadv64.c: Likewise.
53594         * misc/ptrace.c: Likewise.
53595         * misc/pwritev.c: Likewise.
53596         * misc/pwritev64.c: Likewise.
53597         * misc/readv.c: Likewise.
53598         * misc/reboot.c: Likewise.
53599         * misc/remap_file_pages.c: Likewise.
53600         * misc/removexattr.c: Likewise.
53601         * misc/revoke.c: Likewise.
53602         * misc/select.c: Likewise.
53603         * misc/setdomain.c: Likewise.
53604         * misc/setegid.c: Likewise.
53605         * misc/seteuid.c: Likewise.
53606         * misc/sethostid.c: Likewise.
53607         * misc/sethostname.c: Likewise.
53608         * misc/setregid.c: Likewise.
53609         * misc/setreuid.c: Likewise.
53610         * misc/setxattr.c: Likewise.
53611         * misc/sstk.c: Likewise.
53612         * misc/stty.c: Likewise.
53613         * misc/swapoff.c: Likewise.
53614         * misc/swapon.c: Likewise.
53615         * misc/sync.c: Likewise.
53616         * misc/syncfs.c: Likewise.
53617         * misc/syscall.c: Likewise.
53618         * misc/truncate.c: Likewise.
53619         * misc/ualarm.c: Likewise.
53620         * misc/usleep.c: Likewise.
53621         * misc/ustat.c: Likewise.
53622         * misc/utimes.c: Likewise.
53623         * misc/vhangup.c: Likewise.
53624         * misc/writev.c: Likewise.
53625         * posix/_exit.c: Likewise.
53626         * posix/alarm.c: Likewise.
53627         * posix/execve.c: Likewise.
53628         * posix/fexecve.c: Likewise.
53629         * posix/fork.c: Likewise.
53630         * posix/fpathconf.c: Likewise.
53631         * posix/getaddrinfo.c: Likewise.
53632         * posix/getegid.c: Likewise.
53633         * posix/geteuid.c: Likewise.
53634         * posix/getgid.c: Likewise.
53635         * posix/getgroups.c: Likewise.
53636         * posix/getlogin.c: Likewise.
53637         * posix/getlogin_r.c: Likewise.
53638         * posix/getpgid.c: Likewise.
53639         * posix/getpid.c: Likewise.
53640         * posix/getppid.c: Likewise.
53641         * posix/getresgid.c: Likewise.
53642         * posix/getresuid.c: Likewise.
53643         * posix/getsid.c: Likewise.
53644         * posix/getuid.c: Likewise.
53645         * posix/glob64.c: Likewise.
53646         * posix/nanosleep.c: Likewise.
53647         * posix/pathconf.c: Likewise.
53648         * posix/pause.c: Likewise.
53649         * posix/posix_madvise.c: Likewise.
53650         * posix/pread.c: Likewise.
53651         * posix/pread64.c: Likewise.
53652         * posix/pwrite.c: Likewise.
53653         * posix/pwrite64.c: Likewise.
53654         * posix/sched_getaffinity.c: Likewise.
53655         * posix/sched_getp.c: Likewise.
53656         * posix/sched_gets.c: Likewise.
53657         * posix/sched_primax.c: Likewise.
53658         * posix/sched_primin.c: Likewise.
53659         * posix/sched_rr_gi.c: Likewise.
53660         * posix/sched_setaffinity.c: Likewise.
53661         * posix/sched_setp.c: Likewise.
53662         * posix/sched_sets.c: Likewise.
53663         * posix/sched_yield.c: Likewise.
53664         * posix/setgid.c: Likewise.
53665         * posix/setlogin.c: Likewise.
53666         * posix/setpgid.c: Likewise.
53667         * posix/setresgid.c: Likewise.
53668         * posix/setresuid.c: Likewise.
53669         * posix/setsid.c: Likewise.
53670         * posix/setuid.c: Likewise.
53671         * posix/sleep.c: Likewise.
53672         * posix/spawni.c: Likewise.
53673         * posix/sysconf.c: Likewise.
53674         * posix/times.c: Likewise.
53675         * posix/wait.c: Likewise.
53676         * posix/wait3.c: Likewise.
53677         * posix/wait4.c: Likewise.
53678         * posix/waitpid.c: Likewise.
53679         * resolv/gai_sigqueue.c: Likewise.
53680         * resource/getpriority.c: Likewise.
53681         * resource/getrlimit.c: Likewise.
53682         * resource/getrusage.c: Likewise.
53683         * resource/nice.c: Likewise.
53684         * resource/setpriority.c: Likewise.
53685         * resource/setrlimit.c: Likewise.
53686         * resource/ulimit.c: Likewise.
53687         * rt/aio_cancel.c: Likewise.
53688         * rt/aio_fsync.c: Likewise.
53689         * rt/aio_read.c: Likewise.
53690         * rt/aio_sigqueue.c: Likewise.
53691         * rt/aio_suspend.c: Likewise.
53692         * rt/aio_write.c: Likewise.
53693         * rt/clock_getres.c: Likewise.
53694         * rt/clock_gettime.c: Likewise.
53695         * rt/clock_nanosleep.c: Likewise.
53696         * rt/clock_settime.c: Likewise.
53697         * rt/lio_listio.c: Likewise.
53698         * rt/mq_close.c: Likewise.
53699         * rt/mq_getattr.c: Likewise.
53700         * rt/mq_notify.c: Likewise.
53701         * rt/mq_open.c: Likewise.
53702         * rt/mq_receive.c: Likewise.
53703         * rt/mq_send.c: Likewise.
53704         * rt/mq_setattr.c: Likewise.
53705         * rt/mq_timedreceive.c: Likewise.
53706         * rt/mq_timedsend.c: Likewise.
53707         * rt/mq_unlink.c: Likewise.
53708         * rt/shm_open.c: Likewise.
53709         * rt/shm_unlink.c: Likewise.
53710         * rt/timer_create.c: Likewise.
53711         * rt/timer_delete.c: Likewise.
53712         * rt/timer_getoverr.c: Likewise.
53713         * rt/timer_gettime.c: Likewise.
53714         * rt/timer_settime.c: Likewise.
53715         * setjmp/__longjmp.c: Likewise.
53716         * setjmp/setjmp.c: Likewise.
53717         * signal/kill.c: Likewise.
53718         * signal/killpg.c: Likewise.
53719         * signal/raise.c: Likewise.
53720         * signal/sigaction.c: Likewise.
53721         * signal/sigaltstack.c: Likewise.
53722         * signal/sigblock.c: Likewise.
53723         * signal/sigignore.c: Likewise.
53724         * signal/sigintr.c: Likewise.
53725         * signal/signal.c: Likewise.
53726         * signal/sigpause.c: Likewise.
53727         * signal/sigpending.c: Likewise.
53728         * signal/sigqueue.c: Likewise.
53729         * signal/sigreturn.c: Likewise.
53730         * signal/sigset.c: Likewise.
53731         * signal/sigsetmask.c: Likewise.
53732         * signal/sigstack.c: Likewise.
53733         * signal/sigsuspend.c: Likewise.
53734         * signal/sigtimedwait.c: Likewise.
53735         * signal/sigvec.c: Likewise.
53736         * signal/sigwait.c: Likewise.
53737         * signal/sigwaitinfo.c: Likewise.
53738         * signal/sysv_signal.c: Likewise.
53739         * socket/accept.c: Likewise.
53740         * socket/accept4.c: Likewise.
53741         * socket/bind.c: Likewise.
53742         * socket/connect.c: Likewise.
53743         * socket/getpeername.c: Likewise.
53744         * socket/getsockname.c: Likewise.
53745         * socket/getsockopt.c: Likewise.
53746         * socket/isfdtype.c: Likewise.
53747         * socket/listen.c: Likewise.
53748         * socket/recv.c: Likewise.
53749         * socket/recvfrom.c: Likewise.
53750         * socket/recvmsg.c: Likewise.
53751         * socket/send.c: Likewise.
53752         * socket/sendmsg.c: Likewise.
53753         * socket/sendto.c: Likewise.
53754         * socket/setsockopt.c: Likewise.
53755         * socket/shutdown.c: Likewise.
53756         * socket/sockatmark.c: Likewise.
53757         * socket/socket.c: Likewise.
53758         * socket/socketpair.c: Likewise.
53759         * stdio-common/ctermid.c: Likewise.
53760         * stdio-common/cuserid.c: Likewise.
53761         * stdio-common/remove.c: Likewise.
53762         * stdio-common/rename.c: Likewise.
53763         * stdio-common/renameat.c: Likewise.
53764         * stdio-common/tempname.c: Likewise.
53765         * stdlib/getcontext.c: Likewise.
53766         * stdlib/makecontext.c: Likewise.
53767         * stdlib/setcontext.c: Likewise.
53768         * stdlib/swapcontext.c: Likewise.
53769         * stdlib/system.c: Likewise.
53770         * streams/fattach.c: Likewise.
53771         * streams/fdetach.c: Likewise.
53772         * streams/getmsg.c: Likewise.
53773         * streams/getpmsg.c: Likewise.
53774         * streams/putmsg.c: Likewise.
53775         * streams/putpmsg.c: Likewise.
53776         * sysdeps/unix/bsd/getpt.c: Likewise.
53777         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
53778         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
53779         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
53780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53781         Likewise.
53782         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
53783         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53784         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
53785         * sysvipc/msgctl.c: Likewise.
53786         * sysvipc/msgget.c: Likewise.
53787         * sysvipc/msgrcv.c: Likewise.
53788         * sysvipc/msgsnd.c: Likewise.
53789         * sysvipc/semctl.c: Likewise.
53790         * sysvipc/semget.c: Likewise.
53791         * sysvipc/semop.c: Likewise.
53792         * sysvipc/semtimedop.c: Likewise.
53793         * sysvipc/shmat.c: Likewise.
53794         * sysvipc/shmctl.c: Likewise.
53795         * sysvipc/shmdt.c: Likewise.
53796         * sysvipc/shmget.c: Likewise.
53797         * termios/tcdrain.c: Likewise.
53798         * termios/tcflow.c: Likewise.
53799         * termios/tcflush.c: Likewise.
53800         * termios/tcgetattr.c: Likewise.
53801         * termios/tcgetpgrp.c: Likewise.
53802         * termios/tcsendbrk.c: Likewise.
53803         * termios/tcsetattr.c: Likewise.
53804         * termios/tcsetpgrp.c: Likewise.
53805         * time/adjtime.c: Likewise.
53806         * time/clock.c: Likewise.
53807         * time/getitimer.c: Likewise.
53808         * time/gettimeofday.c: Likewise.
53809         * time/setitimer.c: Likewise.
53810         * time/settimeofday.c: Likewise.
53811         * time/stime.c: Likewise.
53812         * time/time.c: Likewise.
53814 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
53816         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
53817         /usr/old/bin.
53819         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
53820         instead of spaces.
53821         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
53823 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
53825         [BZ #14796]
53826         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
53827         FE_TONEAREST before applying Dekker multiplication and Knuth
53828         addition.  Clear inexact exceptions and check for exact zero
53829         results afterwards.
53830         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53831         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
53832         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53833         * math/libm-test.inc (fma_test): Add more tests.
53834         (fma_test_towardzero): Likewise.
53835         (fma_test_downward): Likewise.
53836         (fma_test_upward): Likewise.
53837         * sysdeps/generic/math_private.h (default_libc_fesetround): New
53838         function.
53839         (libc_fesetround): New macro.
53840         (libc_fesetroundf): Likewise.
53841         (libc_fesetroundl): Likewise.
53842         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
53843         function.
53844         (libc_fesetround_387): Likewise.
53845         (libc_fesetroundf): New macro.
53846         (libc_fesetround): Likewise.
53847         (libc_fesetroundl): Likewise.
53848         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
53849         function.
53850         (libc_fesetroundf): New macro.
53851         (libc_fesetround): Likewise.
53852         (libc_fesetroundl): Likewise.
53853         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
53854         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
53855         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
53856         libm_hidden_ver.
53857         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
53858         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
53859         libm_hidden_def.
53860         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
53861         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
53862         libm_hidden_ver.
53863         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
53864         libm_hidden_def.
53866         [BZ #3439]
53867         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
53868         integer constant usable in #if and use that to give value to enum
53869         constant.
53870         (FE_DIVBYZERO): Likewise.
53871         (FE_UNDERFLOW): Likewise.
53872         (FE_OVERFLOW): Likewise.
53873         (FE_INVALID): Likewise.
53874         (FE_INVALID_SNAN): Likewise.
53875         (FE_INVALID_ISI): Likewise.
53876         (FE_INVALID_IDI): Likewise.
53877         (FE_INVALID_ZDZ): Likewise.
53878         (FE_INVALID_IMZ): Likewise.
53879         (FE_INVALID_COMPARE): Likewise.
53880         (FE_INVALID_SOFTWARE): Likewise.
53881         (FE_INVALID_SQRT): Likewise.
53882         (FE_INVALID_INTEGER_CONVERSION): Likewise.
53883         (FE_TONEAREST): Likewise.
53884         (FE_TOWARDZERO): Likewise.
53885         (FE_UPWARD): Likewise.
53886         (FE_DOWNWARD): Likewise.
53887         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
53888         (FE_DIVBYZERO): Likewise.
53889         (FE_OVERFLOW): Likewise.
53890         (FE_UNDERFLOW): Likewise.
53891         (FE_INEXACT): Likewise.
53892         (FE_TONEAREST): Likewise.
53893         (FE_DOWNWARD): Likewise.
53894         (FE_UPWARD): Likewise.
53895         (FE_TOWARDZERO): Likewise.
53896         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
53897         (FE_UNDERFLOW): Likewise.
53898         (FE_OVERFLOW): Likewise.
53899         (FE_DIVBYZERO): Likewise.
53900         (FE_INVALID): Likewise.
53901         (FE_TONEAREST): Likewise.
53902         (FE_TOWARDZERO): Likewise.
53903         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
53904         (FE_OVERFLOW): Likewise.
53905         (FE_UNDERFLOW): Likewise.
53906         (FE_DIVBYZERO): Likewise.
53907         (FE_INEXACT): Likewise.
53908         (FE_TONEAREST): Likewise.
53909         (FE_TOWARDZERO): Likewise.
53910         (FE_UPWARD): Likewise.
53911         (FE_DOWNWARD): Likewise.
53912         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
53913         (FE_DIVBYZERO): Likewise.
53914         (FE_OVERFLOW): Likewise.
53915         (FE_UNDERFLOW): Likewise.
53916         (FE_INEXACT): Likewise.
53917         (FE_TONEAREST): Likewise.
53918         (FE_DOWNWARD): Likewise.
53919         (FE_UPWARD): Likewise.
53920         (FE_TOWARDZERO): Likewise.
53922 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
53924         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
53926 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
53928         * scripts/cross-test-ssh.sh (command): Use newlines to separate
53929         commands.  Quote $PWD.
53930         (blacklist_exports): Don't use remove_newlines.  Replace "declare
53931         -x" by "export".
53932         (remove_newlines): Remove.
53934 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
53936         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
53937         * stdlib/stdlib.h (atof): Moved to ...
53938         * include/bits/stdlib-float.h: Here.  New file.
53939         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
53940         * stdlib/bits/stdlib-float.h: New file.
53941         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
53942         -mno-sse -mno-mmx.
53943         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
53944         <xmmintrin.h>.
53946 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
53948         * conform/conformtest.pl (@headers): Add fenv.h.
53949         * conform/data/fenv.h-data: New file.
53950         * include/fenv.h [_ISOMAC]: Disable all contents of file except
53951         include of <math/fenv.h>.
53953         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
53954         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
53955         && !UNIX98].  Enables tests for XOPEN2K8.
53956         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
53957         POSIX2008]: Likewise.
53959         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
53960         (struct rusage): Do not expect type or its members.
53962         [BZ #3439]
53963         * math/math.h (FP_NAN): Define macro to integer constant usable in
53964         #if and use that to give value to enum constant.
53965         (FP_INFINITE): Likewise.
53966         (FP_ZERO): Likewise.
53967         (FP_SUBNORMAL): Likewise.
53968         (FP_NORMAL): Likewise.
53970 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
53972         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
53973         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
53974         arguments.
53976 2012-11-02  Roland McGrath  <roland@hack.frob.com>
53978         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
53979         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
53980         autoconf-time if not.
53981         * configure.in: Remove AC_PREREQ.
53983 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53985         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
53986         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
53987         of the internal implementation.
53989 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
53991         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
53992         except include of <misc/sys/syslog.h>.
53994 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
53996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
53997         function returns with a NULL context exit with zero.
53999 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54001         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
54003 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
54005         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
54006         (run_program_cmd): This.
54007         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
54008         (tst_langinfo): New variable.  Use it.
54010 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
54012         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
54013         floating point opcodes.
54015 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
54017         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
54018         variable.
54020         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
54022         * sysdeps/mach/hurd/powerpc: Remove directory.
54023         * sysdeps/mach/powerpc: Likewise.
54025 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
54027         * scripts/check-local-headers.sh: Ignore c++ headers.
54029 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
54031         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
54032         __libc_cleanup_region_start argument.
54034 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
54036         [BZ #14784]
54037         [BZ #14785]
54038         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
54039         x * y using scaling, not as x * y + z.
54040         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54041         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54042         * math/libm-test.inc (fma_test): Add more tests.
54043         (fma_test_towardzero): Likewise.
54044         (fma_test_downward): Likewise.
54045         (fma_test_upward): Likewise.
54047 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
54049         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
54051 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
54053         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
54054         New variable.
54056 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
54058         * rt/tst-shm.c (worker): Correct checking for mmap failure.
54060 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
54062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54063         Fix sort order.
54064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54065         Likewise.
54067 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54070         Fix the order of the list for glibc 2.17.
54071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54072         Likewise.
54074 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
54076         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54078 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
54080         [BZ #14610]
54081         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
54082         for low part of x being zero before using __atanl (y).
54083         * math/libm-test.inc (atan2_test): Add another test.
54085         * manual/install.texi (Configuring and compiling): Document
54086         general use of test-wrapper and test-wrapper-env.
54087         * INSTALL: Regenerated.
54089         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
54090         (__fma): Do not extract and scale down low bits on after-rounding
54091         systems when result rounded to normal precision would have normal
54092         exponent.
54093         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
54094         (__fmal): Do not extract and scale down low bits on after-rounding
54095         systems when result rounded to normal precision would have normal
54096         exponent.
54097         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
54098         (__fmal): Do not extract and scale down low bits on after-rounding
54099         systems when result rounded to normal precision would have normal
54100         exponent.
54101         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
54102         macro.
54103         (fma_test): Add more tests.
54104         (fma_test_towardzero): Likewise.
54105         (fma_test_downward): Likewise.
54106         (fma_test_upward): Likewise.
54108 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
54110         * sysdeps/i386/tininess.h: Renamed to ...
54111         * sysdeps/x86/tininess.h: This.
54112         * sysdeps/x86_64/tininess.h: Removed.
54114 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
54116         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
54117         input.  Use $(build-program-cmd).
54118         ($(objpfx)tst-array1-static.out): Likewise.
54119         ($(objpfx)tst-array2.out): Likewise.
54120         ($(objpfx)tst-array3.out): Likewise.
54121         ($(objpfx)tst-array4.out): Likewise.
54122         ($(objpfx)tst-array5.out): Likewise.
54123         ($(objpfx)tst-array5-static.out): Likewise.
54125 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
54127         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
54128         if defined.
54130         * nss/nsswitch.h (nss_interface_function): Provide new
54131         macro for use with NSS functions.
54132         * grp/initgroups.c: Use new macro.
54133         * nss/getXXbyYY.c: Likewise.
54134         * nss/getXXbyYY_r.c: Likewise.
54135         * nss/getXXent.c: Likewise.
54136         * nss/getXXent_r.c: Likewise.
54137         * sysdeps/posix/getaddrinfo.c: Likewise.
54139 2012-10-30  Andreas Jaeger  <aj@suse.de>
54141         * po/ru.po: Update Russion translation from translation project.
54143 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
54145         [BZ #14152]
54146         [BZ #14783]
54147         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
54148         result and shift together with sticky bit instead of replicating
54149         round-to-nearest rounding.
54150         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54151         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54152         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
54153         missing underflow exceptions.
54154         (fma_test_towardzero): Add more tests.
54155         (fma_test_downward): Likewise.
54156         (fma_test_upward): Likewise.
54158         [BZ #14047]
54159         * sysdeps/generic/tininess.h: New file.
54160         * sysdeps/i386/tininess.h: Likewise.
54161         * sysdeps/sh/tininess.h: Likewise.
54162         * sysdeps/x86_64/tininess.h: Likewise.
54163         * stdlib/tst-strtod-underflow.c: Likewise.
54164         * stdlib/tst-tininess.c: Likewise.
54165         * stdlib/strtod_l.c: Include <tininess.h>.
54166         (round_and_return): Do not set errno for exact underflow cases.
54167         Force an underflow exception when setting errno for underflow.
54168         Determine underflow based on rounding to normal precision if
54169         TININESS_AFTER_ROUNDING.
54170         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
54171         ERANGE for exact underflow cases.
54172         * stdlib/Makefile (tests): Add tst-tininess and
54173         tst-strtod-underflow.
54174         ($(objpfx)tst-tininess): Use $(link-libm).
54175         ($(objpfx)tst-strtod-underflow): Likewise.
54177 2012-10-30  Andreas Jaeger  <aj@suse.de>
54179         [BZ#14767]
54180         * elf/Makefile (tests): Remove conditional for have-initfini-array
54181         since this is now always required and the variable does not exist
54182         anymore.
54183         (tests-static): Likewise.
54184         (modules-names): Likewise.
54186         * po/eo.po: Add Esperanto translation from translation project.
54188         * elf/tst-array1.c (fini_array): Make writeable so that it can be
54189         merged with constructor/destructor.
54190         (init_array): Likewise.
54191         * elf/tst-array2dep.c (fini_array): Likewise.
54192         (init_array): Likewise.
54194 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
54196         * manual/message.texi: Delete @cartouche tags.
54198 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
54200         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
54201         EOPNOTSUPP.
54202         * sysdeps/mach/hurd/fsync.c: Likewise.
54204         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
54205         [_POSIX_REALTIME_SIGNALS]: Change condition to
54206         [_POSIX_REALTIME_SIGNALS > 0].
54208 2012-10-27  Andreas Jaeger  <aj@suse.de>
54210         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
54211         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
54212         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
54213         [__WORDSIZE != 64]: Likewise.
54215 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
54217         *  iconvdata/tst-table.sh: Remove ${SHELL}.
54218         *  iconvdata/tst-tables.sh: Likewise.
54220 2012-10-25  David S. Miller  <davem@davemloft.net>
54222         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54223         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
54224         of strtoull.
54226         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
54227         ifunc-impl-list.c
54228         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54229         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
54230         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
54231         file.
54233 2012-10-25  Roland McGrath  <roland@hack.frob.com>
54235         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54236         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
54237         __getdirentries.
54239 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
54240             Jim Blandy  <jimb@codesourcery.com>
54242         * scripts/cross-test-ssh.sh: New file.
54243         * manual/install.texi (Configuring and compiling): Document use of
54244         cross-test-ssh.sh.
54245         * INSTALL: Regenerated.
54247 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
54249         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
54250         EOPNOTSUPP.
54252 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
54254         * Makeconfig (run-program-prefix): Fix comment.
54256 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
54257             Jim Blandy  <jimb@codesourcery.com>
54259         * Makeconfig (test-wrapper): New variable,
54260         (test-wrapper-env): Likewise.
54261         [$(cross-compiling) = yes && $(test-wrapper) != ""]
54262         (run-built-tests): Define to yes.
54263         (run-program-prefix): Use $(test-wrapper).
54264         (built-program-cmd): Likewise.
54265         * Rules (make-test-out): Use $(test-wrapper-env) and
54266         $(host-built-program-cmd).
54267         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
54268         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
54269         tst-pathopt.sh.
54270         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
54271         $(test-wrapper-env) to tst-rtld-load-self.sh.
54272         ($(objpfx)order2.out): Use $(test-wrapper).
54273         ($(objpfx)tst-initorder.out): Likewise.
54274         ($(objpfx)tst-initorder2.out): Likewise.
54275         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
54276         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
54277         (test_wrapper_env): New variable.  Use it to run ld.so.
54278         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
54279         Use it to run ld.so.
54280         (test_wrapper_env): Likewise.
54281         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
54282         $(test-wrapper) to run-iconv-test.sh.
54283         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
54284         (ICONV): Use $test_wrapper.
54285         * posix/Makefile ($(objpfx)globtest.out): Pass
54286         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
54287         globtest.sh, not $(run-program-prefix).
54288         * posix/globtest.sh (run_via_rtld_prefix): New variable.
54289         (test_wrapper): Likewise.
54290         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
54291         set together with run_via_rtld_prefix.
54292         (run_program_prefix): Define in terms of test_wrapper and
54293         run_via_rtld_prefix.
54295 2012-10-24  Roland McGrath  <roland@hack.frob.com>
54297         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
54298         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
54299         Targets removed.
54301         [BZ #14743]
54302         * include/time.h: Remove librt_hidden_proto (clock_gettime).
54303         Declare __clock_getres, __clock_gettime, __clock_settime,
54304         __clock_nanosleep, and __clock_getcpuclockid.
54305         * rt/clock_gettime.c: Define __clock_gettime as an alias.
54306         Remove librt_hidden_def (clock_gettime).
54307         * sysdeps/unix/clock_gettime.c: Likewise.
54308         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
54309         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
54310         * rt/clock_getres.c: Define __clock_getres as an alias.
54311         * sysdeps/posix/clock_getres.c: Likewise.
54312         * rt/clock_settime.c: Define __clock_settime as an alias.
54313         * sysdeps/unix/clock_settime.c: Likewise.
54314         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
54315         * sysdeps/unix/clock_nanosleep.c: Likewise.
54316         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
54317         * rt/clock-compat.c: New file.
54318         * rt/Makefile (librt-routines): Add clock-compat and move
54319         $(clock-routines) to ...
54320         (routines): ... here, new variable.
54321         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
54322         Don't add get_clockfreq here.
54323         * rt/Versions (libc: GLIBC_2.17): New version set.
54324         Add clock_* symbols here.
54325         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
54326         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
54327         (GLIBC_2.17): Add clock_* symbols.
54328         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
54329         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
54330         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54332         Likewise.
54333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54334         Likewise.
54335         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54336         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
54337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
54338         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
54339         * NEWS: Mention the move.
54341         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
54342         Use __open, __read, __close rather than their public counterparts.
54343         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54344         (__get_clockfreq_via_cpuinfo): Likewise.
54345         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
54346         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
54348         * config.h.in (HAVE_IFUNC): New #undef.
54349         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
54350         was successful.
54351         * configure: Regenerated.
54353 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
54355         * configure.in: Move READELF check to start of file.
54356         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
54357         libc_cv_asm_gnu_indirect_function in the process.
54358         * configure: Regenerated.
54360 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
54362         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
54363         send the output to /dev/null.
54364         (libc_cv_cc_with_libunwind): Likewise.
54365         (libc_cv_as_noexecstack): Likewise.
54366         * configure: Regenerate.
54368 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
54370         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
54372         * posix/globtest.sh (TMPDIR): Do not set.
54373         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
54374         (testout): Likewise.
54376 2012-10-24  Andreas Jaeger  <aj@suse.de>
54378         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
54379         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
54380         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
54381         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
54382         posix_fadvise64, posix_fallocate64.
54384         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
54385         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
54386         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
54387         Likewise.
54388         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
54389         Likewise.
54390         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
54392         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
54393         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
54394         <bits/fcntl-linux.h>.
54395         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
54397         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
54398         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
54399         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
54400         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
54401         [__WORDSIZE != 64]: Likewise.
54403 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
54405         * Makeconfig (run-built-tests): New variable.
54406         * Rules [$(cross-compiling) = yes]: Change condition to
54407         [$(run-built-tests) = no].
54408         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
54409         to [$(run-built-tests) = yes].
54410         * elf/Makefile [$(cross-compiling) = no]: Likewise.
54411         * grp/Makefile [$(cross-compiling) = no]: Likewise.
54412         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
54413         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
54414         * intl/Makefile [$(cross-compiling) = no]: Likewise.
54415         * io/Makefile [$(cross-compiling) = no]: Likewise.
54416         * libio/Makefile [$(cross-compiling) = no]: Likewise.
54417         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
54418         * misc/Makefile [$(cross-compiling) = no]: Likewise.
54419         * posix/Makefile [$(cross-compiling) = no]: Likewise.
54420         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
54421         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
54422         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
54423         * string/Makefile [$(cross-compiling) = no]: Likewise.
54425         * posix/Makefile ($(objpfx)globtest.out): Pass
54426         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
54427         $(rtld-installed-name).
54428         * posix/globtest.sh (elf_objpfx): Remove variable.
54429         (rtld_installed_name): Likewise.
54430         (library_path): Likewise.
54431         (run_program_prefix): New variable.  Use for running globtest
54432         binary.
54434 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
54435             Joseph Myers  <joseph@codesourcery.com>
54437         * Makeconfig (host-built-program-cmd): New variable.
54438         * elf/Makefile (tst-stackguard1-ARGS): Use
54439         $(host-built-program-cmd).
54440         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
54441         (tst-spawn-ARGS): Likewise.
54442         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
54444 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
54445             Jim Blandy  <jimb@codesourcery.com>
54447         * Makeconfig (run-via-rtld-prefix): New variable.
54448         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
54449         (built-program-cmd): Likewise.
54451 2012-10-22  Andreas Jaeger  <aj@suse.de>
54453         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
54454         __O_RSYNC if it exists, otherwise to O_SYNC.
54456 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
54457             Joseph Myers  <joseph@codesourcery.com>
54459         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
54460         /dev/null.
54461         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
54462         from /dev/null
54463         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
54464         /dev/null.
54466 2012-10-22  Andreas Jaeger  <aj@suse.de>
54468         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
54469         Define always.
54470         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
54472         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54473         bits/fcntl-linux.h.
54475         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
54476         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
54478         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
54479         to __O_LARGEFILE.
54480         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
54481         to __O_LARGEFILE.
54483 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
54484             Joseph Myers  <joseph@codesourcery.com>
54486         * config.make.in (NM): New variable.
54488 2012-10-21  Andreas Jaeger  <aj@suse.de>
54490         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
54491         definitions and declarations that are provided by
54492         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
54494 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
54496         [BZ #14683]
54497         * elf/Makefile (tests-static): Add tst-leaks1-static.
54498         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
54499         ($(objpfx)tst-leaks1-static): New rule.
54500         ($(objpfx)tst-leaks1-static-mem): Likewise.
54501         (tst-leaks1-static-ENV): New macro.
54502         * elf/dl-open.c (dl_open_worker): Check the main application
54503         only if SHARED is defined.
54504         * elf/tst-leaks1-static.c: New file.
54506 2012-10-20  Andreas Jaeger  <aj@suse.de>
54508         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
54509         generic values for Linux.
54510         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
54511         and declarations that are provided by <bits/fcntl-linux.h> and
54512         include <bits/fcntl-linux.h>.
54513         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54514         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54516 2012-10-20  Roland McGrath  <roland@hack.frob.com>
54518         * io/fcntl.h: Move include of <bits/types.h> to the top and
54519         include it unconditionally.
54521 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
54523         * wcsmbs/Makefile (tests-ifunc): New variable.
54524         (tests): Add $(tests-ifunc).
54525         * wcsmbs/test-wcschr-ifunc.c: New file.
54526         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
54527         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
54528         * wcsmbs/test-wcslen-ifunc.c: Likewise.
54529         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
54530         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
54532         * string/Makefile (tests-ifunc): New variable.
54533         (tests): Add $(tests-ifunc).
54534         * string/test-memccpy.c (TEST_NAME): New macro.
54535         * string/test-memchr.c (TEST_NAME): Likewise.
54536         * string/test-memcmp.c (TEST_NAME): Likewise.
54537         * string/test-memcpy.c (TEST_NAME): Likewise.
54538         * string/test-memmem.c (TEST_NAME): Likewise.
54539         * string/test-memmove.c (TEST_NAME): Likewise.
54540         * string/test-memset.c (TEST_NAME): Likewise.
54541         * string/test-rawmemchr.c (TEST_NAME): Likewise.
54542         * string/test-stpcpy.c (TEST_NAME): Likewise.
54543         * string/test-stpncpy.c (TEST_NAME): Likewise.
54544         * string/test-strcasecmp.c (TEST_NAME): Likewise.
54545         * string/test-strcasestr.c (TEST_NAME): Likewise.
54546         * string/test-strcat.c (TEST_NAME): Likewise.
54547         * string/test-strchr.c (TEST_NAME): Likewise.
54548         * string/test-strcmp.c(TEST_NAME): Likewise.
54549         * string/test-strcpy.c (TEST_NAME): Likewise.
54550         * string/test-strcspn.c (TEST_NAME): Likewise.
54551         * string/test-strlen.c (TEST_NAME): Likewise.
54552         * string/test-strncasecmp.c (TEST_NAME): Likewise.
54553         * string/test-strncmp.c (TEST_NAME): Likewise.
54554         * string/test-strncpy.c (TEST_NAME): Likewise.
54555         * string/test-strnlen.c (TEST_NAME): Likewise.
54556         * string/test-strpbrk.c (TEST_NAME): Likewise.
54557         * string/test-strrchr.c (TEST_NAME): Likewise.
54558         * string/test-strspn.c (TEST_NAME): Likewise.
54559         * string/test-strstr.c (TEST_NAME): Likewise.
54560         * string/test-bcopy-ifunc.c: New file.
54561         * string/test-bzero-ifunc.c: Likewise.
54562         * string/test-memccpy-ifunc.c: Likewise.
54563         * string/test-memchr-ifunc.c: Likewise.
54564         * string/test-memcmp-ifunc.c: Likewise.
54565         * string/test-memcpy-ifunc.c: Likewise.
54566         * string/test-memmem-ifunc.c: Likewise.
54567         * string/test-memmove-ifunc.c: Likewise.
54568         * string/test-mempcpy-ifunc.c: Likewise.
54569         * string/test-memset-ifunc.c: Likewise.
54570         * string/test-rawmemchr-ifunc.c: Likewise.
54571         * string/test-stpcpy-ifunc.c: Likewise.
54572         * string/test-stpncpy-ifunc.c: Likewise.
54573         * string/test-strcasecmp-ifunc.c: Likewise.
54574         * string/test-strcasestr-ifunc.c: Likewise.
54575         * string/test-strcat-ifunc.c: Likewise.
54576         * string/test-strchr-ifunc.c: Likewise.
54577         * string/test-strchrnul-ifunc.c: Likewise.
54578         * string/test-strcmp-ifunc.c: Likewise.
54579         * string/test-strcpy-ifunc.c: Likewise.
54580         * string/test-strcspn-ifunc.c: Likewise.
54581         * string/test-strlen-ifunc.c: Likewise.
54582         * string/test-strncasecmp-ifunc.c: Likewise.
54583         * string/test-strncat-ifunc.c: Likewise.
54584         * string/test-strncmp-ifunc.c: Likewise.
54585         * string/test-strncpy-ifunc.c: Likewise.
54586         * string/test-strnlen-ifunc.c: Likewise.
54587         * string/test-strpbrk-ifunc.c: Likewise.
54588         * string/test-strrchr-ifunc.c: Likewise.
54589         * string/test-strspn-ifunc.c: Likewise.
54590         * string/test-strstr-ifunc.c: Likewise.
54592         * debug/Makefile (tests-ifunc): New variable.
54593         (tests): Add $(tests-ifunc).
54594         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
54595         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
54596         * debug/test-stpcpy_chk-ifunc.c: New file.
54597         * debug/test-strcpy_chk-ifunc.c: Likewise.
54599 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54601         [BZ #13601]
54602         * elf/dl-load.c (open_verify): Retry read if the entire ELF
54603         header is not read in.
54605 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
54607         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
54608         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
54609         directly.  Pass built executable to script as
54610         $(built-program-cmd).
54611         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
54612         $testprogram without using LD_LIBRARY_PATH and $ldso.
54614         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
54615         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
54616         $(rtld-installed-name).
54617         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
54618         (rtld_installed_name): Likewise.
54619         (library_path): Likewise.
54620         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
54621         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
54622         $(run-program-prefix) to tst-tables.sh.
54623         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
54624         it to run tst-table-from and tst-table-to.
54625         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
54626         Pass it to tst-table.sh.
54627         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
54628         $(run-program-prefix) to tst-gettext.sh.
54629         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
54630         tst-translit.sh.
54631         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
54632         tst-gettext2.sh.
54633         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
54634         to run tst-gettext.
54635         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
54636         to run tst-gettext2.
54637         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
54638         to run tst-translit.
54639         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
54640         $(run-program-prefix) to tst-mtrace.sh.
54641         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
54642         to run tst-mtrace.
54643         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
54644         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
54645         $(rtld-installed-name).
54646         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
54647         (rtld_installed_name): Likewise.
54648         (run_program_prefix): New variable.  Use it to run wordexp-test.
54650         * Makeconfig (ARCH): Remove all definitions.
54651         (machine): Likewise.
54652         [ARCH]: Remove conditional code.
54653         [!objdir]: Give error.
54654         [!objdir] (objpfx): Remove.
54655         [!objdir] (common-objpfx): Likewise.
54656         [!objdir] (common-objdir): Likewise.
54657         * configure.in (config_makefile): Remove.  Hardcode Makefile in
54658         AC_CONFIG_FILES call.
54659         * configure: Regenerated.
54661         [BZ #13888]
54662         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
54663         or TMPDIR.
54664         (testout): Likewise.
54666         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
54667         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
54668         $(rtld-installed-name).
54669         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
54670         (rtld_installed_name): Likwise.
54671         (runit): Remove function.
54672         (run_getconf): New variable,  Use it for running getconf binary.
54674 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
54676         [BZ #14716]
54677         * string/test-memmem.c (check_result): New function.
54678         (do_one_test): Use it.
54679         (check1): New function.
54680         (test_main): Use it.
54682 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
54684         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
54686 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
54688         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
54689         (_G_LSEEK64): Likewise.
54690         (_G_MMAP64): Likewise.
54691         (_G_FSTAT64): Likewise.
54692         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
54693         (_G_LSEEK64): Likewise.
54694         (_G_MMAP64): Likewise.
54695         (_G_FSTAT64): Likewise.
54696         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
54697         unconditional.  Call __mmap64 directly.
54698         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
54699         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
54700         __lseek64 directly.
54701         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
54702         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
54703         __mmap64 directly.
54704         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
54705         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
54706         __lseek64 directly.
54707         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
54708         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
54709         __lseek64 directly.
54710         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
54711         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
54712         __lseek64 directly.
54713         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
54714         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
54715         __fxstat64 directly.
54716         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
54717         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
54718         unconditional.
54719         (freopen64) [!_G_OPEN64]: Remove conditional code.
54720         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
54721         unconditional.
54722         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
54723         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
54724         unconditional.
54725         (ftello64) [!_G_LSEEK64]: Remove conditional code.
54726         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
54727         unconditional.
54728         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
54729         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
54730         unconditional.
54731         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
54732         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
54733         unconditional.
54734         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
54735         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
54736         unconditional.
54737         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
54738         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
54739         unconditional.
54740         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
54742 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54744         [BZ #12140]
54745         * manual/memory.texi (Malloc Tunable Parameters): Add note
54746         about free list pointers overwriting some perturb bytes.
54747         Wording suggested by Roland McGrath.
54749 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
54751         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
54752         (lgamma_test): Likewise.
54753         (tgamma_test): Likewise.
54755 2012-10-16  Florian Weimer  <fweimer@redhat.com>
54757         [BZ #14700]
54758         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
54759         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
54761 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
54763         * NEWS: Mention BZ #14716.
54764         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
54765         when removing AVAILABLE1_USES_J macro.
54767 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
54769         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
54770         (__bswap_64): __uint64_t for unsigned 64-bit int.
54772 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
54774         * include/string.h (memmem): Declare libc hidden alias.
54775         * string/memmem.c (memmem): Define libc hidden alias.
54776         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
54777         __read, __close instead of open, read, close.
54779 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
54781         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
54782         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
54783         global and hidden.
54784         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
54785         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
54786         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
54787         Likewise.
54788         (__rawmemchr_sse2): Likewise.
54789         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
54790         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
54791         (__strchr_sse2): Likewise.
54792         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
54793         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
54794         (__strcasecmp_sse2): Likewise.
54795         (__strncasecmp_sse2): Likewise.
54796         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
54797         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
54798         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
54799         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
54800         (__strrchr_sse2): Likewise.
54801         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
54802         ifunc-impl-list.c.
54803         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
54804         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
54805         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
54806         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54807         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
54808         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
54809         * sysdeps/x86_64/multiarch/memset.S: Likewise.
54810         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
54811         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
54812         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
54813         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
54814         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
54815         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
54816         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
54817         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
54818         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
54819         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
54820         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
54821         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
54822         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
54823         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
54824         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
54825         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
54826         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
54827         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
54828         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54829         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
54830         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
54831         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
54832         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
54834         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
54835         global and hidden.
54836         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
54837         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
54838         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
54839         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
54840         Likewise.
54841         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
54842         Likewise.
54843         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
54844         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
54845         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
54846         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
54847         ifunc-impl-list.c.
54848         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54849         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54850         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54851         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54852         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54853         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54854         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54855         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54856         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54857         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54858         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54859         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54860         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54861         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
54862         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
54863         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54864         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
54865         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
54866         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54867         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54868         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54869         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54870         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54871         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54872         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54873         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
54874         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
54875         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
54876         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
54877         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54878         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
54879         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54880         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54881         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
54882         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54883         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54884         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54885         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54886         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54887         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54888         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
54890         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
54891         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
54892         * include/ifunc-impl-list.h: New file.
54893         * misc/ifunc-impl-list.c: Likewise.
54894         * misc/Makefile (routines): Add ifunc-impl-list.
54895         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
54896         * string/test-string.h: Include <ifunc-impl-list.h>.
54897         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
54898         TEST_NAME]: New variables.
54899         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
54900         are defined.
54901         (test_init): Call __libc_ifunc_impl_list to initialize
54902         func_list if TEST_IFUNC and TEST_NAME are defined.
54904         * string/Makefile (strop-tests): Add bcopy and bzero.
54905         * string/test-bcopy.c: New file.
54906         * string/test-bzero.c: Likewise.
54907         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
54908         defined.
54909         * string/test-memset.c: Support bzero test if TEST_BZERO is
54910         defined.
54911         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
54912         __libc_memmove.
54913         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
54914         __libc_memset.
54915         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
54916         of memset.
54918 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
54920         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
54921         * configure: Regenerated.
54923         * Makeconfig (+link-static-before-libc): Don't include
54924         $(link-static-libc).
54926         * libio/libio.h (_IO_pos_t): Remove.
54928 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
54930         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
54931         McGrath.
54933 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
54935         * crypt/crypt-entry.c: Include fips-private.h.
54936         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
54937         * crypt/md5c-test.c (main): Tolerate disabled MD5.
54938         * sysdeps/unix/sysv/linux/fips-private.h: New file.
54939         * sysdeps/generic/fips-private.h: New file, dummy fallback.
54941 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
54943         * crypt/crypt-private.h: Include stdbool.h.
54944         (_ufc_setup_salt_r): Return bool.
54945         * crypt/crypt-entry.c: Include errno.h.
54946         (__crypt_r): Return NULL with EINVAL for bad salt.
54947         * crypt/crypt_util.c (bad_for_salt): New.
54948         (_ufc_setup_salt_r): Check that salt is long enough and within
54949         the specified alphabet.
54950         * crypt/badsalttest.c: New file.
54951         * crypt/Makefile (tests): Add it.
54952         ($(objpfx)badsalttest): New.
54954 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
54956         * NEWS: Add entry for BZ #14602.
54958 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
54960         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
54961         type-generic.
54962         * math/libm-test.inc: Update comment listing what functions and
54963         macros are tested.
54964         (isgreater_test): New function.
54965         (isgreaterequal_test): Likewise.
54966         (isless_test): Likewise.
54967         (islessequal_test): Likewise.
54968         (islessgreater_test): Likewise.
54969         (isunordered_test): Likewise.
54970         (main): Call the new functions.
54972 2012-10-09  Roland McGrath  <roland@hack.frob.com>
54974         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
54975         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
54976         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
54977         * sysdeps/i386/configure: Regenerated.
54978         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
54979         * sysdeps/mach/configure: Regenerated.
54980         * sysdeps/mach/hurd/configure: Regenerated.
54981         * sysdeps/powerpc/configure: Regenerated.
54982         * sysdeps/powerpc/powerpc32/configure: Regenerated.
54983         * sysdeps/powerpc/powerpc64/configure: Regenerated.
54984         * sysdeps/s390/s390-32/configure: Regenerated.
54985         * sysdeps/s390/s390-64/configure: Regenerated.
54986         * sysdeps/sh/configure: Regenerated.
54987         * sysdeps/sparc/configure: Regenerated.
54988         * sysdeps/unix/sysv/linux/configure: Regenerated.
54989         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
54990         * sysdeps/x86_64/configure: Regenerated.
54992         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
54993         defined.  Don't check if MAP is NULL.
54995 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
54997         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
54998         (_G_stat64): Likewise.
54999         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
55000         (_G_stat64): Likewise.
55001         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
55002         instead of struct _G_stat64.
55003         * libio/fileops.c (mmap_remap_check): Likewise.
55004         (decide_maybe_mmap): Likewise.
55005         (_IO_new_file_seekoff): Likewise.
55006         (_IO_file_stat): Likewise.
55007         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
55008         _G_off64_t.
55009         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
55010         instead of struct _G_stat64.
55011         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
55013 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
55015         [BZ #14602]
55016         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
55017         Replace with ...
55018         (CHECK_EOL): New macro.
55019         (two_way_short_needle): Check beginning of haystack for EOL.  Use
55020         CHECK_EOL.
55021         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
55022         Replace with CHECK_EOL.
55023         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
55024         Replace with CHECK_EOL.
55026 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
55028         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
55029         type-generic.
55030         * math/libm-test.inc: Update comment listing what functions and
55031         macros are tested.
55032         (finite_test): New function.
55033         (isinf_test): Likewise.
55034         (isnan_test): Likewise.
55035         (fpclassify_test): Test subnormal input.
55036         (isfinite_test): Likewise.
55037         (isnormal_test): Likewise.
55038         (main): Call the new functions.
55040 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
55042         [BZ #14660]
55043         * Makerules (%.dynsym): Force C locale when running
55044         $(OBJDUMP) --dynamic-syms.
55046 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
55048         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
55049         <stdint.h>.
55051 2012-10-06  David S. Miller  <davem@davemloft.net>
55053         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
55054         upper 32-bits of the length value in %o2 since we use branch-on-register
55055         tests which consider the entire 64-bit register.
55057 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
55059         * string/test-strstr.c (check2): Add a test for page boundary.
55061 2012-10-05  David S. Miller  <davem@davemloft.net>
55063         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
55064         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
55065         file.
55066         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
55067         sysdep_routines.
55068         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
55069         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
55070         and bzero when HWCAP_SPARC_CRYPTO is present.
55072 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
55074         [BZ #14602]
55075         * string/test-strstr.c (check2): New function.
55076         (test_main): Call check2.
55078         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
55079         and bug-strchr1.
55080         * string/bug-strcasestr1.c (do_test): Moved to ...
55081         * string/test-strcasestr.c (check1): Here.  New function.
55082         (do_one_test): Break out result checking code into ...
55083         (check_result): This.  New function.
55084         (do_one_test): Call check_result.
55085         (test_main): Call check1.
55086         * string/bug-strchr1.c (do_test): Moved to ...
55087         * string/test-strchr.c (check1): Here.  New function.
55088         (do_one_test): Break out result checking code into ...
55089         (check_result): This.  New function.
55090         (do_one_test): Call check_result.
55091         (test_main): Call check1.
55092         * string/bug-strstr1.c (main): Moved to ...
55093         * string/test-strstr.c (check1): Here.  New function.
55094         (do_one_test): Break out result checking code into ...
55095         (check_result): This.  New function.
55096         (do_one_test): Call check_result.
55097         (test_main): Call check1.
55098         * string/bug-strcasestr1.c: Removed.
55099         * string/bug-strchr1.c: Likewise.
55100         * string/bug-strstr1.c: Likewise.
55102         * elf/Makefile (dl-routines): Add hwcaps.
55103         * elf/dl-support.c (_dl_important_hwcaps): Removed.
55104         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
55105         (_dl_important_hwcaps): Moved to ...
55106         * elf/dl-hwcaps.c: Here.  New file.
55107         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
55109         [BZ #14557]
55110         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
55111         if IS_IN_rtld isn't defined.
55113         * elf/dl-support.c (_dl_sysinfo_map): New.
55114         Include "get-dynamic-info.h" and "setup-vdso.h".
55115         (_dl_non_dynamic_init): Call setup_vdso.
55116         * elf/dynamic-link.h: Don't include <assert.h>.
55117         (elf_get_dynamic_info): Moved to ...
55118         * elf/get-dynamic-info.h: Here.  New file.
55119         * elf/dynamic-link.h: Include "get-dynamic-info.h".
55120         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
55121         * elf/setup-vdso.h: Here.  New file.
55122         * elf/rtld.c: Include "setup-vdso.h".
55123         (dl_main): Call setup_vdso.
55125 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
55127         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
55128         creal in comment listing functions tested.  List finite, isinf,
55129         isnan, isless, islessequal, isgreater, isgreaterequal,
55130         islessgreater, isunordered, lgamma_r and pow10 as functions and
55131         macros not tested.  Mention which functions not tested are aliases
55132         for other functions.  Fix typo.  Note that signs of NaNs are not
55133         tested.
55135         * scripts/config.guess: Update from config.git.
55136         * scripts/config.sub: Likewise.
55138 2012-10-04  Roland McGrath  <roland@hack.frob.com>
55140         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
55141         * misc/madvise.c (madvise): Renamed to __madvise.
55142         Make madvise a weak alias.
55143         * include/sys/mman.h: Declare __madvise.
55144         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
55145         * sysdeps/unix/syscalls.list
55146         (madvise): Make __madvise the strong name, and madvise a weak alias.
55147         * sysdeps/unix/sysv/linux/syscalls.list
55148         (madvise, mmap): Remove redundant entries.
55149         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
55150         * malloc/malloc.c (mtrim): Likewise.
55151         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
55153 2012-10-03  Roland McGrath  <roland@hack.frob.com>
55155         * sysdeps/mach/hurd/dl-cache.c: File removed.
55156         * config.h.in (USE_LDCONFIG): New #undef.
55157         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
55158         * configure: Regenerated.
55159         * elf/Makefile (dl-routines): Add dl-cache only under
55160         [$(use-ldconfig) = yes].
55161         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
55162         cache on [USE_LDCONFIG].
55163         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
55164         [USE_LDCONFIG].
55165         * elf/rtld.c (dl_main): Likewise.
55167 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
55169         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
55170         _SC_LEVEL4_CACHE_LINESIZE.
55172 2012-10-03  Roland McGrath  <roland@hack.frob.com>
55174         * sysdeps/unix/bsd/confstr.h: File removed.
55176 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
55178         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
55179         sys/sdt-config.h.
55181 2012-10-02  Roland McGrath  <roland@hack.frob.com>
55183         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
55184         Make 'mapoff' field ElfW(Off) rather than off_t.
55186 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
55188         * nscd/Makefile: Remove nscd-cflags and all its users.
55189         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
55190         (CFLAGS-nonlib): Add compiler flags for nscd modules.
55192         [BZ #10631]
55193         * malloc.c (malloc_printerr): Clarify error message.
55195 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
55197         [BZ #14648]
55198         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55199         Set bit_FMA_Usable if FMA is supported.
55200         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
55201         macro.
55202         (bit_FMA4_Usable): Updated.
55203         (index_FMA_Usable): New macro.
55204         (CPUID_FMA): Likewise.
55205         (HAS_FMA): Defined with bit_FMA_Usable.
55207 2012-10-01  Roland McGrath  <roland@hack.frob.com>
55209         * bits/types.h (__swblk_t): Type removed.
55210         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
55211         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
55212         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55213         (__SWBLK_T_TYPE): Likewise.
55214         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55215         (__SWBLK_T_TYPE): Likewise.
55216         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55217         (__SWBLK_T_TYPE): Likewise.
55218         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55219         (__SWBLK_T_TYPE): Likewise.
55221 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
55222             Honza Horak <hhorak@redhat.com>
55224         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
55225         (xdr_mapname): Use YPMAXMAP as maxsize.
55226         (xdr_peername): Use YPMAXPEER as maxsize.
55227         (xdr_keydat): Use YPAXRECORD as maxsize.
55228         (xdr_valdat): Use YPMAXRECORD as maxsize.
55230 2012-10-01  Roland McGrath  <roland@hack.frob.com>
55232         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
55234         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
55235         * csu/init-first.c: ... here.
55236         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
55237         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
55238         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
55239         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
55240         * sysdeps/i386/init-first.c: File removed.
55241         * sysdeps/sh/init-first.c: File removed.
55243 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
55245         [BZ #14645]
55246         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
55247         if x * y might underflow to zero and z is zero.
55248         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55249         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55250         * math/libm-test.inc (min_subnorm_value): New variable.
55251         (fma_test): Add more tests.
55252         (fma_test_towardzero): Likewise.
55253         (fma_test_downward): Likewise.
55254         (fma_test_upward): Likewise.
55255         (initialize): Set min_subnorm_value.
55257 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
55259         [BZ #14638]
55260         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
55261         0 + 0.
55262         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
55263         mode for addition resulting in exact zero.
55264         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
55265         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
55266         exact 0 + 0.
55267         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
55268         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55269         * math/libm-test.inc (fma_test): Add more tests.
55270         (fma_test_towardzero): New function.
55271         (fma_test_downward): Likewise.
55272         (fma_test_upward): Likewise.
55273         (main): Call the new functions.
55275 2012-09-28  David S. Miller  <davem@davemloft.net>
55277         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
55279 2012-09-28  Roland McGrath  <roland@hack.frob.com>
55281         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
55282         instead of SIGALRM.
55284         * sysdeps/gnu/_G_config.h: Moved to ...
55285         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
55286         * sysdeps/mach/hurd/_G_config.h: Moved to ...
55287         * sysdeps/generic/_G_config.h: ... here.
55289         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
55291         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
55293         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
55294         Conditionalize target on [libnss_test1.so-version].
55296         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
55298         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
55299         (elfobjdir): Move out of conditionals.
55301         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
55302         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
55303         (__nss_lookup_function): Conditionalize label remove_from_tree on
55304         [!DO_STATIC_NSS || SHARED], matching its only use.
55306 2012-09-28  David S. Miller  <davem@davemloft.net>
55308         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
55309         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
55310         file.
55311         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
55312         sysdep_routines.
55313         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
55314         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
55315         when HWCAP_SPARC_CRYPTO is present.
55317 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55319         * io/tst-mknodat.c: Create a FIFO instead of a socket.
55321 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
55323         [BZ #6530]
55324         * stdio-common/vfprintf.c (process_string_arg): Revert
55325         2000-07-22 change.
55327 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
55329         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
55330         for testcase.
55331         * stdio-common/tst-sprintf.c: Include <locale.h>
55332         (main): Test sprintf's handling of incomplete multibyte
55333         characters.
55335 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
55337         * elf/dl-runtime.c (VERSYMIDX): Removed.
55338         * elf/dl-version.c (VERSYMIDX): Likewise.
55339         * elf/do-rel.h (VERSYMIDX): Likewise.
55340         (VALIDX): Likewise.
55341         * elf/dynamic-link.h (VERSYMIDX): Likewise.
55342         * elf/rtld.c (VALIDX): Likewise.
55343         (ADDRIDX): Likewise.
55344         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
55345         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
55346         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
55347         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
55348         (VALIDX): Likewise.
55349         (ADDRIDX): Likewise.
55351 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55353         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
55355 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
55357         [BZ #11438]
55358         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
55359         to global scope.
55360         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
55361         addresses are in the same scope as 192.0.2/24.
55362         * posix/gai.conf: Document new scope table defaults.
55364 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55366         [BZ #5298]
55367         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
55368         for ftell.  Compute offsets from write pointers instead.
55369         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
55371 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55373         [BZ #14543]
55374         * libio/Makefile (tests): New test case tst-fseek.
55375         * libio/tst-fseek.c: New test case to verify that fseek/ftell
55376         combination works in wide mode.
55377         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
55378         state when the external buffer state changes.
55380 2012-09-27  David S. Miller  <davem@davemloft.net>
55382         [BZ #14376]
55383         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
55384         pass reloc->r_addend in as the 'high' argument to
55385         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
55387         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55389 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55391         * rt/tst-aio2.c: Include <pthread.h>.
55392         * rt/tst-aio3.c: Likewise.
55394 2012-09-27  Steve Ellcey  <sellcey@mips.com>
55396         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
55398 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
55400         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
55401         contents on [SHARED].
55403 2012-09-26  Marek Polacek  <polacek@redhat.com>
55405         [BZ #14530]
55406         [BZ #13741]
55407         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
55408         for C++ and GCC <4.3 as well as for non GCC compilers.
55410 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
55412         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55414 2012-09-25  Roland McGrath  <roland@hack.frob.com>
55416         * Makefile.in (all, install): Declare with .PHONY.
55417         Reported by Michael Hope <michael.hope@linaro.org>.
55419 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55421         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
55422         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
55423         system header.
55424         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
55425         Likewise.
55426         (sydep_routines): Add the new and the internal functions.
55427         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
55428         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
55429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
55430         (GLIBC_2.17): Add the new function.
55431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
55432         (GLIBC_2.17): Likewise.
55433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
55434         (GLIBC_2.17): Likewise.
55435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
55436         (GLIBC_2.17): Likewise.
55437         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
55439 2012-09-25  Alan Modra  <amodra@gmail.com>
55441         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
55442         Add release barrier before setting once_control to say
55443         initialisation is done.  Add hints on lwarx.  Use macro in
55444         place of isync.
55445         (clear_once_control): Add release barrier.
55447 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
55449         [BZ #13629]
55450         * math/s_clog.c (__clog): Handle more values close to |z| = 1
55451         specially.
55452         * math/s_clog10.c (__clog10): Likewise.
55453         * math/s_clog10f.c (__clog10f): Likewise.
55454         * math/s_clog10l.c (__clog10l): Likewise.
55455         * math/s_clogf.c (__clogf): Likewise.
55456         * math/s_clogl.c (__clogl): Likewise.
55457         * math/Makefile (libm-calls): Add x2y2m1.
55458         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
55459         (__x2y2m1): Likewise.
55460         (__x2y2m1l): Likewise.
55461         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
55462         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
55463         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
55464         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
55465         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
55466         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
55467         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
55468         * sysdeps/i386/fpu/libm-test-ulps: Update.
55469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55471         [BZ #14621]
55472         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
55473         int as type of variable DEPTH.
55474         (glob): Use size_t instead of int as type of variables NEWCOUNT
55475         and OLD_PATHC.
55477 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55479         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
55480         Add s_sincosf-sse2.
55481         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
55482         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
55483         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
55484         macros for using routine as __sincosf_ia32.
55485         Use macro for function declaration and weak_alias.
55486         * sysdeps/i386/fpu/libm-test-ulps: Update.
55488         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
55489         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55491         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
55492         subnormal argument.
55493         * math/s_cexpf.c (__cexpf): Likewise.
55494         * math/s_csinf.c (__csinf): Likewise.
55495         * math/s_csinhf.c (__csinhf): Likewise.
55496         * math/s_ctanf.c (__ctanf): Likewise.
55497         * math/s_ctanhf.c (__ctanhf): Likewise.
55498         * math/s_ccosh.c (__ccoshf): Likewise.
55499         * math/s_cexp.c (__cexpl): Likewise.
55500         * math/s_csin.c (__csin): Likewise.
55501         * math/s_csinh.c (__csinh): Likewise.
55502         * math/s_ctan.c (__ctan): Likewise.
55503         * math/s_ctanh.c (ctanh): Likewise.
55504         * math/s_ccoshl.c (__ccoshl): Likewise.
55505         * math/s_cexpl.c (__cexpl): Likewise.
55506         * math/s_csinl.c (__csinl): Likewise.
55507         * math/s_csinhl.c (__csinhl): Likewise.
55508         * math/s_ctanl.c (__ctanl): Likewise.
55509         * math/s_ctanhl.c (__ctanhl): Likewise.
55511 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
55513         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
55514         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
55515         (_IO_off_t): Define to __off_t, not _G_off_t.
55516         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
55517         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
55518         (_IO_wint_t): Define to wint_t, not _G_wint_t.
55519         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
55520         type of __dummy and __dummy2 fields.
55521         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
55522         (_G_ssize_t): Likewise.
55523         (_G_off_t): Likewise.
55524         (_G_pid_t): Likewise.
55525         (_G_uid_t): Likewise.
55526         (_G_wchar_t): Likewise.
55527         (_G_wint_t): Likewise.
55528         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
55529         (_G_ssize_t): Likewise.
55530         (_G_off_t): Likewise.
55531         (_G_pid_t): Likewise.
55532         (_G_uid_t): Likewise.
55533         (_G_wchar_t): Likewise.
55534         (_G_wint_t): Likewise.
55535         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
55536         (_G_ssize_t): Likewise.
55537         (_G_off_t): Likewise.
55538         (_G_pid_t): Likewise.
55539         (_G_uid_t): Likewise.
55540         (_G_wchar_t): Likewise.
55541         (_G_wint_t): Likewise.
55543 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55545         * malloc/arena.c: Include malloc-sysdep.h.
55546         (shrink_heap): Use check_may_shrink_heap to decide if madvise
55547         is sufficient to shrink the heap or an unmap is needed.
55548         * sysdeps/generic/malloc-sysdep.h: New file.  Define
55549         new function check_may_shrink_heap.
55550         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
55551         new function check_may_shrink_heap.
55553 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55555         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
55556         comments.
55558 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
55560         * catgets/test-gencat.sh: Add "set -e".
55561         * elf/tst-pathopt.sh: Likewise.
55562         * grp/tst_fgetgrent.sh: Likewise.
55563         * iconvdata/run-iconv-test.sh: Likewise.
55564         * intl/tst-gettext.sh: Likewise.
55565         * intl/tst-gettext2.sh: Likewise.
55566         * intl/tst-gettext4.sh: Likewise.
55567         * intl/tst-gettext6.sh: Likewise.
55568         * intl/tst-translit.sh: Likewise.
55569         * io/ftwtest-sh: Likewise.
55570         * libio/test-freopen.sh: Likewise.
55571         * malloc/tst-mtrace.sh: Likewise.
55572         * posix/globtest.sh: Likewise.
55573         * posix/tst-getconf.sh: Likewise.
55574         * posix/wordexp-tst.sh: Likewise.
55575         * stdio-common/tst-printf.sh: Likewise.
55576         * stdio-common/tst-unbputc.sh: Likewise.
55577         * stdlib/tst-fmtmsg.sh: Likewise.
55578         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
55579         * catgets/Makefile: Do not specify -e option when running
55580         testsuite shell scripts.
55581         * elf/Makefile: Likewise.
55582         * grp/Makefile: Likewise.
55583         * iconvdata/Makefile: Likewise.
55584         * intl/Makefile: Likewise.
55585         * io/Makefile: Likewise.
55586         * libio/Makefile: Likewise.
55587         * malloc/Makefile: Likewise.
55588         * posix/Makefile: Likewise.
55589         * stdio-common/Makefile: Likewise.
55590         * stdlib/Makefile: Likewise.
55591         * sysdeps/x86_64/Makefile: Likewise.
55593         * io/ftwtest-sh: Add copyright header.
55594         * posix/globtest.sh: Likewise.
55595         * posix/tst-getconf.sh: Likewise.
55596         * posix/wordexp-tst.sh: Likewise.
55597         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
55599 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
55601         [BZ #13679]
55602         * Makeconfig (+link): Defined as $(+link-static) if
55603         $(build-shared) isn't yes.
55604         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
55605         isn't yes.
55606         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
55608         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
55610         [BZ #14562]
55611         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
55612         new chunk size with MALLOC_ALIGN_MASK.
55614 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
55616         [BZ #5044]
55617         * stdio-common/printf_fphex.c: Include <stdbool.h> and
55618         <rounding-mode.h>.
55619         (__printf_fphex): Determine rounding using get_rounding_mode and
55620         round_away.
55621         * stdio-common/tst-printf-round.c (struct hex_test): New
55622         structure.
55623         (hex_tests): New variable.
55624         (test_hex_in_one_mode): New function.
55625         (do_test): Also run tests for hex float output.
55627 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
55629         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
55630         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
55631         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
55632         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
55633         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
55634         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
55635         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
55636         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
55638 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
55640         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
55641         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
55642         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
55643         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
55645 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
55647         [BZ #14579]
55648         * elf/rtld.c (dl_main): Limit the check for self loading to normal
55649         mode only.
55650         * elf/tst-rtld-load-self.sh: New test.
55651         * elf/Makefile: Run it.
55653 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
55655         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
55656         (tst-writev-ENV): Remove.
55657         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
55659 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
55661         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
55663 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
55665         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
55666         unconditional.
55667         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
55668         Likewise.
55669         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
55670         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
55671         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
55672         Likewise.
55674 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
55676         [BZ #14587]
55677         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
55678         * config.make.in (have-cpp-asm-debuginfo): Removed.
55679         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
55680         * configure: Regenerated.
55682 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
55684         [BZ #5044]
55685         * stdio-common/printf_fp.c: Include <stdbool.h> and
55686         <rounding-mode.h>.
55687         (___printf_fp): Determine rounding using get_rounding_mode and
55688         round_away.
55689         * stdio-common/tst-printf-round.c: New file.
55690         * stdio-common/Makefile (tests): Add tst-printf-round.
55691         (link-libm): New variable.
55692         ($(objpfx)tst-printf-round): Depend in $(link-libm).
55694 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
55696         [BZ #14576]
55697         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
55698         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
55699         Likewise.
55700         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
55701         Likewise.
55703 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
55705         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
55706         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
55707         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
55708         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
55710 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
55712         [BZ #14518]
55713         * include/rounding-mode.h: New file.
55714         * sysdeps/generic/get-rounding-mode.h: Likewise.
55715         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
55716         * stdlib/strtod_l.c: Include <rounding-mode.h>.
55717         (MAX_VALUE): New macro.
55718         (MIN_VALUE): Likewise.
55719         (overflow_value): New function.
55720         (underflow_value): Likewise.
55721         (round_and_return): Use overflow_value and underflow_value to
55722         determine return values in overflow and underflow cases.  Use
55723         round_away to determine rounding depending on rounding mode.
55724         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
55725         determine return values in overflow and underflow cases.
55726         * stdlib/tst-strtod-round.c: Include <fenv.h>.
55727         (struct test_results): New structure.
55728         (struct test): Use struct test_results to store expected results
55729         for all rounding modes.
55730         (TEST): Include expected results for all rounding modes.
55731         (test_in_one_mode): New function.
55732         (do_test): Use test_in_one_mode to compute and check results.
55733         Check results for all rounding modes.
55734         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
55735         $(link-libm).
55737 2012-12-09  Allan McRae  <allan@archlinux.org>
55739         * sysdeps/i386/fpu/libm-test-ulps: Update
55741 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
55743         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
55744         (_G_int32_t): Likewise.
55745         (_G_uint16_t): Likewise.
55746         (_G_uint32_t): Likewise.
55747         (_G_HAVE_BOOL): Likewise.
55748         (_G_HAVE_ATEXIT): Likewise.
55749         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
55750         (_G_HAVE_IO_FILE_OPEN): Likewise.
55751         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
55752         (_G_int32_t): Likewise.
55753         (_G_uint16_t): Likewise.
55754         (_G_uint32_t): Likewise.
55755         (_G_HAVE_BOOL): Likewise.
55756         (_G_HAVE_ATEXIT): Likewise.
55757         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
55758         (_G_HAVE_IO_FILE_OPEN): Likewise.
55759         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
55760         (_G_int32_t): Likewise.
55761         (_G_uint16_t): Likewise.
55762         (_G_uint32_t): Likewise.
55763         (_G_HAVE_BOOL): Likewise.
55764         (_G_HAVE_ATEXIT): Likewise.
55765         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
55766         (_G_HAVE_IO_FILE_OPEN): Likewise.
55768 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
55770         * csu/libc-tls.c: Update copyright years.
55772 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
55774         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
55775         [!_G_USING_THUNKS]: Remove conditional code.
55776         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
55777         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
55779         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
55780         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
55781         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
55782         (_G_VTABLE_LABEL_PREFIX): Likewise.
55783         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
55784         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
55785         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
55786         (_G_VTABLE_LABEL_PREFIX): Likewise.
55787         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
55788         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
55789         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
55790         (_G_VTABLE_LABEL_PREFIX): Likewise.
55791         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
55793 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
55795         * libio/Makefile: Include ../Makeconfig before tests.
55796         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
55797         only if $(build-shared) is yes.
55799         * iconv/gconv_db.c: Update copyright years.
55801 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55803         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
55804         unwind info if defined PIC. Fix special cases description.
55805         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
55807         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
55808         DP_HI_MASK entry.
55809         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
55811 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
55813         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
55815         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
55816         is NULL.
55818         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
55819         (LDLIBS-tst-chk4): This.
55820         (LDFLAGS-tst-chk5): Renamed to ...
55821         (LDLIBS-tst-chk5): This.
55822         (LDFLAGS-tst-chk6): Renamed to ...
55823         (LDLIBS-tst-chk6): This.
55824         (LDFLAGS-tst-lfschk4): Renamed to ...
55825         (LDLIBS-tst-lfschk4): This.
55826         (LDFLAGS-tst-lfschk5): Renamed to ...
55827         (LDLIBS-tst-lfschk5): This.
55828         (LDFLAGS-tst-lfschk6): Renamed to ...
55829         (LDLIBS-tst-lfschk6): This.
55831         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
55832         on $(common-objpfx)soversions.mk.
55834 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
55836         [BZ #10014]
55837         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
55838         example host name.
55840 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
55842         * malloc/arena.c (arena_get_retry): New function that gets
55843         another arena for the caller to try its request on.
55844         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
55845         current arena cannot fulfill the request.
55846         (__libc_memalign): Likewise.
55847         (__libc_memalign): Likewise.
55848         (__libc_pvalloc): Likewise.
55849         (__libc_calloc): Likewise.
55851 2012-09-05  John Tobey  <john.tobey@gmail.com>
55853         [BZ #13542]
55854         * manual/arith.texi (Operations on Complex): Fix description
55855         of carg branch cut.
55857 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
55859         [BZ #10014]
55860         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
55861         host name.
55863         [BZ #10038]
55864         * manual/memory.texi (Memory): Make order of menu items match
55865         order of sections.
55867 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
55869         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
55870         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
55871         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
55873 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
55875         * csu/libc-tls.c (static_dtv): Renamed to ...
55876         (_dl_static_dtv): This.  Make it global.
55877         (_dl_initial_dtv): Removed.
55878         (__libc_setup_tls): Updated.
55879         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
55880         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
55881         DL_INITIAL_DTV.
55883 2012-09-06  Petr Machata  <pmachata@redhat.com>
55885         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
55886         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
55887         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
55888         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
55890 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
55892         [BZ #14545]
55893         * csu/libc-tls.c (_dl_initial_dtv): New variable.
55894         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
55895         freeing dtv[-1].
55897 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
55899         [BZ #14544]
55900         * Makeconfig (link-static-before-libc): Replace $(+prector)
55901         with $(+prectorT).
55902         (link-static-after-libc): Replace $(+postctor) with
55903         $(+postctorT).
55904         (link-bounded): Replace $(+prector)/$(+postctor) with
55905         $(+prectorT)/$(+postctorT).
55906         (+prectorT): New macro.
55907         (+postctorT): Likewise.
55909 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
55911         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
55912         (round_str): Handle values above the maximum for IBM long double
55913         as inexact.
55914         * stdlib/tst-strtod-round.c (tests): Regenerated.
55916 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55918         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
55919         assembler flag.
55920         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
55921         zarch_nohighgprs around the zarch optimized routines.
55922         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
55923         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
55924         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
55925         for zarch.
55927 2012-09-05  David S. Miller  <davem@davemloft.net>
55929         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55931         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
55932         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
55933         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
55934         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
55935         entries.
55937 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55939         * malloc/arena.c: Fold copyright years.
55940         * malloc/mcheck.c, malloc/memusage.c: Likewise.
55942 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55944         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
55946 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55948         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
55950 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55952         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
55953         change internal state upon failure.
55955 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55957         * malloc/mcheck.c (mcheck_check_all): Fix typo.
55958         * malloc/memusage.c (mmap): Likewise.
55959         (mmap64, mremap): Likewise.  Adjust name in comment.
55961 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
55963         * libio/fileops.c: Fix typos in comments.
55964         * libio/oldfileops.c: Likewise.
55965         * libio/wfileops.c: Likewise.
55967 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
55969         [BZ #1349]
55970         * malloc/Makefile (tests): Add tst-malloc-usable test case.
55971         (tst-malloc-usable-ENV): Set environment for test case.
55972         * malloc/hooks.c (malloc_check_get_size): New function to get
55973         requested size.
55974         * malloc/malloc.c (musable): Use malloc_check_get_size.
55975         * malloc/tst-malloc-usable.c: New test case.
55977 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
55979         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
55981 2012-09-05  Allan McRae  <allan@archlinux.org>
55983         [BZ #13966]
55984         * configure.in (CXX_SYSINCLUDES): Use compiler output to
55985         determine header location.
55986         * configure: Regenerated.
55988 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
55990         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
55991         float format.
55992         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
55993         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
55994         format.
55995         (test): Regenerate.
55997 2012-09-04  David S. Miller  <davem@davemloft.net>
55999         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
56000         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
56001         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
56003 2012-09-04  Florian Weimer  <fweimer@redhat.com>
56005         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
56006         failures.
56008         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
56010 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
56012         [BZ #9914]
56013         * libio/iogetdelim.c: Include <limits.h>.
56014         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
56015         + len + 1 would overflow.
56017 2012-09-03  Andreas Jaeger  <aj@suse.de>
56019         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56020         * sysdeps/i386/fpu/libm-test-ulps: Update.
56022 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56024         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
56025         Add s_sinf-sse2, s_conf-sse2.
56027         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
56028         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
56029         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
56030         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
56032         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
56033         for using routine as __sinf_ia32.
56034         Use macro for function declaration and weak_alias.
56035         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
56036         for using routine as __cosf_ia32.
56037         Use macro for function declaration and weak_alias.
56039         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
56040         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
56042         * sysdeps/x86_64/fpu/s_sinf.S: New file.
56043         * sysdeps/x86_64/fpu/s_cosf.S: New file.
56044         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56046         * math/libm-test.inc (cos_test): Add more test cases.
56047         (sin_test): Likewise.
56048         (sincos_test): Likewise.
56050 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56052         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
56053         (IFUNC_RESOLVE): Make pointers to the specialized implementations
56054         hidden.
56055         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
56057 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
56059         [BZ #14538]
56060         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
56061         first element of the GOT.
56062         (elf_machine_load_address): Return the difference between
56063         the runtime address of _DYNAMIC and elf_machine_dynamic ().
56065 2012-09-01  Allan McRae  <allan@archlinux.org>
56067         [BZ #13412]
56068         * configure.in (AWK): Require gawk version 3.0 or later.
56069         * configure: Regenerated.
56071 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
56073         * sysdeps/unix/sysv/linux/kernel-features.h
56074         (__ASSUME_POSIX_CPU_TIMERS): Remove.
56075         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
56076         [__NR_clock_getres]: Make code unconditional.
56077         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
56078         (clock_getcpuclockid): Remove code left unreachable by removal of
56079         conditionals.
56080         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
56081         code unconditional.
56082         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
56083         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56084         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
56085         Make code unconditional.
56086         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
56087         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56088         * sysdeps/unix/sysv/linux/clock_settime.c
56089         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
56090         conditional code.
56091         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
56092         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56094 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
56096         [BZ #14476]
56097         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
56098         scripts/test-installation.pl.
56100         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
56101         and $ld_so_version if it is set.
56103 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56105         [BZ #14516]
56106         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
56107         failure if reading from procfs failed.
56108         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
56110 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
56112         * sysdeps/unix/sysv/linux/kernel-features.h
56113         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
56114         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
56115         Remove conditional code.
56116         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56117         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
56118         Remove conditional code.
56119         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56120         * sysdeps/unix/sysv/linux/i386/fxstat.c
56121         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56122         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56123         * sysdeps/unix/sysv/linux/i386/fxstatat.c
56124         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56125         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56126         * sysdeps/unix/sysv/linux/i386/lxstat.c
56127         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56128         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56129         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
56130         Remove conditional code.
56131         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56132         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
56133         Remove conditional code.
56134         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56135         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
56136         <kernel-features.h>.
56137         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
56138         Remove.
56139         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
56140         Remove conditional code.
56141         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56142         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
56143         Remove conditional.
56145 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
56147         [BZ #5400]
56148         * NEWS: Add fixed bug number.
56150 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
56152         [BZ #14519]
56153         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
56154         underflowing exponent in case of negative sign.
56155         * stdlib/tst-strtod-round-data: Add more tests.
56156         * stdlib/tst-strtod-round.c (tests): Regenerated.
56158         [BZ #3479]
56159         * stdlib/strtod_l.c (NDIG): Remove.
56160         (HEXNDIG): Likewise.
56161         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
56162         smallest representable value.
56163         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
56164         lie within an exact representation of 1/2 ulp of the result.
56165         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
56166         unconditionally.
56167         (TENS_P9_IDX): Define unconditionally.
56168         (TENS_P9_SIZE): Likewise.
56169         (TENS_P10_IDX): Likewise.
56170         (TENS_P10_SIZE): Likewise.
56171         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
56172         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
56173         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
56174         entries for 10^2^13 and 10^2^14.
56175         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
56176         (TENS_P13_IDX): Define.
56177         (TENS_P13_SIZE): Likewise.
56178         (TENS_P14_IDX): Likewise.
56179         (TENS_P14_SIZE): Likewise.
56180         (_fpioconst_pow10): Change array size to
56181         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
56182         unconditional.
56183         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
56184         1024]: Add entries for 10^2^13 and 10^2^14.
56185         [LAST_POW10 > _LAST_POW10]: Remove #error.
56186         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
56187         (_fpioconst_pow10): Change array size to
56188         FPIOCONST_POW10_ARRAY_SIZE.
56189         * stdlib/gen-fpioconst.c: New file.
56190         * stdlib/gen-tst-strtod-round.c: Likewise.
56191         * stdlib/tst-strtod-round-data: Likewise.
56192         * stdlib/tst-strtod-round.c: Likewise.
56193         * stdlib/Makefile (tests): Add tst-strtod-round.
56195         [BZ #14459]
56196         * stdlib/strtod_l.c: Include <stdint.h>.
56197         (NDEBUG): Do not define.
56198         (round_and_return): Change EXPONENT parameter to type intmax_t.
56199         Rearrange calculations to avoid internal overflow possibilities.
56200         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
56201         Rearrange calculations to avoid internal overflow possibilities.
56202         Assert that number fits inside MPNSIZE limbs.
56203         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
56204         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
56205         calculations and add assertions to avoid internal overflow
56206         possibilities.  Add casts to avoid signed/unsigned operations.
56207         * stdlib/tst-strtod-overflow.c: New file.
56208         * stdlib/Makefile (tests): Add tst-strtod-overflow.
56210 2012-08-25  Marek Polacek  <polacek@redhat.com>
56212         * time/time.h: Fix some typos in comments.
56214 2012-08-23  Roland McGrath  <roland@hack.frob.com>
56216         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
56217         * posix/tst-rfc3484-2.c: Likewise.
56218         * posix/tst-rfc3484-3.c: Likewise.
56220 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
56222         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
56223         (EF_ARM_ABI_FLOAT_HARD): Likewise.
56225 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
56227         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
56228         #include of fxstatat64.c.
56230 2012-08-22  Roland McGrath  <roland@hack.frob.com>
56232         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
56233         * shadow/getspent_r.c: Likewise.
56234         * shadow/getspnam.c: Likewise.
56235         * shadow/getspnam_r.c: Likewise.
56236         * gshadow/getsgent.c: Likewise.
56237         * gshadow/getsgent_r.c: Likewise.
56238         * gshadow/getsgnam.c: Likewise.
56239         * gshadow/getsgnam_r.c: Likewise.
56240         * inet/getnetbyad.c: Likewise.
56241         * inet/getnetbyad_r.c: Likewise.
56242         * inet/getnetbynm.c: Likewise.
56243         * inet/getnetbynm_r.c: Likewise.
56244         * inet/getnetent.c: Likewise.
56245         * inet/getnetent_r.c: Likewise.
56246         * inet/getproto.c: Likewise.
56247         * inet/getproto_r.c: Likewise.
56248         * inet/getprtent.c: Likewise.
56249         * inet/getprtent_r.c: Likewise.
56250         * inet/getprtname.c: Likewise.
56251         * inet/getprtname_r.c: Likewise.
56252         * inet/getrpcbyname.c: Likewise.
56253         * inet/getrpcbyname_r.c: Likewise.
56254         * inet/getrpcbynumber.c: Likewise.
56255         * inet/getrpcbynumber_r.c: Likewise.
56256         * inet/getrpcent.c: Likewise.
56257         * inet/getrpcent_r.c: Likewise.
56258         * inet/getaliasent.c: Likewise.
56259         * inet/getaliasent_r.c: Likewise.
56260         * inet/getaliasname.c: Likewise.
56261         * inet/getaliasname_r.c: Likewise.
56262         * nscd/getgrgid_r.c: Likewise.
56263         * nscd/getgrnam_r.c: Likewise.
56264         * nscd/gethstbyad_r.c: Likewise.
56265         * nscd/gethstbynm3_r.c: Likewise.
56266         * nscd/getpwnam_r.c: Likewise.
56267         * nscd/getpwuid_r.c: Likewise.
56268         * nscd/getsrvbynm_r.c: Likewise.
56269         * nscd/getsrvbypt_r.c: Likewise.
56270         * nscd/gai.c: Likewise.
56272         * configure.in (build_nscd): New substituted variable, set
56273         by --disable-build-nscd and defaults to $use_nscd.
56274         * configure: Regenerated.
56275         * config.make.in (build-nscd): New substituted variable.
56276         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
56277         Change conditional to require [$(build-nscd) = yes] as well.
56278         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
56280         [BZ# 13696]
56281         * configure.in (use_nscd): New substituted variable, set by
56282         --disable-nscd.  If enabled, define USE_NSCD.
56283         * configure: Regenerated.
56284         * config.h.in: Add USE_NSCD.
56285         * config.make.in (use-nscd): New substituted variable.
56286         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
56287         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
56288         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
56289         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
56290         (CFLAGS-getgrnam_r.c): Likewise.
56291         (CFLAGS-initgroups.c): Likewise.
56292         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
56293         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
56294         Variables removed.
56295         * inet/getnetgrent_r.c
56296         (nscd_setnetgrent): New function, broken out of ...
56297         (setnetgrent): ... here.  Call it.
56298         (innetgr): Conditionalize nscd bits on [USE_NSCD].
56299         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
56300         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
56301         * nscd/Makefile (routines, aux): Move definitions after include of
56302         Makeconfig.  Conditionalize on [$(use-nscd) != no].
56303         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
56304         Conditionalize on [USE_NSCD].
56305         (is_nscd, nscd_init_cb): Likewise.
56306         (nss_load_library): Conditionalize init callback on [USE_NSCD].
56307         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
56308         * nss/nss_db/db-init.c: Likewise.
56309         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
56310         [USE_NSCD].
56311         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
56312         (make_request): Use it.
56313         (cache_valid_p): New function.
56314         (__check_pf): Use it.
56315         * NEWS: Add item for --disable-nscd.
56317 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
56319         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
56320         to support sed >= 4.2.1-20-ga9bf076.
56321         * configure: Regenerated.
56323 2012-08-22  Roland McGrath  <roland@hack.frob.com>
56325         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
56326         Conditionalize whole body on [IREL].
56328 2012-08-22  Jeff Law <law@redhat.com>
56330         [BZ #14505]
56331         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
56332         if the family is PF_UNSPEC.
56334 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
56336         * Makerules (lib-version): Rename from V.
56337         (install-lib-nosubdir): Change V to lib-version.
56339 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
56341         [BZ #14252]
56342         * powerpc32/power6/wcschr.c: New file.
56343         * powerpc32/power6/wcscpy.c: New file.
56344         * powerpc32/power6/wcsrchr.c: New file.
56345         * powerpc64/power6/wcschr.c: New file.
56346         * powerpc64/power6/wcscpy.c: New file.
56347         * powerpc64/power6/wcsrchr.c: New file.
56349 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
56351         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
56352         (two_way_short_needle): Use it.
56353         * string/strstr.c (AVAILABLE1_USES_J): Define.
56354         * string/strcasestr.c: Likewise.
56356         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
56357         array references.
56358         * string/strcasestr.c (TOLOWER): Make side-effect safe.
56360         [BZ #11607]
56361         * NEWS: Add an entry.
56362         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
56363         define their defaults.
56364         (two_way_short_needle): Detect end-of-string on-the-fly.
56365         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
56366         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
56367         * string/bug-strcasestr1.c: New test.
56368         * string/Makefile: Run it.
56370 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
56372         [BZ #11607]
56373         * string/str-two-way.h (two_way_short_needle): Optimize matching of
56374         the first character.
56376 2012-08-21  Roland McGrath  <roland@hack.frob.com>
56378         * csu/elf-init.c (__libc_csu_irel): Function removed.
56379         * csu/libc-start.c (apply_irel): New function.
56380         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
56382 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
56384         * sysdeps/unix/sysv/linux/kernel-features.h
56385         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
56386         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
56387         <kernel-features.h>.
56388         [__NR_fadvise64_64]: Make code unconditional.
56389         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
56390         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
56391         !__NR_fadvise64_64)]: Likewise.
56392         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
56393         !__NR_fadvise64_64))]: Likewise.
56394         [__NR_fadvise64]: Make code unconditional.
56395         [!__NR_fadvise64]: Remove conditional code.
56396         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
56397         <kernel-features.h>.
56398         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
56399         unconditional.
56400         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
56401         conditional code.
56402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
56403         not include <kernel-features.h>.
56404         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
56405         unconditional.
56406         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
56407         conditional code.
56408         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
56409         include <kernel-features.h>.
56410         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
56411         unconditional.
56412         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
56413         conditional code.
56415 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
56417         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
56418         slight instruction rearrangements per scrollpipe analysis.
56419         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
56421 2012-08-20  Roland McGrath  <roland@hack.frob.com>
56423         * manual/syslog.texi (syslog; vsyslog, closelog):
56424         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
56425         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
56427         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
56428         DSOCAPS to match condition on defining it.
56430 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
56432         * sysdeps/unix/sysv/linux/kernel-features.h
56433         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
56434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
56435         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
56436         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
56437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
56438         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
56439         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
56440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
56441         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
56442         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
56444         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
56445         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
56447         * sysdeps/unix/sysv/linux/kernel-features.h
56448         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
56449         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
56450         unconditional.
56451         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56452         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
56453         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
56454         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56455         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
56456         Make code unconditional.
56457         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56458         (__mmap64) [!__NR_mmap2]: Likewise.
56459         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
56460         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
56461         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56462         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
56463         [__NR_mmap2]: Make code unconditional.
56464         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56465         (__mmap64) [!__NR_mmap2]: Likewise.
56467 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56469         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
56471 2012-08-18  Andreas Jaeger  <aj@suse.de>
56473         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
56475 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
56477         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
56478         * include/unistd.h (__have_sock_cloexec): Likewise.
56479         (__have_pipe2): Likewise.
56480         (__have_dup3): Likewise.
56482 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
56484         [BZ #9685]
56485         * include/unistd.h (__have_pipe2): Change define into an extern int.
56486         (__have_dup3): Likewise.
56487         * socket/have_sock_cloexec.c: Include fcntl.h.
56488         (__have_pipe2): New variable.
56489         (__have_dup3): Likewise.
56491 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
56493         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
56495 2012-08-17  Marek Polacek  <polacek@redhat.com>
56497         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
56498         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
56500 2012-08-17  Roland McGrath  <roland@hack.frob.com>
56502         * configure.in: Add AC_SUBST for sysheaders.
56503         * configure: Regenerated.
56504         * config.make.in (sysheaders): New substituted variable.
56506         * sysdeps/unix/mkfifo.c: Moved ...
56507         * sysdeps/posix/mkfifo.c: ... here.
56508         * sysdeps/unix/mkfifoat.c: Moved ...
56509         * sysdeps/posix/mkfifoat.c: ... here.
56511         * sysdeps/unix/utime.c: Moved ...
56512         * sysdeps/posix/utime.c: ... here.
56514         * sysdeps/unix/time.c: Moved ...
56515         * sysdeps/posix/time.c: ... here.
56516         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
56517         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
56519         * sysdeps/unix/nice.c: Moved ...
56520         * sysdeps/posix/nice.c: ... here.
56522         * sysdeps/unix/alarm.c: Moved ...
56523         * sysdeps/posix/alarm.c: ... here.
56525         * intl/Makefile ($(codeset_mo)): Depend on the input file.
56527 2012-08-17  Jeff Law <law@redhat.com>
56529         * intl/Makefile (codeset_mo): New variable.
56530         ($(codeset_mo)): New target.
56531         (tst-codeset.out): Depend on that.  Remove explicit rule.
56532         (tst-gettext3.out, tst-gettext5.out): Likewise.
56533         (LOCPATH-ENV, tst-codeset-ENV): New variables.
56534         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
56535         * intl/tst-codeset.sh: Remove.
56536         * intl/tst-gettext3.sh: Likewise.
56537         * intl/tst-gettext5.sh: Likewise.
56539 2012-08-17  Roland McGrath  <roland@hack.frob.com>
56541         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
56542         * sysdeps/unix/syscalls.list: ... here.
56544         * sysdeps/posix/getaddrinfo.c
56545         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
56546         (gaiconf_init, gaiconf_reload): Use them.
56547         [!_STATBUF_ST_NSEC]
56548         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
56549         Define using time_t rather than struct timespec.
56551         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
56552         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
56553         Macros removed.
56554         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
56555         [!NO_THREADS].
56556         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
56557         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
56558         Likewise.
56560         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
56561         __libc_cleanup_push argument.
56563         * bits/param.h: New file.
56564         * misc/sys/param.h: New file.
56565         * include/sys/param.h: New file.
56566         * misc/Makefile (headers): Add bits/param.h.
56567         * sysdeps/generic/sys/param.h: File removed.
56568         * sysdeps/unix/sysv/linux/bits/param.h: New file.
56569         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
56570         * sysdeps/mach/hurd/bits/param.h: New file.
56571         * sysdeps/mach/hurd/sys/param.h: File removed.
56573         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
56574         last change.
56576         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
56577         [_IO_MTSAFE_IO].
56578         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
56579         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
56580         New macros.
56582         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
56583         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
56584         rather than -D_IO_MTSAFE_IO conditionally.
56585         * stdio-common/Makefile (CPPFLAGS): Likewise.
56586         * wcsmbs/Makefile (CPPFLAGS): Likewise.
56587         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
56588         Use $(libio-mtsafe).
56589         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
56590         of -D_IO_MTSAFE_IO.
56591         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
56592         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
56593         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
56594         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
56595         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
56596         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
56597         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
56598         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
56599         (CFLAGS-fread_u_chk.c): Likewise.
56600         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
56601         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
56602         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
56603         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
56604         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
56605         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
56606         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
56607         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
56608         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
56610         * libio/Makefile: Test [$(libc-reentrant) = yes]
56611         instead of [$(filter %REENTRANT, $(defines)) nonempty].
56613         * Makeconfig
56614         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
56615         * sysdeps/pthread/configure: File removed.
56616         * sysdeps/pthread/Makeconfig: New file.
56617         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
56618         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
56620 2012-08-16  Gary Benson  <gbenson@redhat.com>
56622         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
56623         unmapping the first object in a namespace.
56625 2012-08-16  Roland McGrath  <roland@hack.frob.com>
56627         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
56628         (__internal_setnetgrent): ... this.  Add internal_function to
56629         definition.  Add libc_hidden_def.
56630         (setnetgrent): Update caller.
56631         (internal_endnetgrent): Renamed to ...
56632         (__internal_endnetgrent): ... this.  Add internal_function to
56633         definition.  Add libc_hidden_def.
56634         (endnetgrent): Update caller.
56635         (internal_getnetgrent_r): Renamed to ...
56636         (__internal_getnetgrent_r): ... this.  Add internal_function to
56637         definition.  Add libc_hidden_def.
56638         (__getnetgrent_r): Update caller.
56639         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
56641 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
56643         * stdlib/longlong.h: Update from GCC.
56645 2012-08-16  Roland McGrath  <roland@hack.frob.com>
56647         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
56648         on _QL, which is set by umul_ppmm but never used.
56649         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
56650         variables, which are set by GMP macros but never used.
56651         * stdio-common/_itowa.c (_itowa): Likewise.
56652         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
56653         * stdlib/mod_1.c (mpn_mod_1): Likewise.
56655 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
56657         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
56658         struct La_sh_regs is not constant.
56659         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
56660         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
56661         and struct La_sparc64_regs are not constant.
56663 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
56665         * sysdeps/unix/sysv/linux/kernel-features.h
56666         (__ASSUME_POSIX_TIMERS): Remove.
56667         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
56668         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56669         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
56670         Make code unconditional.
56671         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56672         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
56673         Make code unconditional.
56674         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56675         * sysdeps/unix/sysv/linux/clock_nanosleep.c
56676         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
56677         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56678         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
56679         Make code unconditional.
56680         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56681         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
56682         (__libc_missing_posix_timers): Remove.
56684 2012-08-15  Roland McGrath  <roland@hack.frob.com>
56686         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
56687         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
56689         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
56691         * elf/dl-sym.c: Include <stdlib.h>.
56693         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
56694         constants, which avoids warnings in 32-bit builds.
56696         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
56697         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
56699         * misc/lseek.c: File moved to ...
56700         * io/lseek.c: ... here.
56702         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
56704         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
56705         shifting LEN more than 31 bits at once.
56707 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56709         [BZ #14195]
56710         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
56711         segmentation fault for a case of two empty input strings.
56712         * string/test-strncasecmp.c (check1): Renamed to...
56713         (bz12205): ...this.
56714         (bz14195): Add new testcase for two empty input strings and N > 0.
56715         (test_main): Call new testcase, adapt for renamed function.
56717 2012-08-15  Andreas Jaeger  <aj@suse.de>
56719         [BZ #14090]
56720         * crypt/md5test2.c: New test, based on test supplied by Serge
56721         Belyshev <belyshev@depni.sinp.msu.ru>.
56722         * crypt/Makefile (xtests): Add md5test-giant..
56723         * crypt/Makefile ($(objpfx)md5test-giant): Add.
56725 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
56727         [BZ #14090]
56728         * crypt/md5.c (md5_process_block): Don't assume the buffer
56729         length is less than 2**32.
56730         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
56731         length is less than 2**64.
56733 2012-08-15  Roland McGrath  <roland@hack.frob.com>
56735         * string/str-two-way.h: Include <sys/param.h>.
56736         (MAX): Macro removed.
56738         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
56739         Move #define and #undef of memmove to just before and after
56740         including <string.h>.
56742         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
56743         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
56744         and after including <string.h>.  Move declarations of
56745         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
56746         to before #include "string/memmove.c".
56748         * include/dirent.h: Declare __getdirentries.
56750         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
56751         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
56753 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
56755         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
56756         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
56757         * sysdeps/i386/configure: Regenerated.
56758         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
56759         STABS_CURRENT_FILE, and STABS_FUN.
56760         (END): Remove call to STABS_FUN_END.
56761         (STABS_CURRENT_FILE1): Delete.
56762         (STABS_CURRENT_FILE): Likewise.
56763         (STABS_FUN): Likewise.
56764         (STABS_FUN_END): Likewise.
56765         (STABS_FUN2): Likewise.
56766         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
56767         * sysdeps/x86_64/configure: Regenerated.
56769 2012-08-14  Roland McGrath  <roland@hack.frob.com>
56771         * elf/dl-open.c: Include <atomic.h>.
56772         * elf/dl-lookup.c: Likewise.
56774 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
56776         * sysdeps/unix/sysv/linux/kernel-features.h
56777         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
56778         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
56779         unconditionally.
56780         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
56781         unconditionally.
56782         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
56783         condition on __ASSUME_CLONE_THREAD_FLAGS.
56785 2012-08-14  Andreas Jaeger  <aj@suse.de>
56787         * sysdeps/i386/fpu/libm-test-ulps: Update.
56789 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
56791         * include/atomic.h (atomic_exchange_and_add): Split into ...
56792         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
56793         New atomic macros.
56795 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
56797         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56799 2012-08-13  Jeff Law <law@redhat.com>
56801         * manual/stdio.texi (snprintf): Clarify handling of the trailing
56802         null byte in the output string.
56804 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
56806         * sysdeps/unix/sysv/linux/kernel-features.h
56807         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
56808         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
56809         (__ASSUME_ARG_MAX_STACK_BASED): Define.
56810         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
56811         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
56812         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
56813         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
56815 2012-08-09  Jeff Law <law@redhat.com>
56817         [BZ #13939]
56818         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
56819         When avoid_arena is set, don't retry in the that arena.  Pick the
56820         next one, whatever it might be.
56821         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
56822         (arena_lock): Pass in new parameter to arena_get2.
56823         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
56824         arena_get2.
56825         (__libc_malloc): Unify retrying after main arena failure with
56826         __libc_memalign version.
56827         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
56829 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
56831         [BZ #14166]
56832         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
56833         to __redirect_strstr.
56834         (__strstr_sse42): Use typeof __redirect_strstr.
56835         (__strstr_ia32): Likewise.
56836         (__libc_strstr): New prototype.
56837         (strstr): Renamed to ...
56838         (__libc_strstr): This.
56839         (strstr): New strong alias of __libc_strstr.
56840         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
56841         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
56842         __redirect_time.
56843         Include <time.h>.
56844         (__libc_time): New prototype.
56845         (time_ifunc): Replace time with __libc_time.
56846         (time): New strong alias and hidden definition of __libc_time.
56847         (__GI_time): Remove strong alias.
56848         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
56849         Include <stddef.h>.
56850         (memmove): Redefined to __redirect_memmove.
56851         (__memmove_sse2): Use typeof __redirect_memmove.
56852         (__memmove_ssse3): Likewise.
56853         (__memmove_ssse3_back): Likewise.
56854         (__libc_memmove): New prototype.
56855         (memmove): Renamed to ...
56856         (__libc_memmove): This.
56857         (memmove): New strong alias of __libc_memmove.
56859 2012-08-08  Mark Salter  <msalter@redhat.com>
56861         * elf/elf.h
56862         (R_MN10300_TLS_GD): Define.
56863         (R_MN10300_TLS_LD): Likewise.
56864         (R_MN10300_TLS_LDO): Likewise.
56865         (R_MN10300_TLS_GOTIE): Likewise.
56866         (R_MN10300_TLS_IE): Likewise.
56867         (R_MN10300_TLS_LE): Likewise.
56868         (R_MN10300_TLS_DTPMOD): Likewise.
56869         (R_MN10300_TLS_DTPOFF): Likewise.
56870         (R_MN10300_TLS_TPOFF): Likewise.
56871         (R_MN10300_SYM_DIFF): Likewise.
56872         (R_MN10300_ALIGN): Likewise.
56873         (R_MN10300_NUM): Update.
56875 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
56877         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
56878         Remove.
56880 2012-08-08  Roland McGrath  <roland@hack.frob.com>
56882         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
56884         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
56885         sysdeps/unix -> sysdeps/posix move.
56886         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
56888 2012-08-07      Allan McRae     <allan@archlinux.org>
56890         [BZ #14303]
56891         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
56892         (SUNOS_CPP): Likewise.
56893         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
56894         not found.
56895         (open_input): Call CPP using execvp.
56897 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
56899         * sysdeps/unix/sysv/linux/kernel-features.h
56900         (__ASSUME_PROT_GROWSUPDOWN): Remove.
56901         (__ASSUME_NO_CLONE_DETACHED): Likewise.
56902         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
56903         (__ASSUME_WAITID_SYSCALL): Likewise.
56904         * sysdeps/unix/sysv/linux/dl-execstack.c
56905         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
56906         code unconditional.
56907         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
56908         conditional code.
56909         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
56910         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
56911         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
56912         code.
56913         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
56914         unconditional.
56915         [__ASSUME_WAITID_SYSCALL]: Likewise.
56916         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
56918 2012-08-07  Roland McGrath  <roland@hack.frob.com>
56920         * sysdeps/unix/closedir.c: Renamed to ...
56921         * sysdeps/posix/closedir.c: ... here.
56922         * sysdeps/unix/dirfd.c: Renamed to ...
56923         * sysdeps/posix/dirfd.c: ... here.
56924         * sysdeps/unix/dirstream.h: Renamed to ...
56925         * sysdeps/posix/dirstream.h: ... here.
56926         * sysdeps/unix/fdopendir.c: Renamed to ...
56927         * sysdeps/posix/fdopendir.c: ... here.
56928         * sysdeps/unix/opendir.c: Renamed to ...
56929         * sysdeps/posix/opendir.c: ... here.
56930         * sysdeps/unix/readdir.c: Renamed to ...
56931         * sysdeps/posix/readdir.c: ... here.
56932         * sysdeps/unix/readdir_r.c: Renamed to ...
56933         * sysdeps/posix/readdir_r.c: ... here.
56934         * sysdeps/unix/rewinddir.c: Renamed to ...
56935         * sysdeps/posix/rewinddir.c: ... here.
56936         * sysdeps/unix/seekdir.c: Renamed to ...
56937         * sysdeps/posix/seekdir.c: ... here.
56938         * sysdeps/unix/telldir.c: Renamed to ...
56939         * sysdeps/posix/telldir.c: ... here.
56940         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
56941         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
56942         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
56943         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
56945         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
56946         * bits/fcntl.h: ... here.
56948         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
56949         not 0.
56950         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
56951         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
56952         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
56953         (struct flock): Move l_start, l_len to the beginning.
56954         Use __pid_t for l_pid.
56955         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
56956         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
56957         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
56958         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
56959         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
56960         [__USE_LARGEFILE64] (struct flock64): New type.
56961         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
56963         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
56964         * bits/dirent.h: ... here.
56966         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
56967         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
56969 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
56971         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56972         Change from 2.6.0 to 2.6.16.
56973         * sysdeps/unix/sysv/linux/configure: Regenerated.
56974         * sysdeps/unix/sysv/linux/kernel-features.h
56975         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
56976         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
56977         version.
56978         (__ASSUME_UTIMES): Likewise.
56979         (__ASSUME_CLONE_STOPPED): Remove.
56980         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
56981         architectures, not kernel version.
56982         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
56983         (__ASSUME_NO_CLONE_DETACHED): Likewise.
56984         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
56985         (__ASSUME_WAITID_SYSCALL): Likewise.
56986         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
56987         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
56988         * README: State 2.6.16 as minimum Linux kernel version.  Do not
56989         refer to older versions.
56991 2012-08-06  Roland McGrath  <roland@hack.frob.com>
56993         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
56994         Define alphasort64 as an alias.
56995         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
56996         Define versionsort64 as an alias.
56997         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
56998         Define scandir64 as an alias.
56999         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
57000         Define scandirat64 as an alias.
57001         * dirent/alphasort64.c (alphasort64):
57002         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
57003         * dirent/versionsort64.c: Likewise.
57004         * dirent/scandir64.c: Likewise.
57005         * dirent/scandirat64.c: Likewise.
57006         * sysdeps/wordsize-64/alphasort.c: File removed.
57007         * sysdeps/wordsize-64/alphasort64.c: File removed.
57008         * sysdeps/wordsize-64/scandir.c: File removed.
57009         * sysdeps/wordsize-64/scandir64.c: File removed.
57010         * sysdeps/wordsize-64/scandirat.c: File removed.
57011         * sysdeps/wordsize-64/scandirat64.c: File removed.
57012         * sysdeps/wordsize-64/versionsort.c: File removed.
57013         * sysdeps/wordsize-64/versionsort64.c: File removed.
57014         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
57015         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
57016         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
57017         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
57018         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
57019         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
57020         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
57021         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
57023         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
57024         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
57025         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
57026         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57027         [defined __arch64__ || defined __sparcv9]
57028         (__INO_T_MATCHES_INO64_T): New macro.
57029         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57030         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
57031         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
57032         * sysdeps/unix/sysv/linux/bits/dirent.h
57033         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
57034         (_DIRENT_MATCHES_DIRENT64): New macro.
57036         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
57037         Define lockf64 as an alias.
57038         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
57039         Define fseeko64 as an alias.
57040         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
57041         Define ftello64 as an alias.
57042         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
57043         Define _IO_fgetpos64 and fgetpos64 as aliases.
57044         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
57045         Define _IO_fsetpos64 and fsetpos64 as aliases.
57046         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
57047         Conditionalize body on this.
57048         * libio/fseeko64.c: Likewise.
57049         * libio/ftello64.c: Likewise.
57050         * libio/iofgetpos64.c: Likewise.
57051         * libio/iofsetpos64.c: Likewise.
57052         * sysdeps/wordsize-64/lockf.c: File removed.
57053         * sysdeps/wordsize-64/lockf64.c: File removed.
57054         * sysdeps/wordsize-64/fseeko.c: File removed.
57055         * sysdeps/wordsize-64/fseeko64.c: File removed.
57056         * sysdeps/wordsize-64/ftello.c: File removed.
57057         * sysdeps/wordsize-64/ftello64.c: File removed.
57058         * sysdeps/wordsize-64/iofgetpos.c: File removed.
57059         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
57060         * sysdeps/wordsize-64/iofsetpos.c: File removed.
57061         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
57062         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
57063         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
57064         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
57065         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
57066         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
57067         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
57068         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
57069         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
57070         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
57071         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
57073         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
57074         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
57075         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
57076         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57077         [defined __arch64__ || defined __sparcv9]
57078         (__OFF_T_MATCHES_OFF64_T): New macro.
57079         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57080         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
57081         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57082         (__OFF_T_MATCHES_OFF64_T): New macro.
57084 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
57086         * stdlib/secure-getenv.c (__secure_getenv): Replace
57087         GLIBC_2_16 with GLIBC_2_17.
57089 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
57091         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
57092         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
57094 2012-08-03  David S. Miller  <davem@davemloft.net>
57096         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57098 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
57100         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
57101         Remove.
57102         (__ASSUME_CORRECT_SI_PID): Likewise.
57103         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
57104         (__ASSUME_TMPFS_NAME): Likewise.
57105         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
57106         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
57107         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
57108         (HAVE_AUX_SECURE): Make definition unconditional.
57109         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
57110         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
57112 2012-08-03  Roland McGrath  <roland@hack.frob.com>
57114         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
57115         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
57116         * sysdeps/mach/hurd/eloop-threshold.h: New file.
57117         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
57118         __eloop_threshold instead of SYMLOOP_MAX.
57120         * sysdeps/generic/eloop-threshold.h: New file.
57121         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
57122         of MAXSYMLINKS.
57123         * elf/chroot_canon.c (chroot_canon): Likewise.
57125 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
57127         [BZ #13717]
57128         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57129         Change to 2.6.0 everywhere.
57130         * sysdeps/unix/sysv/linux/configure: Regenerated.
57131         * sysdeps/unix/sysv/linux/kernel-features.h
57132         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
57133         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
57134         kernel versions.
57135         (__ASSUME_POSIX_TIMERS): Define unconditionally.
57136         (__ASSUME_FUTEX_REQUEUE): Remove.
57137         (__ASSUME_STATFS64): Define unconditionally.
57138         (__ASSUME_AT_SECURE): Likewise.
57139         (__ASSUME_CORRECT_SI_PID): Likewise.
57140         (__ASSUME_TGKILL): Define without depending on kernel version for
57141         i386.
57142         (__ASSUME_UTIMES): Likewise.
57143         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
57144         kernel version.
57145         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
57146         (__ASSUME_TMPFS_NAME): Likewise.
57147         * README: Update reference to Linux kernel versions.
57149 2012-08-02  Marek Polacek  <polacek@redhat.com>
57151         [BZ# 14150]
57152         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
57153         libc_cv_asm_type_prefix with %.
57154         * configure: Regenerated.
57155         * include/libc-symbols.h: Remove comment about
57156         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
57157         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
57158         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
57159         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
57160         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
57161         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
57162         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
57163         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
57164         * elf/tst-unique2mod1.c: Likewise.
57165         * elf/tst-unique1mod2.c: Likewise.
57166         * elf/tst-unique1mod1.c: Likewise.
57167         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
57168         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
57169         Replace ASM_TYPE_DIRECTIVE with .type.
57170         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57171         * sysdeps/i386/sysdep.h: Likewise.
57172         * sysdeps/x86_64/sysdep.h: Likewise.
57173         * sysdeps/sh/sysdep.h: Likewise.
57174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
57175         Do not define ASM_TYPE_DIRECTIVE.
57176         * sysdeps/powerpc/sysdep.h: Likewise.
57177         * sysdeps/powerpc/powerpc32/sysdep.h:
57178         Replace ASM_TYPE_DIRECTIVE with .type.
57179         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
57180         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
57181         * sysdeps/i386/fpu/e_powf.S: Likewise.
57182         * sysdeps/i386/fpu/e_expl.S: Likewise.
57183         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57184         * sysdeps/i386/fpu/e_acosh.S: Likewise.
57185         * sysdeps/i386/fpu/e_pow.S: Likewise.
57186         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
57187         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57188         * sysdeps/i386/fpu/s_expm1.S: Likewise.
57189         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
57190         * sysdeps/i386/fpu/e_log2.S: Likewise.
57191         * sysdeps/i386/fpu/e_log2l.S: Likewise.
57192         * sysdeps/i386/fpu/e_scalb.S: Likewise.
57193         * sysdeps/i386/fpu/e_powl.S: Likewise.
57194         * sysdeps/i386/fpu/e_log10f.S: Likewise.
57195         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
57196         * sysdeps/i386/fpu/e_logl.S: Likewise.
57197         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
57198         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
57199         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
57200         * sysdeps/i386/fpu/e_log2f.S: Likewise.
57201         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57202         * sysdeps/i386/fpu/e_log.S: Likewise.
57203         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57204         * sysdeps/i386/fpu/e_logf.S: Likewise.
57205         * sysdeps/i386/fpu/e_log10l.S: Likewise.
57206         * sysdeps/i386/fpu/e_atanh.S: Likewise.
57207         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
57208         * sysdeps/i386/fpu/e_log10.S: Likewise.
57209         * sysdeps/i386/fpu/s_frexp.S: Likewise.
57210         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57211         * sysdeps/i386/fpu/s_asinh.S: Likewise.
57212         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
57213         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57214         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
57215         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
57216         * sysdeps/i386/i686/strtok.S: Likewise.
57217         * sysdeps/i386/i386-mcount.S: Likewise.
57218         * sysdeps/i386/strtok.S: Likewise.
57219         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
57220         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57221         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57222         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57223         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
57224         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57225         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
57226         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
57227         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57228         * sysdeps/x86_64/_mcount.S: Likewise.
57229         * sysdeps/x86_64/strtok.S: Likewise.
57230         * sysdeps/sh/_mcount.S: Likewise.
57232 2012-08-01  Roland McGrath  <roland@hack.frob.com>
57234         * libio/iofopen.c: Include <fcntl.h>.
57235         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
57236         (_IO_fopen64, fopen64): Define as aliases.
57237         * libio/iofopen64.c: Include <fcntl.h>.
57238         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
57239         Conditionalize body on this.
57240         * sysdeps/wordsize-64/iofopen.c: File removed.
57241         * sysdeps/wordsize-64/iofopen64.c: File removed.
57243 2012-08-01  Marek Polacek  <polacek@redhat.com>
57245         * libc/Makeconfig: Use elf in place of binfmt-subdir.
57246         Use dlfcn directly instead of a variable.
57247         (binfmt-subdir): Do not define.
57248         (dlfcn): Likewise.
57250 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
57252         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
57253         Remove all definitions.
57254         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
57255         <kernel-features.h>.
57256         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
57257         (miss_F_GETOWN_EX): Remove all definitions.
57258         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
57259         macro definition.
57260         [!__ASSUME_FCNTL64]: Remove conditional code.
57261         [__ASSUME_FCNTL64]: Make code unconditional.
57262         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
57263         <kernel-features.h>.
57264         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
57265         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
57266         (lockf64) [__NR_fcntl64]: Make code unconditional.
57267         (lockf64) [__ASSUME_FCNTL64]: Likewise.
57269         * sysdeps/unix/sysv/linux/kernel-features.h
57270         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
57271         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
57272         Make code unconditional.
57273         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57274         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
57276         [__NR_vfork]: Make code unconditional.
57277         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57278         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
57280         [__NR_vfork]: Make code unconditional.
57281         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57282         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57284 2012-08-01  Roland McGrath  <roland@hack.frob.com>
57286         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
57287         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
57289         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57290         Define mkstemp64 as an alias.
57291         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57292         Define mkstemps64 as an alias.
57293         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57294         Define mkostemp64 as an alias.
57295         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57296         Define mkostemps64 as an alias.
57297         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
57298         Conditionalize body on this.
57299         * misc/mkostemp64.c: Likewise.
57300         * misc/mkostemps64.c: Likewise.
57301         * misc/mkstemps64.c: Likewise.
57302         * sysdeps/wordsize-64/mkstemp64.c: File removed.
57303         * sysdeps/wordsize-64/mkostemp64.c: File removed.
57304         * sysdeps/wordsize-64/mkostemp.c: File removed.
57305         * sysdeps/wordsize-64/mkstemp.c: File removed.
57306         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
57307         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
57308         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
57309         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
57311         [BZ #14138]
57312         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
57313         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
57314         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
57315         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
57317         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
57318         compat_symbol macros from <shlib-compat.h> rather than the underlying
57319         default_symbol_version and symbol_version macros, so that DEFAULT
57320         lines in shlib-versions are respected.
57321         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
57323 2012-08-01  Florian Weimer  <fweimer@redhat.com>
57325         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
57326         Declare with warn_unused_result.
57327         (setgid, setregid, setegid, setresgid): Likewise.
57328         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
57329         Likewise.
57330         * WUR-REPORT: Remove set*id functions.
57332 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
57334         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
57336 2012-07-31  Roland McGrath  <roland@hack.frob.com>
57338         [BZ #10191]
57339         * include/sys/socket.h (__libc_accept, __libc_accept4):
57340         Add attribute_hidden.
57341         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
57343         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
57344         use of PTR_MANGLE.
57345         * inet/getnetgrent_r.c (setup): Likewise.
57347         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
57349 2012-07-31  David S. Miller  <davem@davemloft.net>
57351         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57353 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
57355         [BZ #13629]
57356         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
57357         value between 1.0 and 2.0 and smaller part has absolute value less
57358         than 1.0.
57359         * math/s_clog10.c (__clog10): Likewise.
57360         * math/s_clog10f.c (__clog10f): Likewise.
57361         * math/s_clog10l.c (__clog10l): Likewise.
57362         * math/s_clogf.c (__clogf): Likewise.
57363         * math/s_clogl.c (__clogl): Likewise.
57364         * math/libm-test.inc (clog_test): Add more tests.
57365         (clog10_test): Likewise.
57366         * sysdeps/i386/fpu/libm-test-ulps: Update.
57367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57369 2012-07-31  Florian Weimer  <fweimer@redhat.com>
57371         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
57372         Exit with zero in case no suitable GID is found, and write a
57373         message to standard error.
57375 2012-07-30  Roland McGrath  <roland@hack.frob.com>
57377         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
57378         rather than to 1.
57379         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
57380         (MAXPATHLEN): Removed.
57381         (NOGROUP, NODEV): New macros.
57382         (setbit, clrbit, isset, isclr): New macros.
57383         (howmany, roundup, powerof2): New macros.
57384         (DEV_BSIZE): New macro.
57386         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
57387         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
57389         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
57390         definition on [!__NO_LONG_DOUBLE_MATH].
57392         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
57393         PTR_MANGLE and PTR_DEMANGLE.
57395         * socket/accept4.c (accept4): Rename to __libc_accept4.
57396         Define accept4 as a weak alias.
57398         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
57399         on [_DIRENT_HAVE_D_TYPE].
57400         * io/ftw.c (ftw_dir): Likewise.
57402         * io/xmknod.c (__xmknod): Don't check PATH for being null.
57404         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
57406         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
57407         Use the BSD numbers rather than the arbitrary ones we had.
57408         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
57409         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
57410         (SIGXCPU, SIGXFSZ): New macros.
57411         (_NSIG): Now 32.
57413         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
57414         initializer on [_LIBC_REENTRANT].
57416         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
57417         definitions inside [_POSIX_MAPPED_FILES].
57419         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
57421         * dirent/opendir.c: Include <fcntl.h>.
57423         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
57424         (__libc_getspecific): Likewise.
57425         (__libc_key_create): Likewise.
57427         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
57428         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
57429         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
57430         (tmpfile64): Define as alias.
57431         * sysdeps/wordsize-64/tmpfile.c: File removed.
57432         * sysdeps/wordsize-64/tmpfile64.c: File removed.
57433         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
57434         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
57436         * stdio-common/vfscanf.c: Include <stdbool.h>.
57437         * nss/makedb.c: Likewise.
57438         * stdio-common/_i18n_number.h: Likewise.
57439         * argp/argp-help.c: Likewise.
57440         * posix/wordexp.c: Likewise.
57441         * sysdeps/posix/spawni.c: Likewise.
57442         * nss/nss_files/files-initgroups.c: Likewise.
57443         * stdio-common/reg-modifier.c: Include <stdlib.h>.
57444         * nss/nss_files/files-initgroups.c: Likewise.
57445         * nss/nss_db/db-netgrp.c: Likewise.
57446         * nss/nss_db/db-initgroups.c: Likewise.
57447         * io/fchmodat.c: Include <sys/stat.h>.
57449         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
57450         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
57452         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
57453         [HAVE_MMAP].
57455         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
57456         Add multiple inclusion protection.
57458 2012-07-27  David S. Miller  <davem@davemloft.net>
57460         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57462 2012-07-27  Gary Benson  <gbenson@redhat.com>
57464         [BZ #14298]
57465         * elf/rtld.c: Include <stap-probe.h>.
57466         (dl_main): Added static probes "init_start" and "init_complete".
57467         * elf/dl-load.c: Include <stap-probe.h>.
57468         (lose): Take new parameter "nsid".
57469         Added static probe "map_failed".
57470         (_dl_map_object_from_fd): Pass namespace id to lose.
57471         Added static probe "map_start".
57472         (open_verify): Pass namespace id to lose.
57473         * elf/dl-open.c: Include <stap-probe.h>.
57474         (dl_open_worker) Added static probes "map_complete", "reloc_start"
57475         and "reloc_complete".
57476         * elf/dl-close.c: Include <stap-probe.h>.
57477         (_dl_close_worker): Added static probes "unmap_start" and
57478         "unmap_complete".
57479         * elf/rtld-debugger-interface.txt: New file documenting the above.
57481 2012-07-26  Roland McGrath  <roland@hack.frob.com>
57483         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
57484         rather than a string variable.
57485         * sunrpc/rpc_main.c (h_output): Likewise.
57486         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
57488 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
57490         * inet/check_native.c: New file.
57492 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
57494         [BZ #13629]
57495         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
57496         if larger part has absolute value 1.0.
57497         * math/s_clog10.c (__clog10): Likewise.
57498         * math/s_clog10f.c (__clog10f): Likewise.
57499         * math/s_clog10l.c (__clog10l): Likewise.
57500         * math/s_clogf.c (__clogf): Likewise.
57501         * math/s_clogl.c (__clogl): Likewise.
57502         * math/libm-test.inc (clog_test): Add more tests.
57503         (clog10_test): Likewise.
57504         * sysdeps/i386/fpu/libm-test-ulps: Update.
57505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57507         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
57508         (pltexit): Likewise.
57509         (La_regs): Likewise.
57510         (La_retval): Likewise.
57511         (int_retval): Likewise.
57512         Update #error for removed macros to refer only to definitions in
57513         tst-audit.h.
57514         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
57515         macro.
57516         (pltexit): Likewise.
57517         (La_regs): Likewise.
57518         (La_retval): Likewise.
57519         (int_retval): Likewise.
57520         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
57521         macro.
57522         (pltexit): Likewise.
57523         (La_regs): Likewise.
57524         (La_retval): Likewise.
57525         (int_retval): Likewise.
57526         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
57527         macro.
57528         (pltexit): Likewise.
57529         (La_regs): Likewise.
57530         (La_retval): Likewise.
57531         (int_retval): Likewise.
57532         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
57533         macro.
57534         (pltexit): Likewise.
57535         (La_regs): Likewise.
57536         (La_retval): Likewise.
57537         (int_retval): Likewise.
57538         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
57539         macro.
57540         (pltexit): Likewise.
57541         (La_regs): Likewise.
57542         (La_retval): Likewise.
57543         (int_retval): Likewise.
57544         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
57545         macro.
57546         (pltexit): Likewise.
57547         (La_regs): Likewise.
57548         (La_retval): Likewise.
57549         (int_retval): Likewise.
57550         * sysdeps/generic/tst-audit.h: Update comment to refer only to
57551         macro definitions in tst-audit.h.
57552         * sysdeps/i386/tst-audit.h: New file.
57553         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
57554         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
57555         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
57556         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
57557         * sysdeps/sh/tst-audit.h: Likewise.
57558         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
57559         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
57560         * sysdeps/x86_64/tst-audit.h: Likewise.
57562 2012-07-26  Andreas Jaeger  <aj@suse.de>
57564         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
57565         ptrace.
57567         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
57568         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
57569         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
57570         PTRACE_O_MASK.
57571         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
57572         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
57573         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
57575         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
57576         value.
57578         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
57579         _sigsys.
57580         (si_call_addr, si_syscall, si_arch): Define new macro.
57581         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
57582         _sigsys.
57583         (si_call_addr, si_syscall, si_arch): Define new marcro.
57584         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
57585         _sigsys.
57586         (si_call_addr, si_syscall, si_arch): Define new macro.
57587         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
57588         _sigsys.
57589         (si_call_addr, si_syscall, si_arch): Define new macro.
57591 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
57593         [BZ #13717]
57594         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57595         Change to 2.4.21 where previously 2.4.1.
57596         * sysdeps/unix/sysv/linux/configure: Regenerated.
57597         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
57598         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
57599         Linux kernel version.
57600         (__ASSUME_STD_AUXV): Remove.
57601         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
57602         kernel version.
57603         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
57604         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
57605         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
57606         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
57607         (__ASSUME_NETLINK_SUPPORT): Likewise.
57608         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
57609         (__no_netlink_support): Remove conditional definition.
57610         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
57611         Remove.
57612         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
57613         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
57614         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
57615         (if_nameindex_ioctl): Remove.
57616         (if_nameindex_netlink): Do not handle __no_netlink_support.
57617         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
57618         code.
57619         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
57620         Remove conditional code.
57621         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
57622         code.
57623         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
57624         unconditional.
57625         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
57626         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
57627         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
57628         Remove.
57629         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
57630         [!__ASSUME_STD_AUXV]: Remove conditional code.
57631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
57632         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
57633         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
57634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
57635         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
57636         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
57637         code.
57638         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
57639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
57640         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
57641         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
57642         conditional code.
57643         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
57644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
57645         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
57646         code.
57647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
57648         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
57649         conditional code.
57650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
57651         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
57652         code unconditional.
57653         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57654         conditional code.
57655         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
57656         unconditional.
57657         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57658         conditional code.
57659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57660         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
57661         unconditional.
57662         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57663         conditional code.
57664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
57665         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
57666         code unconditional.
57667         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57668         conditional code.
57669         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
57670         unconditional.
57671         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57672         conditional code.
57673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
57674         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
57675         code unconditional.
57676         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57677         conditional code.
57678         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
57679         unconditional.
57680         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57681         conditional code.
57683 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
57685         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
57686         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
57687         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
57688         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
57689         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
57690         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
57691         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
57692         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
57693         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
57694         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
57695         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
57696         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
57697         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
57698         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
57699         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
57700         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
57701         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
57702         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
57703         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
57704         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
57705         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
57706         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
57707         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
57709 2012-07-25  Florian Weimer  <fweimer@redhat.com>
57711         * Versions.def: Add GLIBC_2.17.
57712         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
57713         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
57714         Introduce __libc_secure_getenv.
57715         * stdlib/Versions (2.17): Add secure_getenv
57716         (GLIBC_PRIVATE): Add __libc_secure_getenv.
57717         * stdlib/secure-getenv.c: Rename __secure_getenv to
57718         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
57719         symbol __secure_getenv for GLIBC_2.0.
57720         * stdlib/tst-secure-getenv.c: New.
57721         * stdlib/Makefile (tests): Add testcase.
57722         * manual/startup.texi (Environment Access): Document
57723         secure_getenv.
57724         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
57725         __libc_secure_getenv.
57726         * inet/ruserpass.c (ruserpass): Likewise.
57727         * malloc/mtrace.c (mtrace): Likewise.
57728         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
57729         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
57730         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
57731         * sysdeps/posix/tempname.c: Likewise.  Evaluate
57732         HAVE_SECURE_GETENV.
57733         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
57734         __secure_getenv to __libc_secure_getenv.
57735         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
57736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57737         Likewise.
57738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57739         Likewise.
57740         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
57741         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
57742         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57743         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
57744         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
57745         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57746         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
57748 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
57750         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
57751         (struct La_i86_retval): Likewise.
57752         (struct La_x86_64_regs): Likewise.
57753         (struct La_x86_64_retval): Likewise.
57754         (struct La_x32_regs): Likewise.
57755         (struct La_x32_retval): Likewise.
57756         (struct La_ppc32_regs): Likewise.
57757         (struct La_ppc32_retval): Likewise.
57758         (struct La_ppc64_regs): Likewise.
57759         (struct La_ppc64_retval): Likewise.
57760         (struct La_sh_regs): Likewise.
57761         (struct La_sh_retval): Likewise.
57762         (struct La_s390_32_regs): Likewise.
57763         (struct La_s390_32_retval): Likewise.
57764         (struct La_s390_64_regs): Likewise.
57765         (struct La_s390_64_retval): Likewise.
57766         (struct La_sparc32_regs): Likewise.
57767         (struct La_sparc32_retval): Likewise.
57768         (struct La_sparc64_regs): Likewise.
57769         (struct La_sparc64_retval): Likewise.
57770         (struct audit_ifaces): Remove architecture-specific pltenter and
57771         pltexit members.
57772         * sysdeps/i386/ldsodefs.h: New file.
57773         * sysdeps/powerpc/ldsodefs.h: Likewise.
57774         * sysdeps/s390/ldsodefs.h: Likewise.
57775         * sysdeps/sh/ldsodefs.h: Likewise.
57776         * sysdeps/sparc/ldsodefs.h: Likewise.
57777         * sysdeps/x86_64/ldsodefs.h: Likewise.
57779 2012-07-25  Marek Polacek  <polacek@redhat.com>
57781         [BZ #6808]
57782         * math/libm-test.inc (yn_test): Add another test.
57783         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
57784         to ERANGE when the result is +-Inf.
57785         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
57786         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
57787         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
57788         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
57790 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
57792         * conform/data/time.h-data (NULL): Use macro-constant.  Require
57793         equal to 0.
57794         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
57795         clock_t.
57796         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
57798 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
57800         * configure.in <sysdeps resolving>: Correct printing
57801         Implies_before.
57802         * configure: Regenerate.
57804 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
57806         * math/w_ilogb.c: Include <limits.h>.
57807         * math/w_ilogbl.c: Likewise.
57809 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
57811         * manual/lang.texi (__va_copy): Document primarily as ISO C99
57812         va_copy.  Document allowing for unavailable va_copy only as
57813         pre-C99 compatibility.
57814         * manual/string.texi (Copying and Concatenation): Use va_copy
57815         instead of __va_copy in concat example.
57817 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
57819         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
57820         (__sendto): Use create_address_port.  Initialize APORT and deallocate
57821         it if not null.
57823         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
57824         with O_NOLINK passed to __file_name_lookup.
57826         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
57827         with O_NOLINK passed to __file_name_lookup.
57829         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
57830         negative N or less than NGIDS.
57832         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
57833         type to string_t.  Set ERANGE as errno and return it if NAME is not big
57834         enough.  Use memcpy instead of strncpy.
57836 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
57838         * elf/Makefile (check-data): Remove.
57839         (localplt.data): New vpath directive.
57840         ($(objpfx)check-localplt.out): Use localplt.data from vpath
57841         instead of $(check-data).
57842         * scripts/data/localplt-generic.data: Move to ...
57843         * sysdeps/generic/localplt.data: ... here.
57844         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
57845         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
57846         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
57847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
57848         ... here.
57849         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
57850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
57851         ... here.
57852         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
57853         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
57854         ... here.
57855         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
57856         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
57857         ... here.
57858         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
57859         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
57860         ... here.
57861         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
57862         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
57863         ... here.
57865 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57867         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
57868         PPC32 and PPC64 files.
57869         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
57870         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
57872 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57874         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
57875         __makecontext_ret to ...
57876         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
57877         ... here and call exit if uc_link is NULL.  New file.
57878         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
57879         __makecontext_ret.S.
57880         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
57881         __makecontext_ret to ...
57882         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
57883         ... here and call exit if uc_link is NULL.  New file.
57884         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
57885         __makecontext_ret.S.
57887 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57889         * elf/elf.h (R_390_IRELATIVE): New definition.
57890         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
57891         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
57892         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
57893         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
57894         (elf_machine_lazy_rel): Likewise.
57895         * sysdeps/s390/dl-irel.h: New file.
57896         * sysdeps/s390/s390-64/memcpy.S: New asm code.
57897         * sysdeps/s390/s390-64/memset.S: New asm code.
57898         * sysdeps/s390/s390-64/memcmp.S: New asm code.
57899         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
57900         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
57901         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
57902         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
57903         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
57904         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
57905         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
57906         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
57907         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
57908         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
57909         * sysdeps/s390/s390-32/memcpy.S: New asm code.
57910         * sysdeps/s390/s390-32/memset.S: New asm code.
57911         * sysdeps/s390/s390-32/memcmp.S: New asm code.
57913 2012-07-17  Marek Polacek  <polacek@redhat.com>
57915         [BZ #14349]
57916         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
57917         * sysdeps/s390/s390-64/configure.in: Likewise.
57918         * sysdeps/sparc/configure.in: Likewise.
57919         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
57920         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
57921         * sysdeps/i386/configure.in: Likewise.
57922         * sysdeps/x86_64/configure.in: Likewise.
57923         * sysdeps/sh/configure.in: Likewise.
57924         * sysdeps/s390/s390-32/configure: Regenerated.
57925         * sysdeps/s390/s390-64/configure: Likewise.
57926         * sysdeps/x86_64/configure: Likewise.
57927         * sysdeps/sh/configure: Likewise.
57928         * sysdeps/powerpc/powerpc64/configure: Likewise.
57929         * sysdeps/powerpc/powerpc32/configure: Likewise.
57930         * sysdeps/sparc/configure: Likwise.
57931         * sysdeps/i386/configure: Likewise.
57933         * elf/dl-open.c: Comment fixes.
57935 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
57937         * Makefile [CXX] (check-data): Remove.
57938         [CXX] (c++-types.data): New vpath directive.
57939         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
57940         vpath.  Do not allow for C++ type data being missing.
57941         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
57942         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
57943         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
57944         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
57945         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
57946         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
57947         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
57948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
57949         ... here.
57950         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
57951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
57952         ... here.
57953         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
57954         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
57955         ... here.
57956         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
57957         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
57958         ... here.
57959         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
57960         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
57961         ... here.
57962         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
57963         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
57964         ... here.
57965         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
57966         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
57967         ... here.
57968         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
57969         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
57971         * elf/tls-macros.h (TLS_LE): Move architecture-specific
57972         definitions to architecture-specific files.
57973         (TLS_IE): Likewise.
57974         (TLS_LD): Likewise.
57975         (TLS_GD): Likewise.
57976         * sysdeps/i386/tls-macros.h: New file.
57977         * sysdeps/powerpc/tls-macros.h: Likewise.
57978         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
57979         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
57980         * sysdeps/sh/tls-macros.h: Likewise.
57981         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
57982         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
57983         * sysdeps/x86_64/tls-macros.h: Likewise.
57985 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
57987         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
57988         zero value for regular exit case.
57990         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
57991         (__start_context): Preserve zero value for regular exit case.
57993 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
57994             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57996         * manual/setjmp.texi (setcontext): Clarify normal process
57997         termination when uc_link is the null pointer.
57998         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
57999         exit call.
58001 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
58003         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
58004         preprocessor.  Test for each exception mask separately.
58006 2012-07-16  Andreas Jaeger  <aj@suse.de>
58008         * po/ru.po: Update from translation team.
58010 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
58012         * conform/data/string.h-data (NULL): Use macro-constant.  Require
58013         equal to 0.
58014         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
58015         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
58016         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
58017         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
58018         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58020 2012-07-13  Andreas Jaeger  <aj@suse.de>
58022         * po/fr.po: Update from translation team.
58024 2012-07-12  Marek Polacek  <polacek@redhat.com>
58026         [BZ #14173]
58027         * math/libm-test.inc (yn_test): Add test for BZ #14173.
58028         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
58029         loop condition.
58031 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
58033         [BZ #13717]
58034         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58035         Change to 2.4.1 where previously 2.4.0.
58036         * sysdeps/unix/sysv/linux/configure: Regenerated.
58037         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
58038         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
58039         version.
58040         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
58041         (__ASSUME_AT_CLKTCK): Remove.
58042         (__ASSUME_AT_PAGESIZE): Likewise.
58043         (__ASSUME_AT_XID): Likewise.
58044         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
58045         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
58046         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
58047         unconditionally.
58048         (HAVE_AUX_PAGESIZE): Likewise.
58049         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
58050         [__ASSUME_AT_CLKTCK]: Make code unconditional.
58051         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
58053 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
58055         [BZ #14307]
58056         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
58057         the temporary buffer used to invoke __gethostbyname2_r,
58058         __gethostbyaddr_r and gethostbyname4_r to make room for struct
58059         host_data / struct gaih_addrtuple.
58060         * resolv/nss_dns/dns-host.c (global scope): Move definition of
58061         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
58062         header file nss/nsswitch.h.
58063         * nss/nsswitch.h (global scope): Add definition of implementation
58064         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
58065         resolv/nss_dns/dns-host.c).
58067 2012-07-11  Andreas Jaeger  <aj@suse.de>
58069         * po/fr.po: Update from translation team.
58071         * po/sv.po: Update from translation team
58072         * po/fr.po: Another update from translation team.
58074 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58076         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
58077         for subnormals or multiply small sinh result by itself.
58078         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
58079         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58081 2012-07-11  David S. Miller  <davem@davemloft.net>
58083         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58085 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
58087         [BZ #14347]
58088         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
58089         (INTERNAL_MARK): Shift it here.
58091 2012-07-10  Marek Polacek  <polacek@redhat.com>
58093         [BZ #14151]
58094         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
58095         libc_cv_asm_global_directive with .globl.
58096         * configure: Regenerated.
58097         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
58098         with .globl.
58099         * sysdeps/i386/configure: Regenerated.
58100         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
58101         with .globl.
58102         * sysdeps/x86_64/configure: Regenerated.
58103         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
58104         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
58105         * elf/tst-unique2mod2.c: Likewise.
58106         * elf/tst-unique2mod1.c: Likewise.
58107         * elf/tst-unique1mod2.c: Likewise.
58108         * elf/tst-unique1mod1.c: Likewise.
58109         * sysdeps/s390/s390-32/sysdep.h: Likewise.
58110         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
58111         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58112         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
58113         * sysdeps/mach/sysdep.h: Likewise.
58114         * sysdeps/i386/sysdep.h: Likewise.
58115         * sysdeps/i386/i386-mcount.S: Likewise.
58116         * sysdeps/x86_64/_mcount.S: Likewise.
58117         * sysdeps/x86_64/sysdep.h: Likewise.
58118         * sysdeps/sh/_mcount.S: Likewise.
58119         * sysdeps/sh/sysdep.h: Likewise.
58120         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
58121         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
58122         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
58123         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58124         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
58125         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
58126         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
58127         * locale/localeinfo.h: Likewise.
58128         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
58129         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
58131 2012-07-09  Roland McGrath  <roland@hack.frob.com>
58133         [BZ #14336]
58134         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
58135         system".
58136         * manual/message.texi (The Uniforum approach): Likewise.
58137         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
58138         (glibc iconv Implementation): Likewise.
58140 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
58142         [BZ #14337]
58143         * math/s_clog.c (__clog): Avoid scaling a value down where that
58144         could result in underflow.
58145         * math/s_clog10.c (__clog10): Likewise.
58146         * math/s_clog10f.c (__clog10f): Likewise.
58147         * math/s_clog10l.c (__clog10l): Likewise.
58148         * math/s_clogf.c (__clogf): Likewise.
58149         * math/s_clogl.c (__clogl): Likewise.
58150         * math/libm-test.inc (clog_test): Add more tests.
58151         (clog10_test): Likewise.
58152         * sysdeps/i386/fpu/libm-test-ulps: Update.
58153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58155 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
58157         [BZ #14283]
58158         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
58159         by 7 not 8 to examine high bit of fractional part.
58161         [BZ #14042]
58162         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
58163         for call to __mcount_internal.
58164         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
58165         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
58166         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
58168 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
58170         [BZ #14154]
58171         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
58172         approximation for values within 0x1p-13f of an odd multiple of
58173         pi/4.
58174         * math/libm-test.inc (tan_test): Do not allow spurious underflow
58175         exception.  Add more tests.
58176         * sysdeps/i386/fpu/libm-test-ulps: Update.
58178         [BZ #6778]
58179         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
58180         inputs and return -1 for them.  Do not check for +Inf in case not
58181         reachable for +Inf.
58182         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
58183         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
58184         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
58185         and return -1 for them.  Do not check for +Inf in case not
58186         reachable for +Inf.
58187         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
58188         define.
58189         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
58190         and return -1 for them.  Do not check for +Inf in case not
58191         reachable for +Inf.
58192         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
58193         spurious underflow.
58194         * sysdeps/i386/fpu/libm-test-ulps: Update.
58195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58197 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
58199         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
58201 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
58203         [BZ #14157]
58204         [BZ #14331]
58205         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
58206         could result in spurious underflow.  Scale down values above
58207         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
58208         * math/s_csqrtf.c (__csqrtf): Likewise.
58209         * math/s_csqrtl.c (__csqrtl): Likewise.
58210         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
58211         spurious underflow.
58212         * sysdeps/i386/fpu/libm-test-ulps: Update.
58213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58215 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
58217         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
58218         xopen-msg.sed.
58219         * catgets/xopen-msg.awk: New file.
58220         * catgets/xopen-msg.sed: Removed.
58222         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
58223         po2text.sed.
58224         * intl/po2test.awk: New file.
58225         * intl/po2test.sed: Removed.
58227 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
58229         [BZ #14328]
58230         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
58231         or multiply small sinh result by itself.
58232         * math/s_ctanf.c (__ctanf): Likewise.
58233         * math/s_ctanh.c (__ctanh): Likewise.
58234         * math/s_ctanhf.c (__ctanhf): Likewise.
58235         * math/s_ctanhl.c (__ctanhl): Likewise.
58236         * math/s_ctanl.c (__ctanl): Likewise.
58237         * math/libm-test.inc (ctan_test_tonearest): New function.
58238         (ctan_test_towardzero): Likewise.
58239         (ctan_test_downward): Likewise.
58240         (ctan_test_upward): Likewise.
58241         (ctanh_test_tonearest): Likewise.
58242         (ctanh_test_towardzero): Likewise.
58243         (ctanh_test_downward): Likewise.
58244         (ctanh_test_upward): Likewise.
58245         (main): Call these new functions.
58246         * sysdeps/i386/fpu/libm-test-ulps: Update.
58247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58249 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
58251         * .gitignore: Delete /ports entry.
58253 2012-07-03  Andreas Jaeger  <aj@suse.de>
58255         * po/bg.po: Update from translation team.
58256         * po/cs.po: Likewise.
58257         * po/de.po: Likewise.
58258         * po/hr.po: Likewise.
58259         * po/nl.pl: Likewise.
58260         * po/pl.po: Likewise.
58261         * po/vi.po: Likewise.
58263 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
58265         * Makeconfig [!+link] (+link-before-libc): New variable.
58266         [!+link] (+link-after-libc): Likewise.
58267         [!+link] (+link-tests): Likewise.
58268         [!+link] (+link): Define in terms of $(+link-before-libc) and
58269         $(+link-after-libc).
58270         [!+link-static] (+link-static-before-libc): New variable.
58271         [!+link-static] (+link-static-after-libc): Likewise.
58272         [!+link-static] (+link-static-tests): Likewise.
58273         [!+link-static] (+link-static): Define in terms of
58274         $(+link-static-before-libc) and $(+link-static-after-libc).
58275         [build-shared] (link-libc-before-gnulib): New variable.
58276         [build-shared] (link-libc-tests): Likewise.
58277         [build-shared] (link-libc): Define in terms of
58278         $(link-libc-before-gnulib).
58279         [!build-shared] (link-libc-tests): New variable.
58280         (link-libc-static-tests): New variable.
58281         [!gnulib] (gnulib-arch): New variable.
58282         [!gnulib] (gnulib-tests): Likewise.
58283         [!gnulib] (static-gnulib-arch): Likewise.
58284         [!gnulib] (static-gnulib-tests): Likewise.
58285         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
58286         Define with "=" instead of ":=".
58287         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
58288         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
58289         * Rules (binaries-all-notests): New variable.
58290         (binaries-all-tests): Likewise.
58291         (binaries-static-notests): Likewise.
58292         (binaries-static-tests): Likewise.
58293         (binaries-all): Define using $(binaries-all-notests) and
58294         $(binaries-all-tests).
58295         (binaries-static): Define using $(binaries-static-notests) and
58296         $(binaries-static-tests).
58297         (binaries-shared-tests): New variable.
58298         (binaries-shared-notests): Likewise.
58299         (binaries-shared): Remove variable.
58300         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
58301         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
58302         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
58303         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
58304         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
58305         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
58306         * elf/Makefile (sln-modules): New variable.
58307         (extra-objs): Add $(sln-modules:=.o).
58308         (ldconfig-modules): Add static-stubs.
58309         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
58310         * elf/static-stubs.c: New file.
58312         [BZ #14283]
58313         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
58314         by 7 not 8 to examine high bit of fractional part.  Use volatile
58315         variables when splitting into final array of floats if
58316         __FLT_EVAL_METHOD__ != 0.
58317         * math/libm-test.inc (cos_test): Add another test.
58318         (sin_test): Likewise.
58319         * sysdeps/i386/fpu/libm-test-ulps: Update.
58321         [BZ #14273]
58322         * math/libm-test.inc (cosh_test): Add more tests.
58324         * version.h (RELEASE): Set to "development".
58325         (VERSION): Set to "2.16.90".
58327 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
58329         * NEWS: Update copyright. Remove last-updated date.
58330         Mention math library bug fixes and timezone data changes.
58331         * README: Mention GNU/Hurd, x32, and HPPA support status.
58333 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
58335         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
58337 2012-06-27  Andreas Jaeger  <aj@suse.de>
58339         * manual/contrib.texi (Contributors): Add Samuel Thibault.
58341 2012-06-25  Andreas Jaeger  <aj@suse.de>
58343         * sysdeps/s390/fpu/libm-test-ulps: Update.
58345 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
58346             Thomas Schwinge  <thomas@codesourcery.com>
58348         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
58349         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
58350         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
58351         fanotify_mark.
58353 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
58355         * sysdeps/mach/start.c: Remove file.
58356         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
58357         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
58358         * sysdeps/sh/init-first.c: Likewise.
58360         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
58361         registers for frame unwinding purposes, add CFI directives.
58362         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
58363         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
58364         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
58365         Likewise.
58367         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
58368         __fortify_fail returning.
58369         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
58371         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
58372         sysdeps/sh/____longjmp_chk.S.
58373         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
58374         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
58375         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
58376         (gen-as-const-headers): Append sigaltstack-offsets.sym.
58378         * sysdeps/sh/abort-instr.h: New file.
58379         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
58380         process in case exit returns.
58382         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
58383         initialize the GOT register before use.
58385         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
58386         calculation of ARGC > 4.
58388         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
58389         meaningful names to some local labels.
58391 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58392             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58394         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
58395         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
58396         (__arch_compare_and_exchange_val_16_acq): Likewise.
58397         (__arch_compare_and_exchange_val_32_acq): Likewise.
58398         (atomic_exchange_and_add): Fix gUSA sequence.
58399         (atomic_add): Likewise.
58400         (atomic_add_negative): Likewise.
58401         (atomic_add_zero): Likewise.
58402         (atomic_bit_test_set): Likewise.
58404 2012-06-22  Andreas Schwab  <schwab@redhat.com>
58406         [BZ #13579]
58407         * include/link.h (struct link_map): Add l_free_initfini.
58408         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
58409         l_initfini.
58410         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
58411         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
58412         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
58413         set.
58415 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
58417         * configure.in: Use AC_LANG_SOURCE.
58418         * configure: Regenerate.
58420 2012-06-22  Roland McGrath  <roland@hack.frob.com>
58422         * configure.in (libc_cv_localstatedir): New substituted variable.
58423         * configure: Regenerated.
58424         * config.make.in (localstatedir): New variable, substituted from
58425         libc_cv_localstatedir.
58426         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
58427         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
58428         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
58429         * sysdeps/gnu/configure: Regenerated.
58431 2012-06-21  Jeff Law  <law@redhat.com>
58433         [BZ #14277]
58434         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
58435         free.  Simplify list management for _LIBC case.
58437 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
58439         [BZ #14273]
58440         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
58441         Clear sign bit of 64-bit integer value before comparing against
58442         overflow value.
58444         * sysdeps/mach/configure: Regenerated.
58446 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
58448         [BZ #14278]
58449         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
58451 2012-06-21  Jeff Law  <law@redhat.com>
58453         [BZ #13882]
58454         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
58455         uint16_t for elements in the "seen" array to avoid char overflows.
58456         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58457         * elf/dl-open.c (dl_open_worker): Likewise.
58459 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
58461         * scripts/list-sources.sh: Scan PORTS for translations.
58462         * po/libc.pot: Regenerated.
58464 2012-06-21  Andreas Jaeger  <aj@suse.de>
58466         [BZ #12194]
58467         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
58468         warning.
58469         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
58470         * bits/byteswap-16.h (__bswap_16): Likewise.
58471         * bits/byteswap.h (__bswap_constant_16): Likewise.
58473 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
58475         [BZ #14117]
58476         * sysdeps/i386/fpu_control.h: Removed.
58477         * sysdeps/x86_64/fpu_control.h: Moved to ...
58478         * sysdeps/x86/fpu_control.h: Here.
58480         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
58481         (_FPU_SETCW): Likewise.
58483 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
58485         [BZ #14117]
58486         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
58487         * sysdeps/x86/fpu/bits/mathinline.h: This.
58488         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
58490         [BZ #14050]
58491         [BZ #14117]
58492         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
58493         functions if __x86_64__ is defined.
58495 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
58497         * string/endian.h: Add !__ASSEMBLER__ condition for including
58498         conversion interfaces.
58500 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
58502         [BZ #14241]
58503         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
58504         of ABS(x) in calculating zero to negative powers other than odd
58505         integers.
58506         * math/libm-test.inc (pow_test): Add more tests.
58508 2012-06-15  Andreas Jaeger  <aj@suse.de>
58510         * manual/contrib.texi (Contributors): Update entry of Liubov
58511         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
58512         Machado Filho.
58514 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
58516         * string/string.h: Add __wur to GNU version of strerror_r.
58518 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
58520         [BZ #14229]
58521         * string/Makefile (tests): Add tst-strtok_r.
58522         * string/tst-strtok_r.c: New file.
58523         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
58524         RAX_LP/RDX_LP on SAVE_PTR.
58526 2012-06-14  Roland McGrath  <roland@hack.frob.com>
58528         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
58530 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
58532         * libm_test.inc (csqrt_test): Allow more spurious underflow
58533         exceptions.
58534         (j0_test): Likewise.
58535         (j1_test): Likewise.
58536         (y0_test): Likewise.
58537         (y1_test): Likewise.
58539 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
58541         * po/Makefile (libc.pot): Use UTF-8 charset.
58543 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
58545         [BZ #14210]
58546         Suppress sign-conversion warning from FD_SET.
58547         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
58548         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
58549         not unsigned long int.
58550         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
58552 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
58554         [BZ #14050]
58555         [BZ #14117]
58556         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
58557         __extern_always_inline instead of __extern_inline.
58558         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
58559         (__signbit): Likewise.
58560         (__signbitl): Support C++ namespace.
58561         (lrintf): New inline function.
58562         (lrint): Likewise.
58563         (llrintf): Likewise.
58564         (llrint): Likewise.
58565         (fmaxf): Likewise.
58566         (fmax): Likewise.
58567         (fminf): Likewise.
58568         (fmin): Likewise.
58569         (rint): Likewise.
58570         (rintf): Likewise.
58571         (ceil): Likewise.
58572         (ceilf): Likewise.
58573         (floor): Likewise.
58574         (floorf): Likewise.
58575         (nearbyint): Likewise.
58576         (nearbyintf): Likewise.
58578 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
58580         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
58581         non-default versions.
58583 2012-06-11  Roland McGrath  <roland@hack.frob.com>
58585         [BZ #14218]
58586         * manual/argp.texi (Argp): Reword argp_parse description slightly.
58588 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
58590         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
58591         (FE_UPWARD, FE_DOWNWARD): Don't define.
58592         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
58593         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
58595         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
58596         reading it.
58597         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
58598         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
58600 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58602         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
58603         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
58604         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
58605         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
58607 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
58609         [BZ #14117]
58610         * sysdeps/i386/fpu/bits/fenv.h: Removed.
58611         * sysdeps/i386/fpu/Implies: New file.
58612         * sysdeps/x86_64/fpu/Implies: Likewise.
58613         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
58614         * sysdeps/x86/fpu/bits/fenv.h: This.
58616         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
58617         __SSE_MATH__.
58619 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
58621         [BZ #14134]
58622         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
58623         character 0xffff that matches the last element of the
58624         conversion table.
58626 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58628         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
58629         fmodl commit.
58631 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58633         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
58634         values higher than 25.6283.
58636 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58638         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
58639         subnormal exponent extraction and add some __builtin_expect.
58640         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
58641         Fix for subnormal mantissa calculation.
58643 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
58645         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
58646         cpu2 is -1 and errno is not ENOSYS.
58648 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
58650         [BZ #14117]
58651         * sysdeps/i386/i486/bits/string.h: Renamed to ...
58652         * sysdeps/x86/bits/string.h: This.
58653         * sysdeps/x86_64/bits/string.h: Removed.
58655         * sysdeps/i386/i486/bits/string.h: Define inline functions only
58656         if not compiling for x86-64, but compiling for >= i486.
58658         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
58659         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
58661         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
58662         New macro from Linux kernel 3.4.0.
58663         (FP_XSTATE_MAGIC2): Likewise.
58664         (FP_XSTATE_MAGIC2_SIZE): Likewise.
58665         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
58666         (struct _fpx_sw_bytes): New struct.
58667         (struct _xsave_hdr): Likewise.
58668         (struct _ymmh_state): Likewise.
58669         (struct _xstate): Likewise.
58671         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
58672         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
58673         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
58674         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
58675         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
58676         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
58678         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
58679         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
58680         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
58681         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
58682         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
58683         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
58685 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58687         [BZ #13743]
58688         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
58689         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
58690         (sysdep_headers): Include sys/platform/ppc.h.
58691         * sysdeps/powerpc/test-gettimebase.c: Test for
58692         __ppc_get_timebase() to catch future ISA opcode/insn changes.
58693         * manual/Makefile (appendices): Include platform.texi.
58694         * manual/contrib.texi (Contributors): Update @node pointers.
58695         * manual/maint.texi (Maintenance): Likewise.
58696         (Platform): New node.
58697         * manual/platform.texi: New file.  Document the new features.
58699 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58700             Jakub Jelinek  <jakub@redhat.com>
58702         [BZ #14188]
58703         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
58704         where __builtin_expect is unavailable.
58706 2012-06-03  David S. Miller  <davem@davemloft.net>
58708         * stdlib/longlong.h: Updated from GCC.
58710 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
58712         [BZ #14042]
58713         * sysdeps/powerpc/powerpc32/mcount.c: New file.
58714         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
58715         __mcount_internal.
58716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
58717         (GLIBC_2.16): Likewise.
58719 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
58721         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
58723 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
58725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
58726         (default-abi): New variable.
58727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
58728         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
58729         variable.
58730         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
58731         Likewise.
58732         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
58733         Likewise.
58734         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
58735         Likewise.
58737         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
58738         definition.  Document in comment.
58740 2012-06-01  David S. Miller  <davem@davemloft.net>
58742         * stdlib/longlong.h: Updated from GCC.
58744 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
58746         [BZ #14117]
58747         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
58748         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
58749         sys/debugreg.h sys/io.h here.
58750         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
58751         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
58752         sys/io.h.
58753         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
58754         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
58755         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
58756         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
58757         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
58758         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
58760         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
58761         Define only if __x86_64__ is defined.
58763 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
58765         [BZ #14048]
58766         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
58767         Use int64_t for variable i.
58768         * math/libm-test.inc (fmod_test): Add more tests.
58770         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
58771         z computation is not scheduled after fetestexcept.
58772         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
58773         Use math_force_eval instead of asm to ensure calculation scheduled
58774         before exception test.
58775         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
58776         Ensure a1 + u.d computation is not scheduled after fetestexcept.
58778 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
58780         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
58781         computation is not scheduled after fetestexcept.
58783 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
58785         [BZ #14117]
58786         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
58787         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
58789 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58791         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
58792         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
58794 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
58796         [BZ #14117]
58797         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
58798         <bits/wordsize.h>.
58799         (__WCHAR_MIN): Support __WORDSIZE == 64.
58800         (__WCHAR_MAX): Likewise.
58802         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
58803         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
58805         [BZ #14183]
58806         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
58807         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
58809         [BZ #14117]
58810         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
58811         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
58813         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
58814         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
58816         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
58817         Defined to 1 if __x86_64__ isn't defined.
58818         (_STAT_VER_LINUX_OLD): New.
58819         (st_atime): Remove duplicate.
58820         (st_mtime): Likewise.
58821         (st_ctime): Likewise.
58823 2012-05-31  David S. Miller  <davem@davemloft.net>
58825         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
58826         entries.
58828 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
58830         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
58831         gen-libm-test.pl.
58833         [BZ #14132]
58834         * elf/dl-reloc.c: Include <_itoa.h>.
58835         (_dl_reloc_bad_type): Remove use of INTUSE.
58836         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
58837         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
58838         * stdio-common/psiginfo.c (psiginfo): Likewise.
58839         * stdio-common/psignal.c (psignal): Likewise.
58840         * string/strsignal.c (strsignal): Likewise.
58841         * include/signal.h (_sys_siglist): Declare hidden proto.
58842         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
58843         INTVARDEF with libc_hidden_data_def.
58844         * stdio-common/itoa-udigits.c: Likewise.
58845         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
58846         (_itoa_lower_digits_internal): Remove declaration.
58847         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
58848         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
58849         (_sys_sigabbrev_internal): Remove aliases.
58850         (_sys_siglist): Define hidden alias.
58852 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
58854         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58855         bits/sysctl.h.
58857 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
58859         [BZ #14117]
58860         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
58861         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
58863         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
58864         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
58865         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
58866         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
58867         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
58868         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
58870         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
58871         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
58872         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
58874         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
58875         with __addr.
58876         (insw): Likewise.
58877         (insl): Likewise.
58878         (outsb): Likewise.
58879         (outsw): Likewise.
58880         (outsl): Likewise.
58882         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
58883         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
58884         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
58886         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
58887         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
58888         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
58889         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
58890         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
58891         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
58893         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
58894         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
58896         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
58897         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
58899         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
58900         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
58901         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
58903         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
58904         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
58905         to ...
58906         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
58908         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
58909         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
58910         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
58912         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
58913         for x86-64.
58914         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
58916 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
58918         * math/math.h (M_El): Use two more decimal places.
58919         (M_LOG2El): Likewise.
58920         (M_LOG10El): Likewise.
58921         (M_LN2l): Likewise.
58922         (M_LN10l): Likewise.
58923         (M_PIl): Likewise.
58924         (M_PI_2l): Likewise.
58925         (M_PI_4l): Likewise.
58926         (M_1_PIl): Likewise.
58927         (M_2_PIl): Likewise.
58928         (M_2_SQRTPIl): Likewise.
58929         (M_SQRT2l): Likewise.
58930         (M_SQRT1_2l): Likewise.
58932 2012-05-31  David S. Miller  <davem@davemloft.net>
58934         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
58935         values between float registers.
58936         * sysdeps/sparc/sparc64/memset.S: Likewise.
58937         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
58939 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
58941         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
58942         -D_FORTIFY_SOURCE=1.
58943         (CPPFLAGS-tst-longjmp_chk.c): Define.
58944         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
58945         (CPPFLAGS-tst-longjmp_chk2.c): Define.
58946         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
58947         CFLAGS-tst-wchar-h.c.
58949 2012-05-31  Marek Polacek  <polacek@redhat.com>
58951         [BZ #14132]
58952         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
58953         __endmntent_internal): Remove declaration.
58954         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
58955         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
58956         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
58958 2012-05-30  David S. Miller  <davem@davemloft.net>
58960         * sysdeps/sparc/sparc32/soft-fp/q_util.c
58961         (___Q_simulate_exceptions): Use real FP ops rather than writing
58962         into the %fsr.
58963         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
58964         Likewise.
58966 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
58968         [BZ #14117]
58969         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
58970         * sysdeps/x86/bits/xtitypes.h: This.
58972         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
58973         * sysdeps/x86/bits/wordsize.h: This.
58975         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
58976         * sysdeps/x86/bits/huge_vall.h: This.
58978         * sysdeps/i386/bits/select.h: Removed.
58979         * sysdeps/x86_64/bits/select.h: Renamed to ...
58980         * sysdeps/x86/bits/select.h: This.
58982         * sysdeps/i386/bits/setjmp.h: Removed.
58983         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
58984         * sysdeps/x86/bits/setjmp.h: This.
58986         * sysdeps/i386/bits/mathdef.h: Removed.
58987         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
58988         * sysdeps/x86/bits/mathdef.h: This.
58990 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
58992         [BZ #14132]
58993         * include/sys/socket.h (__connect_internal)
58994         (__libc_sa_len_internal): Remove declaration.
58995         (__connect, __libc_sa_len): Declare hidden_proto.
58996         (SA_LEN): Remove use of INTUSE.
58997         * socket/connect.c: Add libc_hidden_def.
58998         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
58999         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
59000         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
59001         alias.
59002         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
59003         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
59004         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
59005         of adding _internal alias.
59007 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59009         [BZ #14117]
59010         * sysdeps/i386/bits/link.h: Removed.
59011         * sysdeps/i386/bits/linkmap.h: Likewise.
59012         * sysdeps/x86_64/bits/link.h: Renamed to ...
59013         * sysdeps/x86/bits/link.h: This.
59014         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
59015         * sysdeps/x86/bits/linkmap.h: This.
59017         * sysdeps/i386/bits/endian.h: Removed.
59018         * sysdeps/x86_64/bits/endian.h: Renamed to ...
59019         * sysdeps/x86/bits/endian.h: This.
59021         * sysdeps/i386/bits/byteswap.h: Removed.
59022         * sysdeps/i386/bits/byteswap-16.h: Likewise.
59023         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
59024         * sysdeps/x86/bits/byteswap.h: This.
59025         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
59026         * sysdeps/x86/bits/byteswap-16.h: This.
59027         * sysdeps/i386/Implies: Add x86.
59028         * sysdeps/x86_64/Implies: Likewise.
59030 2012-05-30  David S. Miller  <davem@davemloft.net>
59032         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
59033         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
59034         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
59035         (FP_TRAPPING_EXCEPTIONS): Define.
59036         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
59037         (FP_TRAPPING_EXCEPTIONS): Define.
59038         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
59039         subnormals only when inexact has been signalled or underflow
59040         exceptions are enabled.
59041         (_FP_PACK_CANONICAL): Likewise.
59043 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59045         [BZ #14183]
59046         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
59047         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
59049 2012-05-30  Richard Henderson  <rth@twiddle.net>
59051         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
59052         with #ifndef NOT_IN_libc.
59054         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
59055         marked to avoid plt entry.
59057 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59059         [BZ #14112]
59060         * Makeconfig (default-abi): New macro.
59061         (abi-includes): Likewise.
59062         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
59063         $(abi-$(default-abi)-lib-soname) for soname if defined.
59064         ($(common-objpfx)gnu/lib-names.stmp): Generate from
59065         abi-variants.
59066         * Makefile (installed-stubs): Likewise.
59067         * include/stubs-biarch.h: Removed.
59068         * scripts/lib-names.awk: Only handle one library at a time.
59069         * scripts/soversions.awk: Remove WORDSIZE support.
59070         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
59071         entries.
59072         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
59073         Removed.
59074         (syscall-list-default-condition): Likewise.
59075         (syscall-list-default-condition): Likewise.
59076         (syscall-list-includes): Likewise.
59077         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
59078         syscall-list-* with abi-*.  Handle undefined abi-variants.
59079         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
59080         * sysdeps/unix/sysv/linux/i386/Implies: New file.
59081         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
59082         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
59083         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
59084         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
59085         Removed.
59086         (syscall-list-32-options): Likewise.
59087         (syscall-list-32-condition): Likewise.
59088         (syscall-list-64-options): Likewise.
59089         (syscall-list-64-condition): Likewise.
59090         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
59091         macro.
59092         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
59093         Renamed to ...
59094         (abi-*): This.
59095         (abi-64-ld-soname): New macro.
59096         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
59097         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
59098         Renamed to ...
59099         (abi-*): This.
59100         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
59101         * sysdeps/x86_64/x32/shlib-versions: Likewise.
59103 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
59105         * sysdeps/unix/sysv/linux/kernel-features.h
59106         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
59107         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
59108         include <kernel-features.h>.
59109         [!__NR_ftruncate64]: Remove conditional code.
59110         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59111         [__NR_ftruncate64]: Make code unconditional.
59112         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59113         * sysdeps/unix/sysv/linux/truncate64.c: Do not
59114         include <kernel-features.h>.
59115         [!__NR_ftruncate64]: Remove conditional code.
59116         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59117         [__NR_ftruncate64]: Make code unconditional.
59118         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
59120         include <kernel-features.h>.
59121         [!__NR_ftruncate64]: Remove conditional code.
59122         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59123         [__NR_ftruncate64]: Make code unconditional.
59124         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
59126         include <kernel-features.h>.
59127         [!__NR_ftruncate64]: Remove conditional code.
59128         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59129         [__NR_ftruncate64]: Make code unconditional.
59130         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59132         * configure.in (libc_cv_fpie): Weaken to a compile test using
59133         LIBC_TRY_CC_OPTION.
59134         * configure: Regenerated.
59136 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59138         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
59139         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
59140         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
59141         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
59142         Refreshed.
59143         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
59144         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
59145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
59146         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
59147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
59148         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
59149         Refreshed.
59151 2012-05-27  David S. Miller  <davem@davemloft.net>
59153         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
59154         (___Q_zero): New.
59155         (__Q_simulate_exceptions): Return void.  Change to simulate
59156         exceptions by writing into the %fsr.
59157         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
59158         (__Qp_handle_exceptions): Likewise.
59159         (numbers): Delete.
59160         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
59161         __Qp_handle_exceptions.
59162         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
59163         __Qp_handle_exceptions.
59164         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
59165         as unused and give dummy FP_RND_NEAREST initializer.
59166         (FP_INHIBIT_RESULTS): Define.
59167         (___Q_simulate_exceptions): Update declaration.
59168         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
59169         formatting.
59170         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
59171         as unused and give dummy FP_RND_NEAREST initializer.
59172         (__Qp_handle_exceptions): Update declaration.
59173         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
59174         formatting.
59176 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
59178         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
59179         the temporary FPU control word.
59180         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
59181         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
59182         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
59183         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
59184         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
59185         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
59186         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
59187         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
59188         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
59189         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
59190         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59192 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59194         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
59195         fields.
59197 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
59199         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
59200         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
59201         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
59202         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
59203         Likewise.
59204         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
59205         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
59206         Likewise.
59208 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
59210         * po/h.po: Update from translation team.
59212 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
59214         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
59216         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
59217         handling of denormals.
59218         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
59219         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
59220         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
59221         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
59222         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59223         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
59224         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
59225         Likewise.
59227 2012-05-26  Marek Polacek  <polacek@redhat.com>
59229         [BZ #14152]
59230         * math/libm-test.inc (fma_test): Don't always expect underflow
59231         exception.
59233 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59235         [BZ #12416]
59236         * elf/tst-execstack.c: Include stackinfo.h.
59237         (do_test): Adjust test case to ensure that pthread_getattr_np
59238         behaviour remains the same after marking stack executable.
59240 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
59242         * sysdeps/unix/sysv/linux/kernel-features.h
59243         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
59244         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
59245         kernel-features.h.
59246         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
59247         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
59248         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
59249         kernel-features.h.
59250         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
59251         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
59253 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
59255         * configure.in: Define the default includes to being none.
59256         * configure: Regenerated.
59258 2012-05-25  Roland McGrath  <roland@hack.frob.com>
59260         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
59261         * sysdeps/x86_64/setjmp.S: Likewise.
59262         * sysdeps/i386/bsd-setjmp.S: Likewise.
59263         * sysdeps/i386/bsd-_setjmp.S: Likewise.
59264         * sysdeps/i386/setjmp.S: Likewise.
59265         * sysdeps/i386/__longjmp.S: Likewise.
59266         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
59267         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
59269         * include/stap-probe.h: New file.
59270         * configure.in: Handle --enable-systemtap.
59271         * configure: Regenerated.
59272         * config.h.in (USE_STAP_PROBE): New #undef.
59273         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
59274         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
59275         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
59277 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
59279         [BZ #13717]
59280         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
59281         to 2.4.0 where earlier.
59282         * sysdeps/unix/sysv/linux/configure: Regenerated.
59283         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
59284         <kernel-features.h>.
59285         [__ASSUME_32BITUIDS]: Make code unconditional.
59286         [!__ASSUME_32BITUIDS]: Remove conditional code.
59287         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
59288         <kernel-features.h>.
59289         [__ASSUME_32BITUIDS]: Make code unconditional.
59290         [!__ASSUME_32BITUIDS]: Remove conditional code.
59291         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
59292         [__ASSUME_32BITUIDS]: Make code unconditional.
59293         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
59294         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
59295         <kernel-features.h>.
59296         [__ASSUME_32BITUIDS]: Make code unconditional.
59297         [!__ASSUME_32BITUIDS]: Remove conditional code.
59298         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
59299         <kernel-features.h>.
59300         [__ASSUME_32BITUIDS]: Make code unconditional.
59301         [!__ASSUME_32BITUIDS]: Remove conditional code.
59302         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
59303         <kernel-features.h>.
59304         [__ASSUME_32BITUIDS]: Make code unconditional.
59305         [!__ASSUME_32BITUIDS]: Remove conditional code.
59306         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
59307         <kernel-features.h>.
59308         [__ASSUME_32BITUIDS]: Make code unconditional.
59309         [!__ASSUME_32BITUIDS]: Remove conditional code.
59310         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
59311         <kernel-features.h>.
59312         [__ASSUME_32BITUIDS]: Make code unconditional.
59313         [!__ASSUME_32BITUIDS]: Remove conditional code.
59314         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
59315         <kernel-features.h>.
59316         [__ASSUME_32BITUIDS]: Make code unconditional.
59317         [!__ASSUME_32BITUIDS]: Remove conditional code.
59318         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
59319         <kernel-features.h>.
59320         [__ASSUME_32BITUIDS]: Make code unconditional.
59321         [!__ASSUME_32BITUIDS]: Remove conditional code.
59322         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
59323         <kernel-features.h>.
59324         [__ASSUME_32BITUIDS]: Make code unconditional.
59325         [!__ASSUME_32BITUIDS]: Remove conditional code.
59326         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
59327         <kernel-features.h>.
59328         [__ASSUME_32BITUIDS]: Make code unconditional.
59329         [!__ASSUME_32BITUIDS]: Remove conditional code.
59330         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
59331         <kernel-features.h>.
59332         [__ASSUME_32BITUIDS]: Make code unconditional.
59333         [!__ASSUME_32BITUIDS]: Remove conditional code.
59334         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
59335         <kernel-features.h>.
59336         [__NR_setresgid] (__setresgid): Do not declare.
59337         [__ASSUME_32BITUIDS]: Make code unconditional.
59338         [!__ASSUME_32BITUIDS]: Remove conditional code.
59339         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
59340         <kernel-features.h>.
59341         [__NR_setresuid] (__setresuid): Do not declare.
59342         [__ASSUME_32BITUIDS]: Make code unconditional.
59343         [!__ASSUME_32BITUIDS]: Remove conditional code.
59344         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
59345         <kernel-features.h>.
59346         [__ASSUME_32BITUIDS]: Make code unconditional.
59347         [!__ASSUME_32BITUIDS]: Remove conditional code.
59348         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
59349         <kernel-features.h>.
59350         [__ASSUME_32BITUIDS]: Make code unconditional.
59351         [!__ASSUME_32BITUIDS]: Remove conditional code.
59352         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
59353         <kernel-features.h>.
59354         [__ASSUME_32BITUIDS]: Make code unconditional.
59355         [!__ASSUME_32BITUIDS]: Remove conditional code.
59356         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
59357         <kernel-features.h>.
59358         [__ASSUME_32BITUIDS]: Make code unconditional.
59359         [!__ASSUME_32BITUIDS]: Remove conditional code.
59360         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
59361         <kernel-features.h>.
59362         [__ASSUME_32BITUIDS]: Make code unconditional.
59363         [!__ASSUME_32BITUIDS]: Remove conditional code.
59364         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
59365         <kernel-features.h>.
59366         [__ASSUME_32BITUIDS]: Make code unconditional.
59367         [!__ASSUME_32BITUIDS]: Remove conditional code.
59368         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
59369         <kernel-features.h>.
59370         [__ASSUME_32BITUIDS]: Make code unconditional.
59371         [!__ASSUME_32BITUIDS]: Remove conditional code.
59372         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
59373         <kernel-features.h>.
59374         [__ASSUME_32BITUIDS]: Make code unconditional.
59375         [!__ASSUME_32BITUIDS]: Remove conditional code.
59376         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
59377         <kernel-features.h>.
59378         [__ASSUME_32BITUIDS]: Make code unconditional.
59379         [!__ASSUME_32BITUIDS]: Remove conditional code.
59380         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
59381         <kernel-features.h>.
59382         [__ASSUME_32BITUIDS]: Make code unconditional.
59383         [!__ASSUME_32BITUIDS]: Remove conditional code.
59384         * sysdeps/unix/sysv/linux/kernel-features.h
59385         (__ASSUME_SETRESUID_SYSCALL): Remove.
59386         (__ASSUME_SETRESGID_SYSCALL): Likewise.
59387         (__ASSUME_32BITUIDS): Likewise.
59388         (__ASSUME_LDT_WORKS): Likewise.
59389         (__ASSUME_O_DIRECTORY): Likewise.
59390         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
59391         architecture but not kernel version.
59392         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
59393         (__ASSUME_MMAP2_SYSCALL): Likewise.
59394         (__ASSUME_STAT64_SYSCALL): Likewise.
59395         (__ASSUME_IPC64): Likewise.
59396         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
59397         <kernel-features.h>.
59398         [__ASSUME_32BITUIDS]: Make code unconditional.
59399         [!__ASSUME_32BITUIDS]: Remove conditional code.
59400         * sysdeps/unix/sysv/linux/opendir.c: Do not include
59401         <kernel-features.h>.
59402         [__ASSUME_O_DIRECTORY]: Make code unconditional.
59403         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
59404         132096]: Remove conditional code.
59405         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
59406         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
59407         <kernel-features.h>.
59408         [__ASSUME_32BITUIDS]: Make code unconditional.
59409         [!__ASSUME_32BITUIDS]: Remove conditional code.
59410         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
59411         <kernel-features.h>.
59412         [__ASSUME_32BITUIDS]: Make code unconditional.
59413         [!__ASSUME_32BITUIDS]: Remove conditional code.
59414         * sysdeps/unix/sysv/linux/setegid.c: Do not include
59415         <kernel-features.h>.
59416         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
59417         unconditional.
59418         (__setresgid): Do not declare.
59419         [__ASSUME_32BITUIDS]: Make code unconditional.
59420         [!__ASSUME_32BITUIDS]: Remove conditional code.
59421         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
59422         <kernel-features.h>.
59423         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
59424         unconditional.
59425         (__setresuid): Do not declare.
59426         [__ASSUME_32BITUIDS]: Make code unconditional.
59427         [!__ASSUME_32BITUIDS]: Remove conditional code.
59428         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
59429         <kernel-features.h>.
59430         [__ASSUME_32BITUIDS]: Make code unconditional.
59431         [!__ASSUME_32BITUIDS]: Remove conditional code.
59432         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
59433         <kernel-features.h>.
59434         [__ASSUME_32BITUIDS]: Make code unconditional.
59435         [!__ASSUME_32BITUIDS]: Remove conditional code.
59437 2012-05-25  Richard Henderson  <rth@twiddle.net>
59439         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
59440         dl_hwcap to ifunc resolver.
59441         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
59442         elf_ifunc_invoke.
59443         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
59444         dl_hwcap to ifunc resolver.
59445         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
59447 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
59449         [BZ #14153]
59450         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
59451         for |x| <= 2**-26, not 2**-57.
59452         * math/libm-test.inc (acos_test): Do not allow spurious underflow
59453         exception.
59455 2012-05-24  Jeff Law  <law@redhat.com>
59457         * stdio-common/Makefile (tests): Add bug25.
59458         * stdio-common/bug25.c: New test.
59460 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
59462         [BZ #13576]
59463         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
59464         multiple of MALLOC_ALIGNMENT in size.
59465         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
59467 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
59469         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
59470         Require >= 256.
59471         (FILENAME_MAX): Use macro-int-constant.
59472         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
59473         (_IOFBF): Use macro-int-constant.
59474         (_IOLBF): Likewise.
59475         (_IONBF): Likewise.
59476         (SEEK_CUR): Likewise.
59477         (SEEK_END): Likewise.
59478         (SEEK_SET): Likewise.
59479         (TMP_MAX): Likewise.
59480         (EOF): Use macro-int-constant.  Require < 0.
59481         (NULL): Use macro-constant.  Require == 0.
59482         (stdin): Require type to be FILE *.
59483         (stdout): Likewise.
59484         (stderr): Likewise.
59485         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
59486         macro-int-constant.
59487         (EXIT_SUCCESS): Likewise.
59488         (NULL): Use macro-constant.  Require == 0.
59489         (RAND_MAX): Use macro-int-constant.
59490         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
59491         [C99-based standards] (strtof): Require function.
59492         [C99-based standards] (strtold): Likewise.
59493         [C99-based standards] (strtoll): Likewise.
59494         [C99-based standards] (strtoull): Likewise.
59495         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
59496         [ISO || ISO99 || ISO11] (limits.h): Likewise.
59497         [ISO || ISO99 || ISO11] (math.h): Likewise.
59498         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
59499         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
59500         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59502 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
59504         [BZ #14132]
59505         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
59506         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
59507         * intl/dgettext.c (DCGETTEXT): Likewise.
59508         * intl/gettext.c (DCGETTEXT): Likewise.
59509         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
59510         * posix/regex_internal.h (gettext): Likewise.
59511         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
59512         Remove declaration.
59513         * include/argz.h (__argz_count_internal)
59514         (__argz_stringify_internal): Remove declaration.
59515         (__argz_count, __argz_stringify): Declare hidden proto.
59516         * intl/dcgettext.c: Remove use of INTDEF.
59517         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
59518         * string/argz-stringify.c: Likewise.
59519         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
59520         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
59521         Declare hidden proto.
59522         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
59523         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
59524         Declare hidden proto.
59525         * include/stdio.h (__asprintf_internal): Don't declare.
59526         (__asprintf): Don't define as macro.  Declare hidden proto.
59527         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
59528         (__fsetlocking): Declare hidden proto.
59529         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
59530         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
59531         hidden proto.
59532         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
59533         (_IO_setlinebuf): Remove use of INTUSE.
59534         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
59535         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
59536         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
59537         Remove declaration.
59538         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
59539         (_IO_do_flush): Remove use of INTUSE.
59540         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
59541         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
59542         (_IO_adjust_column, _IO_least_wmarker)
59543         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
59544         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
59545         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
59546         (_IO_default_doallocate, _IO_wdefault_doallocate)
59547         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
59548         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
59549         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
59550         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
59551         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
59552         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
59553         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
59554         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
59555         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
59556         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
59557         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
59558         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
59559         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
59560         proto.
59561         (_IO_flush_all_internal, _IO_adjust_column_internal)
59562         (_IO_default_uflow_internal, _IO_default_finish_internal)
59563         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
59564         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
59565         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
59566         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
59567         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
59568         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
59569         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
59570         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
59571         (_IO_file_close_internal, _IO_file_close_it_internal)
59572         (_IO_file_underflow_internal, _IO_file_overflow_internal)
59573         (_IO_file_init_internal, _IO_file_attach_internal)
59574         (_IO_file_fopen_internal, _IO_file_read_internal)
59575         (_IO_file_sync_internal, _IO_file_seek_internal)
59576         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
59577         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
59578         (_IO_str_underflow_internal, _IO_str_overflow_internal)
59579         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
59580         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
59581         (_IO_list_all_internal, _IO_link_in_internal)
59582         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
59583         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
59584         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
59585         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
59586         (_IO_do_write_internal, _IO_padn_internal)
59587         (_IO_getline_info_internal, _IO_getline_internal)
59588         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
59589         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
59590         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
59591         (_IO_vfscanf_internal, _IO_vfprintf_internal)
59592         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
59593         (_IO_init_internal, _IO_un_link_internal): Don't declare.
59594         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
59595         with libc_hidden_ver, remove use of INTUSE.
59596         * libio/genops.c: Likewise.
59597         * libio/freopen.c: Likewise.
59598         * libio/freopen64.c: Likewise.
59599         * libio/iofclose.c: Likewise.
59600         * libio/iofdopen.c: Likewise.
59601         * libio/iofflush.c: Likewise.
59602         * libio/iofflush_u.c: Likewise.
59603         * libio/iofgets.c: Likewise.
59604         * libio/iofgets_u.c: Likewise.
59605         * libio/iofopen.c: Likewise.
59606         * libio/iofopncook.c: Likewise.
59607         * libio/iofread.c: Likewise.
59608         * libio/iofread_u.c: Likewise.
59609         * libio/ioftell.c: Likewise.
59610         * libio/iofwrite.c: Likewise.
59611         * libio/iogetline.c: Likewise.
59612         * libio/iogets.c: Likewise.
59613         * libio/iogetwline.c: Likewise.
59614         * libio/iopadn.c: Likewise.
59615         * libio/iopopen.c: Likewise.
59616         * libio/ioseekoff.c: Likewise.
59617         * libio/ioseekpos.c: Likewise.
59618         * libio/iosetbuffer.c: Likewise.
59619         * libio/iosetvbuf.c: Likewise.
59620         * libio/ioungetc.c: Likewise.
59621         * libio/ioungetwc.c: Likewise.
59622         * libio/iovdprintf.c: Likewise.
59623         * libio/iovsprintf.c: Likewise.
59624         * libio/iovsscanf.c: Likewise.
59625         * libio/memstream.c: Likewise.
59626         * libio/obprintf.c: Likewise.
59627         * libio/oldfileops.c: Likewise.
59628         * libio/oldiofclose.c: Likewise.
59629         * libio/oldiofdopen.c: Likewise.
59630         * libio/oldiofopen.c: Likewise.
59631         * libio/oldiopopen.c: Likewise.
59632         * libio/oldstdfiles.c: Likewise.
59633         * libio/putc.c: Likewise.
59634         * libio/setbuf.c: Likewise.
59635         * libio/setlinebuf.c: Likewise.
59636         * libio/stdfiles.c: Likewise.
59637         * libio/strops.c: Likewise.
59638         * libio/vasprintf.c: Likewise.
59639         * libio/vscanf.c: Likewise.
59640         * libio/vsnprintf.c: Likewise.
59641         * libio/vswprintf.c: Likewise.
59642         * libio/wfiledoalloc.c: Likewise.
59643         * libio/wfileops.c: Likewise.
59644         * libio/wgenops.c: Likewise.
59645         * libio/wmemstream.c: Likewise.
59646         * libio/wstrops.c: Likewise.
59647         * libio/__fpurge.c: Likewise.
59648         * libio/__fsetlocking.c: Likewise.
59649         * assert/assert.c: Likewise.
59650         * debug/fgets_chk.c: Likewise.
59651         * debug/fgets_u_chk.c: Likewise.
59652         * debug/fread_chk.c: Likewise.
59653         * debug/fread_u_chk.c: Likewise.
59654         * debug/gets_chk.c: Likewise.
59655         * debug/obprintf_chk.c: Likewise.
59656         * debug/vasprintf_chk.c: Likewise.
59657         * debug/vdprintf_chk.c: Likewise.
59658         * debug/vsnprintf_chk.c: Likewise.
59659         * debug/vsprintf_chk.c: Likewise.
59660         * malloc/mtrace.c: Likewise.
59661         * misc/error.c: Likewise.
59662         * misc/syslog.c: Likewise.
59663         * stdio-common/asprintf.c: Likewise.
59664         * stdio-common/fxprintf.c: Likewise.
59665         * stdio-common/getw.c: Likewise.
59666         * stdio-common/isoc99_fscanf.c: Likewise.
59667         * stdio-common/isoc99_scanf.c: Likewise.
59668         * stdio-common/isoc99_vfscanf.c: Likewise.
59669         * stdio-common/isoc99_vscanf.c: Likewise.
59670         * stdio-common/isoc99_vsscanf.c: Likewise.
59671         * stdio-common/printf-prs.c: Likewise.
59672         * stdio-common/printf_fp.c: Likewise.
59673         * stdio-common/printf_fphex.c: Likewise.
59674         * stdio-common/printf_size.c: Likewise.
59675         * stdio-common/putw.c: Likewise.
59676         * stdio-common/scanf.c: Likewise.
59677         * stdio-common/sprintf.c: Likewise.
59678         * stdio-common/tmpfile.c: Likewise.
59679         * stdio-common/vfprintf.c: Likewise.
59680         * stdio-common/vfscanf.c: Likewise.
59681         * stdlib/strfmon_l.c: Likewise.
59682         * sunrpc/openchild.c: Likewise.
59683         * sunrpc/xdr_stdio.c: Likewise.
59684         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
59685         * sysdeps/mach/hurd/tmpfile.c: Likewise.
59687 2012-05-24  Roland McGrath  <roland@hack.frob.com>
59689         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
59691         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
59692         in the third column, to generate for the shared library an IFUNC
59693         that uses _dl_vdso_vsym.
59694         * Makerules (COMPILE.c, compile-stdin.c): New variables.
59695         * Makeconfig (object-suffixes-noshared): New variable.
59697         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
59698         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
59699         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
59700         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
59702         [BZ #14132]
59703         * include/sys/time.h (__gettimeofday): Remove macro.
59704         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
59705         * time/gettimeofday.c (__gettimeofday): Remove #undef.
59706         Remove INTDEF.
59707         (__gettimeofday): Add libc_hidden_def.
59708         (gettimeofday): Add libc_hidden_weak.
59709         * sysdeps/mach/gettimeofday.c: Likewise.
59710         * sysdeps/posix/gettimeofday.c: Likewise.
59711         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
59712         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
59713         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
59714         (__gettimeofday_internal): Remove strong_alias.
59715         (__gettimeofday): Add libc_hidden_def.
59716         (gettimeofday): Add libc_hidden_weak.
59717         * sysdeps/unix/syscalls.list (gettimeofday):
59718         Remove __gettimeofday_internal alias.
59720 2012-05-24  Daniel Jacobowitz  <drow@false.org>
59721             H.J. Lu  <hongjiu.lu@intel.com>
59723         [BZ #12495]
59724         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
59725         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
59726         (largebin_index_32_big): New.
59727         (largebin_index): Use it for 16-byte alignment.
59728         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
59729         correction with front_misalign.
59731 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
59733         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
59734         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
59735         Likewise.
59736         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
59737         Likewise.
59738         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
59739         Likewise.
59740         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
59741         Likewise.
59742         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
59743         Likewise.
59744         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
59745         Likewise.
59746         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
59747         Likewise.
59748         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
59749         Likewise.
59750         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
59751         Likewise.
59752         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
59753         Likewise.
59754         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
59755         Likewise.
59756         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
59757         Likewise.
59759         * scripts/data/c++-types-x32-linux-gnu.data: New file.
59760         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
59762 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
59764         [BZ #10846]
59765         [BZ #14036]
59766         * math/libm-test.inc (exp_test): Add test from bug 14036.
59767         (pow_test): Add test from bug 10846.
59769         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
59770         and other flags.
59771         (special_function): Do not include flags in test name.
59772         (parse_args): Likewise.
59773         * sysdeps/i386/fpu/libm-test-ulps: Update.
59774         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59775         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
59776         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
59777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59779         * math/gen-libm-test.pl (%beautify): Add entries for underflow
59780         exceptions.
59781         * math/libm-test.inc ("Philosophy"): Update comment about
59782         exception testing.
59783         (UNDERFLOW_EXCEPTION): New macro.
59784         (UNDERFLOW_EXCEPTION_OK): Likewise.
59785         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
59786         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
59787         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
59788         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
59789         (INVALID_EXCEPTION_OK): Update value.
59790         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
59791         (OVERFLOW_EXCEPTION_OK): Likewise.
59792         (IGNORE_ZERO_INF_SIGN): Likewise.
59793         (test_exceptions): Handle underflow exceptions.
59794         (acos_test): Update for underflow exception expectations.
59795         (cexp_test): Likewise.
59796         (clog_test): Likewise.
59797         (clog10_test): Likewise.
59798         (csqrt_test): Likewise.
59799         (ctan_test): Likewise.
59800         (ctanh_test): Likewise.
59801         (exp_test): Likewise.
59802         (exp10_test): Likewise.
59803         (exp2_test): Likewise.
59804         (expm1_test): Likewise.
59805         (fma_test): Likewise.
59806         (j0_test): Likewise.
59807         (jn_test): Likewise.
59808         (nexttoward_test): Likewise.
59809         (pow_test): Likewise.
59810         (scalbn_test): Likewise.
59811         (scalbln_test): Likewise.
59812         (tan_test): Likewise.
59813         (y1_test): Likewise.
59814         * sysdeps/i386/fpu/libm-test-ulps: Update.
59815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59817 2012-05-23  David S. Miller  <davem@davemloft.net>
59819         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
59820         (__libc_sigaction): Remove unused local variables.
59822 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
59824         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
59826 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
59828         mktime: avoid signed integer overflow
59829         * time/mktime.c (__mktime_internal): Do not mishandle the case
59830         where diff == INT_MIN.
59832         mktime: simplify computation of average
59833         * time/mktime.c (ranged_convert): Use new time_t_avg function
59834         instead of rolling our own (probably-slower) code.
59836         mktime: do not assume signed right shift propagates sign bit
59837         * time/mktime.c (isdst_differ): New static function.
59838         (__mktime_internal): No need to normalize tm_isdst now.
59839         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
59840         tm_isdst values.
59842         mktime: merge another wrapv change from gnulib
59843         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
59844         from some compilers.
59846         mktime: remove incorrect attempt at unusual arithmetics
59847         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
59848         The code didn't really work on such machines anyway.
59849         (TYPE_MINIMUM): Assume two's complement.
59850         (twos_complement_arithmetic): Verify that long_int and time_t
59851         are two's complement (or unsigned, in the latter case).
59853         mktime: check signed shifts on long_int and time_t, too
59854         * time/mktime.c (SHR): Check that shifts work as desired
59855         on the types long_int and time_t too, as SHR is used on
59856         such types.
59858         mktime: do not assume 'long' is wide enough
59859         * time/mktime.c (verify): Move decl up.
59860         (long_int): New type.
59861         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
59862         to remove assumption in the code that 'long' is wide enough to
59863         store year values.  This assumption is not true on x32 and on
59864         some non-glibc platforms.
59866         mktime: merge wrapv change from gnulib
59867         * time/mktime.c (WRAPV): New macro.
59868         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
59869         (guess_time_tm, __mktime_internal): Do not assume that signed
59870         integer overflow wraps around; modern compilers generate code
59871         where this assumption is no longer valid.
59873 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
59875         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
59876         Replace "jmp L(pseudo_end)" with "ret".
59877         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
59878         Likewise.
59880 2012-05-23  Andreas Jaeger  <aj@suse.de>
59882         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
59883         * sysdeps/unix/sysv/linux/poll.c: Remove file.
59885 2012-05-23  Andreas Jaeger  <aj@suse.de>
59886             Maximilian Attems  <max@stro.at>
59888         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
59889         New macros.
59891 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
59893         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
59894         code so that pseudo_end is just ret and the stack pointer is
59895         correct also for static library in error case.
59897 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
59899         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
59900         move to syscalls.list.
59901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
59902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
59903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
59904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
59906         * manual/install.texi (Running make install): Do not mention Linux
59907         kernel version for which pt_chown is not needed.
59908         (Linux): Do not mention problems with nscd with 2.0 kernels.
59909         * INSTALL: Regenerated.
59911 2012-05-23  Andreas Jaeger  <aj@suse.de>
59913         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
59914         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
59915         macro.
59916         * sysdeps/unix/sysv/linux/s390/bits/mman.h
59917         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59918         * sysdeps/unix/sysv/linux/sh/bits/mman.h
59919         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59920         * sysdeps/unix/sysv/linux/i386/bits/mman.h
59921         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59922         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
59923         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59924         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
59925         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59926         * sysdeps/unix/sysv/linux/bits/in.h
59927         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
59929 2012-05-22  Roland McGrath  <roland@hack.frob.com>
59931         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
59932         (PREPARE_VERSION): Just use assert instead, it will be elided
59933         under [NDEBUG] anyway.
59935 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
59937         * sysdeps/unix/sysv/linux/Makefile: Include
59938         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
59939         (sysdep_routines): Remove sysctl.
59940         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
59941         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
59942         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
59943         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
59944         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
59946 2012-05-22  Andreas Jaeger  <aj@suse.de>
59948         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
59949         that pseudo_end is just ret and the stack pointer is correct also
59950         for static library in error case.
59952 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
59954         [BZ #14122]
59955         * nss/nsswitch.c (defconfig_entries): New variable.
59956         (__nss_database_lookup): Don't leak defconfig entries.
59957         (nss_parse_service_list): Don't leak on error paths.
59958         (free_database_entries): New function.
59959         (free_defconfig): New function.
59960         (free_mem): Move common code to free_database_entries.
59962 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
59964         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
59965         Add arch_prctl.
59966         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
59968         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
59969         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
59970         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
59971         New macro.
59972         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
59973         (INTERNAL_SYSCALL_TYPES): Likewise.
59974         (LOAD_ARGS_TYPES_[1-6]): Likewise.
59975         (LOAD_REGS_TYPES_[1-6]): Likewise.
59976         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
59977         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
59979 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59981         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
59982         copysignl for GLIBC_2_0.
59983         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
59984         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
59985         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
59986         logbl for GLIBC_2_0.
59987         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
59988         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
59990 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
59992         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
59993         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
59995         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
59996         Use "neg %eax".
59998         * time/mktime.c: Update copyright years.
60000 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
60002         mktime: merge comment-quoting-style change from gnulib
60003         * time/mktime.c: Quote 'like this' in comments.
60004         The GNU coding standards suggest that we no longer quote `like this',
60005         as "`" and "'" are typically rendered asymmetrically nowadays.
60006         The typical gnulib style is to quote 'like this' when quoting
60007         code, and "like this" when quoting English.
60009         * time/mktime.c (compile-command): Add "-I.".
60011         mktime: merge mktime-internal.h change from gnulib
60012         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
60014         mktime: merge time_r change from gnulib
60015         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
60017         mktime: merge DEBUG change from gnulib
60018         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
60019         case system <time.h> has a #define.
60021         mktime: merge <sys/types.h> change from gnulib
60022         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
60023         since <time.t> is now guaranteed to define time_t.
60025         mktime: merge HAVE_CONFIG_H change from gnulib
60026         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
60028 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60030         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
60031         Use "neg %eax".
60033         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
60034         __rlim_t cast.
60035         (struct rusage): Use anonymous union to pad each field to
60036         __syscall_slong_t.
60038 2012-05-21  David S. Miller  <davem@davemloft.net>
60040         * Makefules (o-iterator): Remove .s cases.
60041         (compile-command.s): Delete.
60042         (COMPILE.s): Delete.
60043         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
60045 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
60047         * configure.in (libc_cv_predef_stack_protector): Only consider
60048         "foobar" and "__stack_chk_fail" lines in libc_undefs.
60049         * configure: Regenerated.
60051 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60053         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
60054         New macro.  Use R*LP on int and pointer.
60055         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
60056         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
60057         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
60058         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
60060         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
60061         [__WORDSIZE_TIME64_COMPAT32] instead of
60062         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
60063         (struct utmp): Likewise.
60064         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
60065         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
60066         Renamed to ...
60067         (__WORDSIZE_TIME64_COMPAT32): This.
60068         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
60069         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
60070         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
60071         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
60072         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
60073         (__WORDSIZE_TIME64_COMPAT32): New macro.
60075 2012-05-21  Andreas Jaeger  <aj@suse.de>
60077         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
60078         only if [SHARED]. Add prototype for __wcschr_ia32.
60080 2012-05-21  Roland McGrath  <roland@hack.frob.com>
60082         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
60083         of %rbp unmolested in the jmp_buf while mangling the low bits.
60084         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
60085         unmolested high bits of %rbp while demangling the low bits.
60086         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
60088 2012-05-21  Andreas Jaeger  <aj@suse.de>
60090         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
60091         * sunrpc/svc_simple.c: Use it for registerrpc.
60092         * sunrpc/xcrypt.c: Use it for passwd2des.
60094         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
60096 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60098         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
60099         Don't define if [__SYSCALL_WORDSIZE != 32].
60100         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
60101         New macro.
60103 2012-05-21  Bruno Haible  <bruno@clisp.org>
60104             Andreas Jaeger  <aj@suse.de>
60106         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
60107         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
60108         inptr and inend for must_buffer_ch.
60109         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
60110         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
60111         * stdio-common/Makefile (tests): Remove bug15.
60112         (bug15-ENV): Remove macro.
60113         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
60114         anymore.
60116 2012-05-19  Andreas Jaeger  <aj@suse.de>
60117             Roland McGrath  <roland@hack.frob.com>
60119         * manual/contrib.texi: Completely rewritten. It contains now an
60120         alphabetical list of contributors and their contributions.
60122 2012-05-21  Richard Henderson  <rth@twiddle.net>
60124         * misc/getauxval.c (__getauxval): Use unsigned long int.
60125         * misc/sys/auxv.h: Include <sys/cdefs.h>.
60126         (getauxval): Use unsigned long int.
60128 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60130         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
60132 2012-05-21  Roland McGrath  <roland@hack.frob.com>
60134         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
60135         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
60136         __alignof__ (long double).
60138 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60140         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60142 2012-05-20  Richard Henderson  <rth@twiddle.net>
60144         * misc/getauxval.c: New file.
60145         * misc/sys/auxv.h: New file.
60146         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
60147         (routines): Add getauxval.
60148         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
60149         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
60150         * elf/dl-sysdep.c (_dl_auxv): Remove.
60151         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
60152         * elf/dl-support.c (_dl_auxv): New variable.
60153         (_dl_aux_init): Initialize it.
60154         * manual/startup.texi (Auxiliary Vector): New node.
60155         * sysdeps/generic/bits/hwcap.h: New file.
60156         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
60157         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
60158         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
60159         * sysdeps/sparc/sysdep.h: ... here.  Include it.
60160         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
60161         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
60162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60163         Update.
60164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
60165         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
60166         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
60167         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
60168         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
60169         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
60170         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
60171         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
60173 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60175         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60177 2012-05-19  David S. Miller  <davem@davemloft.net>
60179         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60181 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
60183         [BZ #14123]
60184         * math/s_ccosh.c: Include <float.h>
60185         (__ccosh): Avoid internal overflow calculating sinh and cosh
60186         values before multiplying by sin and cos values.
60187         * math/s_ccoshf.c: Likewise.
60188         * math/s_ccoshl.c: Likewise.
60189         * math/s_csin.c: Likewise.
60190         * math/s_csinf.c: Likewise.
60191         * math/s_csinl.c: Likewise.
60192         * math/s_csinh.c: Likewise.
60193         * math/s_csinhf.c: Likewise.
60194         * math/s_csinhl.c: Likewise.
60195         * math/libm-test.inc (ccos_test): Add more tests.
60196         (ccosh_test): Likewise.
60197         (csin_test): Likewise.
60198         (csinh_test): Likewise.
60199         * sysdeps/i386/fpu/libm-test-ulps: Update.
60200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60202 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
60204         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
60205         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
60207         * sysdeps/x86_64/x32/_itoa.h: Add comment.
60209 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
60211         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
60212         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
60213         * sysdeps/powerpc/soft-fp/Versions: Likewise.
60214         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
60215         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
60216         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
60217         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
60218         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
60219         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
60220         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
60221         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
60222         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
60223         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
60224         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
60225         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
60226         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
60227         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
60228         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
60229         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
60230         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
60231         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
60232         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
60233         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
60234         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
60235         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
60236         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
60237         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
60238         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
60239         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
60240         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
60241         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
60243 2012-05-18  Andreas Jaeger  <aj@suse.de>
60245         * csu/.gitignore: Delete.
60247 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60249         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
60250         (timex): Use __syscall_slong_t.
60252 2012-05-18  Andreas Jaeger  <aj@suse.de>
60253             Carlos O'Donell  <carlos_odonell@mentor.com>
60255         * manual/install.texi (Configuring and compiling): Update
60256         description about files modified in the source directory.
60257         * INSTALL: Regenerated.
60259 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60261         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
60262         value.  Use "or" to set return value to -1.
60263         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
60264         negate return value.
60266 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60268         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
60269         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
60270         failure if the compiler has Graphite support disabled.
60271         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
60272         Likewise.
60273         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
60274         (CFLAGS-memmove.c): Likewise.
60275         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
60276         Likewise.
60278 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60280         * sysdeps/x86_64/x32/_itoa.h: New file.
60282         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
60283         getdents system call only if kernel and user dirents have the
60284         same d_ino and d_off.
60286         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
60287         LLONG_MAX != LONG_MAX.
60288         (_itoa_word): Use _ITOA_WORD_TYPE on value.
60289         (_fitoa_word): Likewise.
60291         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
60292         years.
60293         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
60294         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
60295         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
60297         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
60298         include <bits/wordsize.h>.  Check __x86_64__ instead of
60299         __WORDSIZE.
60300         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
60301         if __x86_64__ is defined.  Use anonymous union on fpstate.
60303         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
60304         anonymous union.
60306 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
60308         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
60309         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
60310         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
60311         Refer to _rtld_local_ro instead of _rtld_global_ro.
60312         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
60313         Likewise.
60314         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
60315         Likewise.
60316         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
60317         Likewise.
60318         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
60319         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
60320         of _rtld_global, and rtld_progname instead of _dl_argv[0].
60322         [BZ #10882]
60323         * sysdeps/powerpc/powerpc32/dl-machine.c
60324         (__elf_machine_runtime_setup) [PROF]: Don't reference
60325         _dl_prof_resolve.
60327 2012-05-18  Andreas Jaeger  <aj@suse.de>
60329         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
60330         function only available for GCCs before 3.4 since GCC 3.4
60331         introduced a builtin.
60332         (lrint): Likewise.
60333         (llrintf): Likewise.
60334         (llrint): Likewise.
60335         (fmaxf): Likewise.
60336         (fmax): Likewise.
60337         (fminf): Likewise.
60338         (fmin): Likewise.
60339         (rint): Likewise.
60340         (rintf): Likewise.
60341         (nearbyint): Likewise.
60342         (nearbyintf): Likewise.
60343         (ceil): Likewise.
60344         (ceilf): Likewise.
60345         (floor): Likewise.
60346         (floorf): Likewise.
60348 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60350         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
60351         on both fields and cast pointer to __syscall_ulong_t.
60353         * bits/types.h (__fsword_t): New type.
60354         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
60355         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
60356         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60357         (__FSWORD_T_TYPE): Likewise.
60358         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60359         (__FSWORD_T_TYPE): Likewise.
60360         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60361         (__FSWORD_T_TYPE): Likewise.
60362         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
60363         (__FSWORD_T_TYPE): Likewise.
60364         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
60365         __SWORD_TYPE with __fsword_t.
60366         (statfs64): Likewise.
60368 2012-05-17  David S. Miller  <davem@davemloft.net>
60370         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
60372 2012-05-17  Andreas Jaeger  <aj@suse.de>
60374         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
60375         warning.
60377 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60379         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
60381 2012-05-17  Andreas Jaeger  <aj@suse.de>
60383         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
60384         when it is used.
60386 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
60388         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
60390 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60392         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
60393         * sysdeps/x86_64/tst-mallocalign1.c: New file.
60395 2012-05-17  Andreas Jaeger  <aj@suse.de>
60396             Carlos O'Donell  <carlos_odonell@mentor.com>
60398         [BZ #14059]
60399         * sysdeps/x86_64/multiarch/init-arch.h
60400         (bit_YMM_Usable): Rename to...
60401         (bit_AVX_Usable): ... this.
60402         (bit_FMA4_Usable): New macro.
60403         (bit_XMM_state): New macro.
60404         (bit_YMM_state): New macro.
60405         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
60406         [__ASSEMBLER__] (index_AVX_Usable): ... this.
60407         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
60408         (CPUID_OSXSAVE): New macro.
60409         (CPUID_AVX): New macro.
60410         (CPUID_FMA4): New macro.
60411         (index_YMM_Usable): Rename to...
60412         (index_AVX_Usable): ... this.
60413         (HAS_AVX): Use HAS_ARCH_FEATURE.
60414         (HAS_FMA4): Likewise.
60415         (HAS_YMM_USABLE): Remove.
60416         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60417         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
60418         are present.
60419         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
60420         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
60421         * sysdeps/x86_64/multiarch/Makefile: Likewise.
60422         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
60423         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
60425 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
60427         * math/libm-test.c: Support platforms without multiple rounding modes.
60428         * math/bug-nextafter.c: Support platforms without FP exceptions.
60429         * math/bug-nexttoward.c: Likewise.
60430         * math/test-fenv.c: Likewise.
60431         * math/test-misc.c: Likewise.
60432         * stdlib/bug-getcontext.c: Likewise.
60434 2012-05-17  Andreas Jaeger  <aj@suse.de>
60436         * manual/examples/search.c (critter_cmp): Change signature to
60437         avoid warnings.
60438         * manual/string.texi (Collation Functions): Likewise.
60440 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60442         * bits/types.h: Fold copyright years.
60443         * bits/typesizes.h: Likewise.
60444         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
60445         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
60446         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
60447         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
60448         * time/time.h: Likewise.
60450 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
60452         [BZ #208]
60453         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
60454         in instead of returning them.  Return void.
60455         (__libc_mallinfo): Accumulate over all arenas.
60456         (__malloc_stats): Adjust for change in int_mallinfo interface.
60458 2012-05-16  Roland McGrath  <roland@hack.frob.com>
60460         [BZ #10375]
60461         * configure.in (NM): Add AC_CHECK_TOOL for it.
60462         (libc_extra_cflags): New substituted variable.
60463         Check for -fstack-protector being used implicitly.
60464         * configure: Regenerated.
60465         * config.make.in (config-extra-cflags): New variable,
60466         gets @libc_extra_cflags@.
60467         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
60469         [BZ #10375]
60470         * configure.in: Check for _FORTIFY_SOURCE being predefined.
60471         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
60472         * configure: Regenerated.
60473         * config.make.in (CPPUNDEFS): New substituted variable.
60474         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
60475         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
60476         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
60478 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60480         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
60481         (mq_attr): Use __syscall_slong_t.
60483 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60485         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
60486         Check __x86_64__ instead of __WORDSIZE.
60487         (_STAT_VER_LINUX): Likewise.
60488         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
60489         __syscall_ulong_t and __syscall_slong_t.
60490         (stat64): Likewise.
60492 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60494         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
60496 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60498         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
60500 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60502         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
60503         __syscall_ulong_t.
60505         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
60506         include <bits/wordsize.h>.  Check __x86_64__ instead of
60507         __WORDSIZE.
60508         (greg_t): Use "__extension__ long long int" if __x86_64__ is
60509         defined.
60510         (mcontext_t): Replace "unsigned long" with "unsigned long long".
60512         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
60513         include <bits/wordsize.h>.  Check __x86_64__ instead of
60514         __WORDSIZE.
60515         (user_regs_struct): Use "__extension__ unsigned long long"
60516         instead of "unsigned long" if __x86_64__ is defined.
60517         (user): Likewise.  Pad after pointer field if __ILP32__ is
60518         defined.
60520 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
60522         * configure.in (makeinfo): Require version 4.5 or later.  Allow
60523         versions 5 to 9.
60524         * configure: Regenerated.
60525         * manual/install.texi (texinfo): Increase version requirement to
60526         4.5 or later.
60527         * INSTALL: Regenerated.
60529         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
60531 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60533         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
60535         * sysdeps/x86_64/x32/ffs.c: New file.
60537         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
60538         __syscall_ulong_t.
60539         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
60540         defined.  Use __syscall_ulong_t.
60541         (shminfo): Use __syscall_ulong_t.
60542         (shm_info): Likewise.
60544         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
60545         __syscall_ulong_t.
60547         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
60548         <bits/wordsize.h>.
60549         (msgqnum_t): Use __syscall_ulong_t.
60550         (msglen_t): Likewise.
60551         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
60552         __syscall_ulong_t.
60554         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
60555         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
60557         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
60559         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
60560         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
60562         * sysvipc/sys/msg.h (msgbuf): Replace long int with
60563         __syscall_slong_t.
60565         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
60566         include <bits/wordsize.h>.  Check __x86_64__ instead of
60567         __WORDSIZE.
60569         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
60570         "unsigned long long int" if __x86_64__ is defined.
60571         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
60573         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
60574         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
60575         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
60577         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
60578         <stdint.h>.
60579         (GET_PC): Cast to uintptr_t first.
60580         (GET_FRAME): Likewise.
60581         (GET_STACK): Likewise.
60583         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
60584         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
60585         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
60586         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
60587         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
60588         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
60589         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
60590         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
60591         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
60592         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
60593         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
60594         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
60595         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
60596         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
60597         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
60598         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
60599         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
60600         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
60601         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
60602         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
60603         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
60604         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
60605         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
60606         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
60607         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
60608         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
60609         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
60610         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
60611         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
60613 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
60615         * Makerules (+depfiles): Also collect depfiles from .oS in
60616         $(extra-objs).
60617         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
60618         .oS, $(libnldbl-routines)).
60620         * Makerules (native-compile-mkdep-flags): Define.
60621         * sunrpc/Makefile (extra-objs): Add $(addprefix
60622         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
60623         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
60624         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
60625         calling $(make-target-directory).
60627 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60629         * bits/types.h (__snseconds_t): Removed.
60630         * time/time.h (struct timespec): Replace __snseconds_t with
60631         __syscall_slong_t.
60632         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
60633         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
60634         Likewise.
60635         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60636         (__SNSECONDS_T_TYPE): Likewise.
60637         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60638         (__SNSECONDS_T_TYPE): Likewise.
60639         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60640         (__SNSECONDS_T_TYPE): Likewise.
60642 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60644         * sysdeps/mach/hurd/bits/typesizes.h
60645         (__SYSCALL_SLONG_TYPE): New macro.
60646         (__SYSCALL_ULONG_TYPE): Likewise.
60648 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60650         * bits/types.h (__syscall_slong_t): New type.
60651         (__syscall_ulong_t): Likewise.
60653         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
60654         (__SYSCALL_ULONG_TYPE): Likewise.
60655         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60656         (__SYSCALL_SLONG_TYPE): Likewise.
60657         (__SYSCALL_ULONG_TYPE): Likewise.
60658         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60659         (__SYSCALL_SLONG_TYPE): Likewise.
60660         (__SYSCALL_ULONG_TYPE): Likewise.
60661         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60662         (__SYSCALL_SLONG_TYPE): Likewise.
60663         (__SYSCALL_ULONG_TYPE): Likewise.
60665 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60667         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
60668         Add sigaltstack-offsets.sym.
60669         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
60670         <sigaltstack-offsets.h>.
60671         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
60672         longjmp_msg pointer.
60673         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
60674         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
60675         signal stack.
60676         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
60678 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
60680         * elf/stackguard-macros.h: Remove file.
60681         * sysdeps/generic/stackguard-macros.h: New file.
60682         * sysdeps/i386/stackguard-macros.h: Likewise.
60683         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
60684         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
60685         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
60686         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
60687         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
60688         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
60689         * sysdeps/x86_64/stackguard-macros.h: Likewise.
60690         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
60691         <elf/stackguard-macros.h>.
60693         [BZ #14109]
60694         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
60695         __aligned__ in attribute.
60696         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
60697         (gregset_t): Likewise.
60699 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60701         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
60702         * sysdeps/x86_64/64/Implies-after: Here.  New file.
60703         * sysdeps/x86_64/x32/Implies-after: New file.
60705 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60707         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
60708         and access return value for _dl_profile_fixup.  Use R10_LP to
60709         load frame size.
60711 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60713         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
60715 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60717         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
60718         * sysdeps/x86_64/x32/sysdep.h: New file.
60720 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60722         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
60723         * sysdeps/x86_64/setjmp.S: Likewise.
60725 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60727         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
60728         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
60729         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
60730         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
60731         remove unused global constant.
60733 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
60735         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
60736         include of <not-cancel.h>.
60738 2012-05-15  Roland McGrath  <roland@hack.frob.com>
60740         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
60742 2012-05-15  Jeff Law  <law@redhat.com>
60743             Andreas Jaeger  <aj@suse.de>
60745         [BZ #13594]
60746         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
60747         out from...
60748         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
60749         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
60750         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
60751         code changing __hst_map_handle.map.
60753 2012-05-15  Roland McGrath  <roland@hack.frob.com>
60755         * configure.in (sysnames): Look for Implies-before and Implies-after
60756         files.
60757         * configure: Regenerated.
60759 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60761         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
60762         8-byte data alignment with LP_SIZE alignment.
60764 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60766         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
60767         into R10_LP.
60769 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60771         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
60773 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60775         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
60776         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
60777         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
60778         Likewise.
60779         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
60781 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60783         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
60784         (stackinfo_sub_sp): Likewise.
60786 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60788         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
60789         RAX_LP.
60791 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60793         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
60794         into R*_LP.
60796 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60798         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
60799         sizes into R*_LP.
60801 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60803         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
60805 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60807         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
60808         into R11_LP and load __x86_64_shared_cache_size_half into
60809         R8_LP.
60811 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60813         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
60814         R8_LP.
60816 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60818         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
60819         logb for POWER7.
60820         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
60821         logbf for POWER7.
60822         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
60823         logbl for POWER7.
60824         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
60825         powerpc32/power7/fpu/s_logb.c via #include.
60826         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
60827         powerpc32/power7/fpu/s_logbf.c via #include.
60828         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
60829         powerpc32/power7/fpu/s_logbl.c via #include.
60831 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
60833         * README.libm: Remove file.
60835 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60837         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
60838         count for x32.  Use R*_LP and omit operand-size suffix.
60840 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60842         * shlib-versions: Move x86_64-.*-linux.* entries to ...
60843         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
60844         * sysdeps/x86_64/x32/shlib-versions: New file.
60846 2012-05-14  Roland McGrath  <roland@hack.frob.com>
60848         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
60849         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
60850         Use _dl_fatal_printf instead.
60852 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
60854         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
60855         set if not set by the user.  Do not allow for being unset.
60856         * sysdeps/unix/sysv/linux/configure: Regenerated.
60858 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60860         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
60861         the `q' suffix from lea and replace .quad with ASM_ADDR.
60863 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60865         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
60866         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
60867         instead of $17.
60868         (PTR_DEMANGLE): Likewise.
60870 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60872         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
60873         (LP_OP): Likewise.
60874         (ASM_ADDR): Likewise.
60875         (RAX_LP): Likewise.
60876         (RBP_LP): Likewise.
60877         (RBX_LP): Likewise.
60878         (RCX_LP): Likewise.
60879         (RDI_LP): Likewise.
60880         (RSI_LP): Likewise.
60881         (RSP_LP): Likewise.
60882         (R8_LP): Likewise.
60883         (R9_LP): Likewise.
60884         (R10_LP): Likewise.
60885         (R10_LP): Likewise.
60886         (R11_LP): Likewise.
60887         (R12_LP): Likewise.
60888         (R13_LP): Likewise.
60889         (R14_LP): Likewise.
60890         (R15_LP): Likewise.
60892 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60894         * sysdeps/x86_64/x32/dl-machine.h: New file.
60896 2012-05-14  Andreas Jaeger  <aj@suse.de>
60898         * manual/Makefile (subdir): Remove export of subdir.
60899         (all): Remove target.
60900         (.PHONY): Remove all from list.
60901         (mkinstalldirs): Remove.
60902         (.PHONY): Remove installdirs from list.
60903         ($(inst_infodir)/libc.info): Use make-target-directory.
60904         (installdirs): Remove.
60905         (subdir_%): Remove.
60906         (glibc-targets): Remove.
60907         (lib): Remove.
60908         (stubs): Remove.
60909         ($(objpfx)stubs ../po/manual.pot): Remove.
60910         ($(objpfx)stamp%): Remove.
60911         (make-target-directory): Remove.
60912         (subdir_install): Remove.
60913         (routines): Remove.
60914         (aux): Remove.
60915         (sources): Remove.
60916         (objects): Remove.
60917         (headers): Remove.
60919         [BZ #13750]
60920         * manual/.gitignore: Remove, it's not needed anymore.
60921         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
60922         all files in it.
60923         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
60924         directory.
60925         (texis): Renamed to $(objpfx)texis.
60926         (texis-path): New, contains path to generated files.
60927         (chapters.%): Use texis-path for complete path, add extra argument
60928         libc-texinfo.sh.
60929         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
60930         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
60931         (summary,texi, stamp-summary): Use complete path of
60932         files. Generate files in build dir.
60933         (dir-add.texi): Build in build dir.
60934         (libm-err.texi,stamp-libm-err): Likewise.
60935         (version.texi, stamp-version): Likewise.
60936         (.%c.texi): Likewise.
60937         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
60938         (mostlyclean): Remove target.
60939         (realclean): Remove target.
60940         (generated): Add new variable with contents from mostlyclean and
60941         realclean, remove entries duplicated in common-mostlyclean, add
60942         stamp-libm-err and stamp-version.
60943         (generated-dirs): Add libc directory.
60944         ($(inst_infodir)/libc.info): Install files from build dir.
60946         * manual/install.texi (Configuring and compiling): Adjust since
60947         the info files are not part of the tar ball anymore.
60949 2012-05-14  Andreas Jaeger  <aj@suse.de>
60951         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
60952         variable.
60954 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
60956         [BZ #13717]
60957         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
60958         to 2.2.0 where earlier.
60959         * sysdeps/unix/sysv/linux/configure: Regenerated.
60960         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
60961         Remove conditional code.
60962         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
60963         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
60964         Remove conditional code.
60965         [!__NR_lchown]: Likewise.
60966         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
60967         [__NR_lchown]: Likewise.
60968         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
60969         comment referencing __ASSUME_LCHOWN_SYSCALL.
60970         * sysdeps/unix/sysv/linux/i386/sigaction.c
60971         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60972         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60973         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
60974         Remove conditional code.
60975         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
60976         (__protocol_available): Remove #if 0 code.
60977         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
60978         conditional code.
60979         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
60980         * sysdeps/unix/sysv/linux/kernel-features.h
60981         (__ASSUME_GETCWD_SYSCALL): Don't define.
60982         (__ASSUME_REALTIME_SIGNALS): Likewise.
60983         (__ASSUME_PREAD_SYSCALL): Likewise.
60984         (__ASSUME_PWRITE_SYSCALL): Likewise.
60985         (__ASSUME_POLL_SYSCALL): Likewise.
60986         (__ASSUME_LCHOWN_SYSCALL): Likewise.
60987         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
60988         non-SPARC.
60989         (__ASSUME_SIOCGIFNAME): Don't define.
60990         (__ASSUME_MSG_NOSIGNAL): Likewise.
60991         (__ASSUME_SENDFILE): Define unconditionally.
60992         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
60993         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
60994         conditional code.
60995         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
60996         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
60997         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
60998         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
60999         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
61000         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
61001         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
61002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
61003         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61004         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
61006         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61007         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
61009         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61010         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
61012         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61013         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
61015         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61016         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
61018         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61019         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
61021         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61022         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
61024         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61025         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61026         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
61027         Remove conditional code.
61028         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61029         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
61030         Remove conditional code.
61031         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61032         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
61033         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
61034         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
61035         Remove conditional code.
61036         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61037         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
61038         Remove conditional code.
61039         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61040         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
61041         Remove conditional code.
61042         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61043         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
61044         Remove conditional code.
61045         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61046         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
61047         Remove conditional code.
61048         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61049         * sysdeps/unix/sysv/linux/sh/pwrite64.c
61050         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61051         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61052         * sysdeps/unix/sysv/linux/sigaction.c
61053         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61054         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61055         * sysdeps/unix/sysv/linux/sigpending.c
61056         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61057         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61058         * sysdeps/unix/sysv/linux/sigprocmask.c
61059         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61060         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61061         * sysdeps/unix/sysv/linux/sigsuspend.c
61062         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61063         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61064         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
61065         (__libc_missing_rt_sigs): Remove.
61066         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
61067         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
61068         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
61069         Remove conditional code.
61070         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
61071         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
61072         return 1.
61073         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
61074         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
61075         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
61076         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
61078 2012-05-14  Andreas Jaeger  <aj@suse.de>
61080         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
61081         it's not used in glibc.
61082         (__coshm1): Likewise.
61083         (__acosh1p): Likewise.
61084         (__sgn): Likewise.
61086         * manual/string.texi (Copying and Concatenation): Add missing
61087         variable in concat example.
61088         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
61090 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61092         [BZ #14103]
61093         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
61094         __builtin_clzl with __builtin_clzll.
61096 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61098         [BZ #14104]
61099         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
61100         libc_freeres_ptr.
61102 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61104         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
61105         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
61106         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
61107         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
61109 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
61111         * NEWS: Update ia64 info.
61113 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
61115         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
61116         used as bcopy.
61118 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
61120         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
61121         * sysdeps/unix/syscalls.list (dup3): Likewise.
61122         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
61123         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
61125 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
61127         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
61128         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
61130 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
61132         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
61133         thread pointer.
61134         (TLS_IE): Use mov/add instead of movq/addq to load thread
61135         pointer.
61136         (TLS_GD_PREFIX): New.
61137         (TLS_GD): Use it.
61139 2012-05-11  David S. Miller  <davem@davemloft.net>
61141         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
61142         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
61143         (_FPU_SETCW): Likewise.
61145 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61147         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
61148         is 32-byte aligned.
61150 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
61152         [BZ #11837]
61153         * iconvdata/gb18030.c: Update tables.
61154         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
61155         characters specially.
61156         (BODY for TO_LOOP): Add encoding of missing ranges.
61158 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
61160         [BZ #13673]
61161         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
61162         * sysdeps/mach/hurd/dup3.c: Likewise.
61163         * sysdeps/mach/hurd/readlinkat.c: Likewise.
61164         * sysdeps/powerpc/memmove.c:: Likewise.
61166 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61168         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
61169         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
61171 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61173         * elf/elf.h (R_X86_64_RELATIVE64): New.
61174         (R_X86_64_NUM): Updated.
61175         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
61176         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
61177         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
61178         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
61179         tst-quad1pie tst-quad2pie
61180         (modules-names): Add tst-quadmod1 tst-quadmod2.
61181         ($(objpfx)tst-quad1): New dependency.
61182         ($(objpfx)tst-quad2): Likewise.
61183         ($(objpfx)tst-quad1pie): Likewise.
61184         ($(objpfx)tst-quad2pie): Likewise.
61185         * sysdeps/x86_64/tst-quad1.c: New file.
61186         * sysdeps/x86_64/tst-quad1pie.c: New file.
61187         * sysdeps/x86_64/tst-quad2.c: Likewise.
61188         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
61189         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
61190         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
61191         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
61192         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
61194 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61196         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
61197         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
61198         * streams/stropts.h (t_scalar_t): Define type.
61200         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
61201         (_PATH_PRESERVE): Set to "/var/lib".
61202         (_PATH_RWHODIR): Set to "/var/spool/rwho".
61204         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
61205         instead of int.
61207         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
61208         if __dir_mkfile succeeded.
61210         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
61211         checking for _hurd_dtablesize.  Unlock it right after having
61212         finished _hurd_dtable allocation.
61214 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61216         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
61217         * sysdeps/mach/hurd/configure: Regenerated.
61218         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
61219         special-casing to...
61220         * sysdeps/gnu/configure.in: ... this new file.
61221         * sysdeps/unix/sysv/linux/configure: Regenerated.
61222         * sysdeps/gnu/configure: New generated file.
61224         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
61225         for Linux: use nsec instead of usec, as well as:
61226         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
61227         members of type struct timespec.
61228         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
61229         New macros.
61230         (struct stat64): Likewise.
61231         (_STATBUF_ST_NSEC): New macro.
61232         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
61234         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
61235         __strtoul_internal rather than strtoul.
61237 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61239         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
61240         and reject them.
61242 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61244         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
61245         which preserves existing values.
61246         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
61248 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61250         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
61251         TIMEOUT values.  Return EINVAL for NFDS values either negative or
61252         greater than FD_SETSIZE.
61254 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61256         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
61257         allocated, call __vm_protect to finish enabling the existing space, and
61258         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
61259         allocate the remainder.
61261 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61263         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
61264         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
61266 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61268         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
61269         sysdeps/mach/hurd/readlink.c.
61271         * posix/tst-sysconf.c (posix_options): Only use
61272         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
61273         _POSIX_SYNCHRONIZED_IO when they are defined
61274         * sysdeps/mach/hurd/bits/posix_opt.h:
61275         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
61276         (_XOPEN_REALTIME): Undefine macro.
61277         (_XOPEN_REALTIME_THREADS): Undefine macro.
61278         (_XOPEN_SHM): Undefine macro.
61279         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
61280         macro to -1.
61281         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
61282         macro to -1.
61283         (_POSIX_ASYNC_IO): Undefine macro.
61284         (_POSIX_PRIORITIZED_IO): Undefine macro.
61285         (_POSIX_SPIN_LOCKS): Define macro to -1.
61287         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
61288         SA_NODEFER, SA_RESETHAND.
61289         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
61290         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
61291         F_DUPFD_CLOEXEC.
61293 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61295         * elf/Makefile (pldd-modules): Define unconditionally.
61297 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61299         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
61301 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61303         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
61304         Return ENOENT when name is empty.
61305         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
61307 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61309         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
61311         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
61313 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61315         Fix mlock in all cases except non-readable pages.
61316         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
61317         instead of VM_PROT_ALL as parameter to __vm_wire function.
61319         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
61320         (__mkdir): When path is `/', just fail with EEXIST.
61321         * sysdeps/mach/hurd/mkdirat.c: Likewise.
61323 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61325         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
61326         <sys/uio.h> (for writev).
61327         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
61328         and <sys/param.h> (for MIN).
61330 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61332         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
61333         REQUESTED_TIME.  Properly set the remaining time and return EINTR
61334         if interrupted.
61336 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61338         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
61339         Depend on against $(link-rpcuserlibs).
61341 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61343         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
61344         (__libc_stack_end): Do not use attribute_relro.
61345         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
61346         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
61347         to libthread-provided value.
61348         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
61349         attribute_relro.
61351 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61353         [BZ #3748]
61354         * bits/libc-lock.h (__libc_once_get): New macro.
61355         * sysdeps/mach/bits/libc-lock.h: Likewise.
61356         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
61357         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
61358         instead of using implementation details.
61360         * libio/fileops.c: Unconditionally include <kernel-features.h>.
61361         * libio/freopen.c: Likewise.
61362         * libio/freopen64.c: Likewise.
61363         * misc/syslog.c: Likewise.
61364         * nscd/connections.c: Likewise.
61365         * nscd/netgroupcache.c: Likewise.
61366         * sysdeps/posix/getcwd.c: Likewise.
61368 2012-05-10  Roland McGrath  <roland@hack.frob.com>
61370         * math/w_ilogbf.c: Add #include <limits.h>.
61372 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61374         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
61375         path instead of returning without unlocking.
61377         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
61378         immediate-write ioctls.
61379         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
61381 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61383         * sysdeps/mach/hurd/i386/init-first.c (init): Use
61384         __builtin_frame_address instead of making assumptions about the
61385         location of the return address relative to DATA.  Force early load of
61386         the return address.
61387         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
61388         __builtin_frame_address.
61390         dup3 for GNU Hurd.
61391         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
61392         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
61393         implement dup3 and do some further code clean-ups.
61394         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
61395         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
61397 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61399         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
61401         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
61402         HURD_CRITICAL_END around holding _hurd_dtable_lock.
61403         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
61404         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
61405         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
61406         d->port.lock.
61408         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
61409         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
61410         when handler == SIG_ERR, not when handler != SIG_ERR.
61412 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61414         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
61415         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
61416         definitions.
61418         accept4 for GNU Hurd.
61419         * include/sys/socket.h (__libc_accept4): New prototype.
61420         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
61421         to implement __libc_accept4.
61422         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
61423         __libc_accept4.
61424         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
61426         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
61427         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
61428         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
61429         signal-defines.sym.
61431 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61433         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
61435 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61437         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
61438         assertion on O_CLOEXEC flag.
61439         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
61440         * hurd/intern-fd.c: Likewise.
61441         * hurd/port2fd.c: Likewise.
61443 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61445         [BZ #3906]
61446         * bits/in.h (IPV6_PKTINFO): Define new macro.
61447         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
61449 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61451         [BZ #13954]
61452         [BZ #13955]
61453         [BZ #13956]
61454         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
61455         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
61456         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
61457         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
61458         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61459         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
61460         * math/libm-test.inc (logb_test) : Additional logb tests.
61462 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
61463             Andreas Jaeger  <aj@suse.de>
61465         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
61466         * configure: Regenerated.
61467         * config.h.in (LINK_OBSOLETE_RPC): New macro.
61468         * config.make.in (link-obsolete-rpc): New substituted variable.
61469         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
61470         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
61471         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
61472         (shared-only-routines): Don't set it under [link-obsolete-rpc],
61473         so that libc.a contains the symbols.
61474         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
61475         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
61476         * sunrpc/auth_none.c: Likewise.
61477         * sunrpc/auth_unix.c: Likewise.
61478         * sunrpc/authdes_prot.c: Likewise.
61479         * sunrpc/authuxprot.c: Likewise.
61480         * sunrpc/clnt_gen.c: Likewise.
61481         * sunrpc/clnt_perr.c: Likewise.
61482         * sunrpc/clnt_raw.c: Likewise.
61483         * sunrpc/clnt_simp.c: Likewise.
61484         * sunrpc/clnt_tcp.c: Likewise.
61485         * sunrpc/clnt_udp.c: Likewise.
61486         * sunrpc/clnt_unix.c: Likewise.
61487         * sunrpc/des_crypt.c: Likewise.
61488         * sunrpc/des_soft.c: Likewise.
61489         * sunrpc/get_myaddr.c: Likewise.
61490         * sunrpc/key_call.c: Likewise.
61491         * sunrpc/key_prot.c: Likewise.
61492         * sunrpc/netname.c: Likewise.
61493         * sunrpc/pm_getmaps.c: Likewise.
61494         * sunrpc/pm_getport.c: Likewise.
61495         * sunrpc/pmap_clnt.c: Likewise.
61496         * sunrpc/pmap_prot.c: Likewise.
61497         * sunrpc/pmap_prot2.c: Likewise.
61498         * sunrpc/pmap_rmt.c: Likewise.
61499         * sunrpc/publickey.c: Likewise.
61500         * sunrpc/rpc_cmsg.c: Likewise.
61501         * sunrpc/rpc_common.c: Likewise.
61502         * sunrpc/rpc_dtable.c: Likewise.
61503         * sunrpc/rpc_prot.c: Likewise.
61504         * sunrpc/rpc_thread.c: Likewise.
61505         * sunrpc/rtime.c: Likewise.
61506         * sunrpc/svc.c: Likewise.
61507         * sunrpc/svc_auth.c: Likewise.
61508         * sunrpc/svc_raw.c: Likewise.
61509         * sunrpc/svc_run.c: Likewise.
61510         * sunrpc/svc_tcp.c: Likewise.
61511         * sunrpc/svc_udp.c: Likewise.
61512         * sunrpc/svc_unix.c: Likewise.
61513         * sunrpc/svcauth_des.c: Likewise.
61514         * sunrpc/xcrypt.c: Likewise.
61515         * sunrpc/xdr.c: Likewise.
61516         * sunrpc/xdr_array.c: Likewise.
61517         * sunrpc/xdr_float.c: Likewise.
61518         * sunrpc/xdr_intXX_t.c: Likewise.
61519         * sunrpc/xdr_mem.c: Likewise.
61520         * sunrpc/xdr_rec.c: Likewise.
61521         * sunrpc/xdr_ref.c: Likewise.
61522         * sunrpc/xdr_sizeof.c: Likewise.
61523         * sunrpc/xdr_stdio.c: Likewise.
61525 2012-05-10  Roland McGrath  <roland@hack.frob.com>
61527         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
61528         change.  Update copyright years.
61530 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
61532         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
61534 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
61535             Joseph Myers  <joseph@codesourcery.com>
61536             Paul Pluzhnikov  <ppluzhnikov@google.com>
61538         [BZ #14012]
61539         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
61540         requiring rpcgen.
61541         [cross-compiling] (extra-libs): Likewise.
61542         [cross-compiling] (extra-libs-others): Likewise.
61543         [cross-compiling] (librpcsvc-routines): Likewise.
61544         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
61545         [cross-compiling] (omit-deps): Likewise.
61546         (sunrpc-CPPFLAGS): New variable.
61547         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
61548         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
61549         (cross-rpcgen-objs): New variable.
61550         (extra-objs): Append $(cross-rpcgen-objs).
61551         ($(cross-rpcgen-objs)): New rule.
61552         ($(objpfx)cross-rpcgen): Likewise.
61553         (rpcgen-cmd): Define to use $(built-program-file).  Expand
61554         comment.
61555         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
61556         ($(objpfx)x%.stmp): Likewise.
61557         * sunrpc/proto.h [IS_IN_build] (_): Define.
61558         [IS_IN_build] (_libc_intl_domainname): Likewise.
61560 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61562         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
61563         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
61564         and R_X86_64_TPOFF64.
61566 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
61568         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
61569         sysdeps/unix/sysv/syscalls.list.
61570         (stime): Likewise.
61571         (utime): Likewise.
61572         * sysdeps/unix/sysv/syscalls.list: Remove file.
61574 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
61576         [BZ #3440]
61577         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
61578         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
61579         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
61580         (__LC_IDENTIFICATION): Make these macros useful in #if
61581         expressions, as required by C99.
61583 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
61585         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
61586         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
61587         after this.
61589 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
61591         * stdlib/longlong.h: Updated from GCC.
61593 2012-05-09  Andreas Jaeger  <aj@suse.de>
61595         * nscd/nscd.c (run_modes): Make named enum, reorder so that
61596         default is first entry.
61597         (run_mode): Set type.
61598         (main): Remove informal message about syslog.
61599         (options): Fix typo.
61601         [BZ #14053]
61602         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
61603         to asm.
61604         (lrint): Likewise.
61605         (llrintf): Likewise.
61606         (llrint): Likewise.
61607         (rint): Likewise.
61608         (rintf): Likewise.
61609         (nearbyint): Likewise.
61610         (nearbyintf): Likewise.
61612 2012-05-09  Andreas Jaeger  <aj@suse.de>
61613             Pedro Alves  <palves@redhat.com>
61615         * nscd/nscd.c (run_mode): Use enum.
61616         (main): Cleanup coding style issue.
61618 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
61619             Andreas Jaeger  <aj@suse.de>
61621         * nscd/nscd.c (go_background): Replaced with...
61622         (run_mode): ... this.
61623         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
61624         (options): Add -F --foreground.
61625         (main): Implement it.
61626         (parse_opt): Parse it.
61628 2012-05-09  Andreas Jaeger  <aj@suse.de>
61630         [BZ #14083]
61631         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
61632         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
61633         -Wconversion warning.
61634         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
61635         Likewise.
61637 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
61639         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
61640         == 0.
61641         (LC_ALL): Use macro-int-constant.
61642         (LC_COLLATE): Likewise.
61643         (LC_CTYPE): Likewise.
61644         (LC_MESSAGES): Likewise.
61645         (LC_MONETARY): Likewise.
61646         (LC_NUMERIC): Likewise.
61647         (LC_TIME): Likewise.
61648         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
61649         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
61650         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61651         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
61652         Specify type.
61653         [C99-based standards] (float_t): Expect type.
61654         [C99-based standards] (double_t): Expect type.
61655         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
61656         type.
61657         [C99-based standards] (HUGE_VALL): Likewise.
61658         [C99-based standards] (INFINITY): Likewise.
61659         [C99-based standards] (NAN): Likewise.
61660         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
61661         [C99-based standards] (FP_NAN): Likewise.
61662         [C99-based standards] (FP_NORMAL): Likewise.
61663         [C99-based standards] (FP_SUBNORMAL): Likewise.
61664         [C99-based standards] (FP_ZERO): Likewise.
61665         [C99-based standards] (FP_FAST_FMA): Use
61666         optional-macro-int-constant.  Specify type.  Require == 1.
61667         [C99-based standards] (FP_FAST_FMAF): Likewise.
61668         [C99-based standards] (FP_FAST_FMAL): Likewise.
61669         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
61670         [C99-based standards] (FP_ILOGBNAN): Likewise.
61671         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
61672         Specify type.
61673         [C99-based standards] (MATH_ERREXCEPT): Likewise.
61674         [C99-based standards] (math_errhandling): Specify type.
61675         [ISO99 || ISO11] (signgam): Do not allow.
61676         [non-C99-based standards] (copysignf): Do not allow.
61677         [non-C99-based standards] (exp2f): Likewise.
61678         [non-C99-based standards] (log2f): Likewise.
61679         [non-C99-based standards] (modff): Allow.
61680         [non-C99-based standards] (erff): Do not allow.
61681         [non-C99-based standards] (erfcf): Likewise.
61682         [non-C99-based standards] (gammaf): Likewise.
61683         [non-C99-based standards] (hypotf): Likewise.
61684         [non-C99-based standards] (j0f): Likewise.
61685         [non-C99-based standards] (j1f): Likewise.
61686         [non-C99-based standards] (jnf): Likewise.
61687         [non-C99-based standards] (lgammaf): Likewise.
61688         [non-C99-based standards] (tgammaf): Likewise.
61689         [non-C99-based standards] (y0f): Likewise.
61690         [non-C99-based standards] (y1f): Likewise.
61691         [non-C99-based standards] (ynf): Likewise.
61692         [non-C99-based standards] (isnanf): Likewise.
61693         [non-C99-based standards] (acoshf): Likewise.
61694         [non-C99-based standards] (asinhf): Likewise.
61695         [non-C99-based standards] (atanhf): Likewise.
61696         [non-C99-based standards] (cbrtf): Likewise.
61697         [non-C99-based standards] (expm1f): Likewise.
61698         [non-C99-based standards] (ilogbf): Likewise.
61699         [non-C99-based standards] (log1pf): Likewise.
61700         [non-C99-based standards] (logbf): Likewise.
61701         [non-C99-based standards] (nextafterf): Likewise.
61702         [non-C99-based standards] (remainderf): Likewise.
61703         [non-C99-based standards] (rintf): Likewise.
61704         [non-C99-based standards] (scalbf): Likewise.
61705         [non-C99-based standards] (copysignl): Likewise.
61706         [non-C99-based standards] (exp2l): Likewise.
61707         [non-C99-based standards] (log2l): Likewise.
61708         [non-C99-based standards] (modfl): Allow.
61709         [non-C99-based standards] (erfl): Do not allow.
61710         [non-C99-based standards] (erfcl): Likewise.
61711         [non-C99-based standards] (gammal): Likewise.
61712         [non-C99-based standards] (hypotl): Likewise.
61713         [non-C99-based standards] (j0l): Likewise.
61714         [non-C99-based standards] (j1l): Likewise.
61715         [non-C99-based standards] (jnl): Likewise.
61716         [non-C99-based standards] (lgammal): Likewise.
61717         [non-C99-based standards] (tgammal): Likewise.
61718         [non-C99-based standards] (y0l): Likewise.
61719         [non-C99-based standards] (y1l): Likewise.
61720         [non-C99-based standards] (ynl): Likewise.
61721         [non-C99-based standards] (isnanl): Likewise.
61722         [non-C99-based standards] (acoshl): Likewise.
61723         [non-C99-based standards] (asinhl): Likewise.
61724         [non-C99-based standards] (atanhl): Likewise.
61725         [non-C99-based standards] (cbrtl): Likewise.
61726         [non-C99-based standards] (expm1l): Likewise.
61727         [non-C99-based standards] (ilogbl): Likewise.
61728         [non-C99-based standards] (log1pl): Likewise.
61729         [non-C99-based standards] (logbl): Likewise.
61730         [non-C99-based standards] (nextafterl): Likewise.
61731         [non-C99-based standards] (remainderl): Likewise.
61732         [non-C99-based standards] (rintl): Likewise.
61733         [non-C99-based standards] (scalbl): Likewise.
61734         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61735         [non-C99-based standards] (FP_*): Do not allow.
61736         [C99-based standards] (FP_*): Change to
61737         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
61738         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
61739         allow.
61740         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
61741         (SIG_ERR): Likewise.
61742         [X/Open-based standards] (SIG_HOLD): Likewise.
61743         (SIG_IGN): Likewise.
61744         (SIGABRT): Use macro-int-constant.  Specify type.  Require
61745         positive value.
61746         (SIGFPE): Likewise.
61747         (SIGILL): Likewise.
61748         (SIGINT): Likewise.
61749         (SIGSEGV): Likewise.
61750         (SIGTER): Likewise.
61751         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
61752         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
61753         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
61754         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
61755         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
61756         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
61757         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
61758         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
61759         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
61760         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
61761         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
61762         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
61763         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
61764         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
61765         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
61766         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
61767         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
61768         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
61769         [X/Open-based standards] (SIGTRAP): Likewise.
61770         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
61771         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
61772         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
61773         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
61774         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
61775         allow.
61777 2012-05-08  Ian Wienand  <ianw@vmware.com>
61779         [BZ #14080]
61780         * time/tzset.c (__tzset_parse_tz): Update default rules for
61781         daylight time changes in the Energy Policy Act of 2005.
61783 2012-05-09  Andreas Jaeger  <aj@suse.de>
61785         [BZ #13983]
61786         * elf/ldconfig.c (parse_conf): Change string to make clear that
61787         ldconfig only issued a warning if ld.so.conf does not exist.
61789 2012-05-08  David S. Miller  <davem@davemloft.net>
61791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
61792         movxtod instead of popping the value on the stack.
61794         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61796 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
61798         * config.h.in: Add HAVE_ARM_PCS_VFP.
61800 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
61802         [BZ #13979]
61803         * include/features.h: Warn if user requests __FORTIFY_SOURCE
61804         checking but the checks are disabled for any reason.
61806 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
61808         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
61809         and ELF64_R_TYPE with ELFW(R_TYPE).
61811 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
61813         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
61814         (ulimit): Likewise.
61816         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
61817         (settimeofday): Likewise.
61819 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
61821         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
61822         a struct th_u2 inside the union, and move tu_block/tu_code into
61823         a new th_u3 union of tu_block/tu_code inside of that.  Move
61824         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
61825         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
61826         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
61827         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
61828         (th_stuff): Change to th_u1.tu_stuff.
61829         (th_data): Define.
61830         (th_msg): Change to th_u1.th_u2.tu_data.
61832 2012-05-07  David S. Miller  <davem@davemloft.net>
61834         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61836         [BZ #14074]
61837         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
61838         (SETUP_PIC_REG): Use it.
61839         (SETUP_PIC_REG_LEAF): Use it.
61841 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
61843         [BZ #13885]
61844         [BZ #13923]
61845         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61846         USE_AS_EXPM1L.
61847         (EXPL_FINITE): Likewise.
61848         (FLDLOG): Likewise.
61849         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
61850         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
61851         e_expl.S.
61852         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61853         USE_AS_EXPM1L.
61854         (EXPL_FINITE): Likewise.
61855         (FLDLOG): Likewise.
61856         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
61857         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
61858         e_expl.S.
61859         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
61860         test of -max_value argument for long double.
61861         * sysdeps/i386/fpu/libm-test-ulps: Update.
61862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61864 2012-05-06  David S. Miller  <davem@davemloft.net>
61866         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
61867         quad soft-float symbols whose references which are compiler
61868         generated.
61869         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
61871 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
61873         [BZ #13884]
61874         [BZ #13914]
61875         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61876         USE_AS_EXP10L.
61877         (EXPL_FINITE): Likewise.
61878         (FLDLOG): Likewise.
61879         (c0): Likewise.
61880         (c1): Likewise.
61881         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
61882         Adjust comments for base varying.
61883         (__expl_finite): Change alias to EXPL_FINITE.
61884         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
61885         e_expl.S.
61886         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
61887         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
61888         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
61889         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
61890         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61891         USE_AS_EXP10L.
61892         (EXPL_FINITE): Likewise.
61893         (FLDLOG): Likewise.
61894         (c0): Likewise.
61895         (c1): Likewise.
61896         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
61897         Adjust comments for base varying.
61898         (__expl_finite): Change alias to EXPL_FINITE.
61899         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
61900         tests for bugs.
61901         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61903         [BZ #14064]
61904         * math/libm-test.inc (check_float_internal): Correct ulp
61905         calculation for subnormal expected results.
61907 2012-05-06  Andreas Jaeger  <aj@suse.de>
61909         * Makeconfig (+math-flags): New, set to -frounding-math.
61910         (+cflags): Add +math-flags so that all of glibc gets compiled with
61911         it.
61913         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
61915 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
61917         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
61918         Disable one test.
61920         [BZ #13787]
61921         [BZ #13922]
61922         [BZ #14036]
61923         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
61924         (__ieee754_expl): Allow for and saturate large arguments.
61925         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
61926         (u_threshold): Likewise.
61927         (__exp): Call __ieee754_exp before checking for overflow and
61928         underflow.
61929         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
61930         (u_threshold): Likewise.
61931         (__expf): Call __ieee754_expf before checking for overflow and
61932         underflow.
61933         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
61934         (u_threshold): Likewise.
61935         (__expl): Call __ieee754_expl before checking for overflow and
61936         underflow.
61937         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
61938         (__ieee754_expl): Allow for and saturate large arguments.
61939         * math/libm-test.inc (exp_test): Add another test.  Do not allow
61940         missing overflow exception on overflow.
61941         (expm1_test): Do not allow missing overflow exception on overflow.
61943         * sysdeps/i386/fpu/e_expl.c: Move to ...
61944         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
61945         rather than using inline asm.
61946         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
61947         * sysdeps/x86_64/fpu/e_expl.S: Copy from
61948         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
61950         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
61951         (nice): Likewise.
61952         (poll): Likewise.
61953         (signal): Likewise.
61954         (time): Likewise.
61955         (times): Likewise.
61957 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
61959         * sysdeps/unix/syscalls.list (adjtime): Add entry from
61960         sysdeps/unix/common/syscalls.list.
61961         (fchmod): Likewise.
61962         (fchown): Likewise.
61963         (ftruncate): Likewise.
61964         (getrusage): Likewise.
61965         (gettimeofday): Likewise.
61966         (setpgid): Likewise.
61967         (setregid): Likewise.
61968         (setreuid): Likewise.
61969         (sigaction): Likewise.
61970         (truncate): Likewise.
61971         (vhangup): Likewise.
61972         * sysdeps/unix/common/syscalls.list: Remove file.
61973         * sysdeps/unix/bsd/Implies: Don't include unix/common.
61974         * sysdeps/unix/sysv/linux/Implies: Likewise.
61976 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
61978         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
61979         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
61980         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
61981         Moved to ...
61982         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
61983         Here.
61984         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
61985         to ...
61986         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
61987         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
61988         to ...
61989         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
61990         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
61991         to ...
61992         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
61993         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
61994         to ...
61995         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
61996         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
61997         to ...
61998         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
61999         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
62000         to ...
62001         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
62002         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
62003         to ...
62004         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
62005         Here.
62006         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
62007         to ...
62008         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
62009         Here.
62010         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
62011         to ...
62012         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
62013         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
62014         Moved to ...
62015         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
62016         Here.
62017         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
62018         to ...
62019         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
62021 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
62023         * sysdeps/unix/common/bits/dirent.h: Remove file.
62024         * sysdeps/unix/common/bits/fcntl.h: Likewise.
62026         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
62027         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
62028         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
62029         * sysdeps/unix/bsd/isatty.c: Likewise.
62030         * sysdeps/unix/bsd/tcdrain.c: Likewise.
62031         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
62032         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
62034 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62036         [BZ #13563]
62037         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
62038         long double comparison inaccuracies.
62039         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
62040         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62042 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
62044         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
62045         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
62047 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
62049         [BZ #14049]
62050         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
62051         nonzero digits before rounding a hex value.
62052         * stdlib/tst-strtod.c (tests): Add another test.
62054 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62056         * sysdeps/s390/fpu/libm-test-ulps: Update.
62058 2012-05-03  Andreas Jaeger  <aj@suse.de>
62060         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
62061         does not get optimized out.
62062         (malloc_opt_barrier): New.
62064 2012-05-03  Andreas Jaeger  <aj@suse.de>
62065             Roland McGrath  <roland@hack.frob.com>
62067         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
62068         intermediate file deletion.
62069         (generated): Add .symlist files.
62071 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
62073         [BZ #13775]
62074         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
62075         Redirect under this condition.
62076         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
62077         [__USE_GNU] (__dprintf_chk): Not under this condition.
62078         [__USE_GNU] (__vdprintf_chk): Likewise.
62079         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
62080         under this condition.
62081         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
62082         [__USE_XOPEN2K8] (dprintf): Define under this condition.
62083         [__USE_XOPEN2K8] (vdprintf): Likewise.
62084         [__USE_GNU] (__dprintf_chk): Not under this condition.
62085         [__USE_GNU] (__vdprintf_chk): Likewise.
62086         [__USE_GNU] (dprintf): Likewise.
62087         [__USE_GNU] (vdprintf): Likewise.
62089 2012-05-03  Roland McGrath  <roland@hack.frob.com>
62091         * elf/Makefile (common-generated): Set this instead of generated for
62092         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
62093         $(all-built-dso)-derived lists.
62095 2012-05-03  Andreas Jaeger  <aj@suse.de>
62097         * sysdeps/i386/fpu/libm-test-ulps: Update.
62099         * FAQ: Removed.
62100         * FAQ.in: Likewise.
62101         * scripts/gen-FAQ.pl: Likewise.
62102         * manual/install.texi (Installation): Point to online location of
62103         FAQ.
62104         * Makefile (files-for-dist): Remove FAQ.
62105         (FAQ): Remove.
62107 2012-05-02  Allan McRae  <allan@archlinux.org>
62109         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
62110         (LDFLAGS-reldepmod5.so): Likewise.
62111         (LDFLAGS-reldep6mod1.so): Likewise.
62112         (LDFLAGS-reldep6mod4.so): Likewise.
62113         (LDFLAGS-reldep8mod3.so): Likewise.
62114         (LDFLAGS-unload4mod1.so): Likewise.
62115         (LDFLAGS-unload4mod2.so): Likewise.
62116         (LDFLAGS-tst-initorder): Likewise.
62117         (LDFLAGS-tst-initordera2.so): Likewise.
62118         (LDFLAGS-tst-initordera3.so): Likewise.
62119         (LDFLAGS-tst-initordera4.so): Likewise.
62120         (LDFLAGS-tst-initorderb2.so): Likewise.
62121         (LDFLAGS-noload): Likewise.
62122         (LDFLAGS-next): Likewise.
62123         (LDFLAGS-order2mod1.so): Likewise.
62124         (LDFLAGS-order2mod2.so): Likewise.
62125         (LDFLAGS-tst-initorder2): Likewise.
62126         (LDFLAGS-tst-initorder2a.so): Likewise.
62127         (LDFLAGS-tst-initorder2b.so): Likewise.
62128         (LDFLAGS-tst-initorder2c.so): Likewise.
62129         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
62131 2012-05-02  David S. Miller  <davem@davemloft.net>
62133         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62135 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
62137         [BZ #14055]
62138         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
62140 2012-05-02  Andreas Jaeger  <aj@suse.de>
62142         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
62143         since we manipulate rounding mode.
62144         (CPPFLAGS-test-idouble.c): Likewise.
62145         (CPPFLAGS-test-ifloat.c): Likewise.
62146         (CFLAGS-test-ldouble.c): Likewise.
62147         (CFLAGS-test-double.c): Likewise.
62148         (CFLAGS-test-float.c): Likewise.
62149         (CFLAGS-test-misc.c): Likewise.
62150         (CFLAGS-test-test-fenv.c): Likewise.
62152 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62154         [BZ #2550]
62155         [BZ #2570]
62156         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
62157         comparisons to determine direction to adjust input.
62159 2012-05-01  Roland McGrath  <roland@hack.frob.com>
62161         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
62162         output to the target.
62164         * scripts/localplt.awk: New file.
62165         * elf/Makefile ($(objpfx)check-localplt): Target removed.
62166         (check-localplt-CFLAGS): Variable removed.
62167         ($(all-built-dso:=.jmprel)): New static pattern rule.
62168         (generated): Add those targets.
62169         (localplt-built-dso): New variable.
62170         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
62172         * elf/check-localplt.c: File removed.
62174         * scripts/check-execstack.awk: New file.
62175         * elf/Makefile ($(objpfx)check-execstack): Target removed.
62176         (check-execstack-CFLAGS): Variable removed.
62177         ($(objpfx)check-execstack.h): Target removed.
62178         ($(objpfx)execstack-default): New target.
62179         (generated): Add that instead of check-execstack.h.
62180         ($(all-built-dso:=.phdr)): New static pattern rule.
62181         (generated): Add those targets.
62182         * elf/check-execstack.c: File removed.
62184         * scripts/check-textrel.awk: New file.
62185         * elf/Makefile ($(objpfx)check-textrel): Target removed.
62186         (check-textrel-CFLAGS): Variable removed.
62187         (all-built-dso): Use := to define.o
62188         ($(all-built-dso:=.dyn)): New static pattern rule.
62189         (generated): Add those targets.
62190         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
62191         * config.make.in (READELF): New substituted variable.
62192         * elf/check-textrel.c: File removed.
62194 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
62196         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62197         allow.
62198         * conform/data/ctype.h-data [C99-based standards] (isblank):
62199         Expect function.
62200         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
62201         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
62202         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62203         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
62204         Specify type.  Require positive value.
62205         (EILSEQ): Likewise.
62206         (ERANGE): Likewise.
62207         [ISO || POSIX] (EILSEQ): Do not expect.
62208         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
62209         Specify type.  Require positive value.
62210         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
62211         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
62212         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
62213         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
62214         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
62215         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
62216         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
62217         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
62218         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
62219         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
62220         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
62221         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
62222         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
62223         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
62224         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
62225         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
62226         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
62227         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
62228         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
62229         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
62230         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
62231         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
62232         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
62233         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
62234         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
62235         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
62236         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
62237         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
62238         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
62239         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
62240         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
62241         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
62242         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
62243         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
62244         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
62245         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
62246         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
62247         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
62248         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
62249         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
62250         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
62251         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
62252         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
62253         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
62254         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
62255         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
62256         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
62257         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
62258         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
62259         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
62260         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
62261         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
62262         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
62263         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
62264         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
62265         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
62266         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
62267         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
62268         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
62269         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
62270         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
62271         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
62272         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
62273         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
62274         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
62275         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
62276         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
62277         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
62278         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
62279         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
62280         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
62281         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
62282         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
62283         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
62284         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
62285         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
62286         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
62287         Require >= 2.
62288         (FLT_ROUNDS): Expect as macro, not constant.
62289         (FLT_MANT_DIG): Use macro-int-constant.
62290         (DBL_MANT_DIG): Likewise.
62291         (LDBL_MANT_DIG): Likewise.
62292         (FLT_DIG): Likewise.
62293         (DBL_DIG): Likewise.
62294         (LDBL_DIG): Likewise.
62295         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
62296         (DBL_MIN_EXP): Likewise.
62297         (LDBL_MIN_EXP): Likewise.
62298         (FLT_MAX_EXP): Use macro-int-constant.
62299         (DBL_MAX_EXP): Likewise.
62300         (LDBL_MAX_EXP): Likewise.
62301         (FLT_MAX_10_EXP): Likewise.
62302         (DBL_MAX_10_EXP): Likewise.
62303         (LDBL_MAX_10_EXP): Likewise.
62304         (FLT_MAX): Use macro-constant.
62305         (DBL_MAX): Likewise.
62306         (LDBL_MAX): Likewise.
62307         (FLT_EPSILON): Use macro-constant.  Give upper bound.
62308         (DBL_EPSILON): Likewise.
62309         (LDBL_EPSILON): Likewise.
62310         (FLT_MIN): Likewise.
62311         (DBL_MIN): Likewise.
62312         (LDBL_MIN): Likewise.
62313         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
62314         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
62315         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
62316         [ISO11] (FLT_HAS_SUBNORM): Likewise.
62317         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
62318         [ISO11] (DBL_DECIMAL_DIG): Likewise.
62319         [ISO11] (FLT_DECIMAL_DIG): Likewise.
62320         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
62321         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
62322         [ISO11] (FLT_TRUE_MIN): Likewise.
62323         [ISO11] (LDBL_TRUE_MIN): Likewise.
62324         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62325         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
62326         (SCHAR_MIN): Use macro-int-constant.  Specify type.
62327         (SCHAR_MAX): Likewise.
62328         (UCHAR_MAX): Likewise.
62329         (CHAR_MIN): Likewise.
62330         (CHAR_MAX): Likewise.
62331         (MB_LEN_MAX): Use macro-int-constant.
62332         (SHRT_MIN): Use macro-int-constant.  Specify type.
62333         (SHRT_MAX): Likewise.
62334         (USHRT_MAX): Likewise.
62335         (INT_MAX): Likewise.
62336         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
62337         bound negative.
62338         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
62339         bound with "U".
62340         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
62341         bound with "L".
62342         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
62343         bound negative.  Suffix upper bound with "L".
62344         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
62345         bound with "UL".
62346         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
62347         Specify type.
62348         [C99-based standards] (LLONG_MAX): Likewise.
62349         [C99-based standards] (ULLONG_MAX): Likewise.
62350         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
62351         == 0.
62352         [ISO11] (max_align_t): Require type.
62353         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62355         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
62356         from $CFLAGS, without defining away __attribute__ calls.
62357         (checknamespace): Use $CFLAGS_namespace.
62359         * conform/conformtest.pl (@keywords): Only include C99 keywords
62360         for standards based on C99 or C11.
62362         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
62363         Disable tests.
62364         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
62365         UNIX98]: Likewise.
62367         * conform/conformtest.pl: Handle "macro-int-constant" and test for
62368         usability of symbols in #if.
62370         * conform/conformtest.pl: If macro or constant types start
62371         "promoted:", expect the symbol to be of the following type
62372         promoted by the integer promotions.
62374         * conform/conformtest.pl: Parse all "constant" and "macro" lines
62375         in one place.  Also handle "macro-constant".
62377         * conform/conformtest.pl: Only accept expected macro values with
62378         "==".  Parse all "macro" lines in one place.
62379         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
62381         * conform/conformtest.pl: Handle braced types on "constant" lines
62382         instead of handling "typed-constant".
62383         * conform/data/signal.h-data: Use "constant" instead of
62384         "typed-constant".
62386         * conform/conformtest.pl: Handle "optional-" at start of lines in
62387         one place rather than duplicating several cases.  Handle each
62388         format of "macro" line with initial "optional-".
62390         * conform/conformtest.pl: Only accept expected constant or
62391         optional-constant values with "==".  Parse all "constant" lines in
62392         one place.  Parse all "optional-constant" lines in one place.
62393         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
62394         * conform/data/fmtmsg.h-data: Likewise.
62395         * conform/data/netinet/in.h-data: Likewise.
62396         * conform/data/tar.h-data: Likewise.
62397         * conform/data/limits.h-data: Use "==" form on "constant" and
62398         "optional-constant" lines.
62400         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
62401         Use -std=c99 for XOPEN2K.
62402         (@knownproblems): Remove.
62403         (newtoken): Don't check %isknown.
62405         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
62406         Do not expect macro.
62407         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
62408         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
62409         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
62410         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
62411         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
62412         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
62413         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
62414         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
62415         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
62416         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
62417         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
62418         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
62419         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
62420         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
62421         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
62422         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
62423         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
62424         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
62425         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
62426         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
62427         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
62428         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
62429         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
62430         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
62431         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
62432         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
62433         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
62434         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
62435         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
62436         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
62437         [XPG3] (acosh): Likewise.
62438         [XPG3] (asinh): Likewise.
62439         [XPG3] (atanh): Likewise.
62440         [XPG3] (cbrt): Likewise.
62441         [XPG3] (expm1): Likewise.
62442         [XPG3] (ilogb): Likewise.
62443         [XPG3] (log1p): Likewise.
62444         [XPG3] (logb): Likewise.
62445         [XPG3] (nextafter): Likewise.
62446         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
62447         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
62448         [XPG3] (remainder): Likewise.
62449         [XPG3] (rint): Likewise.
62450         [XPG3 || XPG4 || UNIX98] (round): Likewise.
62451         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
62452         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
62453         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
62454         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
62455         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
62456         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
62457         [UNIX98 || XOPEN2K] (scalb): Expect.
62458         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
62459         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
62460         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
62461         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
62462         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
62463         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
62464         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
62465         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
62466         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
62467         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
62468         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
62469         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
62470         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
62471         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
62472         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
62473         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
62474         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
62475         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
62476         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
62477         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
62478         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
62479         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
62480         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
62481         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
62482         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
62483         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
62484         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
62485         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
62486         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
62487         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
62488         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
62489         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
62490         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
62491         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
62492         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
62493         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
62494         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
62495         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
62496         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
62497         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
62498         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
62499         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
62500         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
62501         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
62502         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
62503         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
62504         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
62505         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
62506         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
62507         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
62508         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
62509         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
62510         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
62511         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
62512         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
62513         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
62514         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
62515         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
62516         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
62517         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
62518         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
62519         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
62520         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
62521         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
62522         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
62523         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
62524         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
62525         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
62526         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
62527         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
62528         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
62529         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
62530         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
62531         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
62532         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
62533         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
62534         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
62535         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
62536         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
62537         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
62538         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
62539         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
62540         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
62541         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
62542         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
62543         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
62544         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
62545         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
62546         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
62547         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
62548         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
62549         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
62550         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
62551         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
62552         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
62553         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
62554         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
62555         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
62556         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
62557         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
62558         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
62559         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
62560         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
62561         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
62562         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
62563         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
62564         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
62565         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
62566         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
62567         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
62568         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
62569         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
62570         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
62571         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
62572         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
62573         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
62574         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
62575         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
62576         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
62577         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
62578         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
62579         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
62580         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
62581         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
62582         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
62583         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
62584         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
62585         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
62586         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
62587         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
62588         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
62589         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
62590         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
62591         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
62592         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
62593         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
62594         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
62596         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
62597         _XOPEN_SOURCE_EXTENDED for XPG4.
62599         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
62601         * Makeconfig (localtime): Remove variable.
62602         (inst_localtime-file): Likewise.
62604 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
62606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
62607         Update.
62608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62609         Update.
62610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
62611         Update.
62612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
62613         Update.
62614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
62615         Update.
62616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
62617         Update.
62618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62619         Update.
62620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
62621         Update.
62622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
62623         Update.
62625 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
62627         [BZ #2550]
62628         [BZ #2570]
62629         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
62630         comparisons to determine direction to adjust input.
62631         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
62632         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
62633         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
62634         Likewise.
62635         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
62636         Likewise.
62637         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
62638         Likewise.
62639         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
62640         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
62641         Likewise.
62642         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
62643         Likewise.
62644         * math/libm-test.inc (nexttoward_test): Add more tests.
62646 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
62648         [BZ #14040]
62649         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
62650         in version GLIBC_2.1, not GLIBC_2.0.
62651         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
62652         Likewise.
62654 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
62656         [BZ #13942]
62657         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
62658         (1 - x) * (1 + x).
62659         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
62660         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
62661         * math/libm-test.inc (acos_test): Add more tests.
62662         (asin_test): Likewise.
62663         * sysdeps/i386/fpu/libm-test-ulps: Update.
62664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62666         [BZ #14034]
62667         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
62668         of square root.
62669         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
62670         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
62671         * math/libm-test.inc (acos_test_tonearest): New function.
62672         (acos_test_towardzero): Likewise.
62673         (acos_test_downward): Likewise.
62674         (acos_test_upward): Likewise.
62675         (asin_test_tonearest): Likewise.
62676         (asin_test_towardzero): Likewise.
62677         (asin_test_downward): Likewise.
62678         (asin_test_upward): Likewise.
62679         (main): Call the new functions.
62680         * sysdeps/i386/fpu/libm-test-ulps: Update.
62681         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62683         [BZ #13884]
62684         [BZ #13924]
62685         * math/e_exp10.c: Include <float.h>.
62686         (__ieee754_exp10): Handle underflow here rather than multiplying
62687         large negative argument by M_LN10.
62688         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
62689         of __ieee754_expf.
62690         * math/e_exp10l.c: Include <float.h>.
62691         (__ieee754_exp10l): Handle underflow here rather than multiplying
62692         large negative argument by M_LN10l.
62693         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
62694         spurious overflow exception on underflow.
62696 2012-04-29  Marek Polacek  <polacek@redhat.com>
62698         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
62699         (__fortify_function): New macro.
62700         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
62701         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
62702         __extern_always_inline.
62703         * libio/bits/stdio2.h: Likewise.
62704         * libio/bits/stdio.h: Likewise.
62705         * string/string.h: Likewise.
62706         * string/bits/string3.h: Likewise.
62707         * include/stdio.h: Likewise.
62708         * stdlib/bits/stdlib.h: Likewise.
62709         * stdlib/stdlib.h: Likewise.
62710         * rt/bits/mqueue2.h: Likewise.
62711         * rt/mqueue.h: Likewise.
62712         * posix/bits/unistd.h: Likewise.
62713         * posix/unistd.h: Likewise.
62714         * io/bits/poll2.h: Likewise.
62715         * io/bits/fcntl2.h: Likewise.
62716         * io/fcntl.h: Likewise.
62717         * io/sys/poll.h: Likewise.
62718         * misc/bits/syslog.h: Likewise.
62719         * misc/bits/syslog-ldbl.h: Likewise.
62720         * misc/sys/syslog.h: Likewise.
62721         * socket/bits/socket2.h: Likewise.
62722         * socket/sys/socket.h: Likewise.
62723         * debug/tst-chk1.c: Likewise.
62724         * wcsmbs/bits/wchar2.h: Likewise.
62725         * wcsmbs/bits/wchar-ldbl.h: Likewise.
62726         * wcsmbs/wchar.h: Likewise.
62728 2012-04-29  Andreas Jaeger  <aj@suse.de>
62730         * Makerules (tests): Remove enable-check-abi protection.
62731         (check-abi-warn): Remove.
62732         (check-abi-%): Remove check-abi-warn usage.
62734         * configure.in: Remove check-abi configure option.
62735         * configure: Regenerated.
62736         * config.make.in (enable-check-abi): Remove.
62738 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
62740         [BZ #14033]
62741         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
62742         double functions to double *_finite functions.
62744         [BZ #13941]
62745         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
62746         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
62747         LDBL_MIN_EXP.
62748         * stdio-common/Makefile (tests): Add tst-sprintf3.
62749         * stdio-common/tst-sprintf3.c: New file.
62751         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
62752         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
62754 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
62756         * conform/conformtest.pl: Remove duplicate typed-constant
62757         handling.
62759 2012-04-28  David S. Miller  <davem@davemloft.net>
62761         * Makerules (%.abilist): Add vpath on sysdep_dirs.
62762         (check-abi-%): Remove AWK script prerequisite and explicit
62763         abilist directory.
62764         (check-abi): Rewrite to just diff the symlist with the abilist.
62765         (config-tls, config-abi-config): Delete, no longer used.
62766         (update-abi-%): Remove AWK script and explicit abilist directory.
62767         (update-abi): Rewrite to simply compare and conditionally copy the
62768         symlist and the sysdep abilist file.  Remove update-abi-config
62769         checks.
62770         * abilist/ld.abilist: Remove.
62771         * abilist/libBrokenLocale.abilist: Remove.
62772         * abilist/libanl.abilist: Remove.
62773         * abilist/libcrypt.abilist: Remove.
62774         * abilist/libdl.abilist: Remove.
62775         * abilist/librt.abilist: Remove.
62776         * abilist/libthread_db.abilist: Remove.
62777         * abilist/libutil.abilist: Remove.
62778         * scripts/extract-abilist.awk: Remove.
62779         * scripts/merge-abilist.awk: Remove.
62780         * sysdeps/generic/libcidn.abilist: New file.
62781         * sysdeps/generic/libnss_compat.abilist: New file.
62782         * sysdeps/generic/libnss_db.abilist: New file.
62783         * sysdeps/generic/libnss_dns.abilist: New file.
62784         * sysdeps/generic/libnss_files.abilist: New file.
62785         * sysdeps/generic/libnss_hesiod.abilist: New file.
62786         * sysdeps/generic/libnss_nis.abilist: New file.
62787         * sysdeps/generic/libnss_nisplus.abilist: New file.
62788         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
62789         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
62790         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
62791         file.
62792         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
62793         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
62794         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
62795         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
62796         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
62797         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
62798         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
62799         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
62800         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
62801         file.
62802         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
62803         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
62804         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
62805         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
62806         file.
62807         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
62808         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
62809         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
62810         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
62811         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
62812         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
62813         file.
62814         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
62815         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
62816         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
62817         file.
62818         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
62819         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
62820         New file.
62821         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
62822         New file.
62823         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
62824         New file.
62825         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
62826         New file.
62827         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
62828         New file.
62829         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
62830         New file.
62831         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
62832         New file.
62833         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
62834         New file.
62835         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
62836         New file.
62837         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
62838         New file.
62839         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
62840         New file.
62841         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
62842         New file.
62843         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
62844         New file.
62845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
62846         file.
62847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
62848         New file.
62849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
62850         New file.
62851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
62852         file.
62853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
62854         New file.
62855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
62856         New file.
62857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
62858         file.
62859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
62860         New file.
62861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
62862         New file.
62863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
62864         New file.
62865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
62866         New file.
62867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
62868         New file.
62869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
62870         New file.
62871         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
62872         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
62873         file.
62874         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
62875         New file.
62876         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
62877         file.
62878         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
62879         file.
62880         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
62881         file.
62882         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
62883         file.
62884         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
62885         file.
62886         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
62887         New file.
62888         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
62889         file.
62890         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
62891         file.
62892         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
62893         New file.
62894         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
62895         file.
62896         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
62897         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
62898         file.
62899         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
62900         New file.
62901         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
62902         file.
62903         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
62904         file.
62905         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
62906         file.
62907         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
62908         file.
62909         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
62910         file.
62911         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
62912         New file.
62913         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
62914         file.
62915         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
62916         file.
62917         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
62918         New file.
62919         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
62920         file.
62921         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
62922         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
62923         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
62924         file.
62925         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
62926         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
62927         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
62928         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
62929         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
62930         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
62931         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
62932         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
62933         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
62934         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
62935         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
62936         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
62937         file.
62938         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
62939         New file.
62940         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
62941         file.
62942         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
62943         file.
62944         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
62945         file.
62946         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
62947         file.
62948         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
62949         file.
62950         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
62951         New file.
62952         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
62953         New file.
62954         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
62955         file.
62956         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
62957         New file.
62958         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
62959         file.
62960         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
62961         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
62962         file.
62963         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
62964         New file.
62965         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
62966         file.
62967         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
62968         file.
62969         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
62970         file.
62971         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
62972         file.
62973         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
62974         file.
62975         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
62976         New file.
62977         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
62978         New file.
62979         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
62980         file.
62981         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
62982         New file.
62983         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
62984         file.
62986 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
62988         * conform/conformtest.pl: Fix typo in handling typed-constant from
62989         allow-header.
62991 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
62993         * README: Cut down references to pre-2.6 Linux kernels and
62994         Linuxthreads.  Update lists of configurations in libc and ports
62995         and sort alphabetically.  Say "or newer" with Linux kernel version
62996         requirements.
62998         * config.h.in [IS_IN_build]: Allow compiling without optimization.
63000 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63002         [BZ #887]
63003         * math/libm-test.inc (logb_test_downward): New test to expose
63004         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
63005         rounding mode.
63007 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
63009         [BZ #14027]
63010         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
63011         to be done.
63012         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
63013         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
63015 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
63017         * sysdeps/unix/i386/brk.S: Remove file.
63018         * sysdeps/unix/i386/dl-brk.S: Likewise.
63019         * sysdeps/unix/i386/pipe.S: Likewise.
63020         * sysdeps/unix/i386/sigreturn.S: Likewise.
63021         * sysdeps/unix/i386/syscall.S: Likewise.
63022         * sysdeps/unix/i386/vfork.S: Likewise.
63023         * sysdeps/unix/i386/wait.S: Likewise.
63025         * sysdeps/unix/common/tcsendbrk.c: Move to ...
63026         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
63028         * configure.in (arm*-none*): Do not allow without
63029         --enable-hacker-mode.
63030         (netbsd*): Remove case setting base_os.
63031         (386bsd*): Likewise.
63032         (freebsd*): Likewise.
63033         (bsdi*): Likewise.
63034         (osf*): Likewise.
63035         (sunos*): Likewise.
63036         (ultrix*): Likewise.
63037         (newsos*): Likewise.
63038         (dynix*): Likewise.
63039         (*bsd*): Likewise.
63040         (sysv*): Likewise.
63041         (isc*): Likewise.
63042         (esix*): Likewise.
63043         (sco*): Likewise.
63044         (minix*): Likewise.
63045         (irix4*): Likewise.
63046         (irix6*): Likewise.
63047         (solaris[2-9]*): Likewise.
63048         (none): Likewise.
63049         * configure: Regenerated.
63051 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63053         [BZ #11521]
63054         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
63055         overflow or cancellation in calculating denominator.
63056         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
63057         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
63058         down expression to avoid unexpected rounding in newer GCCs.
63059         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
63061 2012-04-26  David S. Miller  <davem@davemloft.net>
63063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
63064         long-double compat symbols.
63065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
63066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
63067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
63068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
63069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
63070         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
63071         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
63072         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
63073         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
63074         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
63075         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
63076         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
63077         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
63079 2012-04-25  David S. Miller  <davem@davemloft.net>
63081         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
63082         HWCAP_* values only after the memory barriers have been defined.
63083         (atomic_full_barrier): Define.
63084         (atomic_read_barrier): Define.
63085         (atomic_write_barrier): Define.
63087 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63089         * shlib-versions: Add libgcc_s version information.
63090         * sysdeps/generic/libgcc_s.h: Remove.
63091         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
63092         libgcc_s.h.
63093         * sysdeps/gnu/unwind-resume.c: Likewise.
63094         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
63096 2012-04-25  David S. Miller  <davem@davemloft.net>
63098         * sysdeps/unix/sparc/brk.S: Delete.
63099         * sysdeps/unix/sparc/dl-brk.S: Delete.
63100         * sysdeps/unix/sparc/pipe.S: Delete.
63101         * sysdeps/unix/sparc/sysdep.S: Delete.
63102         * sysdeps/unix/sparc/sysdep.h: Delete.
63103         * sysdeps/unix/sparc/vfork.S: Delete.
63104         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
63105         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
63106         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
63107         (ret_ERRVAL, r0, r1, MOVE): Define.
63108         (JUMPTARGET): Remove.
63109         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
63110         sysdeps/unix/sparc/sysdep.h
63111         (ENTRY, END): Remove.
63112         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63114 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
63116         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
63117         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
63118         -DIS_IN_build.
63120         * timezone/README: Update upstream location and email address for
63121         tzcode and tzdata.
63122         * timezone/zdump.c: Update from tzcode 2012b.
63123         * timezone/zic.c: Likewise.
63125         * configure.in (libc_cv_as_needed): Remove test.
63126         * configure: Regenerated.
63127         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
63128         conditional definition.
63129         [$(have-as-needed) != yes] (no-as-needed): Likewise.
63130         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
63131         * config.make.in (have-as-needed): Remove variable.
63133 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63134             Paul Pluzhnikov  <ppluzhnikov@google.com>
63136         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
63137         strings correctly.
63139 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
63141         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
63142         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
63143         * sysdeps/sh/strlen.S: Likewise.
63145 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63147         * sysdeps/unix/fork.S: Remove file.
63148         * sysdeps/unix/i386/fork.S: Likewise.
63149         * sysdeps/unix/sparc/fork.S: Likewise.
63151         * sysdeps/unix/system.c: Remove file.
63152         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
63154         * sysdeps/unix/getegid.S: Remove file.
63155         * sysdeps/unix/geteuid.S: Likewise.
63157 2012-04-24  Roland McGrath  <roland@hack.frob.com>
63159         * scripts/check-localplt.awk: New file.
63160         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
63161         of diff.
63162         * scripts/data/localplt-generic.data: Add a comment.
63164         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
63165         NODE when __dir_mkfile failed.
63166         * sysdeps/mach/hurd/symlinkat.c: Likewise.
63167         Reported by Ludovic Courtès <ludo@gnu.org>.
63169 2012-04-24  Andreas Jaeger  <aj@suse.de>
63171         * Makerules (common-clean): Also remove gen-as-const-headers
63172         files.
63174 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63176         * Makerules (native-compile): Do not change working directory for
63177         build.  Use $(OUTPUT_OPTION) in command.
63178         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
63180 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63182         [BZ #13886]
63183         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
63184         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
63185         * math/libm-test.inc (floor_test): Add more tests.
63186         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
63188 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63190         * sysdeps/unix/getdents.c: Remove file.
63191         * sysdeps/unix/sysv/getdents.c: Likewise.
63192         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
63194         * sysdeps/unix/syscalls.list (madvise): Add syscall from
63195         sysdeps/unix/mman/syscalls.list.
63196         (mmap): Likewise.
63197         (mprotect): Likewise.
63198         (msync): Likewise.
63199         (munmap): Likewise.
63200         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
63201         * sysdeps/unix/mman/syscalls.list: Remove.
63202         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
63204         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
63205         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
63206         * configure: Regenerated.
63207         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
63208         $(libgcc_s_suffix).
63209         * config.make.in (libgcc_s_suffix): Remove variable.
63211 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
63213         * sysdeps/unix/sysv/gethostname.c: Move to ...
63214         * sysdeps/posix/gethostname.c: ... here.
63216         * sysdeps/unix/execve.S: Remove file.
63218         * sysdeps/unix/_exit.S: Remove file.
63220 2012-04-23  Andreas Jaeger  <aj@suse.de>
63222         [BZ #13739]
63223         * manual/Makefile: Remove make dist support, there's no
63224         need for a stand-alone documentation tar ball.
63225         (TEXI2DVI): Define always, it's not in Makeconfig.
63226         (dist): Removed.
63227         (tar-it): Removed.
63228         (edition): Removed.
63229         (glibc-doc-$(edition).tar): Removed
63230         (%.Z): Removed.
63231         (%.gz): Removed.
63232         (%.uu): Removed.
63233         (ETAGS): Remove, it's in Makeconfig.
63234         (move-if-change): Remove, it's in Makeconfig.
63236 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
63238         [BZ #13970]
63239         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
63240         (strtod, strtof, strtold, strtol, strtoul, strtoq)
63241         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
63242         (strtod_l, strtof_l, strtold_l): Remove __wur.
63243         It is not necessarily an error to ignore strtol's return value.
63244         One can reliably look at the stored endptr to decide whether
63245         the number had valid syntax.
63247 2012-04-21  Andreas Jaeger  <aj@suse.de>
63249         [BZ #13739]
63250         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
63252 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
63254         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
63255         * sysdeps/unix/sysv/Versions: Remove file.
63257 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
63259         [BZ #13927]
63260         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63262 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
63264         [BZ #7064]
63265         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
63266         version from __vm86.
63268 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
63270         * sysdeps/unix/common/lxstat.c: Remove file.
63271         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
63273         * sysdeps/unix/sysv/Makefile: Remove file.
63275         * sysdeps/unix/sysv/direct.h: Remove file.
63277         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
63278         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
63279         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
63280         * sysdeps/unix/sysv/bits/signum.h: Likewise.
63281         * sysdeps/unix/sysv/bits/stat.h: Likewise.
63282         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
63283         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
63285         * sysdeps/unix/sysv/setrlimit.c: Remove file.
63287         * sysdeps/unix/xmknod.c: Remove file.
63288         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
63290         * sysdeps/unix/sysv/settimeofday.c: Remove file.
63292         * sysdeps/unix/sysv/i386/time.S: Remove file.
63294         * sysdeps/unix/fxstat.c: Remove file.
63295         * sysdeps/unix/xstat.c: Likewise.
63296         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
63298         * sysdeps/unix/sysv/sigaction.c: Remove file.
63300         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
63301         (sysdep_headers): Remove variable.
63302         [termio.h not in sysdep_headers] (generated): Likewise.
63303         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
63304         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
63305         * sysdeps/unix/sysv/tcdrain.c: Likewise.
63306         * sysdeps/unix/sysv/tcflow.c: Likewise.
63307         * sysdeps/unix/sysv/tcflush.c: Likewise.
63308         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
63309         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
63310         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
63311         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
63312         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
63314         * sysdeps/unix/siglist.c: Remove file.
63316         * sysdeps/unix/getppid.S: Remove file.
63318         * sysdeps/unix/mkdir.c: Remove file.
63319         * sysdeps/unix/rmdir.c: Likewise.
63321 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
63323         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
63324         ERR_MAX value.
63325         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
63326         errlist-compat value.
63328 2012-04-18  David S. Miller  <davem@davemloft.net>
63330         * sysdeps/generic/memcopy.h (reg_char): Delete.
63331         * debug/strcat_chk.c: Use char, not reg_char.
63332         * debug/strcpy_chk.c: Likewise.
63333         * debug/strncat_chk.c: Likewise.
63334         * debug/strncpy_chk.c: Likewise.
63335         * string/memchr.c: Likewise.
63336         * string/memrchr.c: Likewise.
63337         * string/rawmemchr.c: Likewise.
63338         * string/strcat.c: Likewise.
63339         * string/strchr.c: Likewise.
63340         * string/strchrnul.c: Likewise.
63341         * string/strcmp.c: Likewise.
63342         * string/strcpy.c: Likewise.
63343         * string/strncat.c: Likewise.
63344         * string/strncmp.c: Likewise.
63345         * string/strncpy.c: Likewise.
63347 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
63349         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
63350         __builtin_memcopy is called when src and dest ranges are known to not
63351         overlap.
63353 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
63355         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
63356         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
63357         fwd_align_merge macro call.
63358         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
63359         bwd_align_merge macro call.
63360         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
63362 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
63364         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
63365         bwd_align_merge macros.
63366         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
63367         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
63368         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
63370 2012-04-18  David S. Miller  <davem@davemloft.net>
63372         * sysdeps/sparc/sparc64/memcopy.h: Delete.
63374 2012-04-18  Andreas Jaeger  <aj@suse.de>
63376         [BZ# 6794]
63377         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
63378         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
63379         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
63381         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
63382         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
63383         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
63385         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
63386         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
63387         Adjust for changed ldbl-128 files.
63389         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
63390         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
63391         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
63393 2012-04-17  David S. Miller  <davem@davemloft.net>
63395         * sysdeps/sparc/sparc32/memcopy.h: Delete.
63397 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
63399         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
63400         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
63401         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
63402         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
63403         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
63404         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
63406 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63408         [BZ #6794]
63409         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
63410         * math/libm-test.inc: Add ilogb errno and exception tests.
63411         * math/w_ilogb.c: New file: ilogb wrapper.
63412         * math/w_ilogbf.c: New file: ilogbf wrapper.
63413         * math/w_ilogbl.c: New file: ilogbl wrapper.
63414         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
63415         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
63416         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
63417         exception being thrown with 0.0 as argument.
63418         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
63419         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
63420         exception being thrown with 0.0 as argument.
63421         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
63422         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
63423         exception being thrown with 0.0 as argument.
63424         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
63425         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
63426         exception being thrown with 0.0 as argument.
63427         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
63428         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
63429         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
63430         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
63431         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
63432         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
63433         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
63434         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
63435         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
63437 2012-04-17  Petr Baudis  <pasky@ucw.cz>
63439         * include/sys/uio.h: Change __vector to __iovec to avoid clash
63440         with altivec.
63442 2012-04-16  Marek Polacek  <polacek@redhat.com>
63444         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
63446 2012-04-16  Marek Polacek  <polacek@redhat.com>
63448         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
63449         operands of fdivp instruction.
63451 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
63453         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
63454         * elf/tst-auditmod3b.c: Likewise.
63455         * elf/tst-auditmod4b.c: Likewise.
63456         * elf/tst-auditmod5b.c: Likewise.
63457         * elf/tst-auditmod6b.c: Likewise.
63458         * elf/tst-auditmod6c.c: Likewise.
63459         * elf/tst-auditmod7b.c: Likewise.
63460         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
63461         * sysdeps/x86_64/preconfigure.in: Likewise.
63462         * sysdeps/x86_64/preconfigure: Regenerated.
63464 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
63466         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
63467         __ILP32__.
63469 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
63471         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
63472         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
63474 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
63476         [BZ #13973]
63477         * locale/iso-639.def: Fix gl language name. Spotted by
63478         Yaron Shahrabani.
63480 2012-04-12  Roland McGrath  <roland@hack.frob.com>
63482         [BZ #2074]
63483         * libio/libio.h (__io_write_fn): Update comment.
63485 2012-04-12  Petr Baudis  <pasky@ucw.cz>
63487         [BZ #2074]
63488         * stdio.texi (Hook Functions): The user provided writer function
63489         is not allowed to return -1.
63491 2012-04-11  David S. Miller  <davem@davemloft.net>
63493         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63495 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
63497         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
63498         Add a leading slash to rtkaio.
63500 2012-04-11  Jim Meyering  <meyering@redhat.com>
63502         [BZ #11959]
63503         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
63504         It is not necessarily an error to ignore fwrite's return
63505         value.  One can reliably use ferror to test for errors after
63506         the fact.
63508 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
63510         * bits/types.h (__snseconds_t): New type.
63511         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
63513         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
63514         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63515         (__SNSECONDS_T_TYPE): Likewise.
63516         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63517         (__SNSECONDS_T_TYPE): Likewise.
63518         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63519         (__SNSECONDS_T_TYPE): Likewise.
63521 2012-04-10  Andreas Jaeger  <aj@suse.de>
63523         [BZ #2636]
63524         * manual/time.texi (Processor Time): Return type of times is
63525         elapsed real time since an arbitrary point in the past.
63526         (CPU Time): Move CLK_TCK from here...
63527         (Processor Time): ...to here.  Correct description.
63528         * manual/conf.texi (Constants for Sysconf): Correct description of
63529         _SC_CLK_TCK.
63531 2012-04-10  David S. Miller  <davem@davemloft.net>
63533         [BZ #13967]
63534         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
63535         where the is a gap between DT_REL(A) and DT_JMPREL.
63537 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
63539         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
63540         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
63541         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
63543 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63545         * elf/dl-support.c (_dl_inhibit_cache): New variable.
63546         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
63547         (dl_main): Handle --inhibit-cache.
63548         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
63549         _dl_inhibit_cache.
63550         * elf/dl-load.c (_dl_map_object): Use it.
63551         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
63553 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
63555         [BZ #13872]
63556         * sysdeps/i386/fpu/e_powl.S (p78): New object.
63557         (__ieee754_powl): Saturate large exponents rather than testing for
63558         overflow of y*log2(x).
63559         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63560         * math/libm-test.inc (pow_test): Do not permit spurious overflow
63561         exceptions.
63563         [BZ #11521]
63564         * math/s_ctan.c: Include <float.h>.
63565         (__ctan): Avoid internal overflow or cancellation in calculating
63566         denominator.
63567         * math/s_ctanf.c: Likewise.
63568         * math/s_ctanl.c: Likewise.
63569         * math/s_ctanh.c: Likewise.
63570         * math/s_ctanhf.c: Likewise.
63571         * math/s_ctanhl.c: Likewise.
63572         * math/libm-test.inc (ctan_test): Add more tests.
63573         (ctanh_test): Likewise.
63574         * sysdeps/i386/fpu/libm-test-ulps: Update.
63575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63577 2012-04-09  Andreas Jaeger  <aj@suse.de>
63579         [BZ #6894]
63580         * manual/filesys.texi (Directory Entries): Mention that d_namlen
63581         is an optional BSD extension.
63583         [BZ #10254]
63584         * manual/stdio.texi (Opening Streams): Document additional fopen
63585         parameters.
63587 2012-04-09  Roland McGrath  <roland@hack.frob.com>
63589         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
63590         %eax without telling the compiler.
63592 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
63594         [BZ # 13963]
63595         * manual/install.texi: Use sourceware.org.
63597 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
63599         [BZ #13873]
63600         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
63601         (__ieee754_pow): Generate overflow and underflow using huge*huge
63602         and tiny*tiny rather than just returning constant infinity or zero
63603         for large exponents.
63604         * math/libm-test.inc (pow_test): Require overflow exceptions for
63605         applicable cases of large exponents.
63607         [BZ #706]
63608         * sysdeps/i386/fpu/e_pow.S (p10): New object.
63609         (__ieee754_pow): Use iterative multiplication algorithm only for
63610         integer exponents with absolute value below 1024.  Check for odd
63611         integer exponents when using algorithm for real exponents.
63612         * math/libm-test.inc (pow_test): Add more tests.
63613         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63615 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
63617         [BZ #13705]
63618         * math/libm-test.inc (exp_test): Do not allow overflow exception
63619         on underflow test.
63621 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
63623         [BZ #13705]
63624         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
63625         instead of __kernel_standard_f.
63627 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
63629         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
63630         * sysdeps/x86_64/memset_chk.S: Likewise.
63632 2012-04-08  Andreas Jaeger  <aj@suse.de>
63634         [BZ #10153]
63635         * manual/startup.texi (Environment Access): Describe return value
63636         for putenv and setenv.
63638         [BZ #6895]
63639         * manual/filesys.texi (Directory Entries): Add description for
63640         DT_LNK.
63642         [BZ #6890]
63643         * manual/filesys.texi (Directory Entries): Clarify that it's file
63644         system not operating system in the description of DT_UNKNOWN.
63646         [BZ #6578]
63647         * manual/syslog.texi (closelog): Fix reference, it's openlog.
63649 2012-04-08  Stephen Compall  <s11@member.fsf.org>
63651         [BZ #6649]
63652         * manual/llio.texi (Opening and Closing Files): Add cross
63653         reference to explain mode argument.
63655 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
63657         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
63658         * sysdeps/x86_64/memset_chk.S: Likewise.
63660 2012-04-07  David S. Miller  <davem@davemloft.net>
63662         * elf/elf.h (R_SPARC_WDISP10): Define.
63663         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
63664         R_SPARC_SIZE32.
63665         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
63666         R_SPARC_SIZE64 and R_SPARC_H34.
63668 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
63670         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
63671         conditions and remove no longer applicable assertion.
63673 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
63675         * bits/byteswap.h: Include <features.h>.
63676         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
63677         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
63679 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
63681         * bits/byteswap.h (__bswap_16): Removed.
63682         Include <bits/byteswap-16.h> to get __bswap_16.
63683         * sysdeps/i386/bits/byteswap.h: Likewise.
63684         * sysdeps/s390/bits/byteswap.h: Likewise.
63685         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63686         * bits/byteswap-16.h: New file.
63687         * sysdeps/i386/bits/byteswap-16.h: Likewise.
63688         * sysdeps/s390/bits/byteswap-16.h: Likewise.
63689         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
63690         * string/Makefile (headers): Add bits/byteswap-16.h.
63692 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
63694         [BZ #13895]
63695         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
63696         extra indirection.
63697         * nss/Makefile (tests-static, tests): Add tst-nss-static.
63698         * nss/tst-nss-static.c: New.
63700 2012-04-06  Robert Millan  <rmh@gnu.org>
63702         [BZ #6486]
63703         * manual/llio.texi (File Position Primitive): lseek
63704         refers to WHENCE when it really means OFFSET.
63706 2012-04-06  Andreas Jaeger  <aj@suse.de>
63708         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
63709         strncmp declarations.
63711         * abilist/libc.abilist: Add __poll and __ppoll.
63713 2012-04-05  David S. Miller  <davem@davemloft.net>
63715         * scripts/check-local-headers.sh: Accept a host triplet in the
63716         path matched by the exclude regexp.
63718         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
63719         definition.
63720         * sysdeps/powerpc/powerpc32/dl-machine.h
63721         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
63722         * sysdeps/s390/s390-32/dl-machine.h
63723         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
63724         * sysdeps/sparc/sparc32/dl-machine.h
63725         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
63726         * sysdeps/sparc/sparc64/dl-machine.h
63727         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
63729         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
63730         lazy binding.
63731         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
63732         undefined symbol errors.
63734         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
63735         DT_NEEDED entries.
63737 2012-04-05  Michael Matz  <matz@suse.de>
63739         [BZ #13592]
63740         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
63742 2012-04-05  Andreas Jaeger  <aj@suse.de>
63744         [BZ #13908]
63745         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
63746         comment.
63748 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63750         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
63751         which ROUND is no valid rounding mode.
63753 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63755         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
63756         read again.
63757         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
63759 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63761         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
63762         an exception using FPU order intentionally.
63764 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63766         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
63767         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
63768         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
63769         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
63771 2012-04-05  Simon Josefsson  <simon@josefsson.org>
63773         [BZ #12340]
63774         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
63775         EINVAL when BUFLEN is too smal.
63777 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
63779         [BZ #13553]
63780         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
63781         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
63783 2012-04-03  Andreas Jaeger  <aj@suse.de>
63785         [BZ #13938]
63786         * manual/setjmp.texi (System V contexts): Fix sentence.
63788         [BZ #13926]
63789         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
63790         New macro for this case.
63791         [!__GNUC__] (__bswap_64): New inline function for this case.
63792         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63793         * bits/byteswap.h: Likewise.
63794         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
63795         ull, guard with __GLIBC_HAVE_LONG_LONG.
63797         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
63798         __GLIBC_HAVE_LONG_LONG.
63800         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
63801         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
63803 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
63805         [BZ #13691]
63806         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
63807         inptr and inend, rather than using last_ch.
63809 2012-04-02  David S. Miller  <davem@davemloft.net>
63811         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
63812         * stdio-common/printf-parse.h (read_int): Change return type to
63813         'int', return -1 on INT_MAX overflow.
63814         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
63815         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
63816         overflows INT_MAX.  Check for overflow of in-format-string precision
63817         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
63818         SIZE_MAX not INT_MAX for integer overflow test.
63819         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
63820         skip the construct in the format string but do not record anything.
63821         * stdio-common/bug22.c: Adjust to test both width/prevision
63822         INT_MAX overflow as well as total length INT_MAX overflow.  Check
63823         explicitly for proper errno values.
63825 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
63827         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
63828         CHAR_MAX.
63829         * string/test-strcmp.c [! WIDE]: Likewise.
63830         * time/tst-mktime2.c: Likewise for INT_MAX.
63831         * string/test-string.h: #include <sys/param.h> for MIN.
63833         * csu/init-first.c (__libc_init_first): Call __ctype_init.
63834         * sysdeps/i386/init-first.c (init): Likewise.
63835         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
63836         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
63837         * sysdeps/sh/init-first.c (init): Likewise.
63839 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
63841         * po/ru.po: Update from translation team.
63842         * po/vi.po: Likewise.
63844 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
63846         * resolv/nss_dns/dns-host.c: Merge copyright years.
63848 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63850         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
63851         Optimize memcpy with prefetch if
63852         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
63853         src, dst pointers have unequal 16 byte alignments.
63855 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
63857         [BZ #13928]
63858         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
63859         from a CNAME entry and return the minimum ttl for the query.
63860         (gaih_getanswer_slice): Likewise.
63862 2012-03-30  Jeff Law  <law@redhat.com>
63864         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
63865         due to long keys.
63866         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
63867         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
63869         * resolv/nss_dns/dns-host.c: Update copyright year.
63871 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
63873         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
63874         requests to save a system call.  Fix check that all bytes are sent.
63876         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
63877         comments for sendmmsg.
63879 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63881         [BZ #13691]
63882         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
63883         with only 1 character between 0x0041 and 0x01b0.
63884         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
63885         * wcsmbs/tst-mbsnrtowcs.c: New file.
63887 2012-03-29  David S. Miller  <davem@davemloft.net>
63889         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
63890         small copies by hand.
63892 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63894         [BZ #13761]
63895         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
63896         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
63897         group memberships.
63899 2012-03-28  David S. Miller  <davem@davemloft.net>
63901         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
63902         that branches into memcpy.
63903         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
63904         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
63905         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
63906         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
63907         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
63908         bits.
63909         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
63910         implementation too.
63911         * sysdeps/sparc/mempcpy.S: New file.
63913         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
63914         the IFUNC routine in the libc case.
63915         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
63917         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
63918         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
63919         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
63920         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
63921         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
63922         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
63923         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
63924         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
63926         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
63927         loop to 256 bytes instead of 64 bytes and fix test signedness.
63929         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
63930         * sysdeps/sparc/sparc32/Makefile: rather than here...
63931         * sysdeps/sparc/sparc64/Makefile: and here.
63933 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
63935         * malloc/mallocbug.c: Avoid warnings about unused variables.
63937 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
63939         [BZ #13760]
63940         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
63941         in the right place. Discard and retry query if response is
63942         larger than input buffer size.
63944 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
63946         [BZ #369]
63947         [BZ #2678]
63948         [BZ #3866]
63949         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
63950         x for large integer exponent.
63951         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
63952         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
63953         sign of result as needed afterwards.
63954         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
63955         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
63956         result for underflowing pow the same as for overflow.
63957         (__kernel_standard_l): Handle powl overflow and underflow here
63958         rather than calling __kernel_standard.
63959         * math/libm-test.inc (pow_test): Add more tests.
63961         [BZ #3868]
63962         [BZ #13879]
63963         [BZ #13910]
63964         [BZ #13911]
63965         [BZ #13912]
63966         [BZ #13913]
63967         [BZ #13915]
63968         [BZ #13916]
63969         [BZ #13917]
63970         [BZ #13918]
63971         [BZ #13919]
63972         [BZ #13920]
63973         [BZ #13921]
63974         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
63975         * sysdeps/ieee754/k_standard.c: Include <float.h>.
63976         (__kernel_standard_l): New function.
63977         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
63978         __kernel_standard.
63979         * math/w_acosl.c (__acosl): Likewise.
63980         * math/w_asinl.c (__asinl): Likewise.
63981         * math/w_atan2l.c (__atan2l): Likewise.
63982         * math/w_atanhl.c (__atanhl): Likewise.
63983         * math/w_coshl.c (__coshl): Likewise.
63984         * math/w_exp10l.c (__exp10l): Likewise.
63985         * math/w_exp2l.c (__exp2l): Likewise.
63986         * math/w_fmodl.c (__fmodl): Likewise.
63987         * math/w_hypotl.c (__hypotl): Likewise.
63988         * math/w_j0l.c (__j0l, __y0l): Likewise.
63989         * math/w_j1l.c (__j1l, __y1l): Likewise.
63990         * math/w_jnl.c (__jnl, __ynl): Likewise.
63991         * math/w_lgammal.c (__lgammal): Likewise.
63992         * math/w_log10l.c (__log10l): Likewise.
63993         * math/w_log2l.c (__log2l): Likewise.
63994         * math/w_logl.c (__logl): Likewise.
63995         * math/w_powl.c (__powl): Likewise.
63996         * math/w_remainderl.c (__remainderl): Likewise.
63997         * math/w_scalbl.c (sysv_scalbl): Likewise.
63998         * math/w_sinhl.c (__sinhl): Likewise.
63999         * math/w_sqrtl.c (__sqrtl): Likewise.
64000         * math/w_tgammal.c (__tgammal): Likewise.
64001         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
64002         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
64003         * math/libm-test.inc (acos_test): Add more tests.
64004         (acosh_test): Likewise.
64005         (asin_test): Likewise.
64006         (atanh_test): Likewise.
64007         (exp_test): Likewise.
64008         (exp10_test): Likewise.
64009         (exp2_test): Likewise.
64010         (expm1_test): Likewise.
64011         (lgamma_test): Likewise.
64012         (log_test): Likewise.
64013         (log10_test): Likewise.
64014         (log1p_test): Likewise.
64015         (log2_test): Likewise.
64016         (pow_test): Do not allow some spurious overflow exceptions.
64017         (sqrt_test): Add more tests.
64018         (tgamma_test): Likewise.
64019         (y0_test): Likewise.
64020         (y1_test): Likewise.
64021         (yn_test): Likewise.
64023 2012-03-27  Anton Blanchard  <anton@samba.org>
64025         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
64026         MAP_HUGETLB.
64027         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
64028         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
64029         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
64031 2012-03-27  David S. Miller  <davem@davemloft.net>
64033         * conform/Makefile: Run run-conformtest.sh using $(BASH).
64035         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
64036         have-as-vis3 check.
64038 2012-03-27  Andreas Jaeger  <aj@suse.de>
64040         * sysdeps/x86_64/elf/configure.in: Moved to ...
64041         * sysdeps/x86_64/configure.in: ... here.
64042         * sysdeps/x86_64/elf/start.S: Moved to ...
64043         * sysdeps/x86_64/start.S: ... here.
64044         * sysdeps/x86_64/elf/configure: Delete.
64046         * sysdeps/x86_64/configure.in: Merge contents from
64047         sysdeps/i386/configure.in (without i686 check).
64049         * sysdeps/i386/elf/Versions: Merge into ...
64050         * sysdeps/i386/Versions: ... this.
64051         * sysdeps/i386/elf/Versions: Delete file.
64052         * sysdeps/i386/elf/start.S: Moved to ...
64053         * sysdeps/i386/start.S: ...here.
64054         * sysdeps/i386/elf/configure.in: Merge into...
64055         * sysdeps/i386/configure.in: ...here.
64056         * sysdeps/i386/elf/configure.in: Delete file.
64057         * sysdeps/i386/elf/configure: Delete file.
64059         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
64060         * debug/backtracesyms.c: ... here.
64061         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
64062         * debug/backtracesymsfd.c: ... here.
64063         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
64064         * sysdeps/generic/ifunc-sel.h: ... here.
64066         * sysdeps/unix/i386/start.c: Delete file.
64067         * sysdeps/unix/sparc/start.c: Delete file.
64068         * sysdeps/unix/start.c: Delete file.
64070         * sysdeps/sh/elf/configure.in: Moved to ...
64071         * sysdeps/sh/configure.in: ... here.
64072         * sysdeps/sh/elf/start.S: Moved to ...
64073         * sysdeps/sh/start.S: ... here.
64074         * sysdeps/sh/elf/configure: Delete file.
64076         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
64077         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
64078         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
64079         * sysdeps/powerpc/powerpc64/entry.h: ... here.
64080         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
64081         * sysdeps/powerpc/powerpc64/start.S: here.
64082         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
64083         * sysdeps/powerpc/powerpc64/Makefile: ... this.
64084         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
64085         * sysdeps/powerpc/powerpc64/configure.in: ... this.
64086         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
64088         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
64089         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
64090         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
64091         * sysdeps/powerpc/powerpc32/start.S: ... here.
64092         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
64093         * sysdeps/powerpc/powerpc32/configure.in: ... this.
64094         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
64096         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
64097         * sysdeps/powerpc/ifunc-sel.h: ... here.
64098         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
64099         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
64101         * sysdeps/sparc/elf/configure.in: Moved to ...
64102         * sysdeps/sparc/configure.in: ... here.
64103         * sysdeps/sparc/elf/configure: Delete file.
64104         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
64105         * sysdeps/sparc/sparc32/start.S: ... here.
64106         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
64107         * sysdeps/sparc/sparc64/start.S: ... here.
64108         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
64109         * sysdeps/sparc/sparc32/Makefile: ... this.
64110         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
64111         * sysdeps/sparc/sparc64/Makefile: ... this.
64113         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
64114         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
64115         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
64116         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
64117         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
64118         * sysdeps/s390/s390-32/setjmp.S: ... here.
64119         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
64120         * sysdeps/s390/s390-32/configure.in: ... here.
64121         * sysdeps/s390/s390-32/elf/configure: Delete file.
64122         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
64123         * sysdeps/s390/s390-32/start.S: ... here.
64125         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
64126         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
64127         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
64128         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
64129         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
64130         * sysdeps/s390/s390-64/setjmp.S: ... here.
64131         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
64132         * sysdeps/s390/s390-64/configure.in: ... here
64133         * sysdeps/s390/s390-64/elf/configure: Delete file.
64134         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
64135         * sysdeps/s390/s390-64/start.S: ... here.
64136         * sysdeps/s390/s390-64/elf/configure: Delete.
64138         * configure.in: Remove support for elf directories in sysdeps.
64140         * configure: Regenerated.
64141         * sysdeps/i386/configure: Regenerated.
64142         * sysdeps/powerpc/powerpc32/configure: Regenerated.
64143         * sysdeps/powerpc/powerpc64/configure: Regenerated.
64144         * sysdeps/s390/s390-32/configure: Regenerated.
64145         * sysdeps/s390/s390-64/configure: Regenerated.
64146         * sysdeps/sh/configure: Regenerated.
64147         * sysdeps/sparc/configure: Regenerated.
64148         * sysdeps/x86_64/configure: Regenerated.
64150 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
64152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64154         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
64155         denormal result into account.
64157 2012-03-25  Roland McGrath  <roland@hack.frob.com>
64159         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
64160         Reported by Allan McRae <allan@archlinux.org>.
64162 2012-03-23  Jeff Law  <law@redhat.com>
64164         * nss/getnssent.c (__nss_getent): Fix typo.
64166 2012-03-23  David S. Miller  <davem@davemloft.net>
64168         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64170 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
64172         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
64173         to pad to uint64_t for each field.
64174         (dl_tls_index): Replace unsigned long with uint64_t.
64176 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
64177         Paul Pluzhnikov  <ppluzhnikov@google.com>
64179         [BZ #6528]
64180         * grp/Makefile (otherlibs): Don't set it.
64181         * inet/Makefile (otherlibs): Likewise.
64182         * login/Makefile (otherlibs): Likewise.
64183         * nscd/Makefile (otherlibs): Likewise.
64184         * posix/Makefile (otherlibs): Likewise.
64185         * pwd/Makefile (otherlibs): Likewise.
64186         * rt/Makefile (otherlibs): Likewise.
64187         * sunrpc/Makefile (otherlibs): Likewise.
64188         * nss/Makefile (otherlibs): Likewise.
64189         Add libnss_files to routines and static-only-routines.
64190         ($(objpfx)getent): Remove rule.
64191         * resolv/Makefile: Add libnss_dns and libresolv to routines and
64192         static-only-routines.
64194 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
64196         [BZ #13892]
64197         * math/s_cexp.c: Include <float.h>.
64198         (__cexp): Handle exp result overflowing not necessarily
64199         overflowing both real and imaginary parts of result.
64200         * math/s_cexpf.c: Likewise.
64201         * math/s_cexpl.c: Likewise.
64202         * math/libm-test.inc (cexp_test): Add more tests.
64203         * sysdeps/i386/fpu/libm-test-ulps: Update.
64204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64206 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64208         * include/link.h (ELFW): New macro.
64209         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
64210         Replace ELF64_R_TYPE with ELFW(R_TYPE).
64212 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64214         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
64215         with uint64_t.
64217 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64219         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
64220         declaration.
64221         (struct La_x32_retval): Likewise.
64223 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64225         * sysdeps/x86_64/preconfigure.in: New file.
64226         * sysdeps/x86_64/preconfigure: New generated file.
64228 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
64230         [BZ #13824]
64231         * math/e_exp2l.c: Include <float.h>.
64232         (__ieee754_exp2l): Handle overflow and underflow cases
64233         separately.  Only pass fractional part of argument to
64234         __ieee754_expl.
64235         * math/libm-test.inc (exp2_test): Add more tests.
64237         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
64238         negating x to take absolute value.
64239         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
64240         Likewise.
64241         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
64242         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
64243         Likewise.
64244         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
64245         computing low part if x was negated.
64246         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
64248 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64250         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
64251         la_x32_gnu_pltexit.
64252         (pltexit): Cast int_retval to ptrdiff_t.
64253         * elf/tst-auditmod3b.c: Likewise.
64254         * elf/tst-auditmod4b.c: Likewise.
64255         * elf/tst-auditmod5b.c: Likewise.
64256         * elf/tst-auditmod6b.c: Likewise.
64257         * elf/tst-auditmod6c.c: Likewise.
64258         * elf/tst-auditmod7b.c: Likewise.
64260         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
64261         and x32_gnu_pltexit.
64263         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
64264         __ELF_NATIVE_CLASS.
64265         (La_x32_regs): New macro.
64266         (La_x32_retval): Likewise.
64267         (la_x32_gnu_pltenter): New function prototype.
64268         (la_x32_gnu_pltexit): Likewise.
64270 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
64272         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
64273         exponent.
64275         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64277         * configure.in (libc_cv_cc_nofma): Check for option to disable
64278         generation of FMA instructions.
64279         * configure: Regenerate.
64280         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
64281         * sysdeps/ieee754/dbl-64/Makefile: New file.
64282         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
64283         Remove brandred-fma4.
64284         (CFLAGS-brandred-fma4.c): Remove.
64285         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
64286         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
64287         define.
64288         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
64289         define.
64291 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64293         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
64294         LLONG_MAX != LONG_MAX.
64295         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64296         (_fitoa_word): Likewise.
64297         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
64298         LLONG_MAX != LONG_MAX.
64299         * stdio-common/_itowa.h: Include <_itoa.h>.
64300         (_itowa_word): Use _ITOA_WORD_TYPE on value.
64301         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
64302         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
64303         only if not defined.
64304         (_ITOA_WORD_TYPE): Likewise.
64305         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64306         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
64308 2012-03-21  David S. Miller  <davem@davemloft.net>
64310         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64312 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64314         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
64315         of x86_64 when setting libc_cv_slibdir, libdir and
64316         libc_cv_localedir.
64317         * sysdeps/unix/sysv/linux/configure: Regenerated.
64319 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
64321         * manual/lang.texi (Old Varargs): Remove section.
64322         (How Variadic): Update menu.
64323         (va_start): Do not mention varargs.h.
64325 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
64326             Joseph Myers  <joseph@codesourcery.com>
64328         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
64329         link test.
64330         * configure: Regenerated.
64332 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
64334         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
64335         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
64336         conformtest.pl
64338 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
64340         * NOTES: Remove.
64341         * Makefile (files-for-dist): Remove NOTES.
64342         (NOTES): Remove rule.
64343         * README: Don't refer to NOTES.
64344         * manual/creature.texi: Don't include macros.texi.
64345         * manual/intro.texi (creature.texi): Remove comment referring to
64346         NOTES.
64348         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
64349         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
64350         * configure: Regenerated.
64351         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
64352         LIBC_TRY_CC_OPTION.
64353         (libc_cv_as_i686): Likewise.
64354         (libc_cv_cc_avx): Likewise.
64355         (libc_cv_cc_sse2avx): Likewise.
64356         (libc_cv_cc_fma4): Likewise.
64357         (libc_cv_cc_novzeroupper): Likewise.
64358         * sysdeps/i386/configure: Regenerated.
64360         [BZ #13883]
64361         * sysdeps/i386/fpu/s_cexp.S: Remove.
64362         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
64363         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
64364         * math/libm-test.inc (cexp_test): Add more tests.
64365         * sysdeps/i386/fpu/libm-test-ulps: Update.
64366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64368 2012-03-21  Allan McRae  <allan@archlinux.org>
64370         * timezone/Makefile: Do not install iso3166.tab and zone.tab
64372 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
64374         [BZ #13871]
64375         * math/w_exp2.c: Do not include <float.h>.
64376         (o_threshold, u_threshold): Remove.
64377         (__exp2): Calculate result before checking finiteness and calling
64378         __kernel_standard.
64379         * math/w_exp2f.c: Likewise.
64380         * math/w_exp2l.c: Likewise.
64381         * math/libm-test.inc (exp2_test): Require overflow exception for
64382         1e6 input.
64384         [BZ #3866]
64385         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
64386         range of signed 64-bit integers before using fistpll.  Remove
64387         checks for whether integers fit in mantissa bits.
64388         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
64389         the range of signed 32-bit integers before using fistpl.  Remove
64390         checks for whether integers fit in mantissa bits.
64391         * sysdeps/i386/fpu/e_powl.S (p64): New object.
64392         (__ieee754_powl): Test for y outside the range of signed 64-bit
64393         integers before using fistpll.  Reduce 64-bit values to 63-bit
64394         ones as needed.
64395         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
64396         divide-by-zero is raised for zero to large negative powers.
64397         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
64398         (__ieee754_powl): Test for y outside the range of signed 64-bit
64399         integers before using fistpll.  Reduce 64-bit values to 63-bit
64400         ones as needed.
64401         * math/libm-test.inc (pow_test): Add more tests.
64403 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
64405         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
64406         <stdio-common/_itoa.h>.
64407         * debug/segfault.c: Likewise.
64408         * elf/dl-cache.c: Likewise.
64409         * elf/dl-minimal.c: Likewise.
64410         * elf/dl-misc.c: Likewise.
64411         * elf/dl-sysdep.c: Likewise.
64412         * elf/dl-version.c: Likewise.
64413         * elf/rtld.c: Likewise.
64414         * hurd/hurdsock.c: Likewise.
64415         * hurd/lookup-retry.c: Likewise.
64416         * malloc/malloc.c: Likewise.
64417         * malloc/mtrace.c: Likewise.
64418         * nscd/nscd_getgr_r.c: Likewise.
64419         * nscd/nscd_getpw_r.c: Likewise.
64420         * nscd/nscd_getserv_r.c: Likewise.
64421         * posix/getopt_init.c: Likewise.
64422         * posix/wordexp.c: Likewise.
64423         * stdio-common/_itoa.c: Likewise.
64424         * stdio-common/printf_fphex.c: Likewise.
64425         * stdio-common/vfprintf.c: Likewise.
64426         * string/_strerror.c: Likewise.
64427         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
64428         * sysdeps/i386/i686/hp-timing.h: Likewise.
64429         * sysdeps/mach/_strerror.c: Likewise.
64430         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
64431         * sysdeps/mach/hurd/sethostid.c: Likewise.
64432         * sysdeps/mach/hurd/xmknodat.c: Likewise.
64433         * sysdeps/mach/xpg-strerror.c: Likewise.
64434         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
64435         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
64436         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
64437         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
64438         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
64439         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
64440         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
64441         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
64442         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
64443         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
64444         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
64445         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
64446         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
64447         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
64448         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
64449         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
64450         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
64451         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
64452         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
64453         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
64454         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
64456         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
64458         * stdio-common/_itoa.h: Moved to ...
64459         * sysdeps/generic/_itoa.h: Here.
64461         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
64463         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
64464         instead of "_itoa.h" and "_itowa.h".
64465         * stdio-common/vfprintf.: Likewise.
64467 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
64469         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
64470         <bits/wordsize.h>.
64471         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
64472         (__signbit): Likwise.
64473         (llrintf): Likwise.
64474         (llrint): Likwise.
64476 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
64478         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
64479         __WORDSIZE != 64.
64481 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
64483         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
64484         OVERFLOW_EXCEPTION_OK.
64485         * math/libm-test.inc ("Philosophy"): Update comment about
64486         exception testing.
64487         (OVERFLOW_EXCEPTION): Define.
64488         (OVERFLOW_EXCEPTION_OK): Likewise.
64489         (INVALID_EXCEPTION_OK): Renumber.
64490         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
64491         (IGNORE_ZERO_INF_SIGN): Likewise.
64492         (test_exceptions): Handle FE_OVERFLOW.
64493         (exp10_test): Expect overflow exceptions.
64494         (exp2_test): Likewise.
64495         (expm1_test): Likewise.
64496         (nextafter_test): Likewise.
64497         (pow_test): Likewise.
64498         (scalbn_test): Likewise.
64499         (scalbln_test): Likewise.
64501 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64503         * sysdeps/x86_64/bits/atomic.h
64504         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
64505         64bit integer.
64506         (atomic_exchange_acq): Likewise.
64507         (__arch_exchange_and_add_body): Likewise.
64508         (__arch_add_body): Likewise.
64509         (atomic_add_negative): Likewise.
64510         (atomic_add_zero): Likewise.
64512 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64514         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
64515         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
64517 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64519         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
64520         Check __x86_64__ instead of __WORDSIZE.
64522 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64524         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
64526 2012-03-19  David S. Miller  <davem@davemloft.net>
64528         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64530         * sysdeps/sparc/fpu/fenv_private.h: New file.
64531         * sysdeps/sparc/fpu/math_private.h: Use it.
64532         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
64533         Remove.
64534         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
64535         (libc_feholdexcept_setroundl): Remove.
64536         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
64537         Remove.
64538         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
64539         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
64541 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64543         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
64544         int64_t instead of long int.
64545         (INSERT_WORDS64): Likwise.
64547 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64549         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
64550         _Unwind_GetCFA return to _Unwind_Ptr first.
64552 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
64554         [BZ #13629]
64555         * math/s_clog.c: Include <float.h>.
64556         (__clog): Scale large or subnormal inputs.
64557         * math/s_clogf.c: Likewise.
64558         * math/s_clogl.c: Likewise.
64559         * math/s_clog10.c: Include <float.h>.
64560         (M_LOG10_2): Define.
64561         (__clog10): Scale large or subnormal inputs.
64562         * math/s_clog10f.c: Likewise.
64563         * math/s_clog10l.c: Likewise.
64564         * math/libm-test.inc (clog_test): Add more tests.
64565         (clog10_test): Likewise.
64566         * sysdeps/i386/fpu/libm-test-ulps: Update.
64567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64569         [BZ #11451]
64570         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
64571         x and y.
64572         * math/libm-test.inc (atan2_test): Add another test.
64574         * Makerules (common-objdir-compile): Remove.
64575         * sysdeps/unix/Makefile (config-generated): Do not add
64576         $(unix-generated) to variable.
64577         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
64578         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
64579         Remove rule.
64580         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
64581         Likewise.
64582         [generic bits/local_lim.h] (before-compile): Do not append to
64583         variable.
64584         [generic bits/local_lim.h] (common-generated): Likewise.
64585         [generic sys/param.h] (before-compile): Do not append to variable.
64586         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
64587         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
64588         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
64589         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
64590         include.
64591         [generic sys/param.h] (sys/param.h-includes): Remove variable.
64592         [generic sys/param.h] (sys/param.h-includes): Remove rule.
64593         [generic sys/param.h] ($(addprefix
64594         $(common-objpfx),$(sys/param.h-includes))): Likewise.
64595         [generic sys/param.h] (common-generated): Do not append to
64596         variable.
64597         [generic sys/param.h] (sysdep_headers): Likewise.
64598         [generic bits/errno.h] (before-compile): Do not append to
64599         variable.
64600         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
64601         rule.
64602         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
64603         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
64604         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
64605         [generic bits/errno.h] (common-generated): Do not append to
64606         variable.
64607         [generic bits/ioctls.h] (before-compile): Do not append to
64608         variable.
64609         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
64610         rule.
64611         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
64612         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
64613         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
64614         rule.
64615         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
64616         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
64617         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
64618         [generic bits/ioctls.h] (common-generated): Do not append to
64619         variable.
64620         [generic sys/syscall.h] (syscall.h): Remove variable.
64621         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
64622         rule.
64623         [generic sys/syscall.h] (before-compile): Do not append to
64624         variable.
64625         [generic sys/syscall.h] (common-generated): Likewise.
64626         * sysdeps/unix/errnos-tmpl.c: Remove file.
64627         * sysdeps/unix/errnos.awk: Likewise.
64628         * sysdeps/unix/ioctls-tmpl.c: Likewise.
64629         * sysdeps/unix/ioctls.awk: Likewise.
64630         * sysdeps/unix/mk-local_lim.c: Likewise.
64631         * sysdeps/unix/snarf-ioctls: Likewise.
64633 2012-03-19  Richard Henderson  <rth@twiddle.net>
64635         * sysdeps/i386/fpu/fenv_private.h: New file.
64636         * sysdeps/i386/fpu/math_private.h: Use it.
64637         (math_opt_barrier, math_force_eval): Remove.
64638         (libc_feholdexcept_setround_53bit): Remove.
64639         (libc_feupdateenv_53bit): Remove.
64640         * sysdeps/x86_64/fpu/math_private.h: Likewise.
64641         (math_opt_barrier, math_force_eval): Remove.
64642         (libc_feholdexcept): Remove.
64643         (libc_feholdexcept_setround): Remove.
64644         (libc_fetestexcept, libc_fesetenv): Remove.
64645         (libc_feupdateenv_test): Remove.
64646         (libc_feupdateenv, libc_feholdsetround): Remove.
64647         (libc_feresetround): Remove.
64649         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
64650         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
64652         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
64653         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
64654         (libc_feupdateenv_testl): New.
64655         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
64656         (libc_feupdateenv_testf): New.
64657         (libc_feupdateenv): Use libc_feupdateenv_test.
64658         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
64659         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
64661         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
64662         (libc_feholdsetroundf, libc_feholdsetroundl): New.
64663         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
64664         (libc_feresetround_noex): New.
64665         (libc_feresetround_noexf): New.
64666         (libc_feresetround_noexl): New.
64667         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
64668         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
64669         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
64670         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
64671         SET_RESTORE_ROUND.
64672         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
64673         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
64674         (__cos): Likewise.
64675         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
64676         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
64677         SET_RESTORE_ROUND_NOEX.
64678         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
64679         SET_RESTORE_ROUND_NOEXF.
64680         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
64681         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
64682         (libc_feholdsetroundf): New.
64683         (libc_feresetround, libc_feresetroundf): New.
64685         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
64686         (libc_feholdexcept_setround_53bit): Convert from macro to function.
64687         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
64689         * sysdeps/generic/math_private.h: Include <fenv.h>.
64690         (default_libc_feholdexcept): New.
64691         (default_libc_feholdexcept_setround): New.
64692         (default_libc_fesetenv, default_libc_feupdateenv): New.
64693         (libc_feholdexcept): Only define if undefined.
64694         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
64695         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
64696         (libc_feholdexcept_setroundl): Likewise.
64697         (libc_feholdexcept_setround_53bit): Likewise.
64698         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
64699         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
64700         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
64701         (libc_feupdateenv_53bit): Likewise.
64702         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
64703         (libc_feholdexcept): Convert from macro to inline function.
64704         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
64705         (libc_fesetenv, libc_feupdateenv): Likewise.
64707         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
64708         not previously defined.
64709         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
64710         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
64711         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
64712         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
64713         * sysdeps/ieee754/flt-32/math_private.h: New file.
64714         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
64715         math_private.h below SET_FLOAT_WORD.
64716         (__isnan, __isinf_ns, __finite): Remove.
64717         (__isnanf, __isinf_nsf, __finitef): Remove.
64719 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
64721         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64723 2012-03-17  David S. Miller  <davem@davemloft.net>
64725         [BZ #6471]
64726         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
64727         for 2.16.
64729 2012-03-16  David S. Miller  <davem@davemloft.net>
64731         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
64732         warnings.
64734         [BZ #6471]
64735         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
64736         properly.
64737         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
64738         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
64739         sysdep_routines when subdir is sysvipc.
64740         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
64741         __getshmlba helper.
64743         * sysdeps/sparc/fpu/libm-test/ulps: Update.
64745 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64747         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
64748         [__LP64__].
64750 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64752         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
64753         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
64754         (__lround): Renamed to ...
64755         (__llround): This.  Replace long int with long long int.
64756         Define lround functions as aliases of llround functions.
64757         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
64759 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64761         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
64762         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
64763         adresses to uintptr_t.  Replace "long int" and "unsigned long
64764         int" with "greg_t" on va_arg.
64766 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64768         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
64769         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
64771         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
64772         Move e_machine check before EI_CLASS check.  Handle x32
64773         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
64774         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
64775         SKIP_EM_IA_64 and include
64776         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
64778         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
64779         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
64780         (add_system_dir): New macro.
64782         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
64783         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
64785 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
64787         [BZ #2551]
64788         [BZ #2552]
64789         [BZ #2553]
64790         [BZ #2554]
64791         [BZ #2562]
64792         [BZ #2563]
64793         [BZ #2565]
64794         [BZ #2566]
64795         [BZ #2576]
64796         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
64797         (y0): Likewise.
64798         * math/w_j0f.c (j0f): Likewise.
64799         (y0f): Likewise.
64800         * math/w_j0l.c (__j0l): Likewise.
64801         (__y0l): Likewise.
64802         * math/w_j1.c (j1): Likewise.
64803         (y1): Likewise.
64804         * math/w_j1f.c (j1f): Likewise.
64805         (y1f): Likewise.
64806         * math/w_j1l.c (__j1l): Likewise.
64807         (__y1l): Likewise.
64808         * math/w_jn.c (jn): Likewise.
64809         (yn): Likewise.
64810         * math/w_jnf.c (jnf): Likewise.
64811         (ynf): Likewise.
64812         * math/w_jnl.c (__jnl): Likewise.
64813         (__ynl): Likewise.
64814         * math/libm-test.inc (j0_test): Add more tests.
64815         (j1_test): Likewise.
64816         (jn_test): Likewise.  Add trailing semicolon to existing test.
64817         (y0_test): Likewise.
64818         (y1_test): Likewise.
64819         * sysdeps/i386/fpu/libm-test-ulps: Update.
64820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64822         [BZ #13851]
64823         [BZ #13854]
64824         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
64825         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
64826         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
64827         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
64828         (__tanl): Set errno for infinite argument.
64829         * sysdeps/i386/fpu/mptan.c: Remove.
64830         * sysdeps/i386/fpu/s_tan.S: Likewise.
64831         * sysdeps/i386/fpu/s_tanl.S: Likewise.
64832         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
64833         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
64834         * math/libm-test.inc (tan_test): Add more tests and enable more
64835         tests for double and long double.
64836         * sysdeps/i386/fpu/libm-test-ulps: Update.
64837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64839 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
64841         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
64842         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
64844 2012-03-16  Roland McGrath  <roland@hack.frob.com>
64846         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
64847         * configure.in: Use it for both main tree and add-ons.
64848         * configure: Regenerated.
64850 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64852         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
64854 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
64856         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
64857         in comment.
64859         [BZ #13851]
64860         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
64861         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
64862         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
64863         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
64864         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
64865         infinite argument.
64866         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
64867         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
64868         != 0 for prec == 2.
64869         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
64870         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
64871         * sysdeps/i386/fpu/s_cosl.S: Likewise.
64872         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
64873         * sysdeps/i386/fpu/s_sinl.S: Likewise.
64874         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
64875         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
64876         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
64877         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
64878         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
64879         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
64880         * math/libm-test.inc (cos_test): Add more tests and enable more
64881         tests for long double.
64882         (sin_test): Likewise.
64883         (sincos_test): Likewise.
64884         * sysdeps/i386/fpu/libm-test-ulps: Update.
64885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64887 2012-03-16  David S. Miller  <davem@davemloft.net>
64889         * sysdeps/sparc/fpu/math_private.h: New file.
64891 2012-03-15  David S. Miller  <davem@davemloft.net>
64893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
64894         file.
64895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
64896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
64897         file.
64898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
64899         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
64900         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
64901         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
64902         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
64903         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
64904         sysdep routines.
64905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
64907         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
64908         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
64910         * sysdeps/sparc/sparc-ifunc.h: New file.
64911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
64912         sparc-ifunc.h
64913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
64914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
64915         Likewise.
64916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
64917         Likewise.
64918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
64919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
64920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
64921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
64922         Likewise.
64923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
64924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
64925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
64926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
64927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
64928         Likewise.
64929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
64930         Likewise.
64931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
64932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
64933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
64934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
64935         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
64936         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
64937         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
64938         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
64939         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
64940         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
64941         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
64942         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
64943         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
64944         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
64945         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
64946         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
64947         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
64948         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
64949         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
64950         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
64951         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
64952         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
64953         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
64954         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
64956 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
64958         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
64959         scaling.
64960         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64962 2012-03-15  Andreas Jaeger  <aj@suse.de>
64964         [BZ #13852]
64965         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
64966         ieee754/flt-32 implementation for sin, cos and sincos.
64967         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
64968         * sysdeps/i386/fpu/s_cosf.S: Likewise.
64969         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
64970         * sysdeps/i386/fpu/s_sinf.S: Likewise.
64971         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
64972         ieee754/flt-32 implementation for tan.
64974         * math/libm-test.inc (cos_test): Enable some large input tests for
64975         float as well
64976         (sin_test): Likewise.
64977         (sincos_test): Likewise.
64978         (tan_test): Add tests for large input.
64980         * sysdeps/i386/fpu/libm-test-ulps: Update.
64982 2012-03-15  Andreas Jaeger  <aj@suse.de>
64984         [BZ #13658]
64985         * math/libm-test.inc (cos_test): Add more test cases.
64986         (sin_test): Likewise.
64987         (sincos_test): Likewise.
64989 2012-03-15  Andreas Jaeger  <aj@suse.de>
64991         [BZ #13837]
64992         * math/libm-test.inc (cos_test): Add a test case for large input
64993         value.
64994         (sin_test): Likewise.
64995         (sincos_test): Likewise.
64997 2012-03-15  Andreas Jaeger  <aj@suse.de>
64998             Joseph Myers  <joseph@codesourcery.com>
65000         [BZ #13658]
65001         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
65002         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
65003         * sysdeps/i386/fpu/branred.c: Likewise.
65004         * sysdeps/i386/fpu/dosincos.c: Likewise.
65005         * sysdeps/i386/fpu/mpa.c: Likewise.
65006         * sysdeps/i386/fpu/s_cos.S: Likewise.
65007         * sysdeps/i386/fpu/s_sin.S: Likewise.
65008         * sysdeps/i386/fpu/s_sincos.S: Likewise.
65009         * sysdeps/i386/fpu/sincos32.c: Likewise.
65011         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
65012         Define.
65013         (libc_feupdateenv_53bit): Define.
65014         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
65015         Define.
65016         (libc_feupdateenv_53bit): Define.
65018         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
65019         53 bit (without extend i386 double precision).
65021         * math/libm-test.inc (sincos_test): Add tests for large input.
65022         (sin): Likewise.
65023         (cos): Likewise.
65025         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
65027 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
65029         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65031 2012-03-15  David S. Miller  <davem@davemloft.net>
65033         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
65034         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
65035         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
65036         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
65037         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
65038         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
65039         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
65040         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
65041         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
65042         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
65043         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
65044         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
65045         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
65046         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
65047         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
65048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
65049         file.
65050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
65051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
65052         file.
65053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
65054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
65055         file.
65056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
65057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
65058         file.
65059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
65060         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
65061         fmin/fmax sysdep routines.
65062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
65064 2012-03-14  David S. Miller  <davem@davemloft.net>
65066         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
65067         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
65068         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
65069         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
65070         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
65071         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
65072         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
65073         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
65074         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
65075         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
65076         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
65077         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
65078         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
65079         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
65080         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
65081         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
65082         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
65083         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
65084         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
65085         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
65086         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
65087         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
65088         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
65089         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
65090         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
65091         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
65092         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
65093         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
65094         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
65095         routines.
65096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
65097         file.
65098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
65099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
65100         file.
65101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
65102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
65103         file.
65104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
65105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
65106         file.
65107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
65108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
65109         file.
65110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
65111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
65112         file.
65113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
65114         file.
65115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
65116         file.
65117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
65118         file.
65119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
65120         New file.
65121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
65122         file.
65123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
65124         file.
65125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
65126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
65127         file.
65128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
65129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
65130         file.
65131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
65132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
65133         file.
65134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
65135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
65136         VIS3 routines.
65138         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
65139         New file.
65141         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65143         * sysdeps/sparc/configure.in: New file.
65144         * sysdeps/sparc/configure: Generate.
65145         * configure.in (libc_cv_sparc_as_vis3): Substitute.
65146         * configure: Regenerate.
65147         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
65148         * config.make.in (have-as-vis3): New.
65149         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
65150         available use -Av9d instead of -Av9a.
65151         * sysdeps/sparc/sparc64/Makefile: Likewise.
65152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
65153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
65154         New file.
65155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
65156         file.
65157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
65158         New file.
65159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
65160         file.
65161         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
65162         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
65163         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
65164         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
65165         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
65167         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
65168         fzeros/fnegs to load 0x80000000 into a float register instead of
65169         using the stack.
65170         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
65172 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
65174         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65175         bits/syscall.h.
65176         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
65177         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
65178         ($(inst_includedir)/bits/syscall.h): Remove rule.
65179         ($(objpfx)bits/syscall.d): Include instead of
65180         $(objpfx)syscall-list.d.
65181         (generated): Change syscall-list.h and syscall-list.d to
65182         bits/syscall.h and bits/syscall.d.
65184 2012-03-14  Roland McGrath  <roland@hack.frob.com>
65186         [BZ #13846]
65187         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
65189 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
65191         [BZ #13841]
65192         * math/s_csqrt.c: Include <float.h>.
65193         (__csqrt): Scale large or subnormal inputs.
65194         * math/s_csqrtf.c: Likewise.
65195         * math/s_csqrtl.c: Likewise.
65196         * math/libm-test.inc (csqrt_test): Add more tests.
65197         * sysdeps/i386/fpu/libm-test-ulps: Update.
65198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65200         [BZ #13840]
65201         * math/libm-test.inc (hypot_test): Add more tests.
65203 2012-03-13  David S. Miller  <davem@davemloft.net>
65205         [BZ #13840]
65206         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
65207         double-precision for the calculation instead of scaling.
65209 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
65211         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
65212         manipulate bits before adding and subtracting TWO52[sx].
65213         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
65214         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
65215         Likewise.
65216         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
65218 2012-03-13  David S. Miller  <davem@davemloft.net>
65220         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
65221         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
65222         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
65223         rtld-global-offsets.h
65224         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65226         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
65227         large parameters.
65229         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
65231         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
65232         'err' in the ifdef scope in which it is actually used.
65234         * nss/nss_db/db-init.c: Include string.h
65236 2012-03-12  David S. Miller  <davem@davemloft.net>
65238         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
65239         masking out of the most significant byte of random value used.
65240         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
65241         Fix coding style in previous change.
65243         * sysdeps/unix/sysv/linux/kernel-features.h
65244         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
65245         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
65246         expression.
65247         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
65248         later.
65250 2012-03-11  David S. Miller  <davem@davemloft.net>
65252         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
65253         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
65254         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
65255         for 'resultvar' otherwise things get truncated on 64-bit.
65257         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
65258         Fix masking out of the most significant byte of random value used.
65260         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65262 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
65264         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65266 2012-03-09  David S. Miller  <davem@davemloft.net>
65268         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
65269         variables with appropriate CPP guards.
65270         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
65271         from the frame pointer, not the stack pointer.  Correct layout
65272         comments.  Fix test on resulting framesize and the management of
65273         the outregs buffer for pltexit.  Preserve floating point return
65274         values across _dl_call_pltexit call.
65275         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
65276         framesize and the management of the outregs buffer for pltexit.
65277         Preserve floating point return values across _dl_call_pltexit
65278         call.
65279         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
65280         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
65281         (la_sparc64_gnu_pltexit): New functions.
65282         (print_exit): Fix format string for return register value.
65284 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
65286         * sunrpc/Makefile (others): Add rpcgen.
65287         ($(objpfx)rpcgen): Remove special build rule and dependency on
65288         libc.
65289         * sunrpc/rpcgen.c: New file.
65291 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
65293         [BZ #13673]
65294         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
65295         * stdio-common/bug-vfprintf-nargs.c: Likewise.
65296         * sysdeps/i386/crti.S: Likewise.
65297         * sysdeps/i386/crtn.S: Likewise.
65298         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
65299         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
65300         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
65301         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
65302         * sysdeps/sh/crti.S: Likewise.
65303         * sysdeps/sh/crtn.S: Likewise.
65304         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
65306         [BZ #13673]
65307         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
65308         with URL.
65309         * locale/programs/locfile-kw.gperf: Likewise.
65310         * locale/programs/charmap-kw.h: Regenerated.
65311         * locale/programs/locfile-kw.h: Likewise.
65313         [BZ #13673]
65314         * intl/plural.y: Replace FSF snail mail address with URL.
65315         * intl/plural.c: Regenerated.
65317 2012-03-09  Richard Henderson  <rth@twiddle.net>
65319         * include/math_private.h: Remove file.
65320         * math/math_private.h: Move file ...
65321         * sysdeps/generic/math_private.h: ... here.
65323         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
65324         * sysdeps/powerpc/fpu/math_private.h: Likewise.
65325         * sysdeps/x86_64/fpu/math_private.h: Likewise.
65327         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
65328         and <math_private.h>.
65329         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
65330         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
65331         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
65332         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
65333         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
65334         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
65335         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
65336         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65337         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
65338         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65339         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65340         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
65341         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
65342         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65343         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
65344         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
65345         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
65346         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
65347         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
65348         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
65349         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65350         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
65351         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
65352         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65353         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
65354         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
65355         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
65356         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65357         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65358         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65359         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
65360         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65361         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
65362         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
65363         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
65364         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
65365         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
65366         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
65367         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
65368         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65369         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
65370         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
65371         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
65372         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
65373         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
65374         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
65375         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
65376         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
65377         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
65378         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
65379         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
65380         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
65381         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
65382         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
65383         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
65384         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
65385         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
65386         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
65387         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
65388         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
65389         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
65390         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
65391         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65392         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
65393         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
65394         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
65395         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
65396         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
65397         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
65398         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
65399         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
65400         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
65401         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
65402         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65403         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
65404         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
65405         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
65406         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65407         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
65408         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
65409         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
65410         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
65411         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
65412         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
65413         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
65414         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
65415         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
65416         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
65417         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
65418         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
65419         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
65420         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
65421         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65422         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
65423         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
65424         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
65425         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
65426         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
65427         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
65428         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
65429         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
65430         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
65431         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
65432         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
65433         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65434         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
65435         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
65436         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
65437         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65438         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65439         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65440         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65441         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
65442         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65443         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
65444         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
65445         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65446         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
65447         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65448         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
65449         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65450         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
65451         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
65452         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
65453         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65454         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
65455         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
65456         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
65457         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
65458         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
65459         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
65460         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
65461         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65462         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
65463         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
65464         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
65465         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
65466         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
65467         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
65468         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
65469         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
65470         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
65471         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
65472         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
65473         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
65474         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
65475         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
65476         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
65477         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
65478         * sysdeps/ieee754/k_standard.c: Likewise.
65479         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
65480         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
65481         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
65482         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
65483         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
65484         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
65485         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
65486         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
65487         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
65488         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
65489         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
65490         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
65491         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
65492         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
65493         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
65494         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
65495         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
65496         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
65497         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
65498         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
65499         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
65500         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
65501         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65502         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
65503         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
65504         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
65505         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
65506         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
65507         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
65508         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65509         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
65510         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
65511         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
65512         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
65513         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
65514         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
65515         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
65516         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
65517         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
65518         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
65519         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
65520         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
65521         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
65522         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
65523         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
65524         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
65525         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
65526         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
65527         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
65528         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65529         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65530         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
65531         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
65532         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
65533         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65534         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65535         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
65536         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
65537         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
65538         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
65539         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65540         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
65541         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
65542         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
65543         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
65544         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
65545         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
65546         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
65547         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
65548         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
65549         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
65550         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
65551         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
65552         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
65553         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
65554         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
65555         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
65556         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
65557         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
65558         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
65559         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
65560         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
65561         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
65562         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
65563         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
65564         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
65565         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
65566         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
65567         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
65568         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
65569         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
65570         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
65571         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
65572         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
65573         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
65574         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
65575         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
65576         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
65577         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
65578         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
65579         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
65580         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
65581         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65582         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
65583         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
65584         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65585         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65586         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
65587         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
65588         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
65589         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
65590         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
65591         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
65592         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
65593         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
65594         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
65595         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
65596         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
65597         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
65598         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
65599         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
65600         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
65601         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
65602         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
65603         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
65604         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
65605         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
65606         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
65607         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
65608         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65609         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
65610         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
65611         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
65612         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
65613         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
65614         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
65615         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
65616         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
65617         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
65618         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
65619         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
65620         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
65621         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
65622         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
65623         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
65624         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
65625         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
65626         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
65627         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
65628         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
65629         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
65630         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
65631         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
65632         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
65633         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
65634         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
65635         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
65636         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
65637         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
65638         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
65639         * sysdeps/ieee754/s_lib_version.c: Likewise.
65640         * sysdeps/ieee754/s_matherr.c: Likewise.
65641         * sysdeps/ieee754/s_signgam.c: Likewise.
65642         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
65643         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65644         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
65645         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
65646         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
65647         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
65648         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
65649         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
65650         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
65651         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
65652         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
65653         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
65654         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
65655         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
65656         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
65657         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
65658         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
65659         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
65660         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
65661         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65662         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65664 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
65666         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
65667         * sunrpc/rpc_main.c: Likewise.
65668         * sunrpc/rpc_svcout.c: Likewise.
65670 2012-03-09  David S. Miller  <davem@davemloft.net>
65672         * include/math_private.h: New file.
65674 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
65676         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
65677         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
65678         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
65679         from <bits/socket_type.h>.
65680         (enum __socket_type): Don't define here.
65681         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
65682         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65683         bits/socket_type.h.
65685         [BZ #13566]
65686         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
65687         checking __USE_GNU.
65689         * Makerules ($(inst_includedir)/%.h): New rule.
65690         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
65691         (install-others): Remove variable setting.
65692         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
65694 2012-03-08  Richard Henderson  <rth@twiddle.net>
65696         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
65697         from macro to inline function; merge with the
65698         !__LIBC_INTERNAL_MATH_INLINES version.
65699         (__ieee754_sqrtf): Likewise.
65701         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
65702         to inline function.
65703         (__rintf, __floor, __floorf): Likewise.
65705         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
65706         macro to inline function.
65707         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
65709         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
65710         not <math/math_private.h>.
65712 2012-03-08  David S. Miller  <davem@davemloft.net>
65714         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
65715         copyright year.
65716         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
65718 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
65720         * resolv/gai_misc.c (handle_requests): Fix struct timespec
65721         normalization.
65722         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
65723         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
65725 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
65727         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
65728         be defined individually, they must be defined as a block.  Define
65729         S for printing a string instead of hidint the different by using a
65730         macro for adding the 'l'.
65731         * stdio-common/tst-fphex-wide.c: Adjust.
65733 2012-03-07  Marek Polacek  <polacek@redhat.com>
65735         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
65737 2012-03-08  Marek Polacek  <polacek@redhat.com>
65739         [BZ #13806]
65740         * stdio-common/Makefile (tests): Add tst-fphex-wide.
65741         * stdio-common/tst-fphex.c: Define a few macros to make the
65742         test reusable.  Use them.
65743         * stdio-common/tst-fphex-wide.c: New file.
65745 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
65747         [BZ #6911]
65748         * manual/macros.texi (gnusystems): New macro.
65749         (nongnusystems): Likewise.
65750         (gnulinuxhurdsystems): Likewise.
65751         (gnuhurdsystems): Likewise..
65752         (gnulinuxsystems): Likewise.
65753         * manual/charset.texi: Use new macros or @theglibc{} to refer to
65754         variants of the GNU system, not "GNU system".
65755         * manual/conf.texi: Likewise.
65756         * manual/errno.texi: Likewise.  Update example of errno macro
65757         expansion.
65758         * manual/filesys.texi: Likewise.
65759         (getumask): Document as specific to GNU/Hurd.
65760         * manual/install.texi: Likewise.  Reword some references to
65761         GNU/Linux.
65762         * manual/intro.texi: Likewise.
65763         * manual/io.texi: Likewise.
65764         (File Name Portability): Detail which constraints are inapplicable
65765         to all GNU systems and which are only inapplicable to GNU/Hurd.
65766         * manual/job.texi: Likewise.
65767         * manual/llio.texi: Likewise.
65768         (O_NOCTTY): Document as present on GNU/Linux.
65769         * manual/maint.texi: Likewise.
65770         * manual/memory.texi: Likewise.
65771         * manual/pattern.texi: Likewise.
65772         * manual/pipe.texi: Likewise.
65773         * manual/process.texi: Likewise.
65774         * manual/resource.texi: Likewise.
65775         (RUSAGE_CHILDREN): Remove statement about specifying a particular
65776         child on GNU/Hurd.
65777         * manual/setjmp.texi: Likewise.
65778         * manual/signal.texi: Likewise.
65779         * manual/startup.texi: Likewise.
65780         * manual/stdio.texi: Likewise.
65781         * manual/terminal.texi: Likewise.
65782         (ONLCR): Document as POSIX.
65783         (OXTABS): Document availability on GNU/Linux as XTABS.
65784         (ONOEOT): Document availability separately from other bits.
65785         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
65786         * manual/time.texi: Likewise.
65787         * manual/users.texi: Likewise.
65788         * INSTALL: Regenerated.
65789         * sysdeps/gnu/errlist.c: Regenerated.
65791         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
65792         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
65793         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
65794         puts.
65795         * configure: Regenerated.
65797 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
65799         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
65800         default includes instead of AC_HEADER_CHECK.
65801         * sysdeps/i386/configure: Regenerated.
65803         [BZ #10716]
65804         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
65805         * math/s_cacoshf.c (__cacoshf): Likewise.
65806         * math/s_cacoshl.c (__cacoshl): Likewise.
65807         * math/s_casinh.c (__casinh): Set signs of result from argument.
65808         * math/s_casinhf.c (__casinhf): Likewise.
65809         * math/s_casinhl.c (__casinhl): Likewise.
65810         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
65811         (casinh_test): Add more tests.
65812         * sysdeps/i386/fpu/libm-test-ulps: Update.
65813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65815 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
65817         * po/zh_TW.po: Update from translation team.
65819         * login/Makefile (distribute): Remove variable.
65820         * catgets/Makefile: Likewise.
65821         * mach/Makefile: Likewise.
65822         * malloc/Makefile: Likewise.
65823         * misc/Makefile: Likewise.
65824         * iconv/Makefile: Likewise.
65825         * nscd/Makefile: Likewise.
65826         * hurd/Makefile: Likewise.
65827         * manual/Makefile: Likewise.
65828         * locale/Makefile: Likewise.
65829         * intl/Makefile: Likewise.
65830         * conform/Makefile: Likewise.
65831         * nss/Makefile: Likewise.
65832         * time/Makefile: Likewise.
65833         * soft-fp/Makefile: Likewise.
65834         * dirent/Makefile: Likewise.
65835         * gmon/Makefile: Likewise.
65836         * po/Makefile: Likewise.
65837         * rt/Makefile: Likewise.
65838         * socket/Makefile: Likewise.
65839         * math/Makefile: Likewise.
65840         * signal/Makefile: Likewise.
65841         * debug/Makefile: Likewise.
65842         * elf/Makefile: Likewise.
65843         * timezone/Makefile: Likewise.
65844         * stdlib/Makefile: Likewise.
65845         * iconvdata/Makefile: Likewise.
65846         * sunrpc/Makefile: Likewise.
65847         * io/Makefile: Likewise.
65848         * argp/Makefile: Likewise.
65849         * inet/Makefile: Likewise.
65850         * hesiod/Makefile: Likewise.
65851         * grp/Makefile: Likewise.
65852         * csu/Makefile: Likewise.
65853         * wctype/Makefile: Likewise.
65854         * crypt/Makefile: Likewise.
65855         * libio/Makefile: Likewise.
65856         * string/Makefile: Likewise.
65857         * nis/Makefile: Likewise.
65858         * resolv/Makefile: Likewise.
65859         * stdio-common/Makefile: Likewise.
65860         * wcsmbs/Makefile: Likewise.
65861         * dlfcn/Makefile: Likewise.
65862         * posix/Makefile: Likewise.
65864         [BZ #6959]
65865         * timezone/Makefile: Don't install timezone files, just the programs
65866         and scripts.
65868 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
65870         * nss/databases.def: Add missing gshadow entry.
65872         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
65874 2012-03-06  Marek Polacek  <polacek@redhat.com>
65876         [BZ #13726]
65877         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
65878         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
65879         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
65880         * stdio-common/tst-long-dbl-fphex.c: New file.
65882 2012-03-06  David S. Miller  <davem@davemloft.net>
65884         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65885         (set_obp_int): New function.
65886         (get_obp_int): New function.
65887         (__get_clockfreq_via_dev_openprom): Likewise.
65888         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
65889         Avoid unused variable warnings on 'val' and use builtin_expect.
65890         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
65891         __builtin_expect.
65892         (INLINE_CLONE_SYSCALL): Likewise.
65894 2012-03-05  David S. Miller  <davem@davemloft.net>
65896         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65898 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
65900         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65902         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
65903         only for |x| >= 40.
65904         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
65906 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
65908         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
65909         Replace gettimeofday with __vdso_gettimeofday.
65911         * sysdeps/unix/sysv/linux/x86_64/init-first.c
65912         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
65913         __vdso_clock_gettime and __vdso_getcpu.
65915         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
65916         time with __vdso_time.
65918 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
65920         * manual/lang.texi (size_t): Note types to which size_t may be
65921         equivalent with the GNU C Library, but do not describe when
65922         differences between them are significant.
65924 2012-03-05  Andreas Jaeger  <aj@suse.de>
65926         * sysdeps/i386/fpu/libm-test-ulps: Update.
65928 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
65930         [BZ #3976]
65931         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
65932         (__ieee754_pow): Save and restore rounding mode and use
65933         round-to-nearest for main computations.
65934         * math/libm-test.inc (pow_test_tonearest): New function.
65935         (pow_test_towardzero): Likewise.
65936         (pow_test_downward): Likewise.
65937         (pow_test_upward): Likewise.
65938         (main): Call the new functions.
65939         * sysdeps/i386/fpu/libm-test-ulps: Update.
65940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65942         [BZ #3976]
65943         * math/libm-test.inc (cosh_test_tonearest): New function.
65944         (cosh_test_towardzero): Likewise.
65945         (cosh_test_downward): Likewise.
65946         (cosh_test_upward): Likewise.
65947         (sinh_test_tonearest): Likewise.
65948         (sinh_test_towardzero): Likewise.
65949         (sinh_test_downward): Likewise.
65950         (sinh_test_upward): Likewise.
65951         (main): Call the new functions.
65952         * sysdeps/i386/fpu/libm-test-ulps: Update.
65953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65955 2012-03-05  Tom de Vries  <tom@codesourcery.com>
65957         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
65958         default stack guard is set in last bytes.
65959         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
65961 2012-03-05  Kees Cook  <keescook@chromium.org>
65963         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
65965         [BZ #13656]
65966         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
65967         possibly allocate from heap instead of stack.
65968         * stdio-common/bug-vfprintf-nargs.c: New file.
65969         * stdio-common/Makefile (tests): Add nargs overflow test.
65971 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
65973         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65975 2012-03-03  Marek Polacek  <polacek@redhat.com>
65977         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
65978         * math/math_private.h: Likewise.
65979         * stdlib/tst-strtod.c: Likewise.
65980         * sysdeps/i386/i486/bits/atomic.h: Likewise.
65981         * sysdeps/x86_64/bits/atomic.h: Likewise.
65983 2012-03-02  David S. Miller  <davem@davemloft.net>
65985         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
65986         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
65987         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
65988         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
65989         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
65990         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
65991         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
65992         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
65994 2012-03-02  Roland McGrath  <roland@hack.frob.com>
65996         [BZ #13792]
65997         * manual/examples/README: New file, says the example source files
65998         can be used under GPL>=2.
65999         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
66000         line containing just "*/".
66001         * manual/examples/add.c: Add copyright header (GPL>=2).
66002         * manual/examples/argp-ex1.c: Likewise.
66003         * manual/examples/argp-ex2.c: Likewise.
66004         * manual/examples/argp-ex3.c: Likewise.
66005         * manual/examples/argp-ex4.c: Likewise.
66006         * manual/examples/atexit.c: Likewise.
66007         * manual/examples/db.c: Likewise.
66008         * manual/examples/dir.c: Likewise.
66009         * manual/examples/dir2.c: Likewise.
66010         * manual/examples/execinfo.c: Likewise.
66011         * manual/examples/filecli.c: Likewise.
66012         * manual/examples/filesrv.c: Likewise.
66013         * manual/examples/fmtmsgexpl.c: Likewise.
66014         * manual/examples/genpass.c: Likewise.
66015         * manual/examples/inetcli.c: Likewise.
66016         * manual/examples/inetsrv.c: Likewise.
66017         * manual/examples/isockad.c: Likewise.
66018         * manual/examples/longopt.c: Likewise.
66019         * manual/examples/memopen.c: Likewise.
66020         * manual/examples/memstrm.c: Likewise.
66021         * manual/examples/mkfsock.c: Likewise.
66022         * manual/examples/mkisock.c: Likewise.
66023         * manual/examples/mygetpass.c: Likewise.
66024         * manual/examples/pipe.c: Likewise.
66025         * manual/examples/popen.c: Likewise.
66026         * manual/examples/rprintf.c: Likewise.
66027         * manual/examples/search.c: Likewise.
66028         * manual/examples/select.c: Likewise.
66029         * manual/examples/setjmp.c: Likewise.
66030         * manual/examples/sigh1.c: Likewise.
66031         * manual/examples/sigusr.c: Likewise.
66032         * manual/examples/stpcpy.c: Likewise.
66033         * manual/examples/strdupa.c: Likewise.
66034         * manual/examples/strftim.c: Likewise.
66035         * manual/examples/strncat.c: Likewise.
66036         * manual/examples/subopt.c: Likewise.
66037         * manual/examples/swapcontext.c: Likewise.
66038         * manual/examples/termios.c: Likewise.
66039         * manual/examples/testopt.c: Likewise.
66040         * manual/examples/testpass.c: Likewise.
66041         * manual/examples/timeval_subtract.c: Likewise.
66043         [BZ #13792]
66044         * manual/time.texi (Elapsed Time): Move timeval_subtract example
66045         function to ...
66046         * manual/timeval_subtract.c.texi: ... here, new file.
66048 2012-03-02  David S. Miller  <davem@davemloft.net>
66050         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
66052 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
66054         [BZ #3976]
66055         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
66056         (__sin): Save and restore rounding mode and use round-to-nearest
66057         for all computations.
66058         (__cos): Save and restore rounding mode and use round-to-nearest
66059         for all computations.
66060         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
66061         <fenv.h>.
66062         (tan): Save and restore rounding mode and use round-to-nearest for
66063         all computations.
66064         * math/libm-test.inc (cos_test_tonearest): New function.
66065         (cos_test_towardzero): Likewise.
66066         (cos_test_downward): Likewise.
66067         (cos_test_upward): Likewise.
66068         (sin_test_tonearest): Likewise.
66069         (sin_test_towardzero): Likewise.
66070         (sin_test_downward): Likewise.
66071         (sin_test_upward): Likewise.
66072         (tan_test_tonearest): Likewise.
66073         (tan_test_towardzero): Likewise.
66074         (tan_test_downward): Likewise.
66075         (tan_test_upward): Likewise.
66076         (main): Call the new functions.
66077         * sysdeps/i386/fpu/libm-test-ulps: Update.
66078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66080         [BZ #10135]
66081         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
66082         small n, then large n, before computing and testing k+n.
66083         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
66084         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
66085         Likewise.
66086         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
66087         Likewise.
66088         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
66089         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
66090         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
66091         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
66092         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
66093         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
66094         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
66095         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
66096         * math/libm-test.inc (scalbn_test): Add more tests.
66097         (scalbln_test): Likewise.
66099         * manual/filesys.texi (mode_t): Describe constraints on size and
66100         signedness, not exact equivalence to a particular type.
66101         (ino_t): Likewise.
66102         (ino64_t): Likewise.
66103         (dev_t): Likewise.
66104         (nlink_t): Likewise.
66105         (blkcnt_t): Likewise.
66106         (blkcnt64_t): Likewise.
66107         * manual/llio.texi (off_t): Likewise.
66109         [BZ #3976]
66110         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
66111         (__ieee754_exp): Save and restore rounding mode and use
66112         round-to-nearest for all computations.
66113         * math/libm-test.inc (exp_test_tonearest): New function.
66114         (exp_test_towardzero): Likewise.
66115         (exp_test_downward): Likewise.
66116         (exp_test_upward): Likewise.
66117         (main): Call the new functions.
66118         * sysdeps/i386/fpu/libm-test-ulps: Update.
66119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66121 2012-03-01  Chris Demetriou  <cgd@google.com>
66123         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
66124         have predictable order.
66126 2012-03-01  David S. Miller  <davem@davemloft.net>
66128         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
66130         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
66131         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
66132         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
66133         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
66135         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
66136         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
66137         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
66138         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
66139         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
66140         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
66141         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
66142         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
66143         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
66145         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66147         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
66148         * sysdeps/sparc/fpu/libm-test-ulps: to here.
66149         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
66151         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
66152         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
66153         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
66154         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
66155         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
66156         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
66157         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
66158         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
66159         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
66160         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
66161         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
66162         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
66163         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
66164         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
66165         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
66166         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66167         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
66168         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
66169         * sysdeps/sparc/elf/configure: Regenerated.
66171 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
66173         * configure.in (AS, LD): Require binutils 2.20 or later.
66174         * configure: Regenerated.
66175         * manual/install.texi (Tools for Compilation): Give binutils 2.20
66176         as required minimum version.
66177         * INSTALL: Regenerated.
66179         [BZ #2541]
66180         [BZ #4108]
66181         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
66182         before squaring exponent.
66183         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
66184         bottom long double and 27 bits of top long double before squaring
66185         exponent.
66186         * math/libm-test.inc (erfc_test): Add more tests.
66187         * sysdeps/i386/fpu/libm-test-ulps: Update.
66188         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66191 2012-03-01  Kai Tietz  <ktietz@redhat.com>
66193         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
66194         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
66195         containing bit-fields.
66196         * soft-fp/extended.h (_FP_UNION_E): Likewise.
66197         * soft-fp/single.h (_FP_UNION_S): Likewise.
66198         * soft-fp/double.h (_FP_UNION_D): Likewise.
66200 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
66202         [BZ #13786]
66203         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
66204         not include ../strcmp.S.
66205         [USE_AS_STRNCASECMP_L]: Likewise.
66206         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
66207         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
66208         * sysdeps/i386/i686/multiarch/strncase_l-c.c
66209         (__strncasecmp_l_ia32): Define as alias to
66210         __strncasecmp_l_nonascii.
66212         [BZ #5794]
66213         * math/libm-test.inc (expm1_test): Add test for bug 5794.
66214         * sysdeps/i386/fpu/libm-test-ulps: Update.
66215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66217         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
66218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66220 2012-02-29  Jeff Law  <law@redhat.com>
66222         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
66223         out of bounds read.
66225 2012-02-29  Marek Polacek  <polacek@redhat.com>
66227         [BZ #13706]
66228         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
66229         * elf/Makefile: Add rules to run tst-unused-dep.out.
66231 2012-02-28  David S. Miller  <davem@davemloft.net>
66233         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
66234         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
66235         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
66236         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
66237         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
66238         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
66240 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
66242         * math/libm-test.inc (llround_test): Move one test from
66243         lround_test.  Use TEST_f_L in moved test.
66244         (lround_test): Move misplaced test to llround_test.  Add testcase
66245         from bug 2561.
66247 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
66249         * sysdeps/x86_64/fpu/e_expf.S: New file.
66250         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
66252 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
66254         [BZ #13637]
66255         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
66256         of remain_len that may cause incomplete multi-byte character and
66257         false match.
66258         * posix/bug-regex33.c: New file.
66259         * posix/Makefile (tests): Add bug-regex33.
66261 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
66263         * manual/macros.texi: New file.
66264         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
66265         * manual/libc.texinfo: Include macros.texi.
66266         * manual/creatute.texi: Likewise.
66267         * manual/install.texi: Likewise.
66268         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
66269         @glibcadj{} in references to the GNU C Library.
66270         * manual/charset.texi: Likewise.
66271         * manual/conf.texi: Likewise.
66272         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
66273         when not using those macros.
66274         * manual/creature.texi: Likewise.
66275         * manual/crypt.texi: Likewise.
66276         * manual/errno.texi: Likewise.
66277         * manual/filesys.texi: Likewise.
66278         * manual/header.texi: Likewise.
66279         * manual/install.texi: Likewise.
66280         * manual/intro.texi: Likewise.
66281         * manual/io.texi: Likewise.
66282         * manual/job.texi: Likewise.
66283         * manual/lang.texi: Likewise.
66284         * manual/libc.texiinfo: Likewise.
66285         * manual/llio.texi: Likewise.
66286         * manual/locale.texi: Likewise.
66287         * manual/maint.texi: Likewise.
66288         * manual/math.texi: Likewise.
66289         * manual/memory.texi: Likewise.
66290         * manual/message.texi: Likewise.
66291         * manual/nss.texi: Likewise.
66292         * manual/pattern.texi: Likewise.
66293         * manual/process.texi: Likewise.
66294         * manual/resource.texi: Likewise.
66295         * manual/search.texi: Likewise.
66296         * manual/setjmp.texi: Likewise.
66297         * manual/signal.texi: Likewise.
66298         * manual/socket.texi: Likewise.
66299         * manual/startup.texi: Likewise.
66300         * manual/stdio.texi: Likewise.
66301         * manual/string.texi: Likewise.
66302         * manual/sysinfo.texi: Likewise.
66303         * manual/syslog.texi: Likewise.
66304         * manual/terminal.texi: Likewise.
66305         * manual/time.texi: Likewise.
66306         * manual/users.texi: Likewise.
66307         * INSTALL: Regenerated.
66308         * NOTES: Regenerated.
66309         * sysdeps/gnu/errlist.c: Regenerated.
66311 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
66313         * include/dirent.h: Include <dirstream.h> before
66314         <dirent/dirent.h>.
66316 2012-02-28  David S. Miller  <davem@davemloft.net>
66318         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
66319         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
66320         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
66321         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
66323 2012-02-27  David S. Miller  <davem@davemloft.net>
66325         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
66326         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
66327         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
66328         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
66330         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
66331         frame pointer instead of stack pointer relative arg slot.
66332         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
66333         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
66334         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
66336 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
66338         [BZ #3992]
66339         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
66341 2012-02-27  David S. Miller  <davem@davemloft.net>
66343         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
66344         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
66345         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
66346         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
66347         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
66348         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
66349         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
66350         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
66352 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
66354         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
66355         later.  Allow versions 5-9.
66356         * configure: Regenerated.
66357         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
66358         required minimum version and 4.6 as recommended version.  Do not
66359         mention bugs in GCC 2.7 and 2.8.
66360         * INSTALL: Regenerated.
66362 2012-02-27  David S. Miller  <davem@davemloft.net>
66364         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
66365         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
66366         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
66367         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
66368         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
66369         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
66370         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
66371         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
66373         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
66374         manipulate bits before adding and subtracting TWO112[sx].
66375         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
66377 2012-02-27  Roland McGrath  <roland@hack.frob.com>
66379         [BZ #13775]
66380         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
66381         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
66382         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
66383         being in POSIX, because they are in 1003.1-2008.
66385         * rt/tst-aio.c: Include <fcntl.h>.
66386         * rt/tst-aio7.c: Likewise.
66387         * rt/tst-aio64.c: Likewise.
66389         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
66391 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
66393         * manual/install.texi (--with-headers): Describe headers as
66394         interface headers, not private headers.
66395         (Specific advice for GNU/Linux systems): Describe use of headers
66396         from "make headers_install", not private headers from older
66397         kernels.
66398         * INSTALL: Regenerated.
66399         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
66400         Change to 2.6.19.
66401         * sysdeps/unix/sysv/linux/configure: Regenerated.
66403         * manual/llio.texi (fclean): Remove documentation.
66405         * manual/Makefile (libc-texi-generated): New variable.  Include
66406         version.texi.
66407         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
66408         $(libc-texi-generated), not duplicated list of files.
66409         (version.texi, stamp-version): New rules.
66410         (realclean): Remove $(libc-texi-generated), not individual files
66411         from that list.  Do not remove dir-add.texinfo.
66412         * manual/libc.texinfo: Comment out uses of edition numbers and
66413         references to printed manual.  Remove last-updated dates.
66414         (EDITION): Comment out.
66415         (ISBN): Likewise.
66416         (VERSION, UPDATED): Remove.
66417         (version.texi): Include.
66419 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
66421         * sysdeps/posix/spawni.c: Include <signal.h>.
66422         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
66423         * sysdeps/pthread/aio_fsync.c: Likewise.
66425 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
66427         * conform/Makefile (tests): Run only when not cross-compiling and
66428         when fast-check is not defined.
66430         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
66431         * conform/data/limits.h-data: Fixes for POSIX2008.
66432         * conform/run-conformtest.sh: Run all tests.
66433         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
66434         headers.
66435         * include/bits/dlfcn.h: Likewise.
66436         * include/langinfo.h: Likewise.
66437         * include/monetary.h: Likewise.
66438         * include/sys/poll.h: Likewise.
66440         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
66441         for __USE_GNU.
66442         * posix/spawn.h: Define __need_sigset_t.
66443         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
66444         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
66445         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
66446         to get sigevent_t only.
66447         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
66448         only for __USE_GNU.
66449         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66450         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
66451         process_vm_writev only for __USE_GNU.
66452         * termios/termios.h: Declare tcgetsid also for POSIX2008.
66454         * conform/Makefile: For now ignore errors from run-conformtest.
66455         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
66456         POSIX to avoid namespace pollution.  Don't prepend headers.
66457         * conform/data/aio.h-data: Fixes for POSIX testing.
66458         * conform/data/fcntl.h-data: Likewise.
66459         * conform/data/glob.h-data: Likewise.
66460         * conform/data/grp.h-data: Likewise.
66461         * conform/data/pthread.h-data: Likewise.
66462         * conform/data/pwd.h-data: Likewise.
66463         * conform/data/signal.h-data: Likewise.
66464         * conform/data/spawn.h-data: Likewise.
66465         * conform/data/stdio.h-data: Likewise.
66466         * conform/data/stdlib.h-data: Likewise.
66467         * conform/data/stropts.h-data: Likewise.
66468         * conform/data/sys/mman.h-data: Likewise.
66469         * conform/data/sys/stat.h-data: Likewise.
66470         * conform/data/sys/types.h-data: Likewise.
66471         * conform/data/sys/wait.h-data: Likewise.
66472         * conform/data/time.h-data: Likewise.
66473         * conform/data/unistd.h-data: Likewise.
66474         * conform/data/utime.h-data: Likewise.
66476         * io/sys/stat.h: fchmod was always in POSIX.
66477         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
66478         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
66479         * rt/aio.h: Define __need_timespec before including <time.h>.
66480         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
66481         struct.  Add forward declaration of pthread_attr_t and use it in
66482         sigevent.
66483         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
66484         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
66485         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
66486         always remove CLK_TCK definition.
66488 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
66490         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
66492 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
66494         * conform/run-conformtest.sh: New file.
66495         * conform/Makefile: Run run-conformtest for tests.
66496         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
66497         support.
66499         * conform/data/uchar.h-data: New file.
66500         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
66501         * conform/data/arpa/inet.h-data: Likewise.
66502         * conform/data/assert.h-data: Likewise.
66503         * conform/data/complex.h-data: Likewise.
66504         * conform/data/cpio.h-data: Likewise.
66505         * conform/data/ctype.h-data: Likewise.
66506         * conform/data/dirent.h-data: Likewise.
66507         * conform/data/dlfcn.h-data: Likewise.
66508         * conform/data/errno.h-data: Likewise.
66509         * conform/data/fcntl.h-data: Likewise.
66510         * conform/data/float.h-data: Likewise.
66511         * conform/data/fmtmsg.h-data: Likewise.
66512         * conform/data/fnmatch.h-data: Likewise.
66513         * conform/data/ftw.h-data: Likewise.
66514         * conform/data/glob.h-data: Likewise.
66515         * conform/data/grp.h-data: Likewise.
66516         * conform/data/iconv.h-data: Likewise.
66517         * conform/data/inttypes.h-data: Likewise.
66518         * conform/data/langinfo.h-data: Likewise.
66519         * conform/data/libgen.h-data: Likewise.
66520         * conform/data/limits.h-data: Likewise.
66521         * conform/data/locale.h-data: Likewise.
66522         * conform/data/math.h-data: Likewise.
66523         * conform/data/monetary.h-data: Likewise.
66524         * conform/data/mqueue.h-data: Likewise.
66525         * conform/data/ndbm.h-data: Likewise.
66526         * conform/data/net/if.h-data: Likewise.
66527         * conform/data/netdb.h-data: Likewise.
66528         * conform/data/netinet/in.h-data: Likewise.
66529         * conform/data/nl_types.h-data: Likewise.
66530         * conform/data/poll.h-data: Likewise.
66531         * conform/data/pthread.h-data: Likewise.
66532         * conform/data/pwd.h-data: Likewise.
66533         * conform/data/regex.h-data: Likewise.
66534         * conform/data/sched.h-data: Likewise.
66535         * conform/data/search.h-data: Likewise.
66536         * conform/data/semaphore.h-data: Likewise.
66537         * conform/data/setjmp.h-data: Likewise.
66538         * conform/data/signal.h-data: Likewise.
66539         * conform/data/spawn.h-data: Likewise.
66540         * conform/data/stdarg.h-data: Likewise.
66541         * conform/data/stdio.h-data: Likewise.
66542         * conform/data/stdlib.h-data: Likewise.
66543         * conform/data/string.h-data: Likewise.
66544         * conform/data/strings.h-data: Likewise.
66545         * conform/data/stropts.h-data: Likewise.
66546         * conform/data/sys/ipc.h-data: Likewise.
66547         * conform/data/sys/mman.h-data: Likewise.
66548         * conform/data/sys/msg.h-data: Likewise.
66549         * conform/data/sys/resource.h-data: Likewise.
66550         * conform/data/sys/select.h-data: Likewise.
66551         * conform/data/sys/sem.h-data: Likewise.
66552         * conform/data/sys/shm.h-data: Likewise.
66553         * conform/data/sys/socket.h-data: Likewise.
66554         * conform/data/sys/stat.h-data: Likewise.
66555         * conform/data/sys/statvfs.h-data: Likewise.
66556         * conform/data/sys/time.h-data: Likewise.
66557         * conform/data/sys/timeb.h-data: Likewise.
66558         * conform/data/sys/times.h-data: Likewise.
66559         * conform/data/sys/types.h-data: Likewise.
66560         * conform/data/sys/uio.h-data: Likewise.
66561         * conform/data/sys/un.h-data: Likewise.
66562         * conform/data/sys/utsname.h-data: Likewise.
66563         * conform/data/sys/wait.h-data: Likewise.
66564         * conform/data/syslog.h-data: Likewise.
66565         * conform/data/tar.h-data: Likewise.
66566         * conform/data/termios.h-data: Likewise.
66567         * conform/data/utime.h-data: Likewise.
66568         * conform/data/utmpx.h-data: Likewise.
66569         * conform/data/varargs.h-data: Likewise.
66570         * conform/data/wchar.h-data: Likewise.
66571         * conform/data/wctype.h-data: Likewise.
66572         * conform/data/wordexp.h-data: Likewise.
66574         * include/stropts.h: New file.
66575         * include/uchar.h: New file.
66576         * include/aio.h: Changes to allow conformtest.pl to use the headers.
66577         * include/assert.h: Likewise.
66578         * include/ctype.h: Likewise.
66579         * include/dirent.h: Likewise.
66580         * include/dlfcn.h: Likewise.
66581         * include/fcntl.h: Likewise.
66582         * include/fnmatch.h: Likewise.
66583         * include/glob.h: Likewise.
66584         * include/grp.h: Likewise.
66585         * include/libio.h: Likewise.
66586         * include/locale.h: Likewise.
66587         * include/math.h: Likewise.
66588         * include/net/if.h: Likewise.
66589         * include/netdb.h: Likewise.
66590         * include/netinet/in.h: Likewise.
66591         * include/pthread.h: Likewise.
66592         * include/pwd.h: Likewise.
66593         * include/regex.h: Likewise.
66594         * include/sched.h: Likewise.
66595         * include/search.h: Likewise.
66596         * include/setjmp.h: Likewise.
66597         * include/signal.h: Likewise.
66598         * include/stdio.h: Likewise.
66599         * include/stdlib.h: Likewise.
66600         * include/string.h: Likewise.
66601         * include/sys/cdefs.h: Likewise.
66602         * include/sys/mman.h: Likewise.
66603         * include/sys/msg.h: Likewise.
66604         * include/sys/resource.h: Likewise.
66605         * include/sys/select.h: Likewise.
66606         * include/sys/socket.h: Likewise.
66607         * include/sys/stat.h: Likewise.
66608         * include/sys/statvfs.h: Likewise.
66609         * include/sys/time.h: Likewise.
66610         * include/sys/times.h: Likewise.
66611         * include/sys/uio.h: Likewise.
66612         * include/sys/utsname.h: Likewise.
66613         * include/sys/wait.h: Likewise.
66614         * include/termios.h: Likewise.
66615         * include/time.h: Likewise.
66616         * include/ulimit.h: Likewise.
66617         * include/unistd.h: Likewise.
66618         * include/utime.h: Likewise.
66619         * include/wchar.h: Likewise.
66620         * include/wctype.h: Likewise.
66621         * include/wordexp.h: Likewise.
66623         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
66625         * time/time.h: TIME_UTC must be a macro.
66626         Make timespec_get available for ISO C11 only as well.
66628 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
66630         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
66631         Reported by Peng Haitao <penght@cn.fujitsu.com>.
66633 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
66635         * configure.in: Use -o not -a in test for unsupported multi-arch.
66637 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
66639         * manual/texinfo.tex: Update to version 2012-01-19.16.
66641 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
66643         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
66645 2012-02-24  Roland McGrath  <roland@hack.frob.com>
66647         [BZ #13738]
66648         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
66649         * manual/fdl-1.3.texi: New file.
66650         * manual/fdl-1.1.texi: File removed.
66652         [BZ #13738]
66653         * manual/libc.texinfo (FDL_VERSION): New @set.
66654         Use it for mention of FDL in cover text.
66655         (Documentation License): Use it in @include file name.
66657 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66658             Roland McGrath  <roland@hack.frob.com>
66660         [BZ #5461]
66661         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
66662         (not LONG_LONG_MAX and LONG_LONG_MIN.
66663         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
66664         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
66665         name.
66666         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
66668 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66670         [BZ #2547]
66671         [BZ #11365]
66672         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
66673         manipulate bits before adding and subtracting TWO23[sx].
66674         * math/libm-test.inc (nearbyint_test): Add more tests.
66676 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66678         [BZ #2548]
66679         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
66680         bits before adding and subtracting TWO23[sx].
66681         * math/libm-test.inc (rint_test): Add more tests.
66682         (rint_test_tonearest): Likewise.
66683         (rint_test_towardzero): Likewise.
66684         (rint_test_downward): Likewise.
66685         (rint_test_upward: Likewise.
66687 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66689         [BZ #10110]
66690         * include/stdc-predef.h: New file.  Extracted from features.h.
66691         * include/features.h: Include stdc-predef.h.
66692         * Makefile (headers): Add stdc-predef.h.
66693         * CONFORMANCE (Compiler limitations): Update.
66695 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66697         * manual/libc.texinfo (VERSION, UPDATED): Revert.
66699 2012-02-21  David S. Miller  <davem@davemloft.net>
66701         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
66702         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
66704 2012-02-20  David S. Miller  <davem@davemloft.net>
66706         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
66707         using a normal save/restore sequence, rather than allocating a
66708         dummy stack frame just to store a frame pointer and restore.
66709         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
66711 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
66713         * manual/install.texi: Fix stray word in line-wrapped comment.
66715 2012-02-20  David S. Miller  <davem@davemloft.net>
66717         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
66718         both binutils and gcc support GOTDATA.
66720         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
66721         "rd %pc" in the PIC register setup sequences.
66723         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
66724         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
66725         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
66726         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
66727         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
66728         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
66729         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66730         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
66731         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
66732         (SYSCALL_ERROR_HANDLER): Likewise.
66733         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
66734         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
66735         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
66736         (SYSCALL_ERROR_HANDLER): Likewise.
66738         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
66739         (HAVE_GCC_GOTDATA): New.
66740         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
66741         relocation support in both binutils and gcc.
66742         * sysdeps/sparc/elf/configure: Regenerate.
66744         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
66745         * sysdeps/sparc/sparc32/elf/configure: Delete.
66746         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
66747         * sysdeps/sparc/sparc64/elf/configure: Delete.
66748         * sysdeps/sparc/elf/configure.in: New file.
66749         * sysdeps/sparc/elf/configure: Generate.
66751         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
66752         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
66753         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
66754         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
66755         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
66757 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
66759         * manual/install.texi: Do not mention specific glibc version
66760         numbers.
66761         * manual/libc.texinfo (VERSION, UPDATED): Update.
66762         (@copying): Use @copyright{} and range of years.
66764 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
66766         [BZ #13695]
66767         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
66768         [crti.S not in sysdirs] (generated): Do not append.
66769         [crti.S not in sysdirs] (omit-deps): Likewise.
66770         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
66771         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
66772         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
66773         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
66774         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
66775         Likewise.
66776         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
66777         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
66778         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
66779         * csu/defs.awk: Remove file.
66780         * sysdeps/generic/initfini.c: Likewise.
66781         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
66782         variable.
66783         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
66784         Likewise.
66786 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
66788         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
66789         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
66790         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
66791         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
66792         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66793         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
66794         <bits/epoll.h>.
66795         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
66796         (__EPOLL_PACKED): Define to empty if not defined by
66797         <bits/epoll.h>.
66798         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
66799         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66800         bits/epoll.h.
66802 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
66804         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
66805         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
66806         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
66807         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
66808         <bits/timerfd.h>.
66809         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
66810         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66811         bits/timerfd.h.
66813 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
66815         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
66816         in C locale.
66817         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66818         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66819         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
66820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66822 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
66824         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66825         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
66827 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
66829         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
66830         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
66831         defined.
66832         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
66833         Likewise.
66834         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
66835         entry for 2.16.
66837 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
66839         * math/w_acos.c: Use non-signaling floating-point comparisons.
66840         * math/w_acosf.c: Likewise.
66841         * math/w_acosh.c: Likewise.
66842         * math/w_acoshf.c: Likewise.
66843         * math/w_acoshl.c: Likewise.
66844         * math/w_acosl.c: Likewise.
66845         * math/w_asin.c: Likewise.
66846         * math/w_asinf.c: Likewise.
66847         * math/w_asinl.c: Likewise.
66848         * math/w_atanh.c: Likewise.
66849         * math/w_atanhf.c: Likewise.
66850         * math/w_atanhl.c: Likewise.
66851         * math/w_exp2.c: Likewise.
66852         * math/w_exp2f.c: Likewise.
66853         * math/w_exp2l.c: Likewise.
66854         * math/w_j0.c: Likewise.
66855         * math/w_j0f.c: Likewise.
66856         * math/w_j0l.c: Likewise.
66857         * math/w_j1.c: Likewise.
66858         * math/w_j1f.c: Likewise.
66859         * math/w_j1l.c: Likewise.
66860         * math/w_jn.c: Likewise.
66861         * math/w_jnf.c: Likewise.
66862         * math/w_log.c: Likewise.
66863         * math/w_log10.c: Likewise.
66864         * math/w_log10f.c: Likewise.
66865         * math/w_log10l.c: Likewise.
66866         * math/w_log2.c: Likewise.
66867         * math/w_log2f.c: Likewise.
66868         * math/w_log2l.c: Likewise.
66869         * math/w_logf.c: Likewise.
66870         * math/w_logl.c: Likewise.
66871         * math/w_sqrt.c: Likewise.
66872         * math/w_sqrtf.c: Likewise.
66873         * math/w_sqrtl.c: Likewise.
66874         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66875         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
66876         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66877         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
66878         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
66880 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
66882         [BZ #9739]
66883         * manual/string.texi (strnlen): Use correct parameter name in
66884         equivalent expression.
66886 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
66888         [BZ #11174]
66889         * manual/users.texi (seteuid): Consistently use neweuid for
66890         argument name.
66892 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
66894         [BZ #13704]
66895         * manual/nss.texi (Services in the NSS configuration): Correct
66896         list of services in example configuration file.
66898 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
66900         [BZ #11322]
66901         * manual/arith.texi: Remove statements about negative zero
66902         behaving identically to zero.
66904 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
66906         [BZ #5993]
66907         * manual/install.texi: Do not document upgrading from libc5.
66909 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
66911         [BZ #4596]
66912         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
66914 2012-02-18  David S. Miller  <davem@davemloft.net>
66916         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
66917         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
66918         %o7 across the call.
66919         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
66920         instead.
66921         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
66922         SETUP_PIC_REG_LEAF.
66923         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66924         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
66925         * sysdeps/sparc/crtn.S: Likewise.
66927 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
66929         * aout/Makefile: Remove.
66931 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
66933         [BZ #13058]
66934         * manual/examples/argp-ex1.c (main): Format definition in GNU
66935         style.
66936         * manual/examples/argp-ex2.c (main): Likewise.
66937         * manual/examples/argp-ex3.c (main): Likewise.
66938         * manual/examples/argp-ex4.c (main): Likewise.
66939         * manual/examples/longopt.c (main): Use new-style prototype
66940         definition.
66941         * manual/examples/strncat.c (main): Specify return type and use
66942         (void) for arguments.
66943         * manual/examples/subopt.c (main): Use char **argv argument.
66945 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66947         [BZ #5077]
66948         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
66949         rounding modes.
66951 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
66953         [BZ #6907]
66954         * manual/string.texi (strchr): Change when strchrnul is
66955         recommended.
66957 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
66959         [BZ #174]
66960         * manual/locale.texi (setlocale): Document LOCPATH.
66962 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66964         [BZ #10210]
66965         * manual/process.texi (execle): Move @dots{} before last argument.
66967 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
66969         [BZ #12047]
66970         * manual/charset.texi (Generic Charset Conversion): Fix typo
66971         (LC_TYPE -> LC_CTYPE).
66973 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
66975         [BZ #5805]
66976         * manual/arith.texi (scalbn): Use @var{} on parameter names.
66977         (scalbnf): Likewise.
66978         (scalbnl): Likewise.
66979         (scalbln): Likewise.
66980         (scalblnf): Likewise.
66981         (scalblnl): Likewise.
66982         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
66983         (vwarnx): Likewise.
66984         (verr): Likewise.
66985         (verrx): Likewise.
66986         * manual/filesys.texi (telldir): Use braces around return type.
66987         * manual/llio.texi (mmap): Add space after comma.
66988         (mmap64): Likewise.
66989         * manual/math.texi (jn): Use @var{} on parameter names.
66990         (jnf): Likewise.
66991         (jnl): Likewise.
66992         (yn): Likewise.
66993         (ynf): Likewise.
66994         (ynl): Likewise.
66995         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
66996         line.
66997         * manual/resource.texi (ulimit): Use @dots{} instead of literal
66998         "...".
66999         (sched_get_priority_min): Remove semicolon on @deftypefun line.
67000         (sched_get_priority_max): Likewise.
67001         * manual/signal.texi (sigvec): Add space after comma.
67002         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
67003         names.
67004         (if_indextoname): Likewise.
67005         (if_freenameindex): Likewise.
67006         (sendto): Use ',' instead of '.' in prototype.
67007         * manual/startup.texi (syscall): Use @dots{} instead of literal
67008         "...".
67009         * manual/stdio.texi (__fpending): Separate initial words of
67010         paragraph from @deftypefun line.
67011         * manual/syslog.texi (syslog): Use @dots{} instead of literal
67012         "...".
67013         (vsyslog): Use @var{} on parameter names.
67014         * manual/terminal.texi (stty): Use @var{} on parameter names.
67015         * manual/users.texi (getutmp): Use @var{} on parameter names.
67016         (getutmpx): Likewise.
67018 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67020         [BZ #6884]
67021         * manual/stdio.texi (fopen): Fix typos in description of
67022         ",ccs=STRING".
67024 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
67026         [BZ #4026]
67027         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
67028         get clock_id definition.
67030 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
67032         [BZ #4822]
67033         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
67034         (madvise): Cast every argument to void on its own.
67036 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67038         [BZ #9902]
67039         * manual/startup.texi (Exit Status): Fix typo.
67041 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67043         [BZ #10140]
67044         * manual/examples/argp-ex1.c: Include <stdlib.h>.
67045         * manual/examples/argp-ex2.c: Likewise.
67046         * manual/examples/argp-ex3.c: Likewise.
67048 2012-02-16  Richard Henderson  <rth@redhat.com>
67050         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
67051         * sysdeps/s390/s390-32/initfini.c: Remove.
67052         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
67053         * sysdeps/s390/s390-64/initfini.c: Remove.
67055 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67057         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
67058         compiler output for sysdeps/generic/initfini.c.
67059         * sysdeps/sh/elf/initfini.c: Remove file.
67061 2012-02-16  David S. Miller  <davem@davemloft.net>
67063         [BZ #11494]
67064         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
67066         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
67067         * sysdeps/sparc/crti.S: New file.
67068         * sysdeps/sparc/crtn.S: New file.
67069         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
67070         * sysdeps/sparc/sparc64/Makefile: Likewise.
67072 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
67074         [BZ #3335]
67075         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
67077 2012-02-15  Roland McGrath  <roland@hack.frob.com>
67079         [BZ #4822]
67080         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
67082         * mach/devstream.c (cookie_io_functions_t): Macro removed.
67083         (write, read, close): Likewise.
67084         Patch by Aurelien Jarno <aurelien@aurel32.net>.
67086 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
67088         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
67089         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
67090         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
67091         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
67092         <bits/signalfd.h>.
67093         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
67094         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67095         bits/signalfd.h.
67097 2012-02-14  Marek Polacek  <polacek@redhat.com>
67099         * sysdeps/x86_64/crti.S: New file.
67100         * sysdeps/x86_64/crtn.S: New file.
67101         * sysdeps/x86_64/elf/initfini.c: Remove file.
67103 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
67105         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
67106         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
67107         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
67108         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
67109         <bits/inotify.h>.
67110         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
67111         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67112         bits/inotify.h.
67114 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
67116         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
67117         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
67118         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
67119         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
67120         <bits/eventfd.h>.
67121         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
67122         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67123         bits/eventfd.h.
67125 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
67127         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
67128         __feraiseexcept instead of feraiseexcept.
67130         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
67131         nanosleep invocations.
67132         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
67133         strings, and add error checking for a nanosleep invocations.
67135 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
67137         Replace FSF snail mail address with URLs, as per GNU coding standards.
67138         Most of the snail mail addresses were wrong anyway, and omitting
67139         them makes the source code easier to maintain.  Almost all of the
67140         changes are to license notices and to locale LC_IDENTIFICATION
67141         addresses, except for this one:
67142         * manual/libc.texinfo: In "Published by", give the FSF's URL,
67143         not its snail mail address.
67145 2012-02-09  Richard Henderson  <rth@twiddle.net>
67147         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
67148         of kernel-features.h.
67150         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
67152 2012-02-08  Marek Polacek  <polacek@redhat.com>
67154         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
67155         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
67156         * sysdeps/gnu/_G_config.h: Likewise.
67157         * sysdeps/generic/_G_config.h: Likewise.
67159 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
67161         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
67162         tests.
67163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67165         * sysdeps/powerpc/powerpc32/crti.S: New file.
67166         * sysdeps/powerpc/powerpc32/crtn.S: New file.
67167         * sysdeps/powerpc/powerpc64/crti.S: New file.
67168         * sysdeps/powerpc/powerpc64/crtn.S: New file.
67170         * Makeconfig (have-initfini): Don't set.
67171         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
67172         * configure.in (nopic_initfini): Don't substitute.
67173         * config.h.in (HAVE_INITFINI): Don't #undef.
67174         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
67175         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
67177 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
67179         Support crti.S and crtn.S provided directly by architectures.
67180         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
67181         [crti.S in sysdirs] (omit-deps): Likewise.
67182         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
67183         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
67184         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
67185         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
67186         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
67187         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
67188         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
67189         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
67190         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
67191         compiler output for sysdeps/generic/initfini.c.
67192         * sysdeps/i386/elf/Makefile: Remove file.
67193         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
67195 2012-02-07  Marek Polacek  <polacek@redhat.com>
67197         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
67198         * sysdeps/gnu/_G_config.h: Likewise.
67199         * sysdeps/mach/hurd/_G_config.h: Likewise.
67201 2012-02-07  Marek Polacek  <polacek@redhat.com>
67203         * math/Makefile (tests): Add tst-CMPLX2.
67204         * math/tst-CMPLX2.c: New file.
67206 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
67208         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67210         * math/libm-test.inc (jn_test): Add missing L suffix.
67212 2012-02-06  Marek Polacek  <polacek@redhat.com>
67214         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
67215         * sysdeps/i386/fpu/e_powf.S: Likewise.
67216         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67217         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
67218         * sysdeps/i386/fpu/e_acosh.S: Likewise.
67219         * sysdeps/i386/fpu/e_pow.S: Likewise.
67220         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
67221         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67222         * sysdeps/i386/fpu/s_expm1.S: Likewise.
67223         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
67224         * sysdeps/i386/fpu/e_log2.S: Likewise.
67225         * sysdeps/i386/fpu/e_log2l.S: Likewise.
67226         * sysdeps/i386/fpu/e_scalb.S: Likewise.
67227         * sysdeps/i386/fpu/e_powl.S: Likewise.
67228         * sysdeps/i386/fpu/s_log1p.S: Likewise.
67229         * sysdeps/i386/fpu/e_log10f.S: Likewise.
67230         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
67231         * sysdeps/i386/fpu/e_logl.S: Likewise.
67232         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
67233         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
67234         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
67235         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
67236         * sysdeps/i386/fpu/e_log2f.S: Likewise.
67237         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67238         * sysdeps/i386/fpu/e_log.S: Likewise.
67239         * sysdeps/i386/fpu/s_cexp.S: Likewise.
67240         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67241         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
67242         * sysdeps/i386/fpu/e_logf.S: Likewise.
67243         * sysdeps/i386/fpu/e_log10l.S: Likewise.
67244         * sysdeps/i386/fpu/e_atanh.S: Likewise.
67245         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
67246         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
67247         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
67248         * sysdeps/i386/fpu/e_log10.S: Likewise.
67249         * sysdeps/i386/fpu/s_frexp.S: Likewise.
67250         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67251         * sysdeps/i386/fpu/s_asinh.S: Likewise.
67252         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
67253         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67254         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
67255         * sysdeps/i386/asm-syntax.h: Likewise.
67256         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67257         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67258         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67259         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
67260         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
67261         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67262         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
67263         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
67264         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67265         * sysdeps/powerpc/sysdep.h: Likewise.
67266         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
67267         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
67269 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
67271         [BZ #411]
67272         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
67274 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
67276         * sysdeps/i386/sysdep.h: Include <features.h>.
67277         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
67278         version.
67280 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
67282         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
67283         Define.
67284         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
67285         LOAD_PIC_REG_STR.
67287 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67289         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
67290         (SETUP_PIC_REG): Use GET_PC_THUNK.
67291         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
67292         macro.
67294 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67296         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
67297         for non-PIC compilation.
67298         (SETUP_PIC_REG): Add .p2align directive.
67299         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
67300         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
67301         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
67302         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
67303         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
67304         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
67305         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
67306         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
67307         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
67308         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
67309         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
67310         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
67311         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
67312         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
67313         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
67314         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
67315         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
67316         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
67317         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
67318         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
67319         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
67320         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
67321         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
67322         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
67323         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
67324         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
67325         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67326         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
67327         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
67328         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
67329         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
67330         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67331         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
67332         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
67333         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
67334         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
67335         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
67336         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
67337         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
67338         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
67339         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
67341 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67343         * math/tst-CMPLX.c: Include <stdio.h>.
67345 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
67347         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
67348         float.
67349         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
67350         * sysdeps/sparc/bits/mathdef.h: Likewise.
67352 2012-01-31  Marek Polacek  <polacek@redhat.com>
67354         * libio/libio.h: Don't define _PARAMS.
67355         * locale/programs/config.h: Don't define PARAMS.
67356         * stdlib/strtol_l.c: Likewise.
67357         (__strtol_l): Remove PARAMS from the prototype.
67359 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
67361         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
67362         names.  Just use the correct names.  Remove unnecessary wrapper
67363         functions.
67364         * malloc/arena.c: Likewise.
67365         * malloc/hooks.c: Likewise.
67367         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
67368         ARENA_TEST says not to.  Simplify test for creation of a new arena.
67369         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
67371 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
67373         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
67374         into tail calls.
67375         (update_get_addr): New function.
67376         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
67377         GET_ADDR_MODULE parameter.
67379 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
67381         * crypt/cert.c: Remove __STDC__ conditionals.
67382         * crypt/crypt-entry.c: Likewise.
67383         * crypt/crypt_util.c: Likewise.
67384         * libio/filedoalloc.c: Likewise.
67385         * libio/fileops.c: Likewise.
67386         * libio/genops.c: Likewise.
67387         * libio/iofclose.c: Likewise.
67388         * libio/iofdopen.c: Likewise.
67389         * libio/iofopen.c: Likewise.
67390         * libio/iofopen64.c: Likewise.
67391         * libio/iogetdelim.c: Likewise.
67392         * libio/iopopen.c: Likewise.
67393         * libio/obprintf.c: Likewise.
67394         * libio/oldfileops.c: Likewise.
67395         * libio/oldiofclose.c: Likewise.
67396         * libio/oldiofdopen.c: Likewise.
67397         * libio/oldiofopen.c: Likewise.
67398         * libio/oldiopopen.c: Likewise.
67399         * libio/wfiledoalloc.c: Likewise.
67400         * libio/wgenops.c: Likewise.
67401         * locale/programs/xmalloc.c: Likewise.
67402         * misc/syslog.c: Likewise.
67403         * stdio-common/xbug.c: Likewise.
67404         * string/memchr.c: Likewise.
67405         * string/memcmp.c: Likewise.
67406         * string/memrchr.c: Likewise.
67407         * string/rawmemchr.c: Likewise.
67408         * sysdeps/posix/getcwd.c: Likewise.
67409         * time/strftime_l.c: Likewise.
67411 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
67413         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
67414         * config.make.in (config-cflags-sse2avx): Define.
67415         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
67416         Fix typo.
67418 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
67420         * scripts/config.guess: Update from upstream config git repository.
67421         * scripts/config.sub: Likewise.
67423 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
67425         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
67426         (EM_NUM): Update.
67427         (R_TILEPRO_*, R_TILEGX_*): New macros.
67429         * scripts/firstversions.awk: Fix bug in version range handling.
67431         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
67433         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
67435         * include/sys/epoll.h: New file.
67436         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
67437         libc_hidden_def.
67439 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
67441         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
67442         Avoid unnecessary __WORDSIZE == 64 test.
67443         (fmaxf): Use VEX format if possible.
67444         (fmax): Likewise.
67445         (fminf): Likewise.
67446         (fmin): Likewise.
67448         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
67449         * math/math_private.h: Remove libc_fegetround* and
67450         libc_fesetround*.
67451         * sysdeps/i386/configure.in: Check for -msse2avx.
67452         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
67453         also if SSE2AVX is defined.
67454         Remove libc_fegetround* and libc_fesetround*.
67455         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
67456         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
67457         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
67458         of HAS_YMM_USABLE.
67459         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
67460         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
67461         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
67462         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
67463         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
67465         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
67467 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67469         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
67470         size is not set.
67471         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
67473 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
67475         [BZ #13618]
67476         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
67477         relocation.
67478         * Makeconfig (libm): Define.
67479         * elf/Makefile: Add rules to build and run tst-relsort1.
67480         * elf/tst-relsort1.c: New file.
67481         * elf/tst-relsort1mod1.c: New file.
67482         * elf/tst-relsort1mod2.c: New file.
67484 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
67486         * math/s_ldexp.c: Remove __STDC__ conditionals.
67487         * math/s_ldexpf.c: Likewise.
67488         * math/s_ldexpl.c: Likewise.
67489         * math/s_nextafter.c: Likewise.
67490         * math/s_nexttowardf.c: Likewise.
67491         * math/s_significand.c: Likewise.
67492         * math/s_significandf.c: Likewise.
67493         * math/s_significandl.c: Likewise.
67494         * math/w_jnl.c: Likewise.
67495         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
67496         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
67497         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
67498         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
67499         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
67500         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
67501         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
67502         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
67503         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
67504         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
67505         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
67506         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67507         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
67508         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
67509         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
67510         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
67511         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
67512         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
67513         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67514         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
67515         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
67516         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
67517         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
67518         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
67519         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
67520         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
67521         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
67522         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
67523         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
67524         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
67525         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
67526         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
67527         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
67528         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
67529         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
67530         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
67531         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
67532         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
67533         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
67534         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
67535         * sysdeps/ieee754/k_standard.c: Likewise.
67536         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67537         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
67538         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
67539         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
67540         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
67541         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
67542         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
67543         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
67544         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
67545         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
67546         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
67547         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
67548         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
67549         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
67550         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
67551         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
67552         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
67553         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
67554         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
67555         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
67556         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
67557         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
67558         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
67559         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
67560         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
67561         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
67562         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67563         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67564         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67565         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
67566         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
67567         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
67568         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
67569         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
67570         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
67571         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
67572         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
67573         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
67574         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
67575         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
67576         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
67577         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
67578         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
67579         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
67580         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
67581         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
67582         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
67583         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
67584         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
67585         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
67586         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
67587         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
67588         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
67589         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
67590         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
67591         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
67592         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
67593         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67594         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67595         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67596         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
67597         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
67598         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
67599         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
67600         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
67601         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
67602         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
67603         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
67604         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
67605         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
67606         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
67607         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
67608         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
67609         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
67610         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
67611         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
67612         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
67613         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
67614         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
67615         * sysdeps/ieee754/s_matherr.c: Likewise.
67616         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
67617         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
67618         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
67619         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
67621 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
67623         * crypt/md5.h: Remove __STDC__ conditionals.
67624         * libio/libioP.h: Likewise.
67625         * locale/programs/config.h: Likewise.
67626         * sysdeps/generic/sysdep.h: Likewise.
67627         * sysdeps/i386/asm-syntax.h: Likewise.
67628         * sysdeps/s390/asm-syntax.h: Likewise.
67629         * sysdeps/unix/sysdep.h: Likewise.
67630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
67631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
67633 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
67635         * libio/libio.h: Remove __STDC__ conditionals.
67636         * malloc/obstack.h: Likewise.
67637         * math/complex.h: Likewise.
67638         * math/math.h: Likewise.
67639         * sysdeps/generic/_G_config.h: Likewise.
67640         * sysdeps/gnu/_G_config.h: Likewise.
67641         * sysdeps/mach/hurd/_G_config.h: Likewise.
67642         * sysdeps/powerpc/bits/mathdef.h: Likewise.
67643         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
67644         * sysdeps/sparc/bits/mathdef.h: Likewise.
67646 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
67648         [BZ #13583]
67649         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
67650         Clean up HAS_* macros.
67651         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
67652         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
67653         possible.
67654         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
67655         HAS_AVX.
67656         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
67657         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
67658         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
67659         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
67660         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
67662 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
67664         * elf/tst-unique3.cc (gets): Remove declaration.
67665         * elf/tst-unique3lib.cc (gets): Likewise.
67666         * elf/tst-unique3lib2.cc (gets): Likewise.
67667         * elf/tst-unique4.cc (gets): Likewise.
67669 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
67671         * include/stdio.h: Add C++ protection.  Add gets declarations and
67672         definitions.
67673         * debug/tst-chk1.c: Don't declare gets here.
67674         * stdio-common/tst-gets.c: Likewise.
67676 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
67678         * posix/glob: Remove directory.
67680 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
67682         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
67684 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
67686         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
67687         of the non-standard EPFNOSUPPORT.
67689 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67691         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
67692         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
67693         ANYWHERE set to 1 only on KERN_NO_SPACE error.
67695 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
67697         * wcsmbs/uchar.h: Test __STDC_VERSION__.
67699 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
67701         * nscd/aicache.c (addhstaiX): Do not cache negative results of
67702         transient errors.
67703         * nscd/grpcache.c (cache_addgr): Likewise.
67704         * nscd/hstcache.c (cache_addhst): Likewise.
67705         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67706         * nscd/pwdcache.c (cache_addpw): Likewise.
67707         * nscd/servicescache.c (cache_addserv): Likewise.
67709 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
67711         * malloc/malloc.c: Various cleanups.
67712         * malloc/hooks.c: Likewise.
67714         * stdlib/Makefile (tests): Add bug-fmtmsg1.
67715         * stdlib/bug-fmtmsg1.c: New file.
67717         * stdlib/fmtmsg.c (init): Add missing unlock.
67718         Patch by Peng Haitao <penght@cn.fujitsu.com>.
67720 2012-01-12  Marek Polacek  <polacek@redhat.com>
67722         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
67723         and _GNU_SOURCE.
67725 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
67727         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
67728         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
67729         macro to ensure uniqueness of label name.
67730         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
67731         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
67733 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
67735         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
67737         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
67738         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
67739         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
67740         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
67742 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
67744         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
67746         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
67747         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
67748         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
67750         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
67752         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
67753         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
67754         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
67755         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
67757         * math/bits/math-finite.h: Add ldexp support.
67759 2012-01-10  Marek Polacek  <polacek@redhat.com>
67761         * locale/programs/localedef.h (show_archive_content): Add noreturn
67762         attribute.
67764 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
67766         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
67768 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
67770         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
67772         * io/Makefile (headers): Add bits/poll2.h.
67774 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
67776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
67777         typo #include statement.
67779 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
67781         * include/sys/cdefs.h: Define __attribute_alloc_size.
67782         * catgets/gencat.c: Add alloc_size attribute and apply consistently
67783         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
67784         * elf/pldd.c: Likewise.
67785         * iconv/iconv_charmap.c: Likewise.
67786         * iconv/iconvconfig.c: Likewise.
67787         * iconv/strtab.c: Likewise.
67788         * locale/programs/locale.c: Likewise.
67789         * locale/programs/localedef.h: Likewise.
67790         * locale/programs/simple-hash.c: Likewise.
67791         * nscd/nscd.h: Likewise.
67792         * nss/makedb.c: Likewise.
67793         * sysdeps/generic/ldconfig.h: Likewise.
67794         * locale/programs/localedef.c: Remove xmalloc prototype.
67795         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
67797 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
67799         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
67800         appropriate.
67802 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
67804         * math/Makefile (tests): Add tst-CMPLX.
67805         * math/tst-CMPLX.c: New file.
67807         * math/complex.h (CMPLXL): Fix typo.
67809         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
67810         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
67811         GLIBC_2.16.
67812         * debug/tst-chk1.c: Add poll and ppoll tests.
67813         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
67814         * include/sys/poll.h: Add hidden proto for ppoll.
67815         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
67816         * sysdeps/mach/hurd/ppoll.c: Likewise.
67817         * io/ppoll.c: Likewise.
67818         * debug/poll_chk.c: New file.
67819         * debug/ppoll_chk.c: New file.
67820         * include/bits/poll2.h: New file.
67821         * io/bits/poll2.h: New file.
67823         [BZ #1350]
67824         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
67826         * configure.in: static is always set to yes.  Remove.
67827         * config.make.in: Don't set build-static.
67828         * Makeconfig: Remove use of build-static.
67829         * dlfcn/Makefile: Likewise.
67830         * elf/Makefile: Likewise.
67831         * math/Makefile: Likewise.
67832         * misc/Makefile: Likewise.
67833         * nptl/Makefile: Likewise.
67834         * sysdeps/mach/hurd/Makefile: Likewise.
67836         * configure.in: PWD_P is not used anymore.
67837         * config.make.in: Remove PWD_P entry.
67839         * configure.in: Remove last remnants of RANLIB.
67840         No need to check for signed size_t anymore.
67841         Don't set libc_commonpagesize and libc_relro_required here for Alpha
67842         and IA-64.
67843         Remove __builtin_expect test because we require at least gcc 3.4.
67844         * aclocal.m4: Likewise.
67846         * wcsmbs/mbrtoc16.c: Implement using towc function.
67847         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
67848         * wcsmbs/wcsmbsload.c: Likewise.
67849         * iconv/gconv_simple.c: Likewise.
67850         * iconv/gconv_int.h: Likewise.
67851         * iconv/gconv_builtin.h: Likewise.
67852         * iconv/iconv_prog.c: Remove CHAR16 handling.
67854         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
67856         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
67858         * configure.in: Remove --with-elf and --enable-bounded options.
67859         Dont set base_machine for ia64.  More non-ELF conditions removed.
67860         Remove testing and setting of leading underscore information.
67861         * config.make.in (build-bounded): Set to no.
67862         * config.h.in: Remove NO_UNDERSCORES entry.
67863         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
67864         them.
67865         * csu/start.c: Remove !NO_UNDERSCORE code.
67866         * locale/localeinfo.h: Likewise.
67867         * sysdeps/generic/machine-gmon.h: Likewise.
67868         * sysdeps/generic/sysdep.h: Likewise.
67869         * sysdeps/i386/sysdep.h: Likewise.
67870         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
67871         * sysdeps/mach/sysdep.h: Likewise.
67872         * sysdeps/s390/s390-32/sysdep.h: Likewise.
67873         * sysdeps/s390/s390-64/sysdep.h: Likewise.
67874         * sysdeps/sh/sysdep.h: Likewise.
67875         * sysdeps/sparc/sparc32/alloca.S: Likewise.
67876         * sysdeps/unix/i386/sysdep.S: Likewise.
67877         * sysdeps/unix/sparc/start.c: Likewise.
67878         * sysdeps/unix/sparc/sysdep.S: Likewise.
67879         * sysdeps/unix/sparc/sysdep.h: Likewise.
67880         * sysdeps/unix/start.c: Likewise.
67881         * sysdeps/unix/x86_64/sysdep.S: Likewise.
67882         * sysdeps/x86_64/sysdep.h: Likewise.
67884 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
67886         [BZ #13553]
67887         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
67888         for non-gcc.
67889         * argp/argp-fmtstream.h: Use const instead __const.
67890         * argp/argp.h: Likewise.
67891         * assert/assert.h: Likewise.
67892         * bits/fenv.h: Likewise.
67893         * bits/sched.h: Likewise.
67894         * bits/sigset.h: Likewise.
67895         * bits/sigthread.h: Likewise.
67896         * catgets/nl_types.h: Likewise.
67897         * conform/data/pthread.h-data: Likewise.
67898         * crypt/crypt-private.h: Likewise.
67899         * crypt/crypt.h: Likewise.
67900         * crypt/crypt_util.c: Likewise.
67901         * ctype/ctype.h: Likewise.
67902         * debug/execinfo.h: Likewise.
67903         * debug/mbsnrtowcs_chk.c: Likewise.
67904         * debug/mbsrtowcs_chk.c: Likewise.
67905         * debug/wcsnrtombs_chk.c: Likewise.
67906         * debug/wcsrtombs_chk.c: Likewise.
67907         * debug/wcstombs_chk.c: Likewise.
67908         * dirent/dirent.h: Likewise.
67909         * dlfcn/dlfcn.h: Likewise.
67910         * elf/neededtest4.c: Likewise.
67911         * grp/grp.h: Likewise.
67912         * gshadow/gshadow.h: Likewise.
67913         * iconv/gconv.h: Likewise.
67914         * iconv/gconv_int.h: Likewise.
67915         * iconv/gconv_simple.c: Likewise.
67916         * iconv/iconv.h: Likewise.
67917         * iconv/loop.c: Likewise.
67918         * iconv/skeleton.c: Likewise.
67919         * include/aio.h: Likewise.
67920         * include/aliases.h: Likewise.
67921         * include/argz.h: Likewise.
67922         * include/arpa/inet.h: Likewise.
67923         * include/assert.h: Likewise.
67924         * include/dirent.h: Likewise.
67925         * include/dlfcn.h: Likewise.
67926         * include/execinfo.h: Likewise.
67927         * include/fcntl.h: Likewise.
67928         * include/fenv.h: Likewise.
67929         * include/glob.h: Likewise.
67930         * include/grp.h: Likewise.
67931         * include/libintl.h: Likewise.
67932         * include/mntent.h: Likewise.
67933         * include/netdb.h: Likewise.
67934         * include/pwd.h: Likewise.
67935         * include/rpc/netdb.h: Likewise.
67936         * include/sched.h: Likewise.
67937         * include/search.h: Likewise.
67938         * include/shadow.h: Likewise.
67939         * include/signal.h: Likewise.
67940         * include/stdio.h: Likewise.
67941         * include/stdlib.h: Likewise.
67942         * include/string.h: Likewise.
67943         * include/sys/socket.h: Likewise.
67944         * include/sys/stat.h: Likewise.
67945         * include/sys/statfs.h: Likewise.
67946         * include/sys/statvfs.h: Likewise.
67947         * include/sys/syslog.h: Likewise.
67948         * include/sys/time.h: Likewise.
67949         * include/sys/uio.h: Likewise.
67950         * include/time.h: Likewise.
67951         * include/unistd.h: Likewise.
67952         * include/utmp.h: Likewise.
67953         * include/wchar.h: Likewise.
67954         * include/wctype.h: Likewise.
67955         * inet/aliases.h: Likewise.
67956         * inet/arpa/inet.h: Likewise.
67957         * inet/netinet/ether.h: Likewise.
67958         * inet/netinet/in.h: Likewise.
67959         * intl/libintl.h: Likewise.
67960         * io/bits/fcntl2.h: Likewise.
67961         * io/fcntl.h: Likewise.
67962         * io/ftw.h: Likewise.
67963         * io/sys/poll.h: Likewise.
67964         * io/sys/stat.h: Likewise.
67965         * io/sys/statfs.h: Likewise.
67966         * io/sys/statvfs.h: Likewise.
67967         * io/utime.h: Likewise.
67968         * libio/bits/stdio.h: Likewise.
67969         * libio/bits/stdio2.h: Likewise.
67970         * libio/libio.h: Likewise.
67971         * libio/libioP.h: Likewise.
67972         * libio/stdio.h: Likewise.
67973         * locale/lc-ctype.c: Likewise.
67974         * locale/locale.h: Likewise.
67975         * login/utmp.h: Likewise.
67976         * malloc/arena.c: Likewise.
67977         * malloc/malloc.c: Likewise.
67978         * malloc/malloc.h: Likewise.
67979         * malloc/mcheck.c: Likewise.
67980         * malloc/mtrace.c: Likewise.
67981         * math/bits/mathcalls.h: Likewise.
67982         * math/fenv.h: Likewise.
67983         * math/math_private.h: Likewise.
67984         * misc/bits/error.h: Likewise.
67985         * misc/bits/syslog.h: Likewise.
67986         * misc/err.h: Likewise.
67987         * misc/error.h: Likewise.
67988         * misc/fstab.h: Likewise.
67989         * misc/mntent.h: Likewise.
67990         * misc/regexp.h: Likewise.
67991         * misc/search.h: Likewise.
67992         * misc/sgtty.h: Likewise.
67993         * misc/sys/mman.h: Likewise.
67994         * misc/sys/syslog.h: Likewise.
67995         * misc/sys/uio.h: Likewise.
67996         * misc/sys/xattr.h: Likewise.
67997         * misc/ttyent.h: Likewise.
67998         * nis/rpcsvc/ypclnt.h: Likewise.
67999         * nss/nss.h: Likewise.
68000         * posix/bits/unistd.h: Likewise.
68001         * posix/fnmatch.h: Likewise.
68002         * posix/glob.h: Likewise.
68003         * posix/sched.h: Likewise.
68004         * posix/spawn.h: Likewise.
68005         * posix/sys/wait.h: Likewise.
68006         * posix/unistd.h: Likewise.
68007         * posix/wordexp.h: Likewise.
68008         * pwd/pwd.h: Likewise.
68009         * resolv/netdb.h: Likewise.
68010         * resource/sys/resource.h: Likewise.
68011         * rt/aio.h: Likewise.
68012         * rt/bits/mqueue2.h: Likewise.
68013         * rt/mqueue.h: Likewise.
68014         * shadow/shadow.h: Likewise.
68015         * signal/signal.h: Likewise.
68016         * socket/send.c: Likewise.
68017         * socket/sendto.c: Likewise.
68018         * socket/sys/socket.h: Likewise.
68019         * stdio-common/printf.h: Likewise.
68020         * stdlib/bits/stdlib.h: Likewise.
68021         * stdlib/fmtmsg.h: Likewise.
68022         * stdlib/monetary.h: Likewise.
68023         * stdlib/stdlib.h: Likewise.
68024         * stdlib/ucontext.h: Likewise.
68025         * streams/stropts.h: Likewise.
68026         * string/argz.h: Likewise.
68027         * string/bits/string2.h: Likewise.
68028         * string/string.h: Likewise.
68029         * string/strings.h: Likewise.
68030         * sunrpc/rpc/auth.h: Likewise.
68031         * sunrpc/rpc/auth_des.h: Likewise.
68032         * sunrpc/rpc/clnt.h: Likewise.
68033         * sunrpc/rpc/netdb.h: Likewise.
68034         * sunrpc/rpc/pmap_clnt.h: Likewise.
68035         * sunrpc/rpc/xdr.h: Likewise.
68036         * sysdeps/generic/inttypes.h: Likewise.
68037         * sysdeps/generic/net/if.h: Likewise.
68038         * sysdeps/generic/sys/swap.h: Likewise.
68039         * sysdeps/gnu/net/if.h: Likewise.
68040         * sysdeps/gnu/utmpx.h: Likewise.
68041         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
68042         * sysdeps/i386/i486/bits/string.h: Likewise.
68043         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
68044         * sysdeps/s390/bits/string.h: Likewise.
68045         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
68046         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
68047         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
68048         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
68049         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
68050         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
68051         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
68052         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
68053         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
68054         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
68055         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
68056         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
68057         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
68058         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
68059         * sysdeps/unix/sysv/linux/readv.c: Likewise.
68060         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
68061         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
68062         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68063         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
68064         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
68065         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
68066         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
68067         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
68068         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
68069         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
68070         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
68071         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
68072         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
68073         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
68074         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
68075         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
68076         * sysvipc/sys/ipc.h: Likewise.
68077         * sysvipc/sys/msg.h: Likewise.
68078         * sysvipc/sys/sem.h: Likewise.
68079         * sysvipc/sys/shm.h: Likewise.
68080         * termios/termios.h: Likewise.
68081         * time/sys/time.h: Likewise.
68082         * time/time.h: Likewise.
68083         * wcsmbs/bits/wchar2.h: Likewise.
68084         * wcsmbs/uchar.h: Likewise.
68085         * wcsmbs/wchar.h: Likewise.
68086         * wctype/wctype.h: Likewise.
68088         [BZ #13551]
68089         * Makeconfig: Remove all but ELF support including AIX support.
68090         * Makerules: Likewise.
68091         * config.h.in: Likewise.
68092         * config.make.in: Likewise.
68093         * configure: Likewise.
68094         * configure.in: Likewise.
68095         * csu/Makefile: Likewise.
68096         * csu/version.c: Likewise.
68097         * debug/Makefile: Likewise.
68098         * dlfcn/Makefile: Likewise.
68099         * elf/Makefile: Likewise.
68100         * extra-lib.mk: Likewise.
68101         * iconv/Makefile: Likewise.
68102         * include/libc-symbols.h: Likewise.
68103         * include/shlib-compat.h: Likewise.
68104         * resolv/Makefile: Likewise.
68105         * resolv/res_libc.c: Likewise.
68106         * rt/Makefile: Likewise.
68107         * sysdeps/i386/asm-syntax.h: Likewise.
68108         * sysdeps/i386/sysdep.h: Likewise.
68109         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
68110         * sysdeps/mach/sysdep.h: Likewise.
68111         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
68112         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
68113         * sysdeps/s390/asm-syntax.h: Likewise.
68114         * sysdeps/s390/s390-32/sysdep.h: Likewise.
68115         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68116         * sysdeps/sh/sysdep.h: Likewise.
68117         * sysdeps/unix/sparc/sysdep.h: Likewise.
68118         * sysdeps/wordsize-32/divdi3.c: Likewise.
68119         * sysdeps/x86_64/sysdep.h: Likewise.
68121         * argp/Versions: Remove _argp_unlock_xxx.
68123         [BZ #13559]
68124         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
68125         * abilist/libBrokenLocale.abilist: Likewise.
68126         * abilist/libanl.abilist: Likewise.
68127         * abilist/libc.abilist: Likewise.
68128         * abilist/libcrypt.abilist: Likewise.
68129         * abilist/libdl.abilist: Likewise.
68130         * abilist/libm.abilist: Likewise.
68131         * abilist/libnsl.abilist: Likewise.
68132         * abilist/libpthread.abilist: Likewise.
68133         * abilist/libresolv.abilist: Likewise.
68134         * abilist/librt.abilist: Likewise.
68135         * abilist/libthread_db.abilist: Likewise.
68136         * abilist/libutil.abilist: Likewise.
68137         * abilist/libnss_db.abilist: New file.
68139         * scripts/abilist.awk: Add support for indirect functions.
68141         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
68143         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
68145         * shlib-versions: Remove entries for ports architectures.
68147         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
68148         files in ports.
68149         * elf/stackguard-macros.h: Remove support for IA-64.
68150         * elf/tst-auditmod1.c: Likewise.
68151         * sysdeps/generic/ldsodefs.h: Likewise.
68153         * sysdeps/unix/sysv/linux/configure.in: Ports should define
68154         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
68155         configure files.
68157         [BZ #13552]
68158         * configure.in: Remove --enable-omitfp support.
68159         * FAQ.in: Adjust.
68160         * config.make.in: Likewise.
68161         * Makeconfig: Likewise.
68162         * manual/install.texi: Likewise.
68164         In case anyone cares, the IA-64 architecture could move to ports.
68165         * sysdeps/ia64/*: Removed.
68166         * sysdeps/unix/sysv/linux/ia64/*: Removed.
68167         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
68169         [BZ #13555]
68170         * configure.in: Remove entries for unsupported architectures.
68172         [BZ #13533]
68173         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
68174         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
68175         routines.
68176         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
68177         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
68178         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
68179         fall back to using wcrtomb.
68180         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
68181         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
68182         renaming.
68183         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
68184         * wcsmbs/tst-c16c32-1.c: New file.
68186         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
68187         local variable.
68189         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
68191         * elf/tst-unique3.cc: Add explicit declaration of gets.
68192         * elf/tst-unique3lib.cc: Likewise.
68193         * elf/tst-unique3lib2.cc: Likewise.
68194         * elf/tst-unique4.cc: Likewise.
68196         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
68198 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
68200         [BZ #13566]
68201         * assert/assert.h (static_assert): Don't define for C++.
68202         * libio/stdio.h (gets): Do declare for C++ <= C++11.
68203         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
68205 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
68207         * iconv/loop.c (single loop): Fix assertion in storing of
68208         remaining bytes.
68210         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
68212 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
68214         * posix/getconf.c: Update copyright year.
68215         * nss/getent.c: Likewise.
68216         * nss/makedb.c: Likewise.
68217         * iconv/iconvconfig.c: Likewise.
68218         * iconv/iconv_prog.c: Likewise.
68219         * elf/ldconfig.c: Likewise.
68220         * elf/pldd.c: Likewise.
68221         * elf/sotruss.ksh: Likewise.
68222         * catgets/gencat.c: Likewise.
68223         * csu/version.c: Likewise.
68224         * elf/ldd.bash.in: Likewise.
68225         * elf/sprof.c (print_version): Likewise.
68226         * locale/programs/locale.c: Likewise.
68227         * locale/programs/localedef.c: Likewise.
68228         * login/programs/pt_chown.c: Likewise.
68229         * nscd/nscd.c (print_version): Likewise.
68230         * debug/xtrace.sh: Likewise.
68231         * malloc/memusage.sh: Likewise.
68232         * malloc/mtrace.pl: Likewise.
68233         * debug/catchsegv.sh: Likewise.
68235 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
68237         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
68238         pure attribute.
68240 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
68242         [BZ #13533]
68243         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
68244         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
68245         transformations.
68246         * iconv/gconv_int.h: Likewise.
68247         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
68248         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
68249         from libc for GLIBC_2.16.
68250         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
68251         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
68252         * wcsmbs/uchar.h: Really define mbstate_t.
68253         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
68254         * wcsmbs/c16rtomb.c: New file.
68255         * wcsmbs/mbrtoc16.c: New file.
68256         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
68257         for C/POSIX locale.
68258         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
68259         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
68261         * wcsmbs/wchar.h: Add missing __restrict.
68263 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
68265         [BZ #13532]
68266         * time/Makefile (routines): Add timespec_get.
68267         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
68268         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
68269         timespec for ISO C11.
68270         * time/timespec_get.c: New file.
68271         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
68272         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
68274         [BZ #13531]
68275         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
68276         * stdlib/stdlib.h: Declare aligned_alloc.
68277         * Versions.def: Add GLIBC_2.16 for libc.
68278         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
68280         [BZ 13527]
68281         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
68282         ISO C11.
68284         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
68285         code.
68287         [BZ #13528]
68288         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
68290         [BZ #13529]
68291         * assert/assert.h (static_assert): Define.
68293         * version.h: Update for 2.16 development version.
68295         [BZ #13526]
68296         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
68297         _ISOC11_SOURCE.
68299         * version.h (RELEASE): Bump for 2.15 release.
68300         * include/features.h (__GLIBC_MINOR__): Bump to 15.
68302         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
68303         Patch by Marek Polacek <mpolacek@redhat.com>.
68305         * bits/byteswap.h: Protect long long constants with __extension__.
68306         * sysdeps/i386/bits/byteswap.h: Likewise.
68307         * sysdeps/ia64/bits/byteswap.h: Likewise.
68308         * sysdeps/s390/bits/byteswap.h: Likewise.
68309         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68311 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68313         [BZ #13540]
68314         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
68315         destination buffer.
68316         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
68318 2011-12-23  Marek Polacek  <polacek@redhat.com>
68320         * elf/dl-addr.c (determine_info): Add inline keyword.
68321         * elf/tst-auditmod4b.c (check_avx): Likewise.
68322         * elf/tst-auditmod6b.c (check_avx): Likewise.
68323         * elf/tst-auditmod6c.c (check_avx): Likewise.
68324         * elf/tst-auditmod7b.c (check_avx): Likewise.
68326 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
68328         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
68329         !__SSE_MATH__.
68331 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68333         [BZ #13540]
68334         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
68335         processing for last bytes.
68337 2011-08-06  Bruno Haible  <bruno@clisp.org>
68339         [BZ #13061]
68340         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
68341         U+0385, not to U+1FEE.
68343         [BZ #13062]
68344         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
68345         entry for U+00A5 U+0301.
68347 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
68349         [BZ #13166]
68350         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
68351         buffer for the output is too small.
68353         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
68354         optimization.
68356         [BZ #13185]
68357         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
68358         SSE flags if possible.
68360 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68362         [BZ #13540]
68363         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
68364         processing for last bytes.
68366 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
68368         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
68369         (syscall-list-default-options, syscall-list-default-condition)
68370         (syscall-list-includes): Define.
68371         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
68372         list of ABIs and options and #if conditions for each ABI.  Do not
68373         handle common syscalls between ABIs specially.
68374         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
68375         Remove.
68376         (syscall-list-variants, syscall-list-32bit-options)
68377         (syscall-list-32bit-condition, syscall-list-64bit-options)
68378         (syscall-list-64bit-condition): Define.
68379         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
68380         (syscall-list-variants, syscall-list-32bit-options)
68381         (syscall-list-32bit-condition, syscall-list-64bit-options)
68382         (syscall-list-64bit-condition): Define.
68383         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
68384         Remove.
68385         (syscall-list-variants, syscall-list-32bit-options)
68386         (syscall-list-32bit-condition, syscall-list-64bit-options)
68387         (syscall-list-64bit-condition): Define.
68388         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
68389         Remove.
68390         (syscall-list-variants, syscall-list-32bit-options)
68391         (syscall-list-32bit-condition, syscall-list-64bit-options)
68392         (syscall-list-64bit-condition): Define.
68394 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
68396         * locale/iso-639.def: Add brx entry.
68398         [BZ #13328]
68399         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
68400         Proposed by Mariusz_Cukr <marcukr@op.pl>.
68402         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
68403         __feraiseexcept_renamed.
68405 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
68407         [BZ #13538]
68408         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
68409         EPOLLET with unsigned values.
68410         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
68411         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
68413         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
68414         to large cancellation.
68415         * math/s_cacoshf.c: Likewise.
68416         * math/s_cacoshl.c: Likewise.
68418 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
68420         [BZ #13305]
68421         [BZ #12786]
68422         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
68423         * math/s_cacoshf.c: Likewise.
68424         * math/s_cacoshl.c: Likewise.
68426 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
68428         [BZ #13439]
68429         * iconv/gconv.h: Define __GCONV_SWAP.
68430         * iconvdata/unicode.c: The swap bit must be stored in __flags.
68431         * iconvdata/utf-16.c: Likewise.
68432         * iconvdata/utf-32.c: Likewise.
68434 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
68436         [BZ #13524]
68437         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
68438         numerator after shifting it by one limb.
68440 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
68442         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
68443         under [__USE_EXTERN_INLINES].
68445 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
68447         [BZ #13446]
68448         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
68450 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68452         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
68453         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
68454         optimized code.
68455         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
68456         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
68457         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
68458         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
68459         for strncasecmp/strncasecmp_l compilation.
68460         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
68461         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
68463 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
68465         [BZ #13484]
68466         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
68467         of __asm__.
68469 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
68471         [BZ #13506]
68472         * time/tzfile.c (__tzfile_read): Check values from file header.
68474 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
68476         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
68477         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
68478         * powerpc/powerpc32/dl-start.S: Likewise.
68479         * powerpc/powerpc32/elf/start.S: Likewise.
68480         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
68481         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
68482         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
68483         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
68484         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
68485         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
68486         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
68487         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
68488         * powerpc/powerpc32/fpu/s_round.S: Likewise.
68489         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
68490         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
68491         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
68492         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
68493         * powerpc/powerpc32/memset.S: Likewise.
68494         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
68495         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
68496         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
68497         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
68498         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
68499         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
68500         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
68501         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
68502         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
68503         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
68504         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
68505         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
68506         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
68508 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68510         * math/libm-test.inc: Added more nearbyint tests.
68511         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
68512         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
68513         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
68514         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
68516 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
68518         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
68519         FD_CLOEXEC.
68521 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68523         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
68524         Add wcscpy-ssse3 wcscpy-c.
68525         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
68526         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
68527         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
68528         * sysdeps/x86_64/wcschr.S: New file.
68529         * sysdeps/x86_64/wcsrchr.S: New file.
68530         * string/test-strcmp.c: Remove checking of wcscmp function for
68531         wrong alignments.
68532         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
68533         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
68534         wcsrchr-sse2 wcsrchr-c.
68535         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
68536         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
68537         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
68538         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
68539         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
68540         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
68541         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
68542         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
68543         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
68544         * wcsmbc/wcschr.c (WCSCHR): New macro.
68546 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68548         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
68549         * wcsmbs/test-wcsrchr.c: New file.
68550         * string/test-strrchr.c: Add wcsrchr support.
68551         (WIDE): New macro.
68552         * wcsmbs/test-wcscpy.c: New file.
68553         * string/test-strcpy.c: Add wcscpy support.
68554         (WIDE): New macro.
68556 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
68558         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
68559         the inner loop.
68561 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
68563         [BZ #13472]
68564         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
68566 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
68568         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
68569         Minor optimizations.
68571         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
68572         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
68573         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
68575 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
68577         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
68578         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
68579         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
68580         for gcc to avoid warnings.
68581         * inet/Makefile (tests): Add tst-checks.
68582         * inet/tst-checks.c: New file.
68584         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
68585         warning.
68587         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
68588         __wmemcmp_sse2.
68590         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
68591         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
68593         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
68595 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
68597         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
68598         problem.
68600         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
68602 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
68604         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
68605         conditional on GCC version.
68606         (__arch_compare_and_exchange_val_8_acq)
68607         (__arch_compare_and_exchange_val_16_acq)
68608         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
68609         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
68610         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
68612 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
68614         * sysdeps/sh/backtrace.c: New file.
68616 2011-12-02  Andreas Schwab  <schwab@redhat.com>
68618         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
68619         parenthesis.
68621 2011-12-01  Andreas Schwab  <schwab@redhat.com>
68623         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
68624         falling back to utime.
68626 2011-11-30  Andreas Schwab  <schwab@redhat.com>
68628         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
68629         expectations for float.
68631 2011-11-29  Andreas Schwab  <schwab@redhat.com>
68633         * locale/weight.h (findidx): Add parameter len.
68634         * locale/weightwc.h (findidx): Likewise.
68635         * posix/fnmatch_loop.c (FCT): Adjust caller.
68636         * posix/regcomp.c (build_equiv_class): Likewise.
68637         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
68638         * posix/regexec.c (check_node_accept_bytes): Likewise.
68639         * string/strcoll_l.c (STRCOLL): Likewise.
68640         * string/strxfrm_l.c (STRXFRM): Likewise.
68642 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
68644         * Makefile.in: Remove CVSOPT handling.
68645         * configure.in: Remove use of AC_REVISION.
68646         * iconvdata/Makefile (distribute): No need to filter out CVS.
68647         * scripts/list-sources.sh: Remove CVS, subversion and monotone
68648         handling.
68650 2011-11-16  Andreas Schwab  <schwab@redhat.com>
68652         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
68653         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
68654         [USE_AS_STRNCASECMP_L]: Likewise.
68655         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
68656         NO_TLS_DIRECT_SEG_REFS.
68657         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
68658         Fix argument offsets for non-PIC.
68659         [USE_AS_STRNCASECMP_L]: Likewise.
68660         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
68661         NO_TLS_DIRECT_SEG_REFS.
68663 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
68665         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
68666         O_CLOEXEC.
68667         * locale/loadlocale.c (_nl_load_locale): Likewise.
68669 2011-11-15  Andreas Schwab  <schwab@redhat.com>
68671         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
68672         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
68673         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
68674         (SYSCALL_GETTIME): Set errno on error.
68676         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
68677         count references to noai6ai_cached.
68679 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
68681         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
68683         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
68684         FD_CLOEXEC for /proc/self/maps.
68686         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
68687         FD_CLOEXEC for /proc/meminfo.
68689         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
68690         gai.conf.
68692         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
68693         FD_CLOEXEC for given file.
68695         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
68697         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
68698         FD_CLOEXEC for /etc/hosts.
68699         (_gethtent): Likewise.
68701         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
68703         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
68704         cancellation and set FD_CLOEXEC for /etc/netgroup.
68706         * nss/nss_files/files-key.c (search): Don't allow cancellation when
68707         reading /etc/publickey.
68709         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
68710         allow cancellation when reading /etc/group.
68712         * nss/nss_files/files-alias.c (internal_setent): Don't allow
68713         cancellation.
68714         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
68716         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
68717         when using data file.
68719         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
68721         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
68722         (write_nis_obj): Use "c" and "e" in fopen.
68724         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
68726         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
68728         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
68730         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
68732         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
68733         locale.alias.
68735         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
68737         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
68739         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
68741         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
68742         file parsing and set FD_CLOEXEC.
68744 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
68746         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
68748 2011-11-14  Andreas Schwab  <schwab@redhat.com>
68750         * malloc/arena.c (arena_get2): Don't call reused_arena when
68751         _int_new_arena failed.
68753 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
68755         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
68756         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
68757         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
68758         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
68759         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
68760         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
68761         to compile strcasecmp and strncasecmp.
68762         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
68763         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
68765         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
68767 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
68769         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
68770         locale-defines.sym to gen-as-const-headers.
68771         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
68772         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
68773         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
68774         to compile strcasecmp and strncasecmp.
68775         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
68776         strcasecmp_l and strncasecmp_l.
68777         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
68778         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
68779         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
68780         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
68781         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
68782         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
68783         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
68784         * sysdeps/i386/i686/multiarch/strncase.S: New file.
68785         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
68786         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
68787         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
68789 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
68791         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
68792         result of SYSDEP_GETTIME_CPU to retval.
68793         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
68794         parameter list to macro.  Remove trailing semicolon.  Adjust users.
68796         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
68797         variable.
68799         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
68800         mantissa words.
68801         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
68803         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
68804         from unused variable.
68806         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
68807         DWARF definitions.
68808         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
68809         for assembling.
68811         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
68812         over namespaces.
68814         * sunrpc/rpc_prot.c (rejected): Fix case value.
68816         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
68817         unsigned long long int to avoid warnings in shift.
68819         * posix/regex_internal.c (re_string_reconstruct): Actually use result
68820         of use of trans.
68821         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
68822         variable tmp.
68824         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
68825         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
68826         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
68828         * nis/nis_table.c (nis_list): Use variable of correct type for
68829         result of __follow_path call.
68831 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68833         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
68834         of math functions ceil, trunc, floor, round, and sqrt, when
68835         avaliable on the platform.
68836         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
68837         name clash.
68838         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
68839         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
68840         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
68842 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
68844         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
68845         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
68847 2011-11-11  Roland McGrath  <roland@hack.frob.com>
68849         * include/unistd.h: Fix __readlink return type.
68850         Reported by Chris Metcalf <cmetcalf@tilera.com>.
68852 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
68854         * stdlib/ucontext.h: Undo last change for makecontext.
68856 2011-11-11  Andreas Schwab  <schwab@redhat.com>
68858         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
68860         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
68861         * setjmp/setjmp.h: Mark functions as non-leaf.
68862         * setjmp/bits/setjmp2.h: Likewise.
68863         * stdlib/ucontext.h: Likewise.
68865 2011-11-10  Andreas Schwab  <schwab@redhat.com>
68867         * malloc/arena.c (_int_new_arena): Don't increment narenas.
68868         (reused_arena): Don't check arena limit.
68869         (arena_get2): Atomically check arena limit.
68871 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
68873         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
68874         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
68876         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
68877         instructions.
68879 2011-11-07  Andreas Schwab  <schwab@redhat.com>
68881         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
68882         handler when locking.
68884         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
68885         Fix size of allocated buffer.
68887 2011-11-04  Andreas Schwab  <schwab@redhat.com>
68889         [BZ #10103]
68890         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
68891         declarations for long double functions.
68892         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
68894         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
68896 2011-11-03  Andreas Schwab  <schwab@redhat.com>
68898         * nscd/nscd.c (main): Don't start AVC thread until credentials are
68899         installed.
68901         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
68902         is disabled.
68904 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68906         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
68908 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
68910         * include/alloca.h (stackinfo_alloca_round): Define.
68911         (extend_alloca): Use it.
68912         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
68913         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
68914         here.
68916         * scripts/check-local-headers.sh: Ignore libaudit.h.
68918         * nscd/Makefile (extra-objs): Make recursively expanded.
68920 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
68922         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
68923         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
68925         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
68926         * posix/tst-rfc3484-2.c: Likewise.
68927         * posix/tst-rfc3484-3.c: Likewise.
68929         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
68930         process_vm_writev.
68931         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
68932         process_vm_writev.
68933         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
68934         process_vm_writev from libc using GLIBC_2.15 version.
68936         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
68938 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
68940         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
68941         stack usage.
68943 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
68945         [BZ #13367]
68946         * nss/getent.c (initgroups_keys): Show error message in case no group
68947         names are given.
68949         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
68950         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
68951         __bump_nl_timestamp.
68952         * nscd/connections (nscd_init): When host database is served open
68953         netlink socket and request notification about configuration changes.
68954         (main_loop_poll): Track netlink file descriptor and bump timestamp
68955         in case data becomes available.
68956         (main_loop_epoll): Likewise.
68957         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
68958         (database_pers_head): Add extra_data fileds.
68959         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
68960         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
68961         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
68962         Adjust caller.
68963         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
68964         in6ai data, call __free_in6ai.
68965         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
68966         Add -DHAVE_NETLINK.
68967         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
68968         interface information.  Reuse previous data if netlink timestamp
68969         is not changed.
68970         (__bump_nl_timestamp): New function.
68971         (__free_in6ai): New function.
68973 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
68975         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
68976         close_not_cancel_no_status here.
68977         (__check_pf): Reorganize code a bit to not call close twice if OOM.
68979 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
68981         [BZ #13276]
68982         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
68983         return value.
68985         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
68986         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
68987         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
68989 2011-07-03  Andreas Jaeger  <aj@suse.de>
68991         [BZ #10709]
68992         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
68993         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
68994         * math/libm-test.inc (sin_test): Add test case.
68996 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
68998         [BZ #13337]
68999         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
69000         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
69002         * elf/chroot_canon.c (chroot_canon): Cleanups.
69004         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
69006         [BZ #13335]
69007         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
69008         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
69010         * string/test-strchr.c: Make usable for strchrnul testing.
69011         * string/test-strchrnul.c: New file.
69012         * string/Makefile (strop-tests): Add strchrnul.
69014         * po/it.po: Update from translation team.
69015         * po/es.po: Likewise.
69017 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
69019         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
69020         the three constants needed as parameters.  Drop the others.
69021         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
69022         __m128i_strloadu_tolower.
69023         Create and initialize variable zero and use it in all the places
69024         where _mm_setzero_si128 was used.
69026         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
69027         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
69028         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
69029         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
69030         anymore.
69031         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
69032         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
69033         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
69034         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
69035         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
69036         __mpranred, __mptan.
69037         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
69038         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
69039         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
69040         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
69041         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
69042         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
69043         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
69044         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
69045         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
69047 2011-10-28  Andreas Schwab  <schwab@redhat.com>
69049         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
69050         redefine if SHARED.
69051         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
69053         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
69054         wide char related routines to wcsmbs subdir.
69056 2011-10-27  Andreas Schwab  <schwab@redhat.com>
69058         [BZ #13344]
69059         * misc/sys/cdefs.h (__THROWNL): Define.
69060         * posix/unistd.h: Use __THREADNL instead of __THREAD
69061         for memory synchronization functions.
69063 2011-10-26  Roland McGrath  <roland@hack.frob.com>
69065         [BZ #13349]
69066         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
69067         doesn't exist.
69068         * manual/stdio.texi (Obstack Streams): Node removed.
69070 2011-10-26  Andreas Schwab  <schwab@redhat.com>
69072         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
69073         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69074         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69076         * math/math_private.h (math_force_eval): Allow non-addressable
69077         arguments.
69078         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
69080 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69082         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
69083         file is not needed.
69085         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
69086         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
69087         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69088         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69089         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69090         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69091         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69092         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
69093         Add AVX variants.
69094         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
69095         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
69096         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
69097         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
69098         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
69099         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
69100         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
69101         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
69102         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
69103         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
69104         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
69105         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
69106         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
69107         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
69108         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
69109         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
69110         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
69111         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
69112         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
69114         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
69115         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
69117         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
69118         place.  Use VEX encoding when compiling for AVX.
69120 2011-10-25  Andreas Schwab  <schwab@redhat.com>
69122         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
69123         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
69125         * string/test-strchr.c (do_test): Don't generate NUL bytes.
69127 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69129         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
69130         useless if() expression.
69131         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69132         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
69133         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
69134         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69135         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
69136         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69137         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69138         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69139         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
69140         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69141         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69142         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69143         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
69144         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69145         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
69146         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69147         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
69148         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
69149         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
69151         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
69153 2011-10-25  Andreas Schwab  <schwab@redhat.com>
69155         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
69156         condition.
69157         * elf/dl-fini.c (_dl_sort_fini): Likewise.
69159 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69161         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
69162         .text section.  Avoid duplicate constants.
69163         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69164         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69165         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69166         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69167         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69168         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69169         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69170         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69171         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
69172         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
69173         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
69174         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
69175         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
69176         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
69177         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
69178         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
69179         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
69180         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
69181         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
69182         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69183         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
69184         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
69185         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
69186         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
69187         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
69188         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
69189         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
69190         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
69191         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
69192         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
69193         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
69194         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
69195         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
69196         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
69197         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
69198         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
69199         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
69200         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
69201         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
69202         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
69203         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
69204         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
69205         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
69206         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
69207         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
69209 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
69211         * sysdeps/x86_64/dla.h: Move to ...
69212         * sysdeps/x86_64/fpu/dla.h: ...here.
69213         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
69214         situations.  Use __builtin_fma only for gcc 4.6 and up.
69216         * config.make.in: Add have-mfma4 entry.
69217         * configure.in: Substitute libc_cv_cc_fma4.
69218         * math/Makefile (dbl-only-routines): Add sincostab.
69219         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
69220         Use __sincostab not sincos.
69221         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
69222         name is a macro.
69223         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69224         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69225         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69226         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
69227         using __copysign.
69228         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
69229         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
69230         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
69231         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
69232         and __inv.
69233         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
69234         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
69235         __copysign.
69236         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
69237         define aliases when function name is a macro.
69238         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
69239         sysdeps/ieee754/dbl-64/sincos.tbl.
69240         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
69241         fma4-enabled routines.
69242         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
69243         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
69244         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
69245         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
69246         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
69247         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
69248         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
69249         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
69250         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
69251         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
69252         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
69253         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
69254         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
69255         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
69256         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
69257         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
69258         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
69259         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
69260         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
69261         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
69262         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
69263         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
69264         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
69265         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
69266         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
69267         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
69268         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
69269         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
69270         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
69271         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
69273         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
69274         rename.
69275         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69276         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69277         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69278         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69279         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69280         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69281         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69282         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69284 2011-10-24  Andreas Schwab  <schwab@redhat.com>
69286         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
69288 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69290         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
69292         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
69293         prediction.
69294         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
69296         * string/strnlen.c: Don't define STRNLEN, reverse logic.
69297         Remove unused variable magic_bits.
69298         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
69300         * string/strnlen.c: Define and use STRNLEN macro.
69301         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
69302         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
69303         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
69304         * wcsmbs/wcslen.c: Define and use WCSLEN.
69305         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
69306         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
69307         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
69308         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
69309         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
69310         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
69311         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
69313 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69315         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69316         strnlen-sse2-no-bsf.
69317         Rename strlen-no-bsf to strlen-sse2-no-bsf.
69318         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
69319         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
69320         Add strnlen support.
69321         (USE_AS_STRNLEN): New macro.
69322         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
69323         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
69324         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
69325         * sysdeps/x86_64/wcslen.S: New file.
69327 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
69329         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
69330         XMM-moves are used for copying on small sizes.
69332 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69334         * wcsmbs/Makefile (strop-tests): Add wcschr.
69335         * wcsmbs/test-wcschr.c: New file.
69336         * string/test-strchr.c: Update.
69337         Add wcschr support.
69338         (WIDE): New macro.
69340 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69342         * wcsmbs/Makefile (strop-tests): Add wcslen.
69343         * wcsmbs/test-wcslen.c: New file.
69344         * string/test-strlen.c: Update.
69345         Add wcslen support.
69346         (WIDE): New macro.
69348 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69350         * po/it.po: Update from translation team.
69352 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69354         * sysdeps/x86_64/wcscmp.S: Update.
69355         Fix wrong comparison semantics.
69356         wcscmp shall use signed comparison not unsigned.
69357         Don't use substraction to avoid overflow bug.
69358         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
69359         * wcsmbc/wcscmp.c: Likewise.
69360         * string/test-strcmp.c: Likewise.
69361         Add new tests to check cases with negative values.
69363 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69365         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
69366         * sysdeps/x86_64/dla.h: ...here.  New file.
69367         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
69368         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69369         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69370         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69371         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69372         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69373         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69374         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69375         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69377 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
69379         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
69380         __ynl_finite aliases.
69382 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
69384         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69386         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
69387         define DLA_FMA.
69388         [DLA_FMA] (EMULV): Use DLA_FMA.
69389         [DLA_FMA] (MUL12): Use EMULV.
69390         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
69391         that are not needed.
69392         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69393         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69394         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69395         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69396         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69397         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69398         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69400 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
69402         * math/s_nan.c: Undef __nan.
69403         * math/s_nanf.c: Undef __nanf.
69404         * math/s_nanl.c: Undef __nanl.
69405         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
69406         "math_private.h".
69408 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
69410         * math/s_catan.c: Add branch predictions.
69411         * math/s_catanf.c: Likewise.
69412         * math/s_catanh.c: Likewise.
69413         * math/s_catanhf.c: Likewise.
69414         * math/s_catanhl.c: Likewise.
69415         * math/s_catanl.c: Likewise.
69416         * math/s_cexp.c: Likewise.
69417         * math/s_cexpf.c: Likewise.
69418         * math/s_cexpl.c: Likewise.
69419         * math/s_clog.c: Likewise.
69420         * math/s_clog10.c: Likewise.
69421         * math/s_clog10f.c: Likewise.
69422         * math/s_clog10l.c: Likewise.
69423         * math/s_clogf.c: Likewise.
69424         * math/s_clogl.c: Likewise.
69425         * math/s_csqrt.c: Likewise.
69426         * math/s_csqrtf.c: Likewise.
69427         * math/s_csqrtl.c: Likewise.
69428         * math/s_ctanf.c: Likewise.
69429         * math/s_ctanh.c: Likewise.
69430         * math/s_ctanhf.c: Likewise.
69431         * math/s_ctanhl.c: Likewise.
69432         * math/s_ctanl.c: Likewise.
69434         * math/math_private.h: Define __nan, __nanf, __nanl.
69435         * math/s_cacosh.c: Include <math_private.h>.
69436         * math/s_cacoshl.c: Likewise.
69437         * math/s_casinh.c: Likewise.
69438         * math/s_casinhf.c: Likewise.
69439         * math/s_casinhl.c: Likewise.
69440         * math/s_ccos.c: Rely entire on ccosh.
69441         * math/s_ccosf.c: Rely entire on ccoshf.
69442         * math/s_ccosl.c: Rely entirely on ccoshl.
69443         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
69444         Remove tests for FE_INVALID.
69445         * math/s_ccoshf.c: Likewise.
69446         * math/s_ccoshl.c: Likewise.
69447         * math/s_csin.c: Likewise.
69448         * math/s_csinf.c: Likewise.
69449         * math/s_csinh.c Likewise.
69450         * math/s_csinhf.c: Likewise.
69451         * math/s_csinhl.c: Likewise.
69452         * math/s_csinl.c: Likewise.
69453         * math/s_ctan.c: Likewise.
69454         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
69455         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
69456         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
69458 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
69460         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
69461         compilation problems.
69463         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
69464         __builtin_expect.
69466 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
69468         * sysdeps/i386/configure.in: Test for -mfma4 option.
69469         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
69470         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
69471         COMMON_CPUID_INDEX_80000001.
69472         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
69473         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
69474         use it if FMA3 is not supported.
69475         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
69477         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
69478         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
69480 2011-10-20  Andreas Schwab  <schwab@redhat.com>
69482         [BZ #12892]
69483         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
69484         it would create a cycle with a link time dependency.
69486 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
69488         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
69489         instruction.
69490         * string/Makefile (strop-tests): Add rawmemchr.
69491         * string/test-rawmemchr.c: New file.
69493         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
69494         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
69495         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
69496         when compiling str{,n}casecmp and when AVX is available.  Hook up
69497         new optimized code in initializers.
69499 2011-10-19  Andreas Schwab  <schwab@redhat.com>
69501         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
69502         __feraiseexcept instead of feraiseexcept.
69504 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
69506         * math/math_private.h: Define defaults for libc_fetestexcept and
69507         libc_feupdateenv.
69508         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
69509         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
69510         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
69511         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
69512         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
69513         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
69514         libc_fetestexcept and libc_feupdateenv.
69516         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
69517         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
69518         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
69519         * sysdeps/x86_64/fpu/math_private.h: Define special version of
69520         libc_feholdexcept_setround.
69522         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
69523         Add s_nearbyint-c and s_nearbyintf-c.
69524         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
69525         nearbyintf inlines.
69526         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
69527         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
69528         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
69529         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
69531         * math/math_private.h: Define defaults for libc_fegetround,
69532         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
69533         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
69534         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
69535         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
69536         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
69537         standard functions.
69538         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
69539         Remove comments and hacks for old compiler versions.
69540         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
69541         libc_fegetround, libc_fesetround, libc_feholdexcept, and
69542         libc_feholdexceptl.
69544 2011-10-18  Andreas Schwab  <schwab@redhat.com>
69546         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
69547         (__feraiseexcept_renamed): Add __NTH.
69548         (feraiseexcept): Add __NTH.  Rename local variables to fix
69549         namespace violations.
69551 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
69553         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
69555         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
69557         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
69558         recently added interfaces.
69559         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
69561         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
69562         about macro parameter expansion.
69564         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
69565         __NO_MATH_INLINES is defined.  Cleanups.
69567         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
69568         and __floorf is target has SSE4.1.
69569         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
69570         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
69571         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
69572         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
69574         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
69575         name.
69576         (floorf): Likewise.
69578         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
69580 2011-10-17  Andreas Schwab  <schwab@redhat.com>
69582         * misc/sys/cdefs.h: Fix last change.
69584         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
69585         database lookup.
69587 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
69589         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
69591         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
69592         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69593         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
69594         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69595         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69596         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
69597         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69598         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69599         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
69600         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
69601         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
69602         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
69603         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
69604         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
69605         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
69606         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
69607         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
69608         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
69609         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
69610         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
69611         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
69612         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
69614         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
69615         ceil, ceilf, floor, floorf.
69617         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
69618         Perform IRELATIVE relocations last.
69620         * elf/do-rel.h: Add another parameter nrelative, replacing the
69621         local variable with the same name.  Change name of the function
69622         to end in Rel or Rela (uppercase).
69623         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
69624         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
69625         elf_dynamic_do_##reloc function.
69627 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
69629         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
69630         is sufficient, at least on modern CPUs.
69632         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
69634         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
69635         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
69637         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
69638         __expl_finite.
69639         * math/bits/math-finite.h: Add entries for exp.
69640         * math/e_expl.c: Add __*_finite alias.
69641         * sysdeps/i386/fpu/e_exp.S: Likewise.
69642         * sysdeps/i386/fpu/e_expf.S: Likewise.
69643         * sysdeps/i386/fpu/e_expl.c: Likewise.
69644         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69645         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
69646         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
69647         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
69648         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
69649         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
69650         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
69652         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
69653         is sufficient, at least on modern CPUs.
69655         * ctype/ctype-info.c (__ctype_init): Define.
69656         * include/ctype.h (__ctype_init): Declare.
69657         (__ctype_b_loc): The variable is always initialized.
69658         (__ctype_toupper_loc): Likewise.
69659         (__ctype_tolower_loc): Likewise.
69660         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
69661         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
69663 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
69665         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
69667         * configure.in: Also look in $cxxmachine/include for C++ system
69668         headers.
69670 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69672         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
69673         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
69674         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
69675         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
69676         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
69677         (USE_AS_WMEMCMP): New macro.
69678         Fixing indents.
69679         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
69680         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
69681         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
69682         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
69683         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69684         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
69685         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
69686         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
69687         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
69688         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
69689         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
69690         (USE_AS_WMEMCMP): New macro.
69691         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
69692         * sysdeps/string/test-memcmp.c: Update.
69693         Fix simple_wmemcmp.
69694         Add new tests.
69695         * wcsmbs/wmemcmp.c: Update.
69696         (WMEMCMP): New macro.
69697         Fix overflow bug.
69699 2011-10-12  Andreas Jaeger  <aj@suse.de>
69701         [BZ #13268]
69702         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
69704 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
69706         * libio/iofwide.c (do_length): Avoid warning.
69708         * ctype/ctype.h (__isctype_f): Add missing __THROW.
69710 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
69712         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
69714         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
69715         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
69716         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
69717         * sysdeps/i386/i686/fpu/e_log.S: New file.
69718         * sysdeps/i386/i686/fpu/e_logf.S: New file.
69719         * sysdeps/i386/i686/fpu/e_logl.S: New file.
69721         * ctype/ctype.h: Add support for inlined isXXX functions when
69722         compiling C++ code.
69724 2011-10-14  Andreas Schwab  <schwab@redhat.com>
69726         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69728         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
69730 2011-10-13  Roland McGrath  <roland@hack.frob.com>
69732         [BZ #13291]
69733         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
69735 2011-10-13  Andreas Schwab  <schwab@redhat.com>
69737         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
69738         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
69739         feraiseexcept.
69741         * sysdeps/x86_64/memrchr.S: Check for zero size.
69743         * string/stratcliff.c: Add memrchr tests.
69745 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69747         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69748         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
69749         rawmemchr-sse2 rawmemchr-sse2-bsf.
69750         * sysdeps/i386/i686/multiarch/memchr.S: New file.
69751         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
69752         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
69753         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
69754         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
69755         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
69756         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
69757         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
69758         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
69759         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
69760         * string/memrchr.c (MEMRCHR): New macro.
69762 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
69764         Add integration with gcc's -ffinite-math-only and optimize wrapper
69765         functions in libm.
69766         * Versions.def: Define GLIBC_2.15 version for libm.
69767         * math/Makefile (headers): Add bits/math-finite.h.
69768         * math/bits/math-finite.h: New file.
69769         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
69770         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
69771         * math/e_acoshl.c: Add __*_finite alias.
69772         * math/e_acosl.c: Likewise.
69773         * math/e_asinl.c: Likewise.
69774         * math/e_atan2l.c: Likewise.
69775         * math/e_atanhl.c: Likewise.
69776         * math/e_coshl.c: Likewise.
69777         * math/e_exp10.c: Likewise.
69778         * math/e_exp10f.c: Likewise.
69779         * math/e_exp10l.c: Likewise.
69780         * math/e_exp2l.c: Likewise.
69781         * math/e_fmodl.c: Likewise.
69782         * math/e_gammal_r.c: Likewise.
69783         * math/e_hypotl.c: Likewise.
69784         * math/e_j0l.c: Likewise.
69785         * math/e_j1l.c: Likewise.
69786         * math/e_jnl.c: Likewise.
69787         * math/e_lgammal_r.c: Likewise.
69788         * math/e_log10l.c: Likewise.
69789         * math/e_log2l.c: Likewise.
69790         * math/e_logl.c: Likewise.
69791         * math/e_powl.c: Likewise.
69792         * math/e_sinhl.c: Likewise.
69793         * math/e_sqrtl.c: Likewise.
69794         * math/e_scalb.c: Completely rewritten and optimized.
69795         * math/e_scalbf.c: Likewise.
69796         * math/e_scalbl.c: Likewise.
69797         * math/w_acos.c: Likewise.
69798         * math/w_acosf.c: Likewise.
69799         * math/w_acosl.c: Likewise.
69800         * math/w_acosh.c: Likewise.
69801         * math/w_acoshf.c: Likewise.
69802         * math/w_acoshl.c: Likewise.
69803         * math/w_asin.c: Likewise.
69804         * math/w_asinf.c: Likewise.
69805         * math/w_asinl.c: Likewise.
69806         * math/w_atan2.c: Likewise.
69807         * math/w_atan2f.c: Likewise.
69808         * math/w_atan2l.c: Likewise.
69809         * math/w_atanh.c: Likewise.
69810         * math/w_atanhf.c: Likewise.
69811         * math/w_atanhl.c: Likewise.
69812         * math/w_exp10.c: Likewise.
69813         * math/w_exp10f.c: Likewise.
69814         * math/w_exp10l.c: Likewise.
69815         * math/w_fmod.c: Likewise.
69816         * math/w_fmodf.c: Likewise.
69817         * math/w_fmodl.c: Likewise.
69818         * math/w_j0.c: Likewise.
69819         * math/w_j0f.c: Likewise.
69820         * math/w_j0l.c: Likewise.
69821         * math/w_j1.c: Likewise.
69822         * math/w_j1f.c: Likewise.
69823         * math/w_j1l.c: Likewise.
69824         * math/w_jn.c: Likewise.
69825         * math/w_jnf.c: Likewise.
69826         * math/w_log.c: Likewise.
69827         * math/w_logf.c: Likewise.
69828         * math/w_logl.c: Likewise.
69829         * math/w_log10.c: Likewise.
69830         * math/w_log10f.c: Likewise.
69831         * math/w_log10l.c: Likewise.
69832         * math/w_log2.c: Likewise.
69833         * math/w_log2f.c: Likewise.
69834         * math/w_log2l.c: Likewise.
69835         * math/w_pow.c: Likewise.
69836         * math/w_powf.c: Likewise.
69837         * math/w_powl.c: Likewise.
69838         * math/w_remainder.c: Likewise.
69839         * math/w_remainderf.c: Likewise.
69840         * math/w_remainderl.c: Likewise.
69841         * math/w_scalb.c: Likewise.
69842         * math/w_scalbf.c: Likewise.
69843         * math/w_scalbl.c: Likewise.
69844         * math/w_sqrt.c: Likewise.
69845         * math/w_sqrtf.c: Likewise.
69846         * math/w_sqrtl.c: Likewise.
69847         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
69848         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
69849         used.
69850         * math/math_private.h: Declare __kernel_standard_f.
69851         * math/w_cosh.c: Remove cruft and optimize a bit.
69852         * math/w_coshf.c: Likewise.
69853         * math/w_coshl.c: Likewise.
69854         * math/w_exp2.c: Likewise.
69855         * math/w_exp2f.c: Likewise.
69856         * math/w_exp2l.c: Likewise.
69857         * math/w_hypot.c: Likewise.
69858         * math/w_hypotf.c: Likewise.
69859         * math/w_hypotl.c: Likewise.
69860         * math/w_lgamma.c: Likewise.
69861         * math/w_lgamma_r.c: Likewise.
69862         * math/w_lgammaf.c: Likewise.
69863         * math/w_lgammaf_r.c: Likewise.
69864         * math/w_lgammal.c: Likewise.
69865         * math/w_lgammal_r.c: Likewise.
69866         * math/w_sinh.c: Likewise.
69867         * math/w_sinhf.c: Likewise.
69868         * math/w_sinhl.c: Likewise.
69869         * math/w_tgamma.c: Likewise.
69870         * math/w_tgammaf.c: Likewise.
69871         * math/w_tgammal.c: Likewise.
69872         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69873         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69874         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
69875         Minor optimizations.  Pretty printing.  Remove cruft.
69876         * sysdeps/i386/fpu/e_acosf.S: Likewise.
69877         * sysdeps/i386/fpu/e_acosh.S: Likewise.
69878         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
69879         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
69880         * sysdeps/i386/fpu/e_acosl.c: Likewise.
69881         * sysdeps/i386/fpu/e_asin.S: Likewise.
69882         * sysdeps/i386/fpu/e_asinf.S: Likewise.
69883         * sysdeps/i386/fpu/e_atan2.S: Likewise.
69884         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
69885         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
69886         * sysdeps/i386/fpu/e_atanh.S: Likewise.
69887         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
69888         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
69889         * sysdeps/i386/fpu/e_exp10.S: Likewise.
69890         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
69891         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
69892         * sysdeps/i386/fpu/e_exp2.S: Likewise.
69893         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
69894         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
69895         * sysdeps/i386/fpu/e_fmod.S: Likewise.
69896         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
69897         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
69898         * sysdeps/i386/fpu/e_hypot.S: Likewise.
69899         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
69900         * sysdeps/i386/fpu/e_log.S: Likewise.
69901         * sysdeps/i386/fpu/e_log10.S: Likewise.
69902         * sysdeps/i386/fpu/e_log10f.S: Likewise.
69903         * sysdeps/i386/fpu/e_log10l.S: Likewise.
69904         * sysdeps/i386/fpu/e_log2.S: Likewise.
69905         * sysdeps/i386/fpu/e_log2f.S: Likewise.
69906         * sysdeps/i386/fpu/e_log2l.S: Likewise.
69907         * sysdeps/i386/fpu/e_logf.S: Likewise.
69908         * sysdeps/i386/fpu/e_logl.S: Likewise.
69909         * sysdeps/i386/fpu/e_pow.S: Likewise.
69910         * sysdeps/i386/fpu/e_powf.S: Likewise.
69911         * sysdeps/i386/fpu/e_powl.S: Likewise.
69912         * sysdeps/i386/fpu/e_remainder.S: Likewise.
69913         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
69914         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
69915         * sysdeps/i386/fpu/e_scalb.S: Likewise.
69916         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
69917         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
69918         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
69919         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
69920         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
69921         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
69922         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69923         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69924         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
69925         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
69926         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
69927         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
69928         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
69929         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69930         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
69931         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
69932         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
69933         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69934         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
69935         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
69936         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69937         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
69938         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
69939         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69940         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69941         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
69942         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
69943         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69944         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69945         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
69946         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
69947         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
69948         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
69949         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
69950         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
69951         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69952         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
69953         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69954         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
69955         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
69956         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
69957         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
69958         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
69959         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
69960         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
69961         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
69962         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
69963         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
69964         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
69965         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69966         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
69967         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
69968         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
69969         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
69970         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
69971         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
69972         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
69973         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
69974         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
69975         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
69976         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
69977         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
69978         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
69979         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
69980         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
69981         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
69982         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
69983         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69984         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69985         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
69986         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
69987         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
69988         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
69989         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
69990         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
69991         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
69992         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
69993         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
69994         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
69995         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
69996         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
69997         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
69998         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
69999         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70000         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
70001         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70002         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
70003         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
70004         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70005         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70006         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
70007         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70008         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
70009         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
70010         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
70011         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70012         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
70013         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
70014         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
70015         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
70016         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
70017         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
70018         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
70019         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
70020         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
70021         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
70022         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
70023         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
70024         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
70025         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70026         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70027         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70028         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70029         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
70030         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70031         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
70032         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
70033         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
70034         (__isnanf): Likewise.
70035         (__isinf_ns): Likewise.
70036         (__isinf_nsf): Likewise.
70037         (__finite): Likewise.
70038         (__finitef): Likewise.
70039         (__ieee754_sqrt): Define as macro.
70040         (__ieee754_sqrtf): Define as macro.
70041         (__ieee754_sqrtl): Define as macro.
70042         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
70043         inlined copy.
70044         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
70045         __FINITE_MATH_ONLY__ consistent.
70046         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
70048 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
70050         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
70051         of rawmemchr.
70053         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
70055 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
70057         * po/ja.po: Update from translation team.
70059 2011-10-08  Roland McGrath  <roland@hack.frob.com>
70061         * locale/programs/locarchive.c (prepare_address_space): New function.
70062         (create_archive, enlarge_archive, open_archive): Use it.
70064         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
70065         inside [SHARED], where it is used.
70067         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
70069         * nss/getent.c (netgroup_keys): Remove unused variable.
70070         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
70072 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
70074         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
70075         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
70076         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
70077         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
70078         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
70079         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
70080         * math/Makefile (libm-calls): Add s_isinf_ns.
70081         * math/divtc3.c: Use __isinf_nsl instead of isinf.
70082         * math/multc3.c: Likewise.
70083         * math/s_casin.c: Likewise.
70084         * math/s_casinf.c: Likewise.
70085         * math/s_casinl.c: Likewise.
70086         * math/s_ccos.c: Likewise.
70087         * math/s_ccosf.c: Likewise.
70088         * math/s_ccosl.c: Likewise.
70089         * math/s_ctan.c: Likewise.
70090         * math/s_ctanf.c: Likewise.
70091         * math/s_ctanh.c: Likewise.
70092         * math/s_ctanhf.c: Likewise.
70093         * math/s_ctanhl.c: Likewise.
70094         * math/s_ctanl.c: Likewise.
70095         * math/w_fmod.c: Likewise.
70096         * math/w_fmodf.c: Likewise.
70097         * math/w_fmodl.c: Likewise.
70098         * math/w_remainder.c: Likewise.
70099         * math/w_remainderf.c: Likewise.
70100         * math/w_remainderl.c: Likewise.
70101         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
70102         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
70103         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
70104         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
70105         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
70106         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
70107         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
70108         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
70110         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
70111         of the number.
70112         * stdio-common/printf_fphex.c: Likewise.
70113         * stdio-common/printf_size.c: Likewise.
70115         * math/e_exp10.c: Include math_private.h using <...> not "...".
70116         * math/e_exp10f.c: Likewise.
70117         * math/e_exp10l.c: Likewise.
70118         * math/e_exp2l.c: Likewise.
70119         * math/e_j0l.c: Likewise.
70120         * math/e_j1l.c: Likewise.
70121         * math/e_jnl.c: Likewise.
70122         * math/e_lgammal_r.c: Likewise.
70123         * math/e_rem_pio2l.c: Likewise.
70124         * math/e_scalb.c: Likewise.
70125         * math/e_scalbf.c: Likewise.
70126         * math/e_scalbl.c: Likewise.
70127         * math/k_cosl.c: Likewise.
70128         * math/k_sinl.c: Likewise.
70129         * math/k_tanl.c: Likewise.
70130         * math/s_cacoshf.c: Likewise.
70131         * math/s_catan.c: Likewise.
70132         * math/s_catanf.c: Likewise.
70133         * math/s_catanh.c: Likewise.
70134         * math/s_catanhf.c: Likewise.
70135         * math/s_catanhl.c: Likewise.
70136         * math/s_catanl.c: Likewise.
70137         * math/s_ccosh.c: Likewise.
70138         * math/s_ccoshf.c: Likewise.
70139         * math/s_ccoshl.c: Likewise.
70140         * math/s_cexp.c: Likewise.
70141         * math/s_cexpf.c: Likewise.
70142         * math/s_cexpl.c: Likewise.
70143         * math/s_clog.c: Likewise.
70144         * math/s_clog10.c: Likewise.
70145         * math/s_clog10f.c: Likewise.
70146         * math/s_clog10l.c: Likewise.
70147         * math/s_clogf.c: Likewise.
70148         * math/s_clogl.c: Likewise.
70149         * math/s_csin.c: Likewise.
70150         * math/s_csinf.c: Likewise.
70151         * math/s_csinh.c: Likewise.
70152         * math/s_csinhf.c: Likewise.
70153         * math/s_csinhl.c: Likewise.
70154         * math/s_csinl.c: Likewise.
70155         * math/s_csqrt.c: Likewise.
70156         * math/s_csqrtf.c: Likewise.
70157         * math/s_csqrtl.c: Likewise.
70158         * math/s_ctan.c: Likewise.
70159         * math/s_ctanf.c: Likewise.
70160         * math/s_ctanh.c: Likewise.
70161         * math/s_ctanhf.c: Likewise.
70162         * math/s_ctanhl.c: Likewise.
70163         * math/s_ctanl.c: Likewise.
70164         * math/s_ldexp.c: Likewise.
70165         * math/s_ldexpf.c: Likewise.
70166         * math/s_ldexpl.c: Likewise.
70167         * math/s_significand.c: Likewise.
70168         * math/s_significandf.c: Likewise.
70169         * math/s_significandl.c: Likewise.
70170         * math/w_acos.c: Likewise.
70171         * math/w_acosf.c: Likewise.
70172         * math/w_acosh.c: Likewise.
70173         * math/w_acoshf.c: Likewise.
70174         * math/w_acoshl.c: Likewise.
70175         * math/w_acosl.c: Likewise.
70176         * math/w_asin.c: Likewise.
70177         * math/w_asinf.c: Likewise.
70178         * math/w_asinl.c: Likewise.
70179         * math/w_atan2.c: Likewise.
70180         * math/w_atan2f.c: Likewise.
70181         * math/w_atan2l.c: Likewise.
70182         * math/w_atanh.c: Likewise.
70183         * math/w_atanhf.c: Likewise.
70184         * math/w_atanhl.c: Likewise.
70185         * math/w_cosh.c: Likewise.
70186         * math/w_coshf.c: Likewise.
70187         * math/w_coshl.c: Likewise.
70188         * math/w_dremf.c: Likewise.
70189         * math/w_exp10.c: Likewise.
70190         * math/w_exp10f.c: Likewise.
70191         * math/w_exp10l.c: Likewise.
70192         * math/w_exp2.c: Likewise.
70193         * math/w_exp2f.c: Likewise.
70194         * math/w_fmod.c: Likewise.
70195         * math/w_fmodf.c: Likewise.
70196         * math/w_fmodl.c: Likewise.
70197         * math/w_hypot.c: Likewise.
70198         * math/w_hypotf.c: Likewise.
70199         * math/w_hypotl.c: Likewise.
70200         * math/w_j0.c: Likewise.
70201         * math/w_j0f.c: Likewise.
70202         * math/w_j0l.c: Likewise.
70203         * math/w_j1.c: Likewise.
70204         * math/w_j1f.c: Likewise.
70205         * math/w_j1l.c: Likewise.
70206         * math/w_jn.c: Likewise.
70207         * math/w_jnf.c: Likewise.
70208         * math/w_jnl.c: Likewise.
70209         * math/w_lgamma.c: Likewise.
70210         * math/w_lgamma_r.c: Likewise.
70211         * math/w_lgammaf.c: Likewise.
70212         * math/w_lgammaf_r.c: Likewise.
70213         * math/w_lgammal.c: Likewise.
70214         * math/w_lgammal_r.c: Likewise.
70215         * math/w_log.c: Likewise.
70216         * math/w_log10.c: Likewise.
70217         * math/w_log10f.c: Likewise.
70218         * math/w_log10l.c: Likewise.
70219         * math/w_log2.c: Likewise.
70220         * math/w_log2f.c: Likewise.
70221         * math/w_log2l.c: Likewise.
70222         * math/w_logf.c: Likewise.
70223         * math/w_logl.c: Likewise.
70224         * math/w_pow.c: Likewise.
70225         * math/w_powf.c: Likewise.
70226         * math/w_powl.c: Likewise.
70227         * math/w_remainder.c: Likewise.
70228         * math/w_remainderf.c: Likewise.
70229         * math/w_remainderl.c: Likewise.
70230         * math/w_scalb.c: Likewise.
70231         * math/w_scalbf.c: Likewise.
70232         * math/w_scalbl.c: Likewise.
70233         * math/w_sinh.c: Likewise.
70234         * math/w_sinhf.c: Likewise.
70235         * math/w_sinhl.c: Likewise.
70236         * math/w_sqrt.c: Likewise.
70237         * math/w_sqrtf.c: Likewise.
70238         * math/w_sqrtl.c: Likewise.
70239         * math/w_tgamma.c: Likewise.
70240         * math/w_tgammaf.c: Likewise.
70241         * math/w_tgammal.c: Likewise.
70243         * po/ja.po: Update from translation team.
70245 2011-09-29  Andreas Jaeger  <aj@suse.de>
70247         [BZ #13179]
70248         * sunrpc/netname.c (netname2host): Fix logic.
70250         [BZ #6779]
70251         [BZ #6783]
70252         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
70253         correctly.
70254         * math/w_remainder.c (__remainder): Likewise.
70255         * math/w_remainderf.c (__remainderf): Likewise.
70256         * math/libm-test.inc (remainder_test): Add test cases.
70258 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70260         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
70261         sdiv_qrnnd.
70263 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
70265         * string/test-memcmp.c: Avoid unncessary #defines.
70266         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
70268 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70270         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
70271         Use new sse2 version for core i3 - i7 as it's faster
70272         than sse42 version.
70273         (bit_Prefer_PMINUB_for_stringop): New.
70274         * sysdeps/x86_64/rawmemchr.S: Update.
70275         Replace with faster SSE2 version.
70276         * sysdeps/x86_64/memrchr.S: New file.
70277         * sysdeps/x86_64/memchr.S: Update.
70278         Replace with faster SSE2 version.
70280 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
70282         * elf/dl-load.c (lose): Add cast to avoid warning.
70284 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
70286         * po/ca.po: Update from translation team.
70288         * inet/getnetgrent_r.c: Hook up nscd.
70289         * nscd/Makefile (routines): Add nscd_netgroup.
70290         (nscd-modules): Add netgroupcache.
70291         (CFLAGS-netgroupcache.c): Define.
70292         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
70293         (cache_search): Add const to second parameter.
70294         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
70295         INNETGR.
70296         (dbs): Add netgrdb entry.
70297         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
70298         (verify_persistent_db): Handle netgrdb.
70299         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
70300         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
70301         GETFDNETGR.
70302         (netgroup_response_header): Define.
70303         (innetgroup_response_header): Define.
70304         (datahead): Add netgroup_response_header and innetgroup_response_header
70305         elements.
70306         * nscd/nscd.conf: Add entries for netgroup cache.
70307         * nscd/nscd.h (dbtype): Add netgrdb.
70308         (_PATH_NSCD_NETGROUP_DB): Define.
70309         (netgroup_iov_disabled): Declare.
70310         (xmalloc, xcalloc, xrealloc): Move declarations here.
70311         (cache_search): Adjust prototype.
70312         Add netgroup-related prototypes.
70313         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
70314         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
70315         (__nscd_innetgr): Declare.
70316         * nscd/selinux.c (perms): Use access_vector_t as element type and
70317         add netgroup-related initializers.
70318         * nscd/netgroupcache.c: New file.
70319         * nscd/nscd_netgroup.c: New file.
70320         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
70321         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
70322         For four parameters use innetgr.
70323         * nss/nss_files/files-init.c: Add definition and callback for netgr.
70324         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
70325         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
70326         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
70328         * nscd/connections.c (register_traced_file): Don't register file
70329         for disabled databases.
70331 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
70333         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
70335         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
70336         from tree and freeing node.
70338 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
70340         * nss/nsswitch.c (__nss_database_lookup): Handle
70341         nss_parse_service_list out of memory case.
70343 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
70345         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
70346         out of memory case.
70348 2011-10-04  Andreas Schwab  <schwab@redhat.com>
70350         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
70351         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
70352         pass it down.
70353         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
70354         elf_machine_rela, elf_machine_lazy_rel.
70355         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
70356         (ELF_DYNAMIC_DO_REL): Likewise.
70357         (ELF_DYNAMIC_DO_RELA): Likewise.
70358         (ELF_DYNAMIC_RELOCATE): Likewise.
70359         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
70360         to ELF_DYNAMIC_DO_REL.
70361         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
70362         (dl_main): In trace mode always set __RTLD_NOIFUNC.
70363         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
70364         elf_machine_rela.
70365         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
70366         skip_ifunc, don't call ifunc function if non-zero.
70367         (elf_machine_rela): Likewise.
70368         (elf_machine_lazy_rel): Likewise.
70369         (elf_machine_lazy_rela): Likewise.
70370         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
70371         (elf_machine_lazy_rel): Likewise.
70372         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
70373         Likewise.
70374         (elf_machine_lazy_rel): Likewise.
70375         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
70376         Likewise.
70377         (elf_machine_lazy_rel): Likewise.
70378         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
70379         (elf_machine_lazy_rel): Likewise.
70380         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
70381         (elf_machine_lazy_rel): Likewise.
70382         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
70383         (elf_machine_lazy_rel): Likewise.
70384         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
70385         (elf_machine_lazy_rel): Likewise.
70386         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
70387         (elf_machine_lazy_rel): Likewise.
70388         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
70389         (elf_machine_lazy_rel): Likewise.
70391 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
70393         * nss/nss_files/files-init.c (_nss_files_init): Use static
70394         initialization for all the *_traced_file variables.
70396 2011-09-28  Andreas Schwab  <schwab@redhat.com>
70398         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70400 2011-09-27  Roland McGrath  <roland@hack.frob.com>
70402         [BZ #13226]
70403         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
70405 2011-09-27  Andreas Schwab  <schwab@redhat.com>
70407         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
70408         Reread the line before reparsing it.
70410 2011-09-26  Andreas Schwab  <schwab@redhat.com>
70412         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
70414 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
70415             Maxim Kuvyrkov  <maxim@codesourcery.com>
70416             Joseph Myers  <joseph@codesourcery.com>
70418         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
70419         if needed for __stack_chk_guard.
70421 2011-09-19  Roland McGrath  <roland@hack.frob.com>
70423         * sysdeps/posix/spawni.c (script_execute): Always define it.
70424         It will be optimized away if unused.
70425         (maybe_script_execute): New function.
70426         (__spawni): Call it.
70428         * Makerules: Don't include tls.make.
70429         (config-tls): Always set to thread.
70430         * tls.make.c: File removed.
70432 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
70434         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
70435         * config.make.in (CPPFLAGS-config): New substituted variable.
70437 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
70439         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
70441         [BZ #13192]
70442         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
70443         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
70445 2011-09-15  Roland McGrath  <roland@hack.frob.com>
70447         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
70448         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
70449         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
70450         (CALL_FAIL): Likewise.
70451         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
70452         (CALL_FAIL): Macro removed.
70453         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
70455 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
70457         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
70458         for __FINITE_MATH_ONLY__ == 1.
70460 2011-09-15  Andreas Schwab  <schwab@redhat.com>
70462         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
70463         __ieee754_sqrt instead of sqrt.
70464         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
70465         __ieee754_sqrtf instead of sqrtf.
70466         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
70467         __floorf instead of floorf.
70468         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
70469         __floorf, __truncf instead of floorf, truncf.
70471 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
70473         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
70475         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
70476         __extern_always_inline.
70477         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
70478         32-bit.
70480 2011-09-14  Andreas Schwab  <schwab@redhat.com>
70482         * elf/rtld.c (dl_main): Also relocate in dependency order when
70483         doing symbol dependency testing.
70485 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
70487         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
70488         Always define `refsym'.
70490 2011-09-13  Andreas Schwab  <schwab@redhat.com>
70492         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
70493         (__FD_ELT): Renamed from __FDELT.
70494         * misc/bits/select2.h (__FD_ELT): Likewise.
70495         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
70496         __FD_MASK instead of __FDELT, __FDMASK.
70497         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
70498         Likewise.
70499         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
70500         Likewise.
70502         * elf/Makefile (gen-ldd): Fix pattern.
70504         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
70505         (init_tls): Likewise.
70507 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
70509         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
70511 2011-09-12  Andreas Schwab  <schwab@redhat.com>
70513         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
70514         `struct cmsghdr *' instead of `void *'.
70515         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
70516         Likewise.
70518 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
70520         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
70521         if non-absolute.
70522         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
70523         ldd_rewrite_script.
70525 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
70527         * configure.in: Remove --with-tls option.
70528         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
70529         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
70530         out in case it is missing.
70531         * sysdeps/ia64/elf/configure.in: Likewise.
70532         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
70533         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
70534         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
70535         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
70536         * sysdeps/sh/elf/configure.in: Likewise.
70537         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
70538         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
70539         * sysdeps/x86_64/elf/configure.in: Likewise.
70540         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
70541         * sysdeps/mach/hurd/tls.h: Likewise.
70543         [BZ #13067]
70544         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
70546         [BZ #13090]
70547         * configure.in: Fix use of AC_INIT.
70549         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
70551 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
70553         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
70554         __set_errno.
70555         * malloc/hooks.c: Likewise.
70557         [BZ #11929]
70558         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
70559         variables statically.
70560         (narenas): Initialize.
70561         (list_lock): Initialize.
70562         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
70563         initializtion of main_arena and list_lock.  Small cleanups.
70564         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
70565         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
70566         Add initializers to main_arena and mp_.
70567         (malloc_state): Remove pagesize member.  Change all users to use
70568         GLRO(dl_pagesize).
70570         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
70571         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
70572         is always initialized.
70574         * malloc/malloc.c: Removed unused configurations and dead code.
70575         * malloc/arena.c: Likewise.
70576         * malloc/hooks.c: Likewise.
70577         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
70579         * include/tls.h: Removed.  USE___THREAD must always be defined.
70580         * bits/libc-tsd.h: Don't handle !USE___THREAD.
70581         * elf/dl-libc.c: Likewise.
70582         * elf/dl-tsd.c: Likewise.
70583         * include/errno.h: Likewise.
70584         * include/netdb.h: Likewise.
70585         * include/resolv.h: Likewise.
70586         * inet/herrno-loc.c: Likewise.
70587         * inet/herrno.c: Likewise.
70588         * malloc/arena.c: Likewise.
70589         * malloc/hooks.c: Likewise.
70590         * malloc/malloc.c: Likewise.
70591         * resolv/res-state.c: Likewise.
70592         * resolv/res_libc.c: Likewise.
70593         * sysdeps/i386/dl-machine.h: Likewise.
70594         * sysdeps/ia64/dl-machine.h: Likewise.
70595         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
70596         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
70597         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
70598         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
70599         * sysdeps/sh/dl-machine.h: Likewise.
70600         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
70601         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
70602         * sysdeps/unix/i386/sysdep.S: Likewise.
70603         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
70604         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
70605         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
70606         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
70607         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
70608         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
70609         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
70610         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
70611         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70612         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
70613         * sysdeps/unix/x86_64/sysdep.S: Likewise.
70614         * sysdeps/x86_64/dl-machine.h: Likewise.
70615         * tls.make.c: Likewise.
70617         * configure.in: Remove --with-__thread option.  Make tests for
70618         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
70619         tls_model attribute fail if no support is available.  Remove
70620         USE_IN_LIBIO.
70621         * Makeconfig: Adjust for dropped configure option.  All features are
70622         now mandatory.
70623         * Makerules: Likewise.
70624         * Versions.def: Likewise.
70625         * argp/argp-fmtstream.c: Likewise.
70626         * argp/argp-fmtstream.h: Likewise.
70627         * argp/argp-help.c: Likewise.
70628         * assert/assert.c: Likewise.
70629         * config.h.in: Likewise.
70630         * config.make.in: Likewise.
70631         * configure: Likewise.
70632         * configure.in: Likewise.
70633         * csu/Versions: Likewise.
70634         * csu/init.c: Likewise.
70635         * elf/tst-audit2.c: Likewise.
70636         * elf/tst-tls10.c: Likewise.
70637         * elf/tst-tls10.h: Likewise.
70638         * elf/tst-tls11.c: Likewise.
70639         * elf/tst-tls12.c: Likewise.
70640         * elf/tst-tls14.c: Likewise.
70641         * elf/tst-tlsmod11.c: Likewise.
70642         * elf/tst-tlsmod12.c: Likewise.
70643         * elf/tst-tlsmod13.c: Likewise.
70644         * elf/tst-tlsmod13a.c: Likewise.
70645         * elf/tst-tlsmod14a.c: Likewise.
70646         * elf/tst-tlsmod15b.c: Likewise.
70647         * elf/tst-tlsmod16a.c: Likewise.
70648         * elf/tst-tlsmod16b.c: Likewise.
70649         * elf/tst-tlsmod7.c: Likewise.
70650         * elf/tst-tlsmod8.c: Likewise.
70651         * elf/tst-tlsmod9.c: Likewise.
70652         * gmon/gmon.c: Likewise.
70653         * grp/fgetgrent_r.c: Likewise.
70654         * grp/putgrent.c: Likewise.
70655         * hurd/fopenport.c: Likewise.
70656         * include/libc-symbols.h: Likewise.
70657         * include/tls.h: Likewise.
70658         * intl/gettextP.h: Likewise.
70659         * intl/loadinfo.h: Likewise.
70660         * locale/global-locale.c: Likewise.
70661         * locale/localeinfo.h: Likewise.
70662         * mach/devstream.c: Likewise.
70663         * malloc/arena.c: Likewise.
70664         * malloc/set-freeres.c: Likewise.
70665         * misc/err.c: Likewise.
70666         * misc/getttyent.c: Likewise.
70667         * misc/mntent_r.c: Likewise.
70668         * posix/getopt.c: Likewise.
70669         * posix/wordexp.c: Likewise.
70670         * pwd/fgetpwent_r.c: Likewise.
70671         * resolv/Versions: Likewise.
70672         * resolv/res_hconf.c: Likewise.
70673         * shadow/fgetspent_r.c: Likewise.
70674         * shadow/putspent.c: Likewise.
70675         * stdio-common/printf_fphex.c: Likewise.
70676         * stdio-common/tmpfile.c: Likewise.
70677         * stdlib/abort.c: Likewise.
70678         * stdlib/fmtmsg.c: Likewise.
70679         * sunrpc/auth_unix.c: Likewise.
70680         * sunrpc/clnt_perr.c: Likewise.
70681         * sunrpc/clnt_tcp.c: Likewise.
70682         * sunrpc/clnt_udp.c: Likewise.
70683         * sunrpc/clnt_unix.c: Likewise.
70684         * sunrpc/openchild.c: Likewise.
70685         * sunrpc/svc_simple.c: Likewise.
70686         * sunrpc/svc_tcp.c: Likewise.
70687         * sunrpc/svc_udp.c: Likewise.
70688         * sunrpc/svc_unix.c: Likewise.
70689         * sunrpc/xdr.c: Likewise.
70690         * sunrpc/xdr_array.c: Likewise.
70691         * sunrpc/xdr_rec.c: Likewise.
70692         * sunrpc/xdr_ref.c: Likewise.
70693         * sunrpc/xdr_stdio.c: Likewise.
70695 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
70697         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70699 2011-07-03  Andreas Jaeger  <aj@suse.de>
70701         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
70702         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
70703         regenerate with gen-libm-tests.pl.
70705 2010-05-12  Petr Baudis  <pasky@suse.cz>
70707         [BZ #11589]
70708         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
70709         around j0() zero points by switching to j1().
70710         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70711         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70712         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70713         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70715 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
70717         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
70718         instead of 0.
70719         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
70720         instead of 0.
70721         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70722         Patch in part by Pavel Roskin <proski@gnu.org>.
70724         [BZ #13138]
70725         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
70726         realloc.
70727         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
70728         Free memory block if necessary.
70730         [BZ #12847]
70731         * libio/genops.c (INTDEF): For string streams the _lock pointer can
70732         be NULL.  Don't lock in this case.
70734 2011-09-09  Roland McGrath  <roland@hack.frob.com>
70736         * elf/elf.h (ELFOSABI_GNU): New macro.
70737         (ELFOSABI_LINUX): Define to that.
70739 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
70741         * string/strncat.c (strncat): Undef the symbol in case it has been
70742         defined in bits/string.h.
70744 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
70746         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
70748         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
70749         link map.
70751 2011-08-17  Andreas Jaeger  <aj@suse.de>
70753         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
70755 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
70756             Ian Lance Taylor  <iant@google.com>
70758         * math/libm-test.inc (lround_test): New testcase.
70759         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
70761 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
70763         * Makefile: Remove support for automatic cvs check-ins.
70764         * Makerules: Likewise.
70765         * config.make.in: Likewise.
70766         * configure.in: Likewise.
70767         * intl/Makefile: Likewise.
70768         * locale/Makefile: Likewise.
70769         * po/Makefile: Likewise.
70770         * posix/Makefile: Likewise.
70771         * sysdeps/gnu/Makefile: Likewise.
70772         * sysdeps/mach/hurd/Makefile: Likewise.
70773         * sysdeps/sparc/sparc32/Makefile: Likewise.
70775         [BZ #13118]
70776         * posix/Makefile (bug-regex32-ENV): Define.
70777         Patch by John Stanley <jpsinthemix@verizon.net>.
70779         * misc/Makefile (headers): Add bits/select2.h.
70780         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
70781         * misc/bits/select2.h: New file.
70782         * include/bits/select2.h: New file.
70783         * debug/Makefile (routines): Add fdelt_chk.
70784         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
70785         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
70786         FD_ISSET.
70787         * debug/fdelt_chk.c: New file.
70789         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
70790         * wcsmbs/test-wmemcmp.c: Likewise.
70791         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
70792         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
70794 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70796         * string/Makefile (strop-tests): Add memcmp.
70797         * string/test-wmemcmp.c: New file.
70798         * string/test-memcmp.c: Add wmemcmp support.
70800 2011-09-08  Roland McGrath  <roland@hack.frob.com>
70802         [BZ #13153]
70803         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
70804         2011-07-19 change.
70806         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
70807         garbage value in a __mach_port_mod_refs call in the cases of the
70808         task-self and thread-self ports.
70810 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70812         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
70814 2011-09-08  Andreas Schwab  <schwab@redhat.com>
70816         * elf/dl-load.c (lose): Check for non-null L.
70818 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
70820         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
70822         * elf/dl-libc.c (dlerror_run): Pass back error code from
70823         dl_catch_error.
70825         [BZ #13123]
70826         * elf/dl-load.c (lose): Free l_origin if it is valid.
70828         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
70829         names.
70830         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
70831         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
70832         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
70833         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
70834         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
70835         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
70837 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70839         * sysdeps/powerpc/fpu/e_hypot.c: New file.
70840         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
70841         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
70842         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
70843         * sysdeps/powerpc/fpu/k_cosf.c: New file.
70844         * sysdeps/powerpc/fpu/k_sinf.c: New file.
70845         * sysdeps/powerpc/fpu/s_cosf.c: New file.
70846         * sysdeps/powerpc/fpu/s_sinf.c: New file.
70847         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
70848         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
70850 2011-08-15  Alan Modra  <amodra@gmail.com>
70852         [BZ #13092]
70853         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
70854         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
70855         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
70856         ppc_mcount to static-only-routines.
70857         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
70858         __mcount_internal.
70859         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
70860         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
70862 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
70864         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
70865         for finite and infinity parameters.
70867 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
70869         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
70870         and add nop instructions for throughput optimization.
70871         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
70873 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
70875         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
70876         aligned copy for power7 with vector-scalar instructions.
70877         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
70879 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
70881         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
70882         AVX check.
70884 2011-09-07  Andreas Schwab  <schwab@redhat.com>
70886         [BZ #13144]
70887         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
70888         last change.
70890 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
70892         * sysdeps/unix/sysv/linux/x86_64/init-first.c
70893         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
70894         syscall wrapper around clock_gettime in __vdso_clock_gettime.
70895         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
70896         clock_gettime.
70898 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
70900         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
70901         Forgot to demangle the pointer.
70903         * sysdeps/i386/sysdep.h: Define atom_text_section.
70904         * sysdeps/x86_64/sysdep.h: Likewise.
70905         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
70906         section with atom_text_section.
70907         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
70908         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
70909         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
70910         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
70911         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
70913         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
70914         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
70915         already be defined.  Change to take two parameters and don't assign
70916         result to variable.  Adjust all users.
70917         Define INTERNAL_GETTIME if not already defined.
70918         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
70919         call.
70920         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
70921         HAVE_CLOCK_GETTIME_VSYSCALL.
70922         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
70924         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
70925         gettimeofday vsyscall, just use time.
70927 2011-09-06  Andreas Schwab  <schwab@redhat.com>
70929         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
70930         <errno.h>.
70932 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
70934         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
70935         syscall on x86-64.
70936         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
70937         syscall.
70938         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
70939         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
70940         syscall if possible.
70942 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
70944         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
70945         e_ident.  Don't pass to find_mapsXX.
70946         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
70948 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
70950         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70951         strchr-sse2-no-bsf strrchr-sse2-no-bsf
70952         * sysdeps/x86_64/multiarch/strchr.S: Update.
70953         Check bit_slow_BSF bit.
70954         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
70955         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
70956         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
70958 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
70960         [BZ #13134]
70961         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
70962         before glibc 2.15.
70963         (tryshell): Define.
70964         (__spawni): Change last parameter to be flag.  Test
70965         SPAWN_XFLAGS_USE_PATH flag to use path or not.
70966         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
70967         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
70968         * posix/spawni.c: Likewise.
70969         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
70970         * posix/spawnp.c: Likewise.  Change normal version to use
70971         SPAWN_XFLAGS_USE_PATH.
70972         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
70973         SPAWN_XFLAGS_TRY_SHELL.
70975         [BZ #13150]
70976         * posix/glob.h: Remove gcc 1.x support.
70978         [BZ #13068]
70979         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
70981 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
70983         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70984         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
70985         strrchr-sse2-bsf
70986         * sysdeps/i386/i686/multiarch/strchr.S: New file.
70987         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
70988         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
70989         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
70990         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
70991         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
70993 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70995         * sysdeps/x86_64/wcscmp.S: New file.
70997         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
70998         wcscmp-c wcscmp-sse2
70999         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
71000         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
71001         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
71002         * wcsmbs/wcscmp.c: Allow renaming.
71004 2011-09-05  David S. Miller  <davem@davemloft.net>
71006         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
71007         stack slot, rather than the struct return pointer slot.
71008         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
71009         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
71010         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
71011         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
71013 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
71015         * po/ja.po: Update from translation team.
71017         [BZ #13144]
71018         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
71019         kernel in 64-bit binaries.
71021 2011-09-01  David S. Miller  <davem@davemloft.net>
71023         * elf/elf.h (HWCAP_SPARC_*): Move to..
71024         * sysdeps/sparc/sysdep.h: this new file and add new values.
71025         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
71026         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
71027         _DL_HWCAP_COUNT to 24.
71028         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
71029         entries.
71030         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
71031         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
71032         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
71033         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
71034         instead of magic constants.
71035         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71037 2011-08-31  David S. Miller  <davem@davemloft.net>
71039         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
71040         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
71041         Reimplement to do errno handling inline.
71042         (SYSCALL_ERROR_HANDLER): New macro.
71043         (__SYSCALL_STRING): Do not do errno handling in asm.
71044         (__CLONE_SYSCALL_STRING): Delete.
71045         (__INTERNAL_SYSCALL_STRING): Delete.
71046         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
71047         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
71048         (PSEUDO): Reimplement to do errno handling inline.
71049         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
71050         (SYSCALL_ERROR_HANDLER): New macro.
71051         (__SYSCALL_STRING): Do not do errno handling in asm.
71052         (__CLONE_SYSCALL_STRING): Delete.
71053         (__INTERNAL_SYSCALL_STRING): Delete.
71054         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
71055         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
71056         i386.
71057         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
71058         (inline_syscall*): Add 'err' argument.
71059         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
71060         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
71061         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
71062         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
71064         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
71065         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
71067 2011-08-30  Andreas Schwab  <schwab@redhat.com>
71069         * elf/rtld.c (dl_main): Relocate objects in dependency order.
71071 2011-08-29  Jiri Olsa <jolsa@redhat.com>
71073         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
71074         directive.
71076 2011-08-24  David S. Miller  <davem@davemloft.net>
71078         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
71080 2011-08-24  Andreas Schwab  <schwab@redhat.com>
71082         * elf/Makefile: Add rules to build and run unload8 test.
71083         * elf/unload8.c: New file.
71084         * elf/unload8mod1.c: New file.
71085         * elf/unload8mod1x.c: New file.
71086         * elf/unload8mod2.c: New file.
71087         * elf/unload8mod3.c: New file.
71089         * elf/dl-close.c (_dl_close_worker): Reset private search list if
71090         it wasn't used.
71092 2011-08-23  David S. Miller  <davem@davemloft.net>
71094         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
71095         subtract stack bias.
71096         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
71097         %sp not %fp in calculations.
71098         (_JMPBUF_UNWINDS_ADJ): Likewise.
71100         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
71101         (aio_suspend): Call it to force an exception region around the
71102         AIO_MISC_WAIT() invocation.
71104 2011-08-23  Andreas Schwab  <schwab@redhat.com>
71106         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
71107         backslash.
71109 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
71111         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
71112         protection macro.
71113         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
71114         and <dl-machine.h>.
71115         (Elf64_FuncDesc): Remove.
71117 2011-08-22  David S. Miller  <davem@davemloft.net>
71119         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
71120         sigaltstack check, add missing cfi directives.
71121         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
71122         missing cfi directives, and sigaltstack handling.
71124 2011-08-16  Andreas Schwab  <schwab@redhat.com>
71126         [BZ #11724]
71127         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
71128         object is seen twice.
71129         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71131         * elf/Makefile (distribute): Add tst-initorder2.c.
71132         (tests): Add tst-initorder2.
71133         (modules-names): Add tst-initorder2a tst-initorder2b
71134         tst-initorder2c tst-initorder2d.  Add rules to build them.
71135         ($(objpfx)tst-initorder2.out): New rule.
71136         * elf/tst-initorder2.c: New file.
71137         * elf/tst-initorder2.exp: New file.
71139 2011-08-22  Andreas Schwab  <schwab@redhat.com>
71141         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
71143         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
71144         dependencies back to end of function.
71146         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
71147         $(elfobjdir)/ld.so.
71149 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
71151         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
71152         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
71153         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
71154         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
71155         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
71156         of __vdso_gettimeofday.
71157         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
71158         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
71159         attribute_hidden.
71160         (_libc_vdso_platform_setup): Remove initialization of
71161         __vdso_gettimeofday and __vdso_time.
71163 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
71165         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
71166         and fgetc_unlocked.
71167         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
71168         getc_unlocked.
71170         * elf/dl-open.c (add_to_global): Report additions to the global scope
71171         for LD_DEBUG=scopes.
71172         (dl_open_worker): Also print scope of newly loaded dependencies.
71173         (_dl_show_scope): Indicate if there is no scope.
71175         [BZ #13114]
71176         * stdio-common/Makefile (tests): Add bug24.
71177         * stdio-common/bug24.c: New file.
71179 2011-08-19  Andreas Jaeger  <aj@suse.de>
71181         [BZ #13114]
71182         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
71183         non-existant file when using close-on-exec mode.
71185 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
71187         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
71188         the very first instruction.
71190         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
71191         the CFI state in the end.
71192         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
71193         inclusion of dl-trampoline.h.
71194         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
71196 2011-08-19  Andreas Schwab  <schwab@redhat.com>
71198         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
71199         expectations for long double.
71201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
71202         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
71204 2011-08-14  David S. Miller  <davem@davemloft.net>
71206         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
71207         artificual limit depends upon the system page size.
71209 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
71211         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
71212         * resolv/Makefile: Define CFLAGS-libresolv.
71214 2011-08-17  Andreas Schwab  <schwab@redhat.com>
71216         * nss/makedb.c (compute_tables): Make variables used in nested
71217         function static.
71219 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
71221         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
71222         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
71223         if buffer was too small.
71225         * elf/pldd.c (main): Attach to all threads in the process.
71226         Rewrite /proc handling to use *at functions.
71228 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
71230         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
71231         specifies first scope to show.
71232         (dl_open_worker): Update callers.  Move printing scope of new
71233         object to before the relocation.
71234         * elf/rtld.c (dl_main): Update _dl_show_scope call.
71235         * sysdeps/generic/ldsodefs.h: Update declaration.
71237         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
71238         string for the scope number.
71240 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
71242         * nscd/servicescache.c (cache_addserv): Make sure written is always
71243         initialized.
71245 2011-08-14  Roland McGrath  <roland@hack.frob.com>
71247         * sysdeps/i386/i486/bits/atomic.h
71248         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
71249         statement expression, so as to suppress "set but not used" warning.
71250         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
71252         * string/strncat.c (STRNCAT): Use prototype definition.
71254         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
71255         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
71256         -Iprograms here.
71257         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
71258         (localedef-modules): Add localedef.
71259         (locale-modules): Add locale.
71261         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
71262         * elf/rtld.c (dl_main): Invert order of assignment in last change,
71263         to avoid a warning.
71265 2011-08-14  David S. Miller  <davem@davemloft.net>
71267         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
71268         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
71270 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
71272         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
71273         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
71274         * elf/rtld.c (dl_main): Set l_name of vDSO.
71275         Call _dl_show_scope when DL_DEBUG_SCOPES.
71276         (process_dl_debug): Recognize scopes flag and also set it for all.
71277         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
71278         Declare _dl_show_scope.
71280         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
71281         (do_dlopen): Pass caller_dlopen to dl_open.
71282         (__libc_dlopen_mode): Initialize caller_dlopen.
71284         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
71285         of libc.  Make tolower call locale-independent.  Optimize a bit by
71286         using isdigit instead of isalnum.
71287         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
71289 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
71291         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
71292         was a dependency or dynamically loaded.
71294 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
71296         * intl/l10nflist.c: Allow architecture-specific pop function.
71297         * sysdeps/x86_64/l10nflist.c: New file.
71299         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
71300         classification.
71302 2011-08-10  Andreas Schwab  <schwab@redhat.com>
71304         * include/dirent.h: Add libc_hidden_proto for scandirat and
71305         scandirat64.  Don't declare __scandirat64.
71306         * dirent/scandirat.c: Add libc_hidden_def.
71307         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
71308         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
71310 2011-08-10  David S. Miller  <davem@davemloft.net>
71312         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
71313         enum.
71314         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
71315         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
71316         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
71318 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
71320         * Versions.def [libc]: Add GLIBC_2.15.
71321         * dirent/Makefile (routines): Add scandirat and scandirat64.
71322         * dirent/Versions [libc]: Export scandirat and scandirat64 for
71323         GLIBC_2.15.
71324         * dirent/dirent.h: Declare scandirat and scandirat64.
71325         * dirent/scandirat.c: New file.
71326         * dirent/scandirat64.c: New file.
71327         * sysdeps/wordsize-64/scandirat.c: New file.
71328         * sysdeps/wordsize-64/scandirat64.c: New file.
71329         * dirent/opendir.c: Define opendirat.
71330         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
71331         using scandirat.
71332         * dirent/scandir64.c: Adjust for scandir.c change.
71333         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
71334         __scandirat64, and __scandir_cancel_handler.
71335         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
71336         additional parameter and use openat instead of open (outside of ld.so).
71337         Add new __opendir as wrapper around __opendirat.
71338         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
71339         here without requiring old scandirat implementation.
71341 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
71343         * dirent/scandir.c (cancel_handler): Renamed to
71344         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
71345         defined.  Adjust users.
71346         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
71347         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
71349 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
71351         * string/test-string.h (IMPL): Use __STRING to expand name and then
71352         stringify it.
71354         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
71355         of cleanups.
71357 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71359         * string/Makefile: Update.
71360         (strop-tests): Append strncat.
71361         * string/test-wcscmp.c: New file.
71362         New comprehensive test for wcscmp.
71363         * string/test-strcmp.c: Update.
71364         (WIDE): New define.
71366 2011-07-22  Andreas Schwab  <schwab@redhat.com>
71368         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
71369         line.
71371 2011-07-26  Andreas Schwab  <schwab@redhat.com>
71373         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
71374         encoding to ACE if AI_IDN.
71376 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
71378         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
71379         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
71381 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71383         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
71384         Fix overflow bug in strncat.
71385         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
71387         * string/test-strncat.c: Update.
71388         Add new tests for checking overflow bugs.
71390 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71392         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71393         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
71394         * sysdeps/i386/i686/multiarch/strcat.S: New file.
71395         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
71396         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
71397         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
71398         * sysdeps/i386/i686/multiarch/strncat.S: New file.
71399         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
71400         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
71402         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
71403         (USE_AS_STRCAT): Define.
71404         Add strcat and strncat support.
71405         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
71407 2011-07-25  Andreas Schwab  <schwab@redhat.com>
71409         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
71410         __n bigger than INT_MAX+1.
71411         (__strncmp_g): Likewise.
71413 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
71415         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
71416         * libio/stido.h: Likewise.
71418         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
71419         (AF_NFC): Define.
71420         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
71421         (AF_NFC): Define.
71423         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
71424         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
71425         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
71426         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
71427         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
71429         [BZ #13021]
71430         * scripts/test-installation.pl: Don't expect libnss_test1 to be
71431         installed.
71433         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
71434         typo.
71435         (_dl_x86_64_save_sse): Likewise.
71437 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
71439         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
71440         OSXSAVE.
71441         (_dl_x86_64_save_sse): Likewise.
71443         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
71445         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
71447 2011-07-21  Andreas Schwab  <schwab@redhat.com>
71449         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
71450         change.
71451         (_dl_x86_64_save_sse): Use correct AVX check.
71453 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71455         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
71456         bug in strncpy/strncat.
71457         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
71459 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
71461         * string/tester.c (test_strcat): Add tests for different alignments
71462         of source and destination.
71463         (test_strncat): Likewise.
71465 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
71467         [BZ #12852]
71468         * posix/glob.c (glob): Check passed in values before using them in
71469         expressions to avoid some overflows.
71470         (glob_in_dir): Likewise.
71472         [BZ #13007]
71473         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
71474         check for AVX enablement so that we don't crash with old kernels and
71475         new hardware.
71476         * elf/tst-audit4.c: Add same checks here.
71477         * elf/tst-audit6.c: Likewise.
71479         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
71481 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
71483         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
71485 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
71487         * po/cs.po: Update from translation team.
71488         * po/bg.po: Likewise.
71490 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
71492         * misc/sys/cdefs.h: Add support for const attribute.
71493         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
71494         to gnu_dev_{major,minor,makedev} functions.
71496 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
71498         * intl/dcigettext.c (get_output_charset): Add missing bracket.
71500 2011-07-20  Andreas Schwab  <schwab@redhat.com>
71502         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
71503         strlen results.
71505 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71507         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
71508         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
71509         register in order to avoid conflicts with the soft frame pointer
71510         being held in r11 when necessary.
71511         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
71512         (INTERNAL_VSYSCALL_NCS): Likewise.
71514 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
71516         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
71517         * elf/dl-fini.c (_dl_fini): Adjust caller.
71518         * elf/dl-close.c (_dl_close_worker): Likewise.
71519         * sysdeps/generic/ldsodefs.h: Adjust declaration.
71521 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
71523         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
71524         "aux_cache->nlibs < 0".
71526         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
71527         in the reload-count case.
71529 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71531         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71532         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
71533         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
71534         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
71535         * sysdeps/x86_64/multiarch/strcat.S: New file.
71536         * sysdeps/x86_64/multiarch/strncat.S: New file.
71537         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
71538         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
71539         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
71540         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
71541         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
71542         (USE_AS_STRCAT): Define.
71543         Add strcat and strncat support.
71544         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
71545         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
71546         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
71547         * string/strncat.c: Update.
71548         (USE_AS_STRNCAT): Define.
71549         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71550         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
71551         and i7.
71552         * sysdeps/x86_64/multiarch/init-arch.h
71553         (bit_Prefer_PMINUB_for_stringop): New.
71554         (index_Prefer_PMINUB_for_stringop): Likewise.
71555         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
71556         bit_Prefer_PMINUB_for_stringop.
71558 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
71560         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
71561         buffer64.
71562         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
71563         of casting of buffer.
71564         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
71565         buffer32 and buffer64.
71566         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
71567         writes instead of casting of buffer.
71568         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
71569         buffer32.
71570         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
71571         casting of buffer.
71573 2011-07-19  Andreas Schwab  <schwab@redhat.com>
71575         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
71577 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
71579         * nscd/nscd.c (termination_handler): Don't do anything for a database
71580         if it has not yet been initialized.
71582 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
71584         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
71586 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
71588         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
71590 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
71592         * po/nl.po: Update from translation team.
71593         * po/sv.po: Likewise.
71595 2011-07-16  Roland McGrath  <roland@hack.frob.com>
71597         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
71598         now disallowed by GCC.
71600         * configure.in (use-default-link): Default to yes if a test -shared
71601         link meets our qualifications.
71602         * configure: Regenerated.
71604         * config.make.in (output-format): New variable.
71605         * configure.in: Check for ld --print-output-format support.
71606         * configure: Regenerated.
71607         * Makerules ($(common-objpfx)format.lds)
71608         [$(output-format) != unknown]: Just use $(output-format),
71609         instead of the linker-script munging.
71611 2011-07-14  Roland McGrath  <roland@hack.frob.com>
71613         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
71614         of $(common-objpfx)shlib.lds.
71615         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
71617         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
71618         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
71620         * configure.in (-z relro check): Adjust test code to add a large
71621         writable data section after it.
71622         * configure: Regenerated.
71624 2011-07-11  Roland McGrath  <roland@hack.frob.com>
71626         * configure.in (-z relro check): Fix test code to make the variable
71627         truly const.
71628         * configure: Regenerated.
71630 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
71632         * nscd/nscd.h (struct traced_file): Define.
71633         (struct database_dyn): Remove inotify_descr, reset_res, and filename
71634         elements.  Add traced_files.
71635         (inotify_fd): Declare.
71636         (register_traced_file): Declare.
71637         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
71638         (inotify_fd): Export.
71639         (resolv_conf_descr): Remove.
71640         (nscd_init): Move inotify descriptor creation to main.
71641         Don't register files for notification here.
71642         (register_traced_file): New function.
71643         (invalidate_cache): Don't use reset_res to determine whether to call
71644         res_init, go through the list of registered files.
71645         (main_loop_poll): The inotify descriptors are now stored in the
71646         structures for the traced files.
71647         (main_loop_epoll): Likewise.
71648         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
71649         to __nss_disable_nscd.
71650         * nscd/cache.c (prune_cache): There is no single inotify descriptor
71651         for a database anymore.  Check the records for all the registered
71652         files instead.
71653         * nss/Makefile (libnss_files-routines): Add files-init.
71654         (libnss_db-routines): Add db-init.
71655         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
71656         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
71657         * nss/nss_db/db-init.c: New file.
71658         * nss/nss_files/files-init.c: New file.
71659         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
71660         __nss_lookup_function.
71661         (__nss_lookup_function): Call nss_load_library.
71662         (nss_load_all_libraries): New function.
71663         (__nss_disable_nscd): Take parameter with callback function for files
71664         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
71665         used for the cached services.
71666         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
71667         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
71668         options for features to all the files in nscd.
71670         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
71672 2011-07-10  Roland McGrath  <roland@hack.frob.com>
71674         * csu/elf-init.c (__libc_csu_init): Comment typo.
71676 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
71678         * po/pl.po: Update from translation team.
71679         * po/ja.po: Likewise.
71680         * po/ru.po: Likewise.
71681         * po/ko.po: Likewise.
71682         * po/fr.po: Likewise.
71684 2011-07-09  Roland McGrath  <roland@hack.frob.com>
71686         * configure.in (.ctors/.dtors header and trailer check):
71687         Use an empirical test on a built program.
71688         * configure: Regenerated.
71690         * configure.in (-z relro check): Use an empirical test on a built DSO.
71691         Detect, but do not require, on ia64.
71692         * configure: Regenerated.
71694         * configure.in (READELF): Find it with AC_CHECK_TOOL.
71695         Update tests that use readelf to use $READELF instead.
71696         * configure: Regenerated.
71698 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
71700         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
71701         if the result is not used.
71703 2011-07-05  Andreas Jaeger  <aj@suse.de>
71705         [BZ#9696]
71706         * stdlib/tst-strtod.c: Add testcase.
71708 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
71710         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
71711         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
71712         The latter has a higher limit.  Take additional parameter to pass to
71713         the new function.
71714         (__pathconf): Pass file to __statfs_link_max.
71715         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
71716         __statfs_link_max.
71717         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
71718         __statfs_link_max.
71720         [BZ #12868]
71721         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
71722         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71723         Handle Lustre.
71724         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
71725         (__statfs_filesize_max): Likewise.
71726         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
71728 2011-07-05  Andreas Jaeger  <aj@suse.de>
71730         * resolv/res_comp.c (dn_skipname): Remove unused variable.
71732 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
71734         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
71735         `status' variable.
71736         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
71737         Likewise.
71739 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
71741         * Makefile (strop-tests): Add strncat.
71742         * string/test-strncat.c: New file.
71744 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
71746         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
71748 2011-06-21  Andreas Jaeger  <aj@suse.de>
71750         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
71751         Copy rule from iconvdata/Makefile.
71753 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
71755         [BZ #12922]
71756         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
71757         but no long options are defined, just return 'W'.
71759 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
71761         [BZ #9696]
71762         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
71764 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
71766         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
71767         netgroups to read.
71768         (innetgr): Likewise.
71770 2011-07-05  Roland McGrath  <roland@hack.frob.com>
71772         * config.make.in (install_root): Default to $(DESTDIR).
71774 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
71776         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
71778 2011-07-02  Roland McGrath  <roland@hack.frob.com>
71780         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
71782         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
71783         containing directory rather than embedding absolute directory names.
71785         * scripts/check-local-headers.sh: Rewritten using awk.
71786         Match by word, not by line.  Print error messages for matches.
71787         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
71789         * Makerules [shlib-lds-flags empty]:
71790         ($(common-objpfx)libc_pic.opts): New target.
71791         ($(common-objpfx)libc_pic.os.clean): New target.
71792         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
71794         * config.make.in (OBJCOPY): New variable.
71795         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
71796         * configure: Regenerated.
71798         * config.make.in (use-default-link): New variable.
71799         * configure.in (use_default_link): Grok --with-default-link to set it.
71800         * configure: Regenerated.
71801         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
71802         (shlib-lds, shlib-lds-flags): Define to empty.
71804         * Makerules (shlib-lds): New variable.
71805         (shlib-lds-flags): New variable.
71806         (build-shlib, build-moduile, build-module-asneeded): Use it.
71807         ($(common-objpfx)libc.so): Use $(shlib-lds).
71808         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
71809         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
71811         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
71812         DT_FLAGS/DT_FLAGS_1 with zero flags.
71814         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
71815         linker script munging.
71817 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
71819         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
71820         as 128-bit value.
71821         * crypt/sha512.c (sha512_process_block): Perform total addition using
71822         128-bit if possible.
71823         (__sha512_finish_ctx): Likewise.
71824         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
71825         as 64-bit value.
71826         * crypt/sha256.c (SWAP64): Define.
71827         (sha256_process_block): Perform total addition using 64-bit if
71828         possible.
71829         (__sha256_finish_ctx): Likewise.
71831 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
71833         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
71834         * nscd/initgrcache.c (addinitgroupsX): Likewise.
71835         * nscd/hstcache.c (cache_addhst): Likewise.
71836         * nscd/grpcache.c (cache_addgr): Likewise.
71837         * nscd/aicache.c (addhstaiX): Likewise.
71838         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
71840 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
71842         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
71843         * nscd/initgrcache.c (addinitgroupsX): Likewise.
71844         * nscd/hstcache.c (cache_addhst): Likewise.
71845         * nscd/grpcache.c (cache_addgr): Likewise.
71846         * nscd/aicache.c (addhstaiX): Likewise.
71848 2011-07-01  Andreas Schwab  <schwab@redhat.com>
71850         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
71851         domain only when needed.
71853 2011-06-30  Andreas Schwab  <schwab@redhat.com>
71855         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
71856         is always restored.
71858 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
71860         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
71861         are re-adding the entry.
71862         * nscd/servicescache.c (cache_addserv): Likewise.
71864 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
71866         * sysdeps/generic/dl-irel.h: fix protection against multiple
71867         inclusions.
71868         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
71870 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
71872         [BZ #12935]
71873         * malloc/memusage.sh: Fix quoting in message.
71874         * debug/xtrace.sh: Likewise.
71876         * configure.in: Remove support for --experimental-malloc option, make
71877         it the default.
71878         * config.make.in: Likewise.
71879         * malloc/Makefile: Likewise.
71881 2011-06-27  Andreas Schwab  <schwab@redhat.com>
71883         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
71884         two-byte characters.
71886 2011-06-27  Roland McGrath  <roland@hack.frob.com>
71888         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
71889         AC_CACHE_CHECK invocation.
71890         * configure: Regenerated.
71892         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
71894 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
71896         [BZ #12350]
71897         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
71898         bit from old_res_options.
71900         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
71902         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
71903         value type for setfct.
71905 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
71907         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
71908         __gettimeofday instead of gettimeofday.
71910 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
71912         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
71914 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
71916         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
71918         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
71919         info.
71921 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
71923         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71924         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
71925         strcpy-sse2-unaligned strncpy-sse2-unaligned
71926         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
71927         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
71928         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
71929         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
71930         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
71931         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
71932         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
71933         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
71934         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
71935         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
71936         (STRCPY): Support SSE2 and SSSE3 versions.
71938 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
71940         [BZ #12874]
71941         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
71942         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
71943         kernels which artificially limit size of requests.
71945 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
71947         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71948         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
71949         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
71950         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
71951         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
71952         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
71953         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
71954         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
71955         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
71956         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
71957         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
71958         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
71959         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
71960         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
71961         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
71962         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71963         Enable unaligned load optimization for Intel Core i3, i5 and i7
71964         processors.
71965         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
71966         Define.
71967         (index_Fast_Unaligned_Load): Define.
71968         (HAS_FAST_UNALIGNED_LOAD): Define.
71970 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
71972         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
71974 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
71976         [BZ #12907]
71977         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
71978         until it is clear that the information is realy needed.
71979         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
71981 2011-06-22  Andreas Schwab  <schwab@redhat.com>
71983         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
71985 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
71987         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
71988         /sys/devices/system/cpu/online if it is usable.
71990         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
71991         reading the information from the /proc filesystem to once a second.
71993 2011-06-21  Andreas Jaeger  <aj@suse.de>
71995         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
71996         NULL after inclusion of kernel headers.
71998 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
72000         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
72001         calls to internal_setent.
72003         [BZ #12885]
72004         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
72005         addresses using gethostbyname4_r ignore IPv4 addresses.
72007         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
72008         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
72010         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
72012 2011-06-20  David S. Miller  <davem@davemloft.net>
72014         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
72015         inclusions.
72016         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
72018         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
72019         (elf_irel): Use it.
72020         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
72021         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
72022         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
72023         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
72024         * sysdeps/x86_64/dl-irel.h: Likewise.
72026         * elf/dl-runtime.c: Use elf_ifunc_invoke.
72027         * elf/dl-sym.c: Likewise.
72029 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
72031         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
72032         need to dereference resplen2.
72034 2011-06-14  Andreas Schwab  <schwab@redhat.com>
72036         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
72038 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
72040         * Makeconfig: Define vardbdir and inst_vardbdir.
72041         * nss/Makefile: Add rules to install db-Makefile.
72043         * nss/nss_db/db-XXX.c: Cleanup.
72045         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
72046         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
72047         GLIBC_PRIVATE.
72048         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
72049         * nss/makedb.c: Implement -g option to specify that value strings
72050         are generated and should not be added to table iterated over for
72051         get*ent calls.
72052         * nss/nss_db/db-initgroups.c: New file.
72054         * nss/getent.c: Add support for initgroups lookups through getgrouplist
72055         interface.
72057         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
72058         (internal_getgrouplist): Adjust to name change.
72059         Update use_initgroups_entry if this is not the first call.
72060         * nss/databases.def: Add initgroups entry.
72062         * nss/makedb.c (compute_tables): Check result of multiple hash table
72063         sizes to minimize maximum chain length.
72065 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
72067         * Versions.def: Add entry for libnss_db.
72068         * shlib-versions: Likewise.
72069         * nss/Makefile: Add rules to build libnss_db.
72070         * nss/Versions: Add libnss_db information.  Organize libnss_files
72071         entries better.
72072         * nss/db-Makefile: Add gshadow support.  Change rules for the new
72073         makedb progra.  Some minor improvements to generate smaller files.
72074         * nss/nss_db/nss_db.h: Move NSS database header data structures to
72075         here from...
72076         * nss/makedb.c: ...here.
72077         Improve database format to be smaller and require less memory at
72078         runtime.
72079         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
72080         db anymore.
72081         * nss/nss_db/db-netgrp.c: Likewise.
72082         * nss/nss_db/db-open.c: Likewise.
72083         * nss/nss_files/flies-XXX.x: Adjust comments.
72084         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
72085         * nss/nss_files/files-grp.c: Likewise.
72086         * nss/nss_files/files-hosts.c: Likewise.
72087         * nss/nss_files/files-network.c: Likewise.
72088         * nss/nss_files/files-proto.c: Likewise.
72089         * nss/nss_files/files-pwd.c: Likewise.
72090         * nss/nss_files/files-rpc.c: Likewise.
72091         * nss/nss_files/files-service.c: Likewise.
72092         * nss/nss_files/files-sgrp.c: Likewise.
72093         * nss/nss_files/files-spwd.c: Likewise.
72094         * nss/nss_db/db-alias.c: Removed.
72095         * nss/nss_db/dummy-db.h: Removed.
72097 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
72099         * nss/makedb.c: Rewritten to not use database library.
72100         * nss/Makefile: Update to build new makedb program.
72102 2011-06-14  Andreas Jaeger  <aj@suse.de>
72104         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
72105         memset declaration.
72107 2011-06-10  Andreas Schwab  <schwab@redhat.com>
72109         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
72110         tmpbuf.
72112 2011-06-10  Roland McGrath  <roland@hack.frob.com>
72114         * Makerules (shlib.lds): Fail if the linker script comes out empty.
72115         * elf/Makefile ($(objpfx)ld.so): Likewise.
72117         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
72118         Don't list ld.so twice in dependencies.
72120         * posix/bug-regex31.c: Include <stdlib.h>.
72122         * nscd/hstcache.c (cache_addhst): Remove unused variable.
72124         * nis/nss_compat/compat-spwd.c
72125         (getspent_next_nss_netgr): Remove unused variable.
72126         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
72128         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
72129         nonmembers" output to use the right array.
72131         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
72133         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
72135         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
72136         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
72137         * catgets/gencat.c (read_input_file): Likewise.
72138         * locale/programs/locarchive.c (enlarge_archive): Likewise.
72140         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
72141         variable definition inside #if's controlling its use.
72143         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
72145         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
72147         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
72149         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
72150         unreachable code.
72152         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
72154         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
72155         * configure: Regenerated.
72157         * Makerules: Revert last change.
72158         * elf/Makefile: Likewise.
72160 2011-06-09  Roland McGrath  <roland@hack.frob.com>
72162         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
72163         * elf/Makefile ($(objpfx)librtld.os): Likewise.
72164         (reloc-link): Likewise.
72166 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
72168         * elf/Makefile: Add rules to build pldd.
72169         * elf/pldd.c: New file.
72170         * elf/pldd-xx.c: New file.
72172 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
72174         * version.h: Update for 2.15 development version.
72176 2011-06-07  David S. Miller  <davem@davemloft.net>
72178         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
72179         ifuncs.
72180         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
72181         elf_machine_lazy_rel): Likewise.
72182         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
72183         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
72184         elf_machine_lazy_rel): Likewise.
72185         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
72186         dl_hwcap via passed in argument.
72187         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
72188         Likewise.
72190 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72192         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
72194 2011-06-06  Roland McGrath  <roland@hack.frob.com>
72196         [BZ #12849]
72197         * manual/fdl-1.1.texi: New file, verbatim from:
72198         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
72199         * manual/lgpl-2.1.texi: New file, verbatim from:
72200         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
72201         * manual/Makefile (licenses): New variable, list those new file names.
72202         (texis): Use it.
72203         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
72205         * manual/fdl.texi: File removed.
72206         * manual/lesser.texi: File removed.
72207         * manual/libc.texinfo (Copying, Documentation License):
72208         Use new @include file names, put @appendix directive before @include.
72210 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
72212         [BZ #12841]
72213         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
72214         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
72215         (mq_open): Add __NTH.
72217 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
72219         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72220         Assume Intel Core i3/i5/i7 processor if AVX is available.
72222 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
72224         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
72225         typo.
72227 2011-05-31  Andreas Schwab  <schwab@redhat.com>
72229         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
72230         memory.  Use alloca_account.  Fix memory leak when retrying.
72232 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
72234         * version.h (RELEASE): Bump for 2.14 release.
72235         * include/features.h (__GLIBC_MINOR__): Bump to 14.
72237         * config.make.in (RANLIB): Remove entry.
72239 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
72241         * po/Makefile (po-sed-cmd): Add ksh to extensions.
72242         (libc.pot): Work around missing support for .ksh extension in xgettext.
72244         [BZ #12684]
72245         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
72246         if both request failed.
72247         (send_dg): In case of server errors clear resplen or *resplen2.
72249         [BZ #12454]
72250         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
72251         when there are multiple maps.
72252         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
72253         (_dl_fini): Remove test here.
72255         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
72257 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
72259         [BZ #12350]
72260         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
72261         bit from old_res_options.
72262         (gaih_inet): Likewise.
72264         [BZ #11099]
72265         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
72266         as signed.
72268         * resolv/res_init.c (res_setoptions): Make the code more compact.
72270         [BZ #11558]
72271         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
72272         set RES_USEVC.
72274         [BZ #11634]
72275         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
72277         * malloc/malloc.h: Mark malloc hook variables as deprecated.
72279         [BZ #11781]
72280         * malloc/malloc.h: Declare malloc hook variables as volatile.
72282         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
72283         in last patch.
72285         [BZ #11799]
72286         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
72287         raise in the comment.
72288         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
72289         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
72290         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
72292 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
72294         [BZ #12811]
72295         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
72296         grow the buffers more if it already has to be sufficient.
72297         (build_wcs_upper_buffer): Likewise.
72298         * posix/regexec.c (check_matching): Likewise.
72299         (clean_state_log_if_needed): Likewise.
72300         (extend_buffers): Don't enlarge buffers beyond size of the input
72301         buffer.
72302         Patches mostly by Emil Wojak <emil@wojak.eu>.
72303         * posix/bug-regex32.c: New file.
72304         * posix/Makefile (tests): Add bug-regex32.
72306         * locale/findlocale.c (_nl_find_locale): Return right away if
72307         _nl_explode_name failed.
72308         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
72310         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
72312         * debug/xtrace.sh: Unify messages.
72313         * malloc/memusage.sh: Likewise.
72315         [BZ #12813]
72316         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
72317         time symbol from vDSO.  Substitute with vsyscall if not available.
72318         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
72319         __vdso_time.
72321         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
72322         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
72323         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
72324         Add sendmmsg and internal_sendmmsg.
72325         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
72326         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
72327         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
72329         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
72330         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
72331         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
72333 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
72335         [BZ #12813]
72336         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
72337         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
72338         available.
72339         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
72340         __vdso_getcpu.
72342         [BZ #12814]
72343         * iconvdata/Makefile (tests): Add bug-iconv9.
72344         * iconvdata/bug-iconv9.c: New file.
72346 2011-05-27  Andreas Schwab  <schwab@redhat.com>
72348         [BZ #12814]
72349         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
72351 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
72353         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
72354         (struct user_regs_struct): Change intcs field back to cs.
72356 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
72358         * po/ja.po: Update from translation team.
72360 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
72362         [BZ #12795]
72363         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
72364         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
72366 2011-05-20  Andreas Schwab  <schwab@redhat.com>
72368         * stdlib/longlong.h: Update from GCC.
72370 2011-05-23  Andreas Schwab  <schwab@redhat.com>
72372         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
72373         parameter name.
72374         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
72375         Add parameter name.
72376         (__sysconf): Pass it down.
72378 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
72380         [BZ #12671]
72381         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
72382         some situations.
72383         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
72384         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
72385         add in in __libc_use_alloca calls.  Adjust callers.
72386         (glob): Use malloc in some situations.
72388         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
72389         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
72390         pltexit.
72392 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
72394         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
72395         and CLOCK_BOOTTIME_ALARM.
72397         [BZ #12782]
72398         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
72399         is returned.
72401         * string/_strerror.c (__strerror_r): Print negative errors as signed
72402         numbers.
72404         [BZ #12777]
72405         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
72406         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
72407         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
72409         * configure.in: Fix typo in redirection and correct removal of test
72410         files in two cases.
72412         [BZ #12788]
72413         * locale/setlocale.c (new_composite_name): Fix test to check for
72414         identical name of all categories.
72416         [BZ #12792]
72417         * libio/filedoalloc.c (local_isatty): New function.
72418         (_IO_file_doallocate): Use local_isatty.
72419         * stdio-common/perror.c (perror): In case a new stream is used
72420         forward the stream error.
72421         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
72422         error flag.
72424 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
72426         [BZ #11884]
72427         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
72428         alloca.
72429         * include/alloca.h (extend_alloca_account): Define.
72431         [BZ #11857]
72432         * posix/regex.h: Fix comments with documentation of user-accessible
72433         fields after compilation and describe correct free'ing of pattern
72434         after re_compile_pattern.
72435         Patch by Reuben Thomas <rrt@sc3d.org>.
72437 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
72439         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
72440         and -mno-altivec to prevent the compiler from using Altivec and/or
72441         VSX instructions when the corresponding registers are not available.
72443 2011-05-19  Andreas Schwab  <schwab@redhat.com>
72445         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
72447 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
72449         * libio/freopen.c (freopen): Use __dup2, not dup2.
72450         * libio/freopen64.c (freopen64): Likewise.
72452 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
72454         [BZ #12775]
72455         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
72456         * math/Makefile (tests): Add test-powl.
72457         (CFLAGS-test-powl.c): Define.
72458         * math/test-powl.c: New file.
72460 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
72462         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
72464 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
72466         [BZ #11837]
72467         * iconvdata/gb18030.c: Update to GB18020-2005.
72469 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
72471         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
72472         RE_SYNTAX_POSIX_AWK): Update to match recent development.
72473         Patch by Aharon Robbins <arnold@skeeve.com>.
72475         [BZ #11892]
72476         * stdlib/putenv.c (putenv): Don't always create copy of the variable
72477         on the stack.
72479         [BZ #11895]
72480         * misc/pselect.c (__pselect): Handle timeout value errors hidden
72481         through underflows.
72483         [BZ #12766]
72484         * misc/error.c (error_at_line): Ensure file_name and old_file_name
72485         point to strings before performing equality test for error_one_per_line
72486         mode.
72488         [BZ #11697]
72489         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
72491         [BZ #11820]
72492         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
72493         (struct user_fpregs_struct): Avoid __uint*_t types.
72495         [BZ #6420]
72496         * malloc/mtrace.c (tr_where): Add additional parameter to point to
72497         symbol info.  Use it instead of calling _dl_addr locally.
72498         (lock_and_info): New function.
72499         (tr_freehook): Call lock_and_info and pass symbol info as additional
72500         parameter to tr_where.
72501         (tr_mallochook): Likewise.
72502         (tr_reallochook): Likewise.
72503         (tr_memalignhook): Likewise.
72505         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
72506         used and couldn't be at all thread-safe.
72508 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
72510         * libio/freopen.c (freopen): Don't close old file descriptor
72511         before the new one is opened.  Instead dup the new file descriptor
72512         to the old one after the new stream is created.
72513         * libio/freopen64.c (freopen64): Likewise.
72514         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
72515         * libio/fileops.c (_IO_new_file_close_it): Handle new
72516         _IO_FLAGS2_NOCLOSE flag.
72517         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
72518         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
72519         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
72520         _IO_FLAGS2_NOCLOSE flag.
72521         * include/unistd.h: Add hidden_proto for dup3.
72522         Define __have_dup3.
72523         * io/dup3.c: Define hidden symbol.
72524         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
72526         [BZ #7101]
72527         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
72528         when an incomplete long option is used.
72529         * posix/tst-getopt_long1.c: New file.
72530         * posix/Makefile (tests): Add tst-getopt_long1.
72532         [BZ #10138]
72533         * scripts/config.guess: Update from autoconf-2.68.
72534         * scripts/config.sub: Likewise.
72536         [BZ #10157]
72537         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
72538         tests into ...
72539         (has_cpuclock): ...this.  New function.
72540         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
72541         macro here based on has_cpuclock code.
72543         [BZ #10149]
72544         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
72545         First byte (not low byte) is now always NUL.
72546         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
72548         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
72549         Use non-cancelable interfaces.
72551         [BZ #9809]
72552         * locale/iso-639.def: Add entry for Sorani.
72554         [BZ #11901]
72555         * include/stdlib.h: Move include protection to the right place.
72556         Define abort_msg_s.  Declare __abort_msg with it.
72557         * stdlib/abort.c (__abort_msg): Adjust type.
72558         * assert/assert.c (__assert_fail_base): New function.  Majority
72559         of code from __assert_fail.  Allocate memory for __abort_msg with
72560         mmap.
72561         (__assert_fail): Now call __assert_fail_base.
72562         * assert/assert-perr.c: Remove bulk of implementation.  Use
72563         __assert_fail_base.
72564         * include/assert.hL Declare __assert_fail_base.
72565         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
72566         mmap.
72567         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
72569 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
72571         [BZ #11952]
72572         [BZ #12453]
72573         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
72574         until all modules are registered in the DTV.
72575         * elf/Makefile: Add rules to build and run tst-tls19.
72576         * elf/tst-tls19.c: New file.
72577         * elf/tst-tls19mod1.c: New file.
72578         * elf/tst-tls19mod2.c: New file.
72579         * elf/tst-tls19mod3.c: New file.
72580         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
72582         [BZ #12083]
72583         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
72584         correctly.
72586         [BZ #12601]
72587         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
72588         two-byte sequence errors.
72589         * iconvdata/Makefile (tests): Add bug-iconv8.
72590         * iconvdata/bug-iconv8.c: New file.
72592         [BZ #12626]
72593         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
72594         buf2 definition.
72596         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
72598         [BZ #12432]
72599         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
72600         (dummy_getcfa): New function.
72601         (init): Get _Unwind_GetCFA address, use dummy if not found.
72602         (backtrace_helper): In recursion check, also check whether CFA changes.
72603         (__backtrace): Completely initialize arg.
72605         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
72606         storing incomplete byte sequence in state object.  Avoid testing for
72607         guaranteed too small input if we know there is enough data available.
72609 2011-05-11  Andreas Schwab  <schwab@redhat.com>
72611         * Makeconfig (+link-pie): Indent.
72612         * Rules (binaries-pie): Define if $(have-fpie) and
72613         $(build-shared).
72614         (binaries-shared): Also filter out $(binaries-pie).
72615         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
72616         * nscd/Makefile (others-pie): Add nscd.
72617         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
72618         ($(objpfx)nscd): Remove command override.
72619         * login/Makefile (others-pie): Add pt_chown.
72620         ($(objpfx)pt_chown): Remove command override.
72621         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
72622         remove command overrides.
72624 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
72626         * libio/tst_putwc.c: Fix error messages.
72628         [BZ #12724]
72629         * libio/fileops.c (_IO_new_file_close_it): Always flush when
72630         currently writing and seek to current position when not.
72631         * libio/Makefile (tests): Add bug-fclose1.
72632         * libio/bug-fclose1.c: New file.
72634 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
72636         [BZ #12511]
72637         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
72638         don't set DF_1_NODELETE here.
72639         (do_lookup_x): When entering new entry test for copy relocation
72640         and if necessary set DF_1_NODELETE flag.
72641         * elf/tst-unique4.cc: New file.
72642         * elf/tst-unique4.h: New file.
72643         * elf/tst-unique4lib.cc: New file.
72644         * elf/Makefile: Add rules to build and run tst-unique4.
72645         Patch by Piotr Bury <pbury@goahead.com>.
72647 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
72649         [BZ #12052]
72650         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
72652         [BZ #12625]
72653         * misc/mntent_r.c (addmntent): Flush the stream after the output
72655         [BZ #12393]
72656         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
72657         (is_trusted_path_normalize): Skip initial colon.  Append slash
72658         to empty buffer.  Duplicate is_trusted_path code but allow
72659         constructed patch to be prefix.
72660         (is_dst): Allow $ORIGIN followed by /.
72661         (_dl_dst_substitute): Correct clearing of check_for_trusted.
72662         Correct testing of result of is_trusted_path_normalize
72663         (decompose_rpath): Fix warning.
72665 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
72667         [BZ #11257]
72668         * grp/initgroups.c (internal_getgrouplist): When we found the service
72669         list through the initgroups entry in nsswitch.conf do not always
72670         continue on a successful lookup.  Don't always use the
72671         __nss_group_database value if it is set.
72672         * nss/nsswitch.conf (initgroups): Change action for successful db
72673         lookup to continue for compatibility.
72675 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
72677         [BZ #11532]
72678         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
72679         and CP774 modules.
72680         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
72681         and CP774 modules.
72682         * iconvdata/tst-tables.sh: Likewise.
72683         * iconvdata/cp770.c: New file.
72684         * iconvdata/cp771.c: New file.
72685         * iconvdata/cp772.c: New file.
72686         * iconvdata/cp773.c: New file.
72687         * iconvdata/cp774.c: New file.
72688         * iconvdata/testdata/CP770: New file.
72689         * iconvdata/testdata/CP770..UTF8: New file.
72690         * iconvdata/testdata/CP771: New file.
72691         * iconvdata/testdata/CP771..UTF8: New file.
72692         * iconvdata/testdata/CP772: New file.
72693         * iconvdata/testdata/CP772..UTF8: New file.
72694         * iconvdata/testdata/CP773: New file.
72695         * iconvdata/testdata/CP773..UTF8: New file.
72696         * iconvdata/testdata/CP774: New file.
72697         * iconvdata/testdata/CP774..UTF8: New file.
72699         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
72700         END CHARMAP line.
72701         * iconvdata/gen-8bit-gap.sh: Likewise.
72702         * iconvdata/gen-8bit.sh: Likewise.
72704         * locale/iso-639.def: Add ary entry.
72706         [BZ #11258]
72707         * locale/C-translit.h.in: Add U20A1 transliteration.
72709         [BZ #12178]
72710         * locale/iso-639.def: Add wae entry.
72711         Patch by Kevin Bortis <bortis@translate-wae.ch>.
72713         [BZ #12545]
72714         * locale/programs/localedef.c (construct_output_path): Use ssize_t
72715         for n.
72717         [BZ #12711]
72718         * locale/C-translit.h.in: Add entry for U20B9.
72719         Patch by pravin.d.s@gmail.com.
72721 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
72723         [BZ #12713]
72724         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
72725         ENAMETOOLONG use generic getcwd.
72726         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
72727         in rtld.  Use *stat64.
72728         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
72729         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
72730         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
72731         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
72732         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
72733         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
72734         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
72735         __fstatat64 macros.
72736         * include/dirent.h: Add libc_hidden_proto for rewinddir.
72737         * dirent/rewinddir.c: Add libc_hidden_def.
72738         * sysdeps/mach/hurd/rewinddir.c: Likewise.
72739         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
72741         * include/dirent.h (__alloc_dir): Add flags parameter.
72742         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
72743         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
72744         __alloc_dir.
72745         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
72746         from fdopendir if O_CLOEXEC is already set.
72748 2011-03-15  Alan Modra  <amodra@gmail.com>
72750         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
72751         l_tls_firstbyte_offset non-zero.  Save padding offset in
72752         l_tls_firstbyte_offset for later use.
72753         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
72754         freeing static tls block.
72756 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
72758         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
72759         where #ifdef was intended.  The intent is to prevent ARG_MAX from
72760         being defined by the kernel headers.
72762 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
72764         [BZ #12734]
72765         * resolv/resolv.h: Define RES_NOTLDQUERY.
72766         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
72767         no-tld-query and set RES_NOTLDQUERY.
72768         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
72769         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
72770         modern BIND to search name as TLD unless forbidden.
72772 2011-05-07  Petr Baudis  <pasky@suse.cz>
72773             Ulrich Drepper  <drepper@gmail.com>
72775         [BZ #12393]
72776         * elf/dl-load.c (fillin_rpath): Move trusted path check...
72777         (is_trusted_path): ...to here.
72778         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
72779         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
72780         using is_trusted_path_normalize() in setuid scripts.
72782 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
72784         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
72785         __BEGIN/__END_DECLS.
72787 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
72789         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
72790         NSS_STATUS_NOTFOUND if no record was found.
72792 2011-05-05  Andreas Schwab  <schwab@redhat.com>
72794         * sunrpc/Makefile (headers): Add rpc/netdb.h.
72795         (headers-not-in-tirpc): Remove rpc/netdb.h
72796         * resolv/netdb.h: Revert last change.
72798 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
72800         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
72801         circular dependency between libgcc.a and libc.a.
72803 2011-05-05  Andreas Schwab  <schwab@redhat.com>
72805         * resolv/netdb.h: Don't include <rpc/netdb.h>.
72806         * nis/Makefile: Don't install rpcsvc/*.
72807         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
72808         instead of <rpc/types.h>.
72809         (MAXHOSTNAMELEN): Define.
72811 2011-05-03  Andreas Schwab  <schwab@redhat.com>
72813         * elf/ldconfig.c (add_dir): Don't crash on empty path.
72815 2011-04-28  Maciej Babinski  <mbabinski@google.com>
72817         [BZ #12714]
72818         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
72819         gethostbyname4_r when IPv6 results are possible.
72821 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
72823         [BZ #12723]
72824         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
72825         _PC_PIPE_BUF handling.
72827 2011-04-30  Bruno Haible  <bruno@clisp.org>
72829         [BZ #12717]
72830         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
72831         * resolv/netdb.h (getnameinfo): Change type of flags parameter
72832         to 'int'.
72833         * inet/getnameinfo.c (getnameinfo): Likewise.
72835 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
72837         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
72838         to groups setting in database lookup.
72839         * nss/nsswitch.conf: Add initgroups entry.
72841 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
72843         [BZ #12685]
72844         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
72845         mode string.
72846         Patch by Eric Blake <eblake@redhat.com>.
72848 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
72850         * sunrpc/Makefile (need-export-routines): Add svc_run.
72851         (routines): Remove svc_run.
72852         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
72853         * sunrpc/clnt_perr.c (clnt_perrno): Export.
72854         * sunrpc/svc_run.c (svc_run): Likewise.
72855         * sunrpc/svc_udp.c (svcudp_create): Likewise.
72857 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
72859         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
72860         problem in reallocation in last patch.
72862 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
72864         * sunrpc/Makefile: Move inclusion of Rules.
72866 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
72868         * nss/nss_files/files-initgroups.c: New file.
72869         * nss/Makefile (libnss_files-routines): Add files-initgroups.
72870         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
72871         _nss_files_initgroups_dyn.
72873 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
72875         * elf/elf.h (R_ARM_IRELATIVE): Define.
72877 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
72879         * po/ru.po: Update from translation team.
72881 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
72883         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
72884         dependencies.
72886 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
72888         [BZ #12653]
72889         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
72890         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
72891         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
72892         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
72893         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
72895 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
72897         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
72898         differing bytes.
72899         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
72900         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
72901         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72903 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
72905         [BZ #12420]
72906         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
72907         storing it.
72908         * stdlib/bug-getcontext.c: New file.
72909         * stdlib/Makefile: Add rules to build and run bug-getcontext.
72911 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72913         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
72914         instructions into .machine "z9-109".
72915         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
72916         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
72918 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72920         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
72921         between environment variables and auxiliary vector.
72923 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
72925         * Makefile: Add rules to build linkobj/libc.so.
72926         * include/libc-symbols.h: Define libc_hidden_nolink.
72927         * include/rpc/auth.h: Mark functions which are to be hidden.
72928         * include/rpc/auth_des.h: Likewise.
72929         * include/rpc/auth_unix.h: Likewise.
72930         * include/rpc/clnt.h: Likewise.
72931         * include/rpc/des_crypt.h: Likewise.
72932         * include/rpc/key_prot.h: Likewise.
72933         * include/rpc/pmap_clnt.h: Likewise.
72934         * include/rpc/pmap_prot.h: Likewise.
72935         * include/rpc/pmap_rmt.h: Likewise.
72936         * include/rpc/rpc_msg.h: Likewise.
72937         * include/rpc/svc.h: Likewise.
72938         * include/rpc/svc_auth.h: Likewise.
72939         * include/rpc/xdr.h: Likewise.
72940         * nis/Makefile: Link all DSOs against linkobj/libc.so.
72941         * nss/Makefile: Likewise.
72942         * sunrpc/Makefile: Don't install headers.  Build library with normal
72943         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
72944         * sunrpc/auth_des.c: Hide exported symbols by default, export some
72945         for the compat linking library.  Remove use of INTDEF/INTUSE.
72946         * sunrpc/auth_none.c: Likewise.
72947         * sunrpc/auth_unix.c: Likewise.
72948         * sunrpc/authdes_prot.c: Likewise.
72949         * sunrpc/authuxprot.c: Likewise.
72950         * sunrpc/clnt_gen.c: Likewise.
72951         * sunrpc/clnt_perr.c: Likewise.
72952         * sunrpc/clnt_raw.c: Likewise.
72953         * sunrpc/clnt_simp.c: Likewise.
72954         * sunrpc/clnt_tcp.c: Likewise.
72955         * sunrpc/clnt_udp.c: Likewise.
72956         * sunrpc/clnt_unix.c: Likewise.
72957         * sunrpc/des_crypt.c: Likewise.
72958         * sunrpc/des_soft.c: Likewise.
72959         * sunrpc/get_myaddr.c: Likewise.
72960         * sunrpc/key_call.c: Likewise.
72961         * sunrpc/key_prot.c: Likewise.
72962         * sunrpc/netname.c: Likewise.
72963         * sunrpc/pm_getmaps.c: Likewise.
72964         * sunrpc/pm_getport.c: Likewise.
72965         * sunrpc/pmap_clnt.c: Likewise.
72966         * sunrpc/pmap_prot.c: Likewise.
72967         * sunrpc/pmap_prot2.c: Likewise.
72968         * sunrpc/pmap_rmt.c: Likewise.
72969         * sunrpc/publickey.c: Likewise.
72970         * sunrpc/rpc_cmsg.c: Likewise.
72971         * sunrpc/rpc_common.c: Likewise.
72972         * sunrpc/rpc_dtable.c: Likewise.
72973         * sunrpc/rpc_prot.c: Likewise.
72974         * sunrpc/rpc_thread.c: Likewise.
72975         * sunrpc/rtime.c: Likewise.
72976         * sunrpc/svc.c: Likewise.
72977         * sunrpc/svc_auth.c: Likewise.
72978         * sunrpc/svc_authux.c: Likewise.
72979         * sunrpc/svc_raw.c: Likewise.
72980         * sunrpc/svc_run.c: Likewise.
72981         * sunrpc/svc_simple.c: Likewise.
72982         * sunrpc/svc_tcp.c: Likewise.
72983         * sunrpc/svc_udp.c: Likewise.
72984         * sunrpc/svc_unix.c: Likewise.
72985         * sunrpc/svcauth_des.c: Likewise.
72986         * sunrpc/xcrypt.c: Likewise.
72987         * sunrpc/xdr.c: Likewise.
72988         * sunrpc/xdr_array.c: Likewise.
72989         * sunrpc/xdr_float.c: Likewise.
72990         * sunrpc/xdr_intXX_t.c: Likewise.
72991         * sunrpc/xdr_mem.c: Likewise.
72992         * sunrpc/xdr_rec.c: Likewise.
72993         * sunrpc/xdr_ref.c: Likewise.
72994         * sunrpc/xdr_sizeof.c: Likewise.
72995         * sunrpc/xdr_stdio.c: Likewise.
72997 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
72999         [BZ #12650]
73000         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
73001         * sysdeps/ia64/dl-tls.h: Likewise.
73002         * sysdeps/powerpc/dl-tls.h: Likewise.
73003         * sysdeps/s390/dl-tls.h: Likewise.
73004         * sysdeps/sh/dl-tls.h: Likewise.
73005         * sysdeps/sparc/dl-tls.h: Likewise.
73006         * sysdeps/x86_64/dl-tls.h: Likewise.
73007         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
73009 2011-03-14  Andreas Schwab  <schwab@redhat.com>
73011         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
73012         rpath element also skip the following colon.
73013         (expand_dynamic_string_token): Add is_path parameter and pass
73014         down to DL_DST_REQUIRED and _dl_dst_substitute.
73015         (decompose_rpath): Call expand_dynamic_string_token with
73016         non-zero is_path.  Ignore empty rpaths.
73017         (_dl_map_object_from_fd): Call expand_dynamic_string_token
73018         with zero is_path.
73020 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
73022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
73023         Make cancelable.
73025 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
73027         [BZ #12655]
73028         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
73029         Patch by Filipe David Manana <fdmanana@apache.org>.
73031 2011-04-07  Andreas Schwab  <schwab@redhat.com>
73033         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
73034         Maintain aligned stack.
73035         (CHECK_RSP): Remove unused macro.
73037 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
73039         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
73040         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
73042 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
73044         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
73046         * include/features.h: Mention __USE_XOPEN2K8 in comment.
73048 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
73050         [BZ #12518]
73051         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
73052         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
73053         * sysdeps/x86_64/memmove.c: New file.
73054         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
73055         (memcpy): Renamed to ...
73056         (__new_memcpy): This.
73057         (memcpy): Provide GLIBC_2_14 memcpy.
73058         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
73059         (memcpy): Provide GLIBC_2_2_5 memcpy.
73061 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73063         [BZ #12631]
73064         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
73066 2011-03-30  Andreas Schwab  <schwab@redhat.com>
73068         * misc/syncfs.c: New file.
73069         * misc/Makefile (routines): Add syncfs.
73070         * posix/unistd.h: Declare syncfs.
73071         * sysdeps/unix/syscalls.list: Add syncfs.
73073 2011-04-01  Andreas Schwab  <schwab@redhat.com>
73075         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
73076         open_by_handle_at.
73077         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
73078         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73079         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73080         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73081         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73082         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
73083         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73085 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73087         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
73088         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73089         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
73090         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73091         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73092         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73093         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73095         * io/Makefile: Compile fallocate.c, fallocate64.c, and
73096         sync_file_range.c with -fexceptions.
73097         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
73098         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
73099         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
73100         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
73101         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
73102         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
73103         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
73104         sync_file_range as cancellation point
73105         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
73106         now a wrapper around __call_sync_file_range with cancellation handling.
73107         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
73108         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
73109         function name to __call_sync_file_range.
73110         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
73111         Add call_sync_file_range.
73113 2011-04-01  Andreas Schwab  <schwab@redhat.com>
73115         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73116         bits/timex.h.
73118 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73120         * iconv/iconv.h: Fix typo in comment.
73121         * io/fcntl.h: Likewise.
73122         * libio/stdio.h: Likewise.
73123         * posix/spawn.h: Likewise.
73124         * posix/unistd.h: Likewise.
73125         * stdlib/stdlib.h: Likewise.
73126         * time/time.h: Likewise.
73127         * wcsmbs/wchar.h: Likewise.
73129         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
73130         open_by_handle): Add.
73131         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
73132         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
73133         Augment a few comments.
73134         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73135         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73136         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73137         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73138         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73139         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
73140         open_by_handle.
73142         * io/fcntl.h (AT_EMPTY_PATH): Define.
73144 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
73146         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
73147         * sysdeps/unix/sysv/linux/bits/time.h: New file.
73148         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
73149         to...
73150         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
73151         * Versions.def: Add GLIBC_2.14.
73152         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
73153         Export.
73155 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
73157         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
73158         round counter.
73159         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
73161 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
73163         [BZ #12597]
73164         * string/test-strncmp.c (do_page_test): New function.
73165         (check2): Likewise.
73166         (test_main): Call check2.
73167         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
73169 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
73171         [BZ #12587]
73172         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
73173         Handle cache information in CPU leaf 4.
73174         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
73176 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
73178         [BZ #12583]
73179         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
73180         character representation.
73181         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
73183 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
73185         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
73186         END(__isnan) to END(__isnanf) to match function entry point/label
73187         EALIGN(__isnanf,...).
73189 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
73191         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
73193 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
73195         [BZ #12510]
73196         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
73197         copy from the symbol referenced in the relocation to initialize the
73198         used variable.
73199         Patch by Piotr Bury <pbury@goahead.com>.
73200         * elf/Makefile: Add rules to build and tst-unique3.
73201         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
73202         * elf/tst-unique3.cc: New file.
73203         * elf/tst-unique3.h: New file.
73204         * elf/tst-unique3lib.cc: New file.
73205         * elf/tst-unique3lib2.cc: New file.
73207         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
73209 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
73211         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
73212         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
73213         to _start.
73215 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
73217         * elf/dl-load.c (_dl_map_object): If we are looking for the first
73218         to-be-loaded object along a path to loader is ld.so.
73220 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
73221             Ulrich Drepper  <drepper@gmail.com>
73223         * sysdeps/x86_64/memset.S: After aligning destination, code
73224         branches to different locations depending on the value of
73225         misalignment, when multiarch is enabled. Fix this.
73227 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
73229         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
73230         Set _x86_64_preferred_memory_instruction for AMD processsors.
73231         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73232         Set bit_Prefer_SSE_for_memop for AMD processors.
73234 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
73236         * libio/fmemopen.c (fmemopen): Optimize a bit.
73238 2011-03-03  Andreas Schwab  <schwab@redhat.com>
73240         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
73242 2011-03-03  Roland McGrath  <roland@redhat.com>
73244         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
73246 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
73248         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
73249         __bzero_ultra1 instead of __memset_ultra1.
73251 2011-02-23  Andreas Schwab  <schwab@redhat.com>
73252             Ulrich Drepper  <drepper@gmail.com>
73254         [BZ #12509]
73255         * include/link.h (struct link_map): Add l_orig_initfini.
73256         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
73257         returning unsuccessfully.
73258         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
73259         close of a file loaded at startup, restore the original l_initfini
73260         list.
73261         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
73262         list, store the pointer.
73263         * elf/Makefile ($(objpfx)noload-mem): New rule.
73264         (noload-ENV): Define.
73265         (tests): Add $(objpfx)noload-mem.
73266         * elf/noload.c: Include <memcheck.h>.
73267         (main): Call mtrace.  Close all opened handles.
73269 2011-02-17  Andreas Schwab  <schwab@redhat.com>
73271         [BZ #12454]
73272         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
73273         dependencies are missing.
73275 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73277         Fix __if_freereq crash: Unlike the generic version which uses free,
73278         Hurd needs munmap.
73279         * sysdeps/mach/hurd/ifreq.h: New file.
73281 2011-01-27  Petr Baudis  <pasky@suse.cz>
73282             Ulrich Drepper  <drepper@gmail.com>
73284         [BZ 12445]#
73285         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
73286         to extend_alloca().
73287         * stdio-common/bug23.c: New file.
73288         * stdio-common/Makefile (tests): Add bug23.
73290 2010-09-28  Andreas Schwab  <schwab@redhat.com>
73291             Ulrich Drepper  <drepper@gmail.com>
73293         [BZ #12489]
73294         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
73295         before performing relro protection.  At old place add assertion
73296         to make sure nothing changed.
73298 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
73299             Glauber de Oliveira Costa  <glommer@gmail.com>
73301         * elf/elf.h: Add new ARM TLS relocs.
73303 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
73305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
73306         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
73307         cast from r3.
73308         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
73309         'tests' variable.
73310         * sysdeps/wordsize-64/tst-writev.c: New file.
73312 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
73314         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
73315         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
73316         insns in _dl_start to prevent a TOC reference before relocs are
73317         resolved.
73319 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
73321         [BZ #12469]
73322         * Makeconfig: Remove RANLIB definition.
73323         * Makerules: Don't use RANLIB.
73324         * aclocal.m4: Remove ranlib test.
73325         * configure.in: No need to check for ranlib.
73326         * elf/rtld-Rules: Don't use RANLIB.
73328 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73330         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
73331         protection macro.
73332         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
73333         inclusion protection macro.
73335         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
73336         SIGRTMIN and SIGRTMAX and print information in that case only when
73337         SIGRTMIN is defined.
73339 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
73341         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
73342         arginfo fn returning -1.
73344         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
73345         and thousands string is zero terminated.
73347 2011-02-03  Andreas Schwab  <schwab@redhat.com>
73349         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
73350         sysdeps/unix/sysv/linux/bits/socket.h.
73352 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73354         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
73355         (__CPU_COUNT): Remove old macros.
73356         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
73357         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
73358         (__CPU_ALLOC, __CPU_FREE): Add macros.
73359         (__sched_cpualloc, __sched_cpufree): Add declarations.
73361 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
73363         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
73364         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
73365         * nscd/aicache.c (addhstaiX): Return timeout of added value.
73366         (readdhstai): Return value of addhstaiX call.
73367         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
73368         (addgrbyX): Return value returned by cache_addgr.
73369         (readdgrbyname): Return value returned by addgrbyX.
73370         (readdgrbygid): Likewise.
73371         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
73372         (addpwbyX): Return value returned by cache_addpw.
73373         (readdpwbyname): Return value returned by addhstbyX.
73374         (readdpwbyuid): Likewise.
73375         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
73376         (addservbyX): Return value returned by cache_addserv.
73377         (readdservbyname): Return value returned by addservbyX:
73378         (readdservbyport): Likewise.
73379         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
73380         (addhstbyX): Return value returned by cache_addhst.
73381         (readdhstbyname): Return value returned by addhstbyX.
73382         (readdhstbyaddr): Likewise.
73383         (readdhstbynamev6): Likewise.
73384         (readdhstbyaddrv6): Likewise.
73385         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
73386         (readdinitgroups): Return value returned by addinitgroupsX.
73387         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
73388         (prune_cache): Keep track of timeout value of re-added entries.
73389         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
73390         * nscd/nscd.h: Adjust prototypes of readd* functions.
73392 2011-02-04  Roland McGrath  <roland@redhat.com>
73394         * nis/nis_server.c (nis_servstate): Use the right name for 0.
73395         (nis_stats): Likewise.
73396         * nis/nis_modify.c (nis_modify): Likewise.
73397         * nis/nis_remove.c (nis_remove): Likewise.
73398         * nis/nis_add.c (nis_add): Likewise.
73400         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
73402         * posix/fnmatch_loop.c: Add some consts.
73404         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
73406 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
73408         [BZ #12460]
73409         * config.make.in (config-cflags-novzeroupper): Define.
73410         * configure.in: Substitute libc_cv_cc_novzeroupper.
73411         * elf/Makefile (AVX-CFLAGS): Define.
73412         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
73413         (CFLAGS-tst-auditmod4a.c): Likewise.
73414         (CFLAGS-tst-auditmod4b.c): Likewise.
73415         (CFLAGS-tst-auditmod6b.c): Likewise.
73416         (CFLAGS-tst-auditmod6c.c): Likewise.
73417         (CFLAGS-tst-auditmod7b.c): Likewise.
73418         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
73420 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
73422         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
73423         function to the callback.
73424         Patch partly by Jiri Olsa <jolsa@redhat.com>.
73426 2011-02-02  Andreas Schwab  <schwab@redhat.com>
73428         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
73429         of errno.
73431 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
73433         [BZ #11724]
73434         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
73435         of constructors.
73436         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
73437         of destructors.
73438         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
73440         [BZ #11724]
73441         * elf/Makefile: Add rules to build and run new test.
73442         * elf/tst-initorder.c: New file.
73443         * elf/tst-initorder.exp: New file.
73444         * elf/tst-initordera1.c: New file.
73445         * elf/tst-initordera2.c: New file.
73446         * elf/tst-initordera3.c: New file.
73447         * elf/tst-initordera4.c: New file.
73448         * elf/tst-initorderb1.c: New file.
73449         * elf/tst-initorderb2.c: New file.
73450         * elf/tst-order-a1.c: New file.
73451         * elf/tst-order-a2.c: New file.
73452         * elf/tst-order-a3.c: New file.
73453         * elf/tst-order-a4.c: New file.
73454         * elf/tst-order-b1.c: New file.
73455         * elf/tst-order-b2.c: New file.
73456         * elf/tst-order-main.c: New file.
73457         New test case by George Gensure <werkt0@gmail.com>.
73459 2010-10-01  Andreas Schwab  <schwab@redhat.com>
73461         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
73462         decoding ACE if AI_CANONIDN.
73464 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
73466         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
73468 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
73470         * version.h (RELEASE): Bump for 2.13 release.
73471         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
73473         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
73475         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
73476         MADV_NOHUGEPAGE.
73477         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
73478         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
73479         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
73480         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
73481         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
73482         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
73484         * posix/getconf.c: Update copyright year.
73485         * catgets/gencat.c: Likewise.
73486         * csu/version.c: Likewise.
73487         * debug/catchsegv.sh: Likewise.
73488         * debug/xtrace.sh: Likewise.
73489         * elf/ldconfig.c: Likewise.
73490         * elf/ldd.bash.in: Likewise.
73491         * elf/sprof.c (print_version): Likewise.
73492         * iconv/iconv_prog.c: Likewise.
73493         * iconv/iconvconfig.c: Likewise.
73494         * locale/programs/locale.c: Likewise.
73495         * locale/programs/localedef.c: Likewise.
73496         * malloc/memusage.sh: Likewise.
73497         * malloc/mtrace.pl: Likewise.
73498         * nscd/nscd.c (print_version): Likewise.
73499         * nss/getent.c: Likewise.
73501         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
73502         PF_CAIF, and PF_ALG.
73503         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73505 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
73507         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
73508         (modules-names): Use them.
73509         (ifunc-test-modules, ifunc-pie-tests): Define.
73510         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
73511         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
73512         (test-extras): Likewise.
73513         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
73514         $(compile-command.c).
73515         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
73516         (all-built-dso): Define.
73517         (check-textrel.out, check-execstack.out): Depend on it.
73519         * configure.in: Don't override --enable-multi-arch.
73521 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
73523         [BZ #6812]
73524         * nscd/hstcache.c (tryagain): Define.
73525         (cache_addhst): Return tryagain not notfound for temporary errors.
73526         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
73527         failed.
73529 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
73531         [BZ #10563]
73532         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
73533         to make the syscall.
73534         * sysdeps/unix/sysv/linux/setgroups.c: New file.
73536         [BZ #12378]
73537         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
73538         and fall back to matching as normal character if the string ends before
73539         the matching ']' is found.  This is what POSIX requires.
73540         * posix/testfnm.c: Adjust test result.
73541         * posix/globtest.sh: Adjust test result.  Add new test.
73542         * posix/tst-fnmatch.input: Likewise.
73543         * posix/tst-fnmatch2.c: Add new test.
73545 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
73547         * elf/Makefile (check-execstack): Revert last change.  Depend on
73548         check-execstack.h.
73549         (check-execstack.h): New target.
73550         (generated): Add check-execstack.h.
73551         * elf/check-execstack.c: Include "check-execstack.h".
73552         (main): Revert last change.
73553         (handle_file): Return zero if GNU_STACK is absent and
73554         DEFAULT_STACK_PERMS doesn't include PF_X.
73556 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
73558         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
73559         in child fails because the descriptor is already closed.
73560         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
73561         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
73562         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
73564         [BZ #12397]
73565         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
73566         syscall.
73568         [BZ #10484]
73569         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
73570         temporary buffer used to handle multi lookups locally.
73571         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
73573 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
73575         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
73576         loader is ld.so.
73578 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
73580         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
73581         alignment for SSE2.
73583 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
73585         [BZ #12394]
73586         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
73587         characters.  When rounding increased number of integer digits recompute
73588         number of groups.
73589         * stdio-common/tst-grouping.c: New file.
73590         * stdio-common/Makefile: Add rules to build and run tst-grouping.
73592 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
73594         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
73595         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
73597         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
73598         void.
73599         * bits/select.h: Likewise.
73601 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
73603         * po/ja.po: Update from translation team.
73605 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
73607         [BZ #11155]
73608         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
73609         implementation just like for lxstat, fxstatat, et al.
73611 2010-12-27  Jim Meyering  <meyering@redhat.com>
73613         [BZ #12348]
73614         * posix/regexec.c (build_trtable): Return failure indication upon
73615         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
73617 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
73619         [BZ #12201]
73620         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
73621         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
73622         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
73623         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
73625         [BZ #12207]
73626         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
73628         [BZ #12204]
73629         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
73630         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
73632 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
73634         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
73635         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
73636         script has SORT_BY_INIT_PRIORITY.
73637         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
73638         NO_CTORS_DTORS_SECTIONS is defined.
73639         * elf/soinit.c: Likewise.
73640         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
73641         NO_CTORS_DTORS_SECTIONS is defined.
73642         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
73643         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
73644         * sysdeps/sh/init-first.c: Likewise.
73645         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
73647 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
73649         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
73650         always use the slow path.
73652 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
73654         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
73655         similar rule which adds the sysdep directories to the header search in
73656         order to pick up the correct platform stackinfo.h.
73657         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
73658         perform test if it is, otherwise return successfully without testing.
73659         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
73660         DEFAULT_STACK_PERMS define in stackinfo.h.
73661         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
73662         defined in stackinfo.h.
73663         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
73664         DEFAULT_STACK_PERMS defined in stackinfo.h.
73665         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
73666         * sysdeps/ia64/stackinfo.h: Likewise.
73667         * sysdeps/s390/stackinfo.h: Likewise.
73668         * sysdeps/sh/stackinfo.h: Likewise.
73669         * sysdeps/sparc/stackinfo.h: Likewise.
73670         * sysdeps/x86_64/stackinfo.h: Likewise.
73671         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
73672         PF_X for powerpc64.  Retain PF_X for powerpc32.
73674 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
73676         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
73677         accurately.
73678         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
73679         GETDENTS_64BIT_ALIGNED.
73681 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
73683         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
73685 2010-12-10  Andreas Schwab  <schwab@redhat.com>
73687         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
73688         _GNU_SOURCE.
73690         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
73691         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
73692         Remove __restrict.
73693         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
73694         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
73696 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
73698         [BZ #11655]
73699         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
73700         are initialized.
73702 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
73704         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
73706 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
73708         * po/it.po: Update from translation team.
73710 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
73712         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
73713         unused codes.
73715 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
73717         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
73719 2010-11-24  Andreas Schwab  <schwab@redhat.com>
73721         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
73722         specially.
73723         (gaih_getanswer_slice): Likewise.
73725 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
73727         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
73729 2010-05-31  Petr Baudis  <pasky@suse.cz>
73731         [BZ #11149]
73732         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
73733         silently even in the chroot mode.
73735 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
73737         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
73738         last patch a bit.  Pretty printing
73740 2010-05-31  Petr Baudis <pasky@suse.cz>
73742         [BZ #10085]
73743         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
73744         initialization of skip_initgroups_dyn.
73746 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
73748         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
73749         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
73751 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
73753         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
73755 2010-11-11  Andreas Schwab  <schwab@redhat.com>
73757         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
73758         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
73759         (tst-fnmatch-ENV): Set MALLOC_TRACE.
73760         ($(objpfx)tst-fnmatch-mem): New rule.
73761         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
73762         * posix/tst-fnmatch.c (main): Call mtrace.
73764 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
73766         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73767         Support Intel processor model 6 and model 0x2c.
73769 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
73771         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
73772           signed comparison.
73774 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
73776         [BZ #12205]
73777         * string/test-strncasecmp.c (check_result): New function.
73778         (do_one_test): Use it.
73779         (check1): New function.
73780         (test_main): Use it.
73781         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
73782         Support strcasecmp and strncasecmp.
73784 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
73786         [BZ #12194]
73787         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
73788         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73790 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
73792         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
73793         IFUNC support.
73794         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73795         memset-x86-64.
73796         * sysdeps/x86_64/multiarch/bzero.S: New file.
73797         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
73798         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
73799         * sysdeps/x86_64/multiarch/memset.S: New file.
73800         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
73801         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73802         Set bit_Prefer_SSE_for_memop for Intel processors.
73803         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
73804         Define.
73805         (index_Prefer_SSE_for_memop): Define.
73806         (HAS_PREFER_SSE_FOR_MEMOP): Define.
73808 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
73810         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
73811         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
73813 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
73815         [BZ #12191]
73816         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
73817         (__x86_64_raw_data_cache_size_half): Likewise.
73818         (__x86_64_raw_shared_cache_size): Likewise.
73819         (__x86_64_raw_shared_cache_size_half): Likewise.
73821         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
73822         (__x86_64_raw_data_cache_size_half): Likewise.
73823         (__x86_64_raw_shared_cache_size): Likewise.
73824         (__x86_64_raw_shared_cache_size_half): Likewise.
73825         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
73826         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
73827         and __x86_64_raw_shared_cache_size_half.  Round
73828         __x86_64_data_cache_size_half, __x86_64_data_cache_size
73829         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
73830         to multiple of 256 bytes.
73832 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
73834         [BZ #12167]
73835         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
73836         of inacessible symlinks.  Verify result of symlink before returning it.
73837         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
73838         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
73840 2010-10-28  Erich Ritz  <erichritz@gmail.com>
73842         * math/math.h (isinf): Fix typo in comment.
73844 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
73846         * po/da.po: Update from translation team.
73848 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
73850         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
73851         is added to the list.
73853 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73854             Ulrich Drepper  <drepper@gmail.com>
73856         * elf/dl-object.c (_dl_new_object): Don't append the new object to
73857         the global list here.  Move code to...
73858         (_dl_add_to_namespace_list): ...here.  New function.
73859         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
73860         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
73861         * elf/dl-load.c (lose): Don't remove the element from the list.
73862         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
73863         (_dl_map_object): Likewise.
73865 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
73867         [BZ #12159]
73868         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
73869         into all bytes of SSE register.
73870         Patch by Richard Li <richardpku@gmail.com>.
73872 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
73874         [BZ #12140]
73875         * malloc/malloc.c (_int_free): Fill correct number of bytes when
73876         perturbing.
73878 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
73880         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
73881         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
73882         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
73883         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
73884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
73885         submachine.
73886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
73888 2010-10-22  Andreas Schwab  <schwab@redhat.com>
73890         * include/dlfcn.h (__RTLD_SECURE): Define.
73891         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
73892         mode & __RTLD_SECURE instead.
73893         (open_path): Rename preloaded parameter to secure.
73894         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
73895         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
73896         * elf/dl-deps.c (openaux): Likewise.
73897         * elf/rtld.c (struct map_args): Remove is_preloaded.
73898         (map_doit): Don't use it.
73899         (dl_main): Likewise.
73900         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
73901         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
73903 2010-09-09  Andreas Schwab  <schwab@redhat.com>
73905         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
73906         (sysd-rules-targets): Remove duplicates.
73907         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
73908         rtld-%.$o dependency.
73910 2010-10-18  Andreas Schwab  <schwab@redhat.com>
73912         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
73913         _dl_map_object do it.
73915 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
73917         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
73918         fast fma builtins, define the macros in the C99 standard.
73919         (FP_FAST_FMAF): Likewise.
73920         (FP_FAST_FMAL): Likewise.
73921         * sysdeps/x86_64/bits/mathdef.h: Likewise.
73923         * bits/mathdef.h: Update copyright year.
73924         * sysdeps/powerpc/bits/mathdef.h: Likewise.
73926 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
73928         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
73929         builtins, define the macros in the C99 standard.
73930         (FP_FAST_FMAF): Likewise.
73931         (FP_FAST_FMAL): Likewise.
73932         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
73933         multiply/add.
73934         (FP_FAST_FMAF): Likewise.
73936 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
73938         [BZ #3268]
73939         * math/libm-test.inc (fma_test): Some new testcases.
73940         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
73941         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
73942         y and infinite z.  Do multiplication by C already in long double.
73943         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
73944         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
73945         y and infinite z.  Do bitwise or of inexact bit into u.d.
73946         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
73947         * sysdeps/i386/fpu/s_fmaf.S: Removed.
73948         * sysdeps/i386/fpu/s_fma.S: Removed.
73949         * sysdeps/i386/fpu/s_fmal.S: Removed.
73951 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
73953         [BZ #3268]
73954         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
73955         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
73956         computation is not scheduled after fetestexcept.  Fix value
73957         of minimum denormal long double.
73959 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
73961         [BZ #3268]
73962         * math/libm-test.inc (fma_test): Add some more tests.
73963         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
73964         correctly.
73966 2010-10-15  Andreas Schwab  <schwab@redhat.com>
73968         * scripts/data/localplt-s390-linux-gnu.data: New file.
73969         * scripts/data/localplt-s390x-linux-gnu.data: New file.
73971 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
73973         [BZ #3268]
73974         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
73975         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
73976         instead of dbl-64.
73977         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
73978         inlines.
73979         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
73980         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
73981         if one of x and y is very large and the other is subnormal.
73982         * sysdeps/s390/fpu/s_fmaf.c: New file.
73983         * sysdeps/s390/fpu/s_fma.c: New file.
73984         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
73985         * sysdeps/powerpc/fpu/s_fma.S: New file.
73986         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
73987         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
73988         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
73990 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
73992         [BZ #3268]
73993         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
73994         fma tests.
73995         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
73996         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
73997         * sysdeps/i386/i686/multiarch/s_fma.c: Include
73998         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
73999         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
74000         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
74001         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
74003 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
74005         [BZ #12078]
74006         * posix/regcomp.c (parse_branch): One more memory leak plugged.
74007         * posix/bug-regex31.input: Add test case.
74009 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
74011         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
74012         * posix/bug-regex31.input: New file.
74014         [BZ #12078]
74015         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
74016         (parse_sub_exp): Fix last change, use postorder.
74018         * posix/bug-regex31.c: New file.
74019         * posix/Makefile: Add rules to build and run bug-regex31.
74021         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
74023         [BZ #12078]
74024         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
74026         [BZ #12108]
74027         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
74028         to have entries in sys_siglist.
74030         [BZ #12093]
74031         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
74032         be NULL.
74034 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
74036         [BZ #3268]
74037         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
74038         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
74039         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
74040         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
74041         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
74042         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
74043         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
74044         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
74045         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
74046         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
74047         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
74048         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
74049         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
74050         * math/ftestexcept.c (fetestexcept): Likewise.
74051         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
74052         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
74053         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
74054         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
74055         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
74056         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
74057         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
74059 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
74061         [BZ #12107]
74062         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
74063         newline.
74065 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
74067         * string/bug-strstr1.c: New file.
74068         * string/Makefile: Add rules to build and run bug-strstr1.
74070 2010-10-05  Eric Blake  <eblake@redhat.com>
74072         [BZ #12092]
74073         * string/str-two-way.h (two_way_long_needle): Always clear memory
74074         when skipping input due to the shift table.
74076 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
74078         [BZ #12005]
74079         * malloc/mcheck.c: Handle large requests.
74081         [BZ #12077]
74082         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
74083         for strncmp and strncasecmp.
74084         * string/stratcliff.c: Add tests for strcmp and strncmp.
74085         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
74087 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74089         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
74090         __set_fpscr.
74092 2010-09-30  Andreas Jaeger  <aj@suse.de>
74094         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
74095         (CGROUP_SUPER_MAGIC): Define.
74096         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74097         Handle btrfs and cgroup file systems.
74098         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
74099         Likewise.
74101 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
74103         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
74104         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
74106 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74108         [BZ #12067]
74109         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
74110         trying to locate the ELF header.
74112 2010-09-27  Andreas Schwab  <schwab@redhat.com>
74114         [BZ #11611]
74115         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
74116         Mask out sign-bit copies when constructing f_fsid.
74118 2010-09-24  Petr Baudis <pasky@suse.cz>
74120         * debug/stack_chk_fail_local.c: Add missing licence exception.
74121         * debug/warning-nop.c: Likewise.
74123 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
74125         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
74126         implementing getdents64 using getdents syscall, set d_type if
74127         __ASSUME_GETDENTS32_D_TYPE.
74129 2010-09-16  Andreas Schwab  <schwab@redhat.com>
74131         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
74132         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
74134 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
74136         [BZ #12037]
74137         * posix/unistd.h: Undo change of feature selection for ftruncate from
74138         2010-01-11.
74140 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
74142         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
74143         detection.
74145 2010-09-20  Andreas Schwab  <schwab@redhat.com>
74147         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
74148         fanotify_mark.
74149         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
74151 2010-09-14  Andreas Schwab  <schwab@redhat.com>
74153         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
74154         variables after CHECK_SP call.
74155         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
74157 2010-09-13  Andreas Schwab  <schwab@redhat.com>
74158             Ulrich Drepper  <drepper@redhat.com>
74160         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
74161         re-relocationg ld.so.
74162         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
74163         _dl_init_paths call.
74164         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
74165         here anymore.
74167 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
74169         * resolv/res_init.c (__res_vinit): Count the default server we added.
74171 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
74172             Ulrich Drepper  <drepper@redhat.com>
74174         [BZ #11968]
74175         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
74176         (____longjmp_chk): Use %ebx for saving value across system call.
74177         Add unwind info.
74179 2010-09-06  Andreas Schwab  <schwab@redhat.com>
74181         * manual/Makefile: Don't mix pattern rules with normal rules.
74183 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
74185         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
74186         operation.
74187         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
74188         * libio/iofopncook.c (_IO_cookie_init): Likewise.
74189         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
74190         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
74191         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74192         Likewise.
74194 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
74196         [BZ #11979]
74197         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
74198         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
74200 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
74202         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
74203         * sysdeps/x86_64/addmul_1.S: Likewise.
74204         * sysdeps/x86_64/lshift.S: Likewise.
74205         * sysdeps/x86_64/mul_1.S: Likewise.
74206         * sysdeps/x86_64/rshift.S: Likewise.
74207         * sysdeps/x86_64/sub_n.S: Likewise.
74208         * sysdeps/x86_64/submul_1.S: Likewise.
74210 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74212         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
74213         Define __sched_param instead of SCHED_* and sched_param when
74214         <bits/sched.h> is included with __need_schedparam defined.
74215         * bits/sched.h [__need_schedparam]
74216         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
74217         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
74218         (__defined_schedparam): Define to 1.
74219         (__sched_param): New structure, identical to sched_param.
74220         (__need_schedparam): Undefine.
74222 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
74224         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
74225         (epoll_create1): Declare.
74227         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
74229 2010-08-31  Andreas Schwab  <schwab@redhat.com>
74231         [BZ #7066]
74232         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
74233         shifting retval into place.
74235 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
74237         * nis/rpcsvc/nis.h: Update copyright notice.
74238         * nis/rpcsvc/nis.x: Likewise.
74239         * nis/rpcsvc/nis_callback.h: Likewise.
74240         * nis/rpcsvc/nis_callback.x: Likewise.
74241         * nis/rpcsvc/nis_object.x: Likewise.
74242         * nis/rpcsvc/nis_tags.h: Likewise.
74243         * nis/rpcsvc/yp.h: Likewise.
74244         * nis/rpcsvc/yp.x: Likewise.
74245         * nis/rpcsvc/ypupd.h: Likewise.
74246         * nis/yp_xdr.c: Likewise.
74247         * nis/ypupdate_xdr.c: Likewise.
74249         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
74250         mainly the body of pmap_getport.  Add parameters to specify timeouts.
74251         (pmap_getport): Use __libc_rpc_getport.
74252         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
74253         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
74254         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
74256 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
74258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
74259         fanotify_mark.
74261 2010-08-27  Roland McGrath  <roland@redhat.com>
74263         * sysdeps/i386/i686/multiarch/Makefile
74264         (CFLAGS-varshift.c): New variable.
74266 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
74268         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
74269         * sysdeps/i386/i686/multiarch/varshift.c: New file.
74271         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
74273         * sysdeps/x86_64/strlen.S: Minimal code improvement.
74275 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
74277         * sysdeps/x86_64/strlen.S: Unroll the loop.
74278         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74279         strlen-sse2 strlen-sse2-bsf.
74280         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
74281         __strlen_no_bsf if bit_Slow_BSF is set.
74282         (__strlen_sse42): Removed.
74283         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
74284         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
74286 2010-08-25  Roland McGrath  <roland@redhat.com>
74288         * sysdeps/x86_64/multiarch/varshift.S: File removed.
74289         * sysdeps/x86_64/multiarch/varshift.c: New file.
74290         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
74291         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
74292         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
74293         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
74295 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
74297         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74298         strlen-sse2 strlen-sse2-bsf.
74299         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
74300         __strlen_sse2_bsf if bit_Slow_BSF is unset.
74301         (__strlen_sse2): Removed.
74302         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
74303         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
74304         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
74305         bit_Slow_BSF for Atom.
74306         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
74307         (index_Slow_BSF): Define.
74308         (HAS_SLOW_BSF): Define.
74310 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
74312         [BZ #10851]
74313         * resolv/res_init.c (__res_vinit): When no server address at all
74314         is given default to loopback.
74316 2010-08-24  Roland McGrath  <roland@redhat.com>
74318         * configure.in: Remove config-name.h generation.
74319         * configure: Regenerated.
74320         * config-name.in: File removed.
74321         * scripts/config-uname.sh: New file.
74322         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
74323         ($(objdir)config-name.h): New target.
74325         * sunrpc/rpc_parse.h: Avoid nested comment.
74327 2010-08-24  Richard Henderson  <rth@redhat.com>
74328             Ulrich Drepper  <drepper@redhat.com>
74329             H.J. Lu  <hongjiu.lu@intel.com>
74331         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
74332         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
74333         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
74334         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
74335         _mm_alignr_epi8 with _mm_loadu_si128.
74336         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
74337         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
74338         (__m128i_shift_right): Removed.
74339         * sysdeps/i386/i686/multiarch/varshift.h: New file.
74340         * sysdeps/i386/i686/multiarch/varshift.S: New file.
74341         * sysdeps/x86_64/multiarch/varshift.h: New file.
74342         * sysdeps/x86_64/multiarch/varshift.S: New file.
74344 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
74346         * configure.in: Move assembler checks to before sysdep dir checking.
74348 2010-08-20  Petr Baudis  <pasky@suse.cz>
74350         * LICENSES: Sync the sunrpc license.
74352 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
74354         * sunrpc/auth_des.c: Update copyright notice once again.
74355         * sunrpc/auth_none.c: Likewise.
74356         * sunrpc/auth_unix.c: Likewise.
74357         * sunrpc/authdes_prot.c: Likewise.
74358         * sunrpc/authuxprot.c: Likewise.
74359         * sunrpc/bindrsvprt.c: Likewise.
74360         * sunrpc/clnt_gen.c: Likewise.
74361         * sunrpc/clnt_perr.c: Likewise.
74362         * sunrpc/clnt_raw.c: Likewise.
74363         * sunrpc/clnt_simp.c: Likewise.
74364         * sunrpc/clnt_tcp.c: Likewise.
74365         * sunrpc/clnt_udp.c: Likewise.
74366         * sunrpc/clnt_unix.c: Likewise.
74367         * sunrpc/des_crypt.c: Likewise.
74368         * sunrpc/des_soft.c: Likewise.
74369         * sunrpc/get_myaddr.c: Likewise.
74370         * sunrpc/getrpcport.c: Likewise.
74371         * sunrpc/key_call.c: Likewise.
74372         * sunrpc/key_prot.c: Likewise.
74373         * sunrpc/openchild.c: Likewise.
74374         * sunrpc/pm_getmaps.c: Likewise.
74375         * sunrpc/pm_getport.c: Likewise.
74376         * sunrpc/pmap_clnt.c: Likewise.
74377         * sunrpc/pmap_prot.c: Likewise.
74378         * sunrpc/pmap_prot2.c: Likewise.
74379         * sunrpc/pmap_rmt.c: Likewise.
74380         * sunrpc/rpc/auth.h: Likewise.
74381         * sunrpc/rpc/auth_unix.h: Likewise.
74382         * sunrpc/rpc/clnt.h: Likewise.
74383         * sunrpc/rpc/des_crypt.h: Likewise.
74384         * sunrpc/rpc/key_prot.h: Likewise.
74385         * sunrpc/rpc/netdb.h: Likewise.
74386         * sunrpc/rpc/pmap_clnt.h: Likewise.
74387         * sunrpc/rpc/pmap_prot.h: Likewise.
74388         * sunrpc/rpc/pmap_rmt.h: Likewise.
74389         * sunrpc/rpc/rpc.h: Likewise.
74390         * sunrpc/rpc/rpc_des.h: Likewise.
74391         * sunrpc/rpc/rpc_msg.h: Likewise.
74392         * sunrpc/rpc/svc.h: Likewise.
74393         * sunrpc/rpc/svc_auth.h: Likewise.
74394         * sunrpc/rpc/types.h: Likewise.
74395         * sunrpc/rpc/xdr.h: Likewise.
74396         * sunrpc/rpc_clntout.c: Likewise.
74397         * sunrpc/rpc_cmsg.c: Likewise.
74398         * sunrpc/rpc_common.c: Likewise.
74399         * sunrpc/rpc_cout.c: Likewise.
74400         * sunrpc/rpc_dtable.c: Likewise.
74401         * sunrpc/rpc_hout.c: Likewise.
74402         * sunrpc/rpc_main.c: Likewise.
74403         * sunrpc/rpc_parse.c: Likewise.
74404         * sunrpc/rpc_parse.h: Likewise.
74405         * sunrpc/rpc_prot.c: Likewise.
74406         * sunrpc/rpc_sample.c: Likewise.
74407         * sunrpc/rpc_scan.c: Likewise.
74408         * sunrpc/rpc_scan.h: Likewise.
74409         * sunrpc/rpc_svcout.c: Likewise.
74410         * sunrpc/rpc_tblout.c: Likewise.
74411         * sunrpc/rpc_util.c: Likewise.
74412         * sunrpc/rpc_util.h: Likewise.
74413         * sunrpc/rpcinfo.c: Likewise.
74414         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
74415         * sunrpc/rpcsvc/key_prot.x: Likewise.
74416         * sunrpc/rpcsvc/klm_prot.x: Likewise.
74417         * sunrpc/rpcsvc/mount.x: Likewise.
74418         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
74419         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
74420         * sunrpc/rpcsvc/rex.x: Likewise.
74421         * sunrpc/rpcsvc/rstat.x: Likewise.
74422         * sunrpc/rpcsvc/rusers.x: Likewise.
74423         * sunrpc/rpcsvc/sm_inter.x: Likewise.
74424         * sunrpc/rpcsvc/spray.x: Likewise.
74425         * sunrpc/rpcsvc/yppasswd.x: Likewise.
74426         * sunrpc/rtime.c: Likewise.
74427         * sunrpc/svc.c: Likewise.
74428         * sunrpc/svc_auth.c: Likewise.
74429         * sunrpc/svc_authux.c: Likewise.
74430         * sunrpc/svc_raw.c: Likewise.
74431         * sunrpc/svc_run.c: Likewise.
74432         * sunrpc/svc_simple.c: Likewise.
74433         * sunrpc/svc_tcp.c: Likewise.
74434         * sunrpc/svc_udp.c: Likewise.
74435         * sunrpc/svc_unix.c: Likewise.
74436         * sunrpc/svcauth_des.c: Likewise.
74437         * sunrpc/xcrypt.c: Likewise.
74438         * sunrpc/xdr.c: Likewise.
74439         * sunrpc/xdr_array.c: Likewise.
74440         * sunrpc/xdr_float.c: Likewise.
74441         * sunrpc/xdr_mem.c: Likewise.
74442         * sunrpc/xdr_rec.c: Likewise.
74443         * sunrpc/xdr_ref.c: Likewise.
74444         * sunrpc/xdr_sizeof.c: Likewise.
74445         * sunrpc/xdr_stdio.c: Likewise.
74447         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
74448         handling.
74450 2010-08-19  Andreas Schwab  <schwab@redhat.com>
74452         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
74454 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
74456         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
74457         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
74458         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
74459         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
74460         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
74461         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
74462         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
74463         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
74464         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
74465         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
74466         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
74467         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
74468         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
74469         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
74471 2010-07-26  Anton Blanchard  <anton@samba.org>
74473         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
74474         * malloc/arena.c (heap_trim): Likewise.
74476 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
74478         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
74479         here.  Not...
74480         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
74481         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
74483 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
74485         * sysdeps/i386/elf/Makefile: New file.
74487 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
74489         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
74490         from fanotify_init.
74491         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
74492         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
74494 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
74496         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
74497         of strncasecmp_l.
74498         * sysdeps/multiarch/strcmp.S: Likewise.
74500 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
74502         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
74503         strncase_l-nonascii.
74504         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
74505         Add strncase_l-ssse3.
74506         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
74507         * sysdeps/x86_64/strcmp.S: Likewise.
74508         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
74509         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
74510         * sysdeps/x86_64/strncase.S: New file.
74511         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
74512         * sysdeps/x86_64/strncase_l.S: New file.
74513         * string/Makefile (strop-tests): Add strncasecmp.
74514         * string/test-strncasecmp.c: New file.
74516         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
74517         warning.
74519         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
74520         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
74522 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
74524         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
74526 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
74528         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
74529         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
74530         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
74532 2010-05-01  Alan Modra  <amodra@gmail.com>
74534         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
74535         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
74536         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
74537         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
74538         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
74539         tidying.  Don't tail-call __sigjmp_save for static lib.
74540         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
74541         save location.
74542         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
74543         (CALL_MCOUNT): Add eh info, and nop after bl.
74544         (TAIL_CALL_SYSCALL_ERROR): New macro.
74545         (PSEUDO_RET): Use it.
74546         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
74547         Correct save location of integer regs and cr.
74548         (_dl_profile_resolve): Correct cr save location.  Delete nops
74549         after bl when SHARED.  Reduce cfi size a little by better
74550         placement of cfi directives.
74551         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
74552         make a stack frame.  Instead use parm save area as a temp.
74553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
74554         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
74555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
74556         Don't make a stack frame for parent, use parm save area.
74557         Increase child stack frame to 112 bytes.  Don't save unused reg,
74558         and adjust reg usage.  Set up cfi on error recovery and
74559         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
74560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
74561         (__makecontext): Add dummy nop after jump to exit.
74562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
74563         Use correct parm save area and cr save, reduce stack frame.
74564         Correct cfi for possible PSEUDO_RET frame setup.
74565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
74566         Branch to local label emitted by PSEUDO_RET rather than
74567         __syscall_error.
74569 2010-08-12  Andreas Schwab  <schwab@redhat.com>
74571         [BZ #11904]
74572         * locale/programs/locale.c (print_assignment): New function.
74573         (show_locale_vars): Use it.
74575 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
74577         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
74578         field.
74579         (struct statfs64): Likewise.
74580         (_STATFS_F_FLAGS): Define.
74581         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
74582         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74583         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
74584         (ST_VALID): Define locally.
74585         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
74586         __statvfs_getflags, use the provided value.
74587         * sysdeps/unix/sysv/linux/kernel-features.h: Define
74588         __ASSUME_STATFS_F_FLAGS.
74590         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
74592         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
74593         Add sys/fanotify.h.
74594         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
74595         fanotify_mask for GLIBC_2.13.
74596         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
74597         fanotify_init and fanotify_mark.
74598         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
74599         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
74601         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
74602         Add prlimit.
74603         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
74604         prlimit64 for GLIBC_2.13.
74605         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
74606         prlimit64.
74607         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
74608         syscall.
74609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
74610         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
74611         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
74612         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
74613         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
74614         add prlimit alias.
74615         * sysdeps/unix/sysv/linux/prlimit.c: New file.
74617         [BZ #11903]
74618         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
74619         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
74621         * nss/Makefile: Add rules to build and run tst-nss-test1.
74622         * shlib-versions: Add entry for libnss_test1.
74623         * nss/nss_test1.c: New file.
74624         * nss/tst-nss-test1.c: New file.
74626         * nss/nsswitch.c (__nss_database_custom): Define new variable.
74627         (__nss_configure_lookup): Set appropriate entry in
74628         __nss_configure_lookup to true.
74629         * nss/nsswitch.h: Define enum with indeces of databases in
74630         databases and __nss_database_custom arrays.  Declare
74631         __nss_database_custom.
74632         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
74633         to avoid using nscd when custom rules are installed.
74634         * nss/getXXbyYY_r.c: Likewise.
74635         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
74637         * nss/nss_files/files-parse.c: Whitespace fixes.
74639 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
74641         [BZ #11883]
74642         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
74643         * posix/fnmatch_loop.c: Likewise.
74645 2010-07-17  Andi Kleen  <ak@linux.intel.com>
74647         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
74648         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
74649         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
74650         * Versions.def [GLIBC_2.13]: Add.
74652 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
74654         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
74655         Also fail if tpwd after pwuid call is NULL.
74657 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74659         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
74660         when converting to ms.
74662 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74664         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
74665         EOPNOTSUPP errors with ENOTTY.
74666         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
74667         EOPNOTSUPP errors with ENOTTY.
74669 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
74671         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
74672         Add strcasecmp_l-ssse3.
74673         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
74674         strcasecmp.
74675         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
74676         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
74677         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
74679 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
74681         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
74683         * string/Makefile (strop-tests): Add strcasecmp.
74684         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
74685         strcasecmp_l-nonascii.
74686         (gen-as-const-headers): Add locale-defines.sym.
74687         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
74688         * sysdeps/x86_64/strcasecmp.S: New file.
74689         * sysdeps/x86_64/strcasecmp_l.S: New file.
74690         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
74691         * sysdeps/x86_64/locale-defines.sym: New file.
74692         * string/test-strcasecmp.c: New file.
74694         * string/test-strcasestr.c: Test both ends of the range of characters.
74695         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
74697 2010-07-29  Roland McGrath  <roland@redhat.com>
74699         [BZ #11856]
74700         * manual/locale.texi (Yes-or-No Questions): Fix example code.
74702 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
74704         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
74705         for ld.so.
74707 2010-07-27  Andreas Schwab  <schwab@redhat.com>
74709         * manual/memory.texi (Malloc Tunable Parameters): Document
74710         M_PERTURB.
74712 2010-07-26  Roland McGrath  <roland@redhat.com>
74714         [BZ #11840]
74715         * configure.in (-fgnu89-inline check): Set and substitute
74716         gnu89_inline, not libc_cv_gnu89_inline.
74717         * configure: Regenerated.
74718         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
74720 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
74722         * string/test-strnlen.c: New file.
74723         * string/Makefile (strop-tests): Add strnlen.
74724         * string/tester.c (test_strnlen): Add a few more test cases.
74725         * string/tst-strlen.c: Better error reporting.
74727         * sysdeps/x86_64/strnlen.S: New file.
74729 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
74731         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
74732         lower-latency instructions.
74734 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
74736         * string/test-strcasestr.c: New file.
74737         * string/test-strstr.c: New file.
74738         * string/Makefile (strop-tests): Add strstr and strcasestr.
74739         * string/str-two-way.h: Don't undefine MAX.
74740         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
74742 2010-07-21  Andreas Schwab  <schwab@redhat.com>
74744         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74745         strcasestr-nonascii.
74746         (CFLAGS-strcasestr-nonascii.c): Define.
74747         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
74748         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
74749         Remove unused attribute.
74751 2010-07-20  Roland McGrath  <roland@redhat.com>
74753         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
74754         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
74755         ld.so.cache was broken.  With it, there is no way to disable dsocaps
74756         like LD_HWCAP_MASK can disable hwcaps.
74758 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
74760         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
74762 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
74764         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
74765         call in strcasestr.
74766         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
74767         __strcasestr_sse42_nonascii.
74768         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
74769         strcasestr-nonascii.c.
74770         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
74772 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
74774         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
74775         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
74776         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
74777         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
74779 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
74781         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
74782         fcntl.
74784 2010-07-06  Andreas Schwab  <schwab@redhat.com>
74786         [BZ #11577]
74787         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
74788         dl_signal_cerror.
74790 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
74792         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
74793         _PC_PIPE_BUF using F_GETPIPE_SZ.
74795 2010-07-05  Roland McGrath  <roland@redhat.com>
74797         * manual/arith.texi (Rounding Functions): Fix rint description
74798         implicit in round description.
74800 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
74802         * elf/Makefile: Fix linking for a few tests to make recent linker
74803         happy.
74805 2010-06-30  Andreas Schwab  <schwab@redhat.com>
74807         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
74808         $(common-objpfx)libc_nonshared.a.
74810 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
74812         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
74813         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
74814         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
74815         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
74816         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
74817         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
74818         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
74819         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
74820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
74821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
74822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
74823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
74824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
74825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
74826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
74827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
74828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
74829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
74830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
74831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
74832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
74833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
74834         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
74835         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
74836         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
74837         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
74838         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
74839         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
74840         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
74841         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
74842         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
74843         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
74844         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
74845         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
74846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
74847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
74848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
74849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
74850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
74851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
74852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
74853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
74854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
74855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
74856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
74857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
74858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
74859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
74861 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
74863         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
74864         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
74865         * string/memmove.c (memmove): Renamed to ...
74866         (MEMMOVE): ...this.  Default to memmove.
74867         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
74868         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
74869         (END_CHK): Define.
74870         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74871         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
74872         mempcpy-ssse3-back memmove-ssse3-back.
74873         * sysdeps/x86_64/multiarch/bcopy.S: New file .
74874         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
74875         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
74876         * sysdeps/x86_64/multiarch/memcpy.S: New file.
74877         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
74878         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
74879         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
74880         * sysdeps/x86_64/multiarch/memmove.c: New file.
74881         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
74882         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
74883         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
74884         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
74885         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
74886         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
74887         Define.
74888         (index_Fast_Copy_Backward): Define.
74889         (HAS_ARCH_FEATURE): Define.
74890         (HAS_FAST_REP_STRING): Define.
74891         (HAS_FAST_COPY_BACKWARD): Define.
74893 2010-06-21  Andreas Schwab  <schwab@redhat.com>
74895         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
74896         Restore proper fallback handling.
74898 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
74900         [BZ #11701]
74901         * posix/group_member.c (__group_member): Correct checking loop.
74903         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
74904         OOM in getpwuid_r correctly.  Return error number when the caller
74905         should return, otherwise -1.
74906         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
74907         call returning > 0 value.
74908         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
74910 2010-06-07  Andreas Schwab  <schwab@redhat.com>
74912         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
74913         libc_nonshared.a from targets in modules-names.
74915 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
74917         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
74918         requires it.
74920 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
74922         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
74923         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
74924         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
74925         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
74927 2010-06-02  Andreas Schwab  <schwab@redhat.com>
74929         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
74931 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
74933         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
74934         and F_GETPIPE_SZ.
74935         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
74936         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74937         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74938         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74939         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74940         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74942 2010-06-14  Roland McGrath  <roland@redhat.com>
74944         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
74946 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
74948         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
74949         __REDIRECT followed by __THROW.
74950         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
74951         * posix/getopt.h (getopt): Likewise.
74953 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
74955         * hurd/lookup-at.c (__file_name_lookup_at): Accept
74956         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
74957         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
74958         in AT_FLAGS.
74959         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
74960         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
74962 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
74964         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
74966 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
74968         [BZ #11640]
74969         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74970         Properly check family and model.
74972 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
74974         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
74976 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
74978         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
74980 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
74982         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
74983         symbol reference.
74985 2010-05-19  Andreas Schwab  <schwab@redhat.com>
74987         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
74988         symbol reference.
74990 2010-05-21  Andreas Schwab  <schwab@redhat.com>
74992         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
74993         and internal_recvmmsg.
74994         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
74995         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
74996         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
74997         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
74999         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
75000         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
75001         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
75003 2010-05-20  Andreas Schwab  <schwab@redhat.com>
75005         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
75007 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
75009         POWER7 optimizations.
75010         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
75011         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
75013 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
75015         * version.h: Update for 2.13 development version.
75017 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
75019         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
75020         exceptions.  Return 0.
75022 2010-05-07  Roland McGrath  <roland@redhat.com>
75024         * elf/ldconfig.c (main): Add a const.
75026 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
75028         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
75029         (args_options): Add no-idn option.
75030         (ahosts_keys_int): Add idn_flags to ai_flags.
75031         (parse_option): Handle 'i' option to clear idn_flags.
75033         * malloc/malloc.c (_int_free): Possible race in the most recently
75034         added check.  Only act on the data if no current modification
75035         happened.
75037 See ChangeLog.17 for earlier changes.