Fix lgamma setting signgam for ISO C (bug 15421).
[glibc.git] / ChangeLog
blob51818799ead8096ab07353787ec43de842f20fe5
1 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #15421]
4         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
5         initialize with 0 and define as weak alias of __signgam.
6         * include/math.h [!_ISOMAC] (__signgam): Declare.
7         * math/Makefile (libm-calls): Add w_lgamma_compat.
8         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
9         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
10         test-signgam-ullong-init.
11         (tests-static): Add test-signgam-uchar-static,
12         test-signgam-uchar-init-static, test-signgam-uint-static,
13         test-signgam-uint-init-static, test-signgam-ullong-static and
14         test-signgam-ullong-init-static.
15         (CFLAGS-test-signgam-uchar.c): New variable.
16         (CFLAGS-test-signgam-uchar-init.c): Likewise.
17         (CFLAGS-test-signgam-uchar-static.c): Likewise.
18         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
19         (CFLAGS-test-signgam-uint.c): Likewise.
20         (CFLAGS-test-signgam-uint-init.c): Likewise.
21         (CFLAGS-test-signgam-uint-static.c): Likewise.
22         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
23         (CFLAGS-test-signgam-ullong.c): Likewise.
24         (CFLAGS-test-signgam-ullong-init.c): Likewise.
25         (CFLAGS-test-signgam-ullong-static.c): Likewise.
26         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
27         * math/Versions (libm): Add GLIBC_2.23.
28         * math/lgamma-compat.h: New file.
29         * math/test-signgam-main.c: Likewise.
30         * math/test-signgam-uchar-init-static.c: Likewise.
31         * math/test-signgam-uchar-init.c: Likewise.
32         * math/test-signgam-uchar-static.c: Likewise.
33         * math/test-signgam-uchar.c: Likewise.
34         * math/test-signgam-uint-init-static.c: Likewise.
35         * math/test-signgam-uint-init.c: Likewise.
36         * math/test-signgam-uint-static.c: Likewise.
37         * math/test-signgam-uint.c: Likewise.
38         * math/test-signgam-ullong-init-static.c: Likewise.
39         * math/test-signgam-ullong-init.c: Likewise.
40         * math/test-signgam-ullong-static.c: Likewise.
41         * math/test-signgam-ullong.c: Likewise.
42         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
43         wrapper of w_lgamma_main.c.
44         * math/w_lgamma_compat.c: New file.
45         * math/w_lgamma_compatf.c: Likewise.
46         * math/w_lgamma_compatl.c: Likewise.
47         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
48         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
49         defining compatibility symbols.
50         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
51         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
52         wrapper of w_lgammaf_main.c.
53         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
54         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
55         defining compatibility symbols.
56         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
57         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
58         wrapper of w_lgammal_main.c.
59         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
60         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
61         defining compatibility symbols.
62         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
63         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
64         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
65         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
66         <lgamma-compat.h>.
67         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
68         (__ieee754_gamma): Define as alias.
69         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
70         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
71         <lgamma-compat.h>.
72         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
73         (__ieee754_gammaf): Define as alias.
74         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
75         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
76         <lgamma-compat.h>.
77         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
78         (__ieee754_gammal): Define as alias.
79         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
80         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
81         <math/w_lgamma_compat.c>.
82         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
83         Define as alias of __lgamma_compat and use in defining lgammal.
84         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
85         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
86         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
87         (USE_AS_COMPAT): New macro.
88         (LGAMMA_OLD_VER): Undefine and redefine.
89         (lgammal): Do not define here.
90         (gammal): Only define here if [GAMMA_ALIAS].
91         * conform/linknamespace.pl (@whitelist): Remove signgam.
92         * sysdeps/nacl/libm.abilist: Update.
93         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
94         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
95         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
96         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
97         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
98         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
99         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
100         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
101         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
102         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
103         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
104         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
106         Likewise.
107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
108         Likewise.
109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
110         Likewise.
111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
112         Likewise.
113         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
114         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
115         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
116         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
117         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
119         Likewise.
120         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
121         Likewise.
122         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
123         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
124         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
126 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
128         [BZ #16364]
129         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
130         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
132 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
134         * sysdeps/s390/fpu/bits/mathinline.h:
135         Use __asm__ [__volatile__] instead of asm [volatile].
136         * sysdeps/s390/abort-instr.h: Likewise.
137         * sysdeps/s390/atomic-machine.h: Likewise.
138         * sysdeps/s390/bits/string.h: Likewise.
139         * sysdeps/s390/dl-tls.h: Likewise.
140         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
141         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
142         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
143         * sysdeps/s390/fpu/fesetround.c: Likewise.
144         * sysdeps/s390/fpu/fpu_control.h: Likewise.
145         * sysdeps/s390/fpu/s_fma.c: Likewise.
146         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
147         * sysdeps/s390/memusage.h: Likewise.
148         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
149         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
150         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
151         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
152         * sysdeps/s390/nptl/tls.h: Likewise.
153         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
154         * sysdeps/s390/s390-32/backtrace.c: Likewise.
155         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
156         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
157         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
158         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
159         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
160         * sysdeps/s390/s390-64/backtrace.c: Likewise.
161         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
162         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
163         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
164         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
165         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
166         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
167         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
168         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
169         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
170         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
171         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
172         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
173         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
174         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
175         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
177 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
178             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
180         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
181         Add lwarx hint, and use macro for acquire instruction.
182         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
183         Likewise.
184         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
185         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
186         update to use new atomic macros.
188 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
190         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
191         (__lll_trylock_elision): Fix setting of adapt_count.
192         * sysdeps/unix/sysv/linux/powerpc/htm.h
193         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
194         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
195         (_ABORT_SYSCALL): Renumber, and clarify definition.
196         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
198 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
200         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
201         after system headers to prevent MIN/MAX redefinition.  Define
202         HAVE_ALLOCA to preserve builtin alloca usage.
204 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
206         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
207         static and don't set or restore rounding.
208         (__cos)[IN_SINCOS]: Likewise.
209         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
210         (__sincos): Set and restore rounding mode.  Remove check for infinite
211         or NaN input.
213         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
215         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
216         as used.
218 2015-11-16  Florian Weimer  <fweimer@redhat.com>
220         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
222 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
224         * config.make.in (have-glob-dat-reloc): New.
225         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
226         target supports GLOB_DAT relocaton. AC_SUBST.
227         * configure: Regenerated.
228         * elf/Makefile (tests): Add tst-prelink.
229         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
230         (tst-prelink-ENV): New.
231         ($(objpfx)tst-prelink-conflict.out): Likewise.
232         ($(objpfx)tst-prelink-cmp.out): Likewise.
233         * sysdeps/x86/tst-prelink.c: Moved to ...
234         * elf/tst-prelink.c: Here.
235         * sysdeps/x86/tst-prelink.exp: Moved to ...
236         * elf/tst-prelink.exp: Here.
237         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
238         (tst-prelink-ENV): Removed.
239         ($(objpfx)tst-prelink-conflict.out): Likewise.
240         ($(objpfx)tst-prelink-cmp.out): Likewise.
241         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
243 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
245         [BZ #14551]
246         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
247         (__mpn_construct_long_double): If high part overflows to infinity,
248         set errno and recompute overflowed result of the correct sign.
249         * sysdeps/ieee754/ldbl-128ibm/Makefile
250         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
251         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
252         $(libm).
253         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
255 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
257         [BZ #15479]
258         [BZ #19238]
259         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
260         floating-point state after first operation on input.  Restore full
261         state rather than just rounding mode.
262         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
263         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
264         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
266         [BZ #19235]
267         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
268         add 0.5 to integer arguments.
269         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
270         Likewise.
271         (.LC2): New object.
273 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
275         * scripts/pylintrc (reports): Set to no.
277 2015-11-10  Roland McGrath  <roland@hack.frob.com>
279         * elf/dl-load.c (open_verify): Take new argument FD.
280         Skip __open call if passed FD is not -1.
281         (_dl_map_object, open_path): Update callers.
282         * elf/dl-sysdep-open.h: New file.
283         * elf/dl-load.c: Include it.
284         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
285         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
286         * sysdeps/nacl/dl-sysdep-open.h: New file.
287         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
288         from libc to rtld.
290 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
292         [BZ #19228]
293         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
294         and restore full floating-point state.
295         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
296         Likewise.
297         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
298         Likewise.
299         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
300         Likewise.
301         * math/test-nearbyint-except-2.c: New file.
302         * math/Makefile (tests): Add test-nearbyint-except-2.
304 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
306         [BZ #19178]
307         * sysdeps/x86/Makefile (tests): Add tst-prelink.
308         (tst-prelink-ENV): New.
309         ($(objpfx)tst-prelink-conflict.out): Likewise.
310         ($(objpfx)tst-prelink-cmp.out): Likewise.
311         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
312         * sysdeps/x86/tst-prelink.c: New file.
313         * sysdeps/x86/tst-prelink.exp: Likewise.
315 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
317         * math/auto-libm-test-in: Add another test of pow.
318         * math/auto-libm-test-out: Regenerated.
319         * math/libm-test.inc (pow_test_data): Add another test.
321 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
323         [BZ #19219]
324         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
325         weak_alias to nearbyintl.
327 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
329         * sysdeps/aarch64/bits/string.h: New file.
330         (_STRING_ARCH_unaligned): Define.
332 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
334         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
335         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
336         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
337         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
340 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
342         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
343         for original name of the DSO.  Add it to the name list of the DSO
344         if it is actually given.
345         (_dl_map_object): Keep track of whether an audit module rewrote
346         the file name.  If yes, pass the original name to
347         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
348         debugging is enabled, log the change of the file name.
349         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
350         _dl_map_object_from_fd.
351         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
352         * elf/tst-audit11.c: New file
353         * elf/tst-auditmod11.c: New file.
354         * elf/tst-audit11mod1.c: New file.
355         * elf/tst-audit11mod2.c: New file.
356         * elf/tst-audit11mod2.map: New file.
357         * elf/tst-audit12.c: New file
358         * elf/tst-auditmod12.c: New file.
359         * elf/tst-audit12mod1.c: New file.
360         * elf/tst-audit12mod2.c: New file.
361         * elf/tst-audit12mod2.map: New file.
362         * elf/tst-audit12mod3.c: New file.
364 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
366         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
367         Don't create weak aliases,
368         because versioned symbols are created later.
369         * sysdeps/s390/s390-32/setjmp.S
370         (setjmp, _setjmp): Remove weak and rename to an unique name
371         in SHARED case due to existing versioned symbols.
372         * sysdeps/s390/s390-64/setjmp.S: Likewise.
373         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
374         (getcontext): Create weak alias only in non SHARED case.
375         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
377 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
379         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
380         (__ASSUME_*_SYSCALL) Define new macros.
381         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
382         Remove socketcall syscalls.
383         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
384         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
385         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
386         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
387         * sysdeps/unix/sysv/linux/send.c (__libc_send):
388         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
390 2015-11-09  Florian Weimer  <fweimer@redhat.com>
392         [BZ #12926]
393         Terminate process on invalid netlink response.
394         * sysdeps/unix/sysv/linux/netlinkaccess.h
395         (__netlink_assert_response): Declare.
396         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
397         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
398         (sysdep_routines): Add netlink_assert_response.
399         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
400         __netlink_assert_response.
401         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
402         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
403         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
404         __netlink_assert_response.
406 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
408         [BZ #19178]
409         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
410         (RTYPE_CLASS_PLT): Likewise.
411         (RTYPE_CLASS_COPY): Likewise.
412         (RTYPE_CLASS_TLS): Likewise.
413         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
414         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
415         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
416         DL_DEBUG_PRELINK.
418 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
420         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
421         calls with argument -0.5.
422         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
424         * configure.ac (libc_cv_z_nodelete): Remove configure test.
425         (libc_cv_z_nodlopen): Likewise.
426         (libc_cv_z_initfirst): Likewise.
427         * configure: Regenerated.
429 2015-11-06  Florian Weimer  <fweimer@redhat.com>
431         Simplify abilist format to be line-based.
432         * scripts/abilist.awk: Collect descriptors in the descs variable.
433         (emit): Write descs variable and sort it
434         externally, with sort.
435         * sysdeps/**/*.abilist: Convert to new format.
437 2015-11-06  Mark Wielaard  <mjw@redhat.com>
439         [BZ #11460]
440         * io/Makefile (routines): Add fts64.
441         (tests): Add tst-fts and tst-fts-lfs.
442         (CFLAGS-fts64.c): New.
443         * io/Versions (GLIBC_2.23): New.
444         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
445         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
446         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
447         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
448         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
449         (FTSENT64): Likewise.
450         (fts64_children): Likewise.
451         (fts64_close): Likewise.
452         (fts64_open): Likewise.
453         (fts64_read): Likewise.
454         (fts64_set): Likewise.
455         * io/fts64.c: New file.
456         * io/tst-fts.c: New test.
457         * io/tst-fts-lfs.c: Likewise.
458         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
459         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
460         fts64_set.
461         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
462         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
463         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
464         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
465         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
466         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
467         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
468         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
469         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
470         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
471         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
472         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
473         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
475         Likewise.
476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
477         Likewise.
478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
480         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
481         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
482         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
483         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
484         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
487         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
488         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
489         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
490         * sysdeps/wordsize-64/fts.c: New file.
491         * sysdeps/wordsize-64/fts64.c: Likewise.
492         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
493         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
494         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
495         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
497 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
499         * math/libm-test.inc (NON_FINITE): New macro.
500         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
501         * math/gen-libm-test.pl (show_exceptions): Add argument
502         $non_finite.
503         (parse_args): Update call to show_exceptions.
504         * math/test-math-finite.h: New file.
505         * math/test-math-no-finite.h: Likewise.
506         * math/test-double-finite.c: Likewise.
507         * math/test-float-finite.c: Likewise.
508         * math/test-ldouble-finite.c: Likewise.
509         * math/test-double.c: Include "test-math-no-finite.h".
510         * math/test-float.c: Include "test-math-no-finite.h".
511         * math/test-ldouble.c: Include "test-math-no-finite.h".
512         * math/test-math-inline.h (TEST_FINITE): New macro.
513         * math/test-math-vector.h (TEST_FINITE): Likewise.
514         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
515         (libm-tests): Add test-float-finite and test-double-finite.
516         ($(objpfx)test-float-finite.o): New dependency on
517         $(objpfx)libm-test.stmp.
518         ($(objpfx)test-double-finite.o): Likewise.
519         ($(objpfx)test-ldouble-finite.o): Likewise.
520         (libm-test-no-inline-cflags): New variable.
521         (libm-test-finite-cflags): Likewise.
522         (CFLAGS-test-float-finite.c): Likewise.
523         (CFLAGS-test-double-finite.c): Likewise.
524         (CFLAGS-test-ldouble-finite.c): Likewise.
525         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
526         (CFLAGS-test-double.c): Likewise.
527         (CFLAGS-test-ldouble.c): Likewise.
529 2015-11-05  Roland McGrath  <roland@hack.frob.com>
531         * io/fcntl.c (__fcntl): Add ... to prototype.
532         * misc/ioctl.c (__ioctl): Likewise.
533         * misc/syscall.c (syscall): Likewise.
535 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
537         * scripts/list-fixed-bugs.py: New file.
539         [BZ #19213]
540         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
541         returned for argument 1.
542         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
543         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
544         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
545         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
546         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
547         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
549         [BZ #19211]
550         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
551         __USE_XOPEN], not if [!__USE_ISOC99].
552         (lgammaf): Likewise.
553         (lgammal): Likewise.
554         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
555         (gammaf): Likewise.
556         (gammal): Likewise.
557         * math/test-signgam-finite-c11.c: New file.
558         * math/test-signgam-finite-c99.c: Likewise.
559         * math/test-signgam-finite.c: Likewise.
560         * math/Makefile (tests): Add test-signgam-finite,
561         test-signgam-finite-c99 and test-signgam-finite-c11.
562         (CFLAGS-test-signgam-finite.c): New variable.
563         (CFLAGS-test-signgam-finite-c99.c): Likewise.
564         (CFLAGS-test-signgam-finite-c11.c): Likewise.
566         [BZ #19212]
567         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
568         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
569         500].
570         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
571         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
572         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
573         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
574         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
575         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
576         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
577         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
578         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
579         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
581         [BZ #19209]
582         * math/bits/math-finite.h (ldexp): Remove declaration.
583         (ldexpf): Likewise.
584         (ldexpl): Likewise.
586         [BZ #19205]
587         * math/bits/math-finite.h (acosf): Condition declaration on
588         [__USE_ISOC99].
589         (acosl): Likewise.
590         (acoshf): Likewise.
591         (acoshl): Likewise.
592         (asinf): Likewise.
593         (asinl): Likewise.
594         (atan2f): Likewise.
595         (atan2l): Likewise.
596         (atanhf): Likewise.
597         (atanhl): Likewise.
598         (coshf): Likewise.
599         (coshl): Likewise.
600         (expf): Likewise.
601         (expl): Likewise.
602         (fmodf): Likewise.
603         (fmodl): Likewise.
604         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
605         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
606         (j0l): Likewise.
607         (y0f): Likewise.
608         (y0l): Likewise.
609         (j1f): Likewise.
610         (j1l): Likewise.
611         (y1f): Likewise.
612         (y1l): Likewise.
613         (jnf): Likewise.
614         (jnl): Likewise.
615         (ynf): Likewise.
616         (ynl): Likewise.
617         (lgammaf_r): Condition declaration on [__USE_ISOC99].
618         (lgammal_r): Likewise.
619         (__lgamma_r_finite): New declaration.
620         (__lgammaf_r_finite): Likewise.
621         (__lgammal_r_finite): Likewise.
622         (lgamma): Use __lgamma_r_finite.
623         (lgammaf): Condition definition on [__USE_ISOC99].  Use
624         __lgammaf_r_finite.
625         (lgammal): Condition definition on [__USE_ISOC99].  Use
626         __lgammal_r_finite.
627         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
628         __lgamma_r_finite.
629         (gammaf): Condition definition on [__USE_ISOC99].  Use
630         __lgammaf_r_finite.
631         (gammal): Condition definition on [__USE_ISOC99].  Use
632         __lgammal_r_finite.
633         (logf): Condition declaration on [__USE_ISOC99].
634         (logl): Likewise.
635         (log10f): Likewise.
636         (log10l): Likewise.
637         (ldexpf): Likewise.
638         (ldexpl): Likewise.
639         (powf): Likewise.
640         (powl): Likewise.
641         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
642         __USE_ISOC99].
643         (remainderf): Condition declaration on [__USE_ISOC99].
644         (remainderl): Likewise.
645         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
646         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
647         (scalbl): Likewise.
648         (sinhf): Condition declaration on [__USE_ISOC99].
649         (sinhl): Likewise.
650         (sqrtf): Likewise.
651         (sqrtl): Likewise.
653 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
655         * sysdeps/arm/atomic-machine.h
656         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
657         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
658         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
659         Remove conditional code.
660         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
661         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
662         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
663         Change conditional to [__ASSEMBLER__].
664         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
665         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
666         [!__ASSEMBLER__].
667         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
668         code.
669         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
670         conditional macro definitions.
671         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
672         (__arch_compare_and_exchange_val_16_acq): Likewise.
673         (__arch_compare_and_exchange_val_32_acq): Likewise.
674         (atomic_exchange_and_add): Likewise.
675         (atomic_add): Likewise.
676         (atomic_add_negative): Likewise.
677         (atomic_add_zero): Likewise.
678         (atomic_bit_set): Likewise.
679         (atomic_bit_test_set): Likewise.
680         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
681         code unconditional.
682         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
684         * math/test-math-errno.h: New file.
685         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
686         empty.
687         (TEST_ERRNO): New macro.
688         (TEST_EXCEPTIONS): Likewise.
689         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
690         (TEST_EXCEPTIONS): Likewise.
691         * math/test-math-vector.h (TEST_ERRNO): Likewise.
692         * math/test-double.c: Include "test-math-errno.h".
693         * math/test-float.c: Likewise.
694         * math/test-ldouble.c: Likewise.
695         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
696         code unconditional.
697         (test_exceptions): Only run code if TEST_EXCEPTIONS.
698         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
699         unconditional.
700         (test_errno): Only run code if TEST_ERRNO.
701         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
703 2015-11-04  Florian Weimer  <fweimer@redhat.com>
705         * nptl/tst-once5.cc: Remove attribution.
707 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
709         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
710         sqrt, tan, tanh, y0, y1 and yn.
711         * math/auto-libm-test-out: Regenerated.
712         * math/libm-test.inc (scalb_test_data): Add more tests.
713         (scalbn_test_data): Likewise.
714         (scalbln_test_data): Likewise.
715         (signbit_test_data): Likewise.
716         (sin_test_data): Likewise.
717         (sincos_test_data): Likewise.
718         (sinh_test_data): Likewise.
719         (sqrt_test_data): Likewise.
720         (tan_test_data): Likewise.
721         (tanh_test_data): Likewise.
722         (tgamma_test_data): Likewise.
723         (y0_test_data): Likewise.
724         (y1_test_data): Likewise.
725         (yn_test_data): Likewise.
726         (significand_test_data): Likewise.
727         * sysdeps/i386/fpu/libm-test-ulps: Update.
729 2015-11-03  David Kastrup  <dak@gnu.org>
731         [BZ #18604]
732         * assert/assert.h (assert): Don't macro-expand failed assertion
733         expression in error message.
734         * malloc/malloc.c (assert): Likewise.
736 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
738         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
739         test.
740         * configure: Regenerated.
742 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
744         * math/libm-test.inc (modf_test_data): Add more tests.
745         (nearbyint_test_data): Likewise.
746         (nextafter_test_data): Likewise.
747         (nexttoward_test_data): Likewise.
748         (pow_test_data): Likewise.
749         (remainder_test_data): Likewise.
750         (remquo_test_data): Likewise.
751         (rint_test_data): Likewise.
753         [BZ #19201]
754         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
755         Check for zero remainder in case of large exponents and ensure
756         correct sign of result in that case.
757         * math/libm-test.inc (remainder_test_data): Add more tests.
759         [BZ #6799]
760         * math/s_nextafter.c: Include <errno.h>.
761         (__nextafter): Set errno on overflow and underflow.
762         * math/s_nexttowardf.c: Include <errno.h>.
763         (__nexttowardf): Set errno on overflow and underflow.
764         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
765         (__nextafterl): Set errno on overflow and underflow.
766         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
767         (__nexttoward): Set errno on overflow and underflow.
768         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
769         (__nexttowardf): Set errno on overflow and underflow.
770         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
771         (__nextafterf): Set errno on overflow and underflow.
772         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
773         (__nextafterl): Set errno on overflow and underflow.
774         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
775         (__nexttoward): Set errno on overflow and underflow.
776         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
777         (__nexttowardf): Set errno on overflow and underflow.
778         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
779         (__nextafterl): Set errno on overflow and underflow.
780         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
781         (__nexttoward): Set errno on overflow and underflow.
782         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
783         (__nexttowardf): Set errno on overflow and underflow.
784         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
785         (__nexttoward): Set errno on overflow and underflow.
786         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
787         (__nexttowardf): Set errno on overflow and underflow.
788         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
789         (__nldbl_nexttowardf): Set errno on overflow and underflow.
790         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
791         (__nextafterl): Set errno on overflow and underflow.
792         * math/libm-test.inc (nextafter_test_data): Do not allow errno
793         setting to be missing on overflow.  Add more tests.
794         (nexttoward_test_data): Likewise.
796         * configure.ac (libc_cv_initfini_array): Remove configure test.
797         * configure: Regenerated.
799 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
801         [BZ #19189]
802         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
803         non-finite argument handle arguments with negative sign.
805         * math/libm-test.inc (j0_test_data): Do not test sign of zero
806         result from infinite argument.
807         (j1_test_data): Likewise.
808         (jn_test_data): Likewise.
809         (y0_test_data): Likewise.
810         (y1_test_data): Likewise.
811         (yn_test_data): Likewise.
813         [BZ #16171]
814         * math/w_remainder.c (drem): Define as weak alias of __remainder.
815         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
816         * math/w_remainderf.c (dremf): Define as weak alias of
817         __remainderf.
818         * math/w_remainderl.c (dreml): Define as weak alias of
819         __remainderl.
820         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
821         __remainder.
822         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
823         __remainderf.
824         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
825         __remainderl.
826         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
827         weak alias of remainderl.
828         * sysdeps/ieee754/ldbl-opt/w_remainder.c
829         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
830         alias of __remainder.
831         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
832         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
833         strong alias of __remainderl.
834         (dreml): Use long_double_symbol.
835         * math/Makefile (libm-calls): Remove w_drem.
836         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
837         (CFLAGS-nldbl-drem.c): Remove variable.
838         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
839         * math/w_drem.c: Remove file.
840         * math/w_dremf.c: Likewise.
841         * math/w_dreml.c: Likewise.
842         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
843         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
844         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
846         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
847         * sysdeps/i386/configure: Regenerated.
848         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
849         * sysdeps/x86_64/configure: Regenerated.
851         * configure.ac (libc_cv_asm_protected_directive): Remove configure
852         test.
853         (libc_cv_visibility_attribute): Likewise.
854         (libc_cv_protected_data): Test unconditionally.
855         (libc_cv_broken_visibility_attribute): Remove configure test.
856         (libc_cv_have_sdata_section): Test unconditionally.
857         * configure: Regenerated.
859         * include/libc-internal.h (libc_max_align_t): Remove typedef.
860         * include/scratch_buffer.h: Include <stddef.h> instead of
861         <libc-internal.h>.
862         (struct scratch_buffer): Use max_align_t instead of
863         libc_max_align_t.
865 2015-10-29  Florian Weimer  <fweimer@redhat.com>
867         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
868         instead of extend_alloca.  Change control flow to avoid a goto.
869         Remove assert which is trivially always true.
871 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
873         [BZ #16068]
874         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
875         (FE_ALL_EXCEPT_X86): New macro.
876         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
877         FE_ALL_EXCEPT.  Ensure precision control is included in
878         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
879         handle "denormal operand exception" and clear FZ and DAZ bits.
880         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
881         (FE_ALL_EXCEPT_X86): New macro.
882         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
883         FE_ALL_EXCEPT.  Ensure precision control is included in
884         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
885         handle "denormal operand exception" and clear FZ and DAZ bits.
886         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
887         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
888         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
889         test-fenv-x87 and test-fenv-sse-2.
890         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
892         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
893         * math/test-double.h (BUILD_COMPLEX): New macro.
894         * math/test-float.h (BUILD_COMPLEX): Likewise.
895         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
897         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
898         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
899         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
900         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
901         instead of DBL_DENORM_MIN in comment.
902         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
903         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
904         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
905         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
906         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
907         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
909 2015-10-28  Florian Weimer  <fweimer@redhat.com>
911         [BZ# 19048]
912         * malloc/malloc.c (struct malloc_state): Update comment.  Add
913         attached_threads member.
914         (main_arena): Initialize attached_threads.
915         * malloc/arena.c (list_lock): Update comment.
916         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
917         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
918         (deattach_arena): New function.
919         (_int_new_arena): Initialize arena reference count and deattach
920         replaced arena.
921         (get_free_list, reused_arena): Update reference count and deattach
922         replaced arena.
923         (arena_thread_freeres): Update arena reference count and only put
924         unreferenced arenas on the free list.
926 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
928         [BZ #19181]
929         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
930         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
931         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
932         * math/test-fenv-clear-main.c: New file.
933         * math/test-fenv-clear.c: Likewise.
934         * math/Makefile (tests): Add test-fenv-clear.
935         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
936         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
937         test-fenv-clear-sse.
938         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
940         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
941         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
942         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
944 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
946         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
947         static libc.
949 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
951         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
952         test.
953         * sysdeps/i386/configure: Regenerated.
954         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
955         test.
956         * sysdeps/x86_64/configure: Regenerated.
957         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
958         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
959         memset-avx2 unconditionally instead of conditionally on
960         [$(config-cflags-avx2) = yes].
961         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
962         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
963         unconditional.
964         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
965         * sysdeps/x86_64/multiarch/memset_chk.S
966         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
967         to [IS_IN (libc) && SHARED].
969 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
971         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
972         configure test.
973         * sysdeps/arm/configure: Regenerated.
974         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
975         Define variable if not already defined.
977         [BZ #17404]
978         * sysdeps/mips/atomic-machine.h
979         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
980         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
981         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
983         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
984         unconditional.
985         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
986         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
987         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
988         unconditional.
989         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
990         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
991         unconditional.
992         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
993         * stdlib/setenv.c
994         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
995         code unconditional.
996         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
997         Remove conditional code.
998         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
999         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
1000         unconditional.
1001         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
1002         code.
1003         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
1004         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
1005         unconditional.
1006         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
1007         code.
1008         * sysdeps/ieee754/ldbl-128/k_tanl.c
1009         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
1010         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1011         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
1012         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
1013         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1014         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
1015         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
1016         unconditional.
1017         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
1018         code.
1019         * sysdeps/ieee754/ldbl-96/k_tanl.c
1020         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
1021         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1023         * nptl/tst-initializers1-c11.c: New file.
1024         * nptl/tst-initializers1-gnu11.c: Likewise.
1025         * nptl/Makefile (tests): Add these new tests.
1026         (CFLAGS-tst-initializers1-c11.c): New variable.
1027         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
1029         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
1030         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
1031         instead of -std=gnu99.
1032         * configure.ac (systemtap): Test with -std=gnu11 instead of
1033         -std=gnu99.
1034         * configure: Regenerated.
1035         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
1036         in compilation command in comment.
1038         * sysdeps/nptl/configure.ac: Remove file.
1039         * sysdeps/nptl/configure: Remove generated file.
1040         * configure.ac (libc_cv_forced_unwind): Do not substitute.
1041         * configure: Regenerated.
1042         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
1043         * config.make.in (have-forced-unwind): Remove variable.
1044         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
1045         unconditional.
1046         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
1047         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
1048         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
1049         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
1050         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
1051         unconditional.
1053 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1055         [BZ #19174]
1056         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
1057         .skip_lock_out_of_tbegin_retries.
1058         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1059         (__lll_lock_elision): Likewise, and respect a value of
1060         try_tbegin <= 0.
1062 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1064         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
1065         statement.
1067 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
1069         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
1070         variable.
1071         (test-xfail-ISO11/stdalign.h/conform): Likewise.
1072         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1074         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
1075         of -std=c1x -D_ISOC11_SOURCE.
1077         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
1078         * configure: Regenerated.
1079         * manual/install.texi (Tools for Compilation): Document
1080         requirement for GCC 4.7 or later.
1081         * INSTALL: Regenerated.
1083 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
1085         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
1086         on CNT to a conditional jump to 'puntdata'.
1088 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
1090         * configure.ac (libc_cv_gcc___thread): Remove configure test.
1091         (libc_cv_gcc_tls_model_attr): Likewise.
1092         * configure: Regenerated.
1094         * configure.ac (libc_cv_need_minus_P): Remove configure test.
1095         * configure: Regenerated.
1096         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
1098 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
1100         * configure.ac (old_glibc_headers): Remove configure test.
1101         * configure: Regenerated.
1102         * config.make.in (old-glibc-headers): Remove variable.
1103         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
1104         (install): Remove dependency on remove-old-headers.
1105         (headers2_0): Remove variable.
1106         (remove-old-headers): Remove rule.
1108         * configure.ac (libc_cv_dot_text): Remove configure test.
1109         (libc_cv_asm_set_directive): Use .text instead of
1110         ${libc_cv_dot_text} in configure test.
1111         * configure: Regenerated.
1113 2015-10-26  Florian Weimer  <fweimer@redhat.com>
1115         [BZ #19168]
1116         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1118 2015-10-26  Florian Weimer  <fweimer@redhat.com>
1120         * configure.ac (CXX): Clear the variable if the C++ toolchain does
1121         not support static linking.
1122         * configure: Regenerate.
1124 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
1126         * math/libm-test.inc (check_float_internal): Do not special-case
1127         errors up to 0.5 ulp.
1129         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1130         log2.
1131         * math/auto-libm-test-out: Regenerated.
1132         * math/libm-test.inc (MAX_EXP): New macro.
1133         (ilogb_test_data): Add more tests.
1134         (isfinite_test_data): Likewise.
1135         (isgreater_test_data): Likewise.
1136         (isgreaterequal_test_data): Likewise.
1137         (isinf_test_data): Likewise.
1138         (isless_test_data): Likewise.
1139         (islessequal_test_data): Likewise.
1140         (islessgreater_test_data): Likewise.
1141         (isnan_test_data): Likewise.
1142         (isnormal_test_data): Likewise.
1143         (issignaling_test_data): Likewise.
1144         (isunordered_test_data): Likewise.
1145         (j0_test_data): Likewise.
1146         (j1_test_data): Likewise.
1147         (jn_test_data): Likewise.
1148         (lgamma_test_data): Likewise.
1149         (log_test_data): Likewise.
1150         (log10_test_data): Likewise.
1151         (log1p_test_data): Likewise.
1152         (log2_test_data): Likewise.
1153         (logb_test_data): Likewise.
1154         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1156         [BZ #18611]
1157         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
1158         avoid excess range and precision on underflow.
1159         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
1160         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
1161         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1162         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
1163         underflow.
1164         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1165         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1166         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
1167         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1168         * math/auto-libm-test-in: Do not allow missing errno setting for
1169         tests of j1 and jn.
1170         * math/auto-libm-test-out: Regenerated.
1172 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
1174         [BZ #15491]
1175         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
1176         floating-point environment instead of clearing all exceptions.
1177         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1178         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
1179         merging in "invalid" exceptions from frndint.
1180         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1181         * math/test-nearbyint-except.c: New file.
1182         * math/Makefile (tests): Add test-nearbyint-except.
1184 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
1186         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
1188         * sysdeps/tile/libm-test-ulps: Regenerated.
1190 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
1193         (__NR_sync_file_range2): Assume it is always defined.
1194         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
1195         (__NR_sync_file_range): Assume it is always defined.
1197 2015-10-22  Andreas Schwab  <schwab@suse.de>
1199         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
1200         INTERNAL_SYSCALL_ERRNO.
1201         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1202         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
1203         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1204         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
1205         Likewise.
1206         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1208 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
1210         * io/tst-fcntl.c (fd): New static variable.
1211         (do_prepare): Open temporary file here....
1212         (do_test): ...not here.
1214         * io/ftwtest-sh: Also trap on exit to remove temporary files.
1216 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
1218         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
1219         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
1220         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
1221         Moved before "#ifdef __ASSEMBLER__".
1223 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
1225         [BZ #19156]
1226         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
1227         arguments very close to 0.
1229 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
1231         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
1232         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
1234 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
1236         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
1237         New.  Defined for GCC 5 and above when not compiling for
1238         profiling.
1239         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
1241         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
1242         Renamed to ...
1243         (CFLAGS-epoll_pwait.o): This.
1244         (CFLAGS-mmap.c): Renamed to ...
1245         (CFLAGS-mmap.o): This.
1246         (CFLAGS-mmap64.c): Renamed to ...
1247         (CFLAGS-mmap64.o): This.
1248         (CFLAGS-epoll_pwait.os): New.
1249         (CFLAGS-mmap.os): Likewise.
1250         (CFLAGS-mmap64.os): Likewise.
1251         (CFLAGS-semtimedop.os): Likewise.
1252         (CFLAGS-semtimedop.c): Renamed to ...
1253         (CFLAGS-semtimedop.o): This.
1255 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1257         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
1258         warning message.
1260 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
1262         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
1263         * Makefile ($(objpfx)c++-types-check.out): Filter out
1264         $(+gccwarn-c) instead of -Wstrict-prototypes.
1266         * io/fts.c (fts_open): Convert to prototype-style function
1267         definition.
1268         * malloc/mcheck.c (mcheck): Likewise.
1269         (mcheck_pedantic): Likewise.
1270         * posix/regexec.c (re_search_2_stub): Likewise.  Use
1271         internal_function.
1272         (re_search_internal): Likewise.
1273         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
1274         prototype-style function definition.
1275         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
1276         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1277         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
1278         (xdr_utmpptr): Likewise.
1279         (xdr_utmparr): Likewise.
1280         (xdr_utmpidle): Likewise.
1281         (xdr_utmpidleptr): Likewise.
1282         (xdr_utmpidlearr): Likewise.
1284         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
1285         log, log10 and log2.
1286         * math/auto-libm-test-out: Regenerated.
1287         * math/libm-test.inc (fmod_test_data): Add more tests.
1288         (fpclassify_test_data): Likewise.
1289         (frexp_test_data): Likewise.
1290         (hypot_test_data): Likewise.
1291         (ilogb_test_data): Likewise.
1293 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
1295         * debug/fortify_fail.c (__fortify_fail): Convert to
1296         prototype-style function definition.  Use internal_function.
1297         * libio/genops.c (save_for_backup): Convert to prototype-style
1298         function definition.
1299         * libio/wgenops.c (save_for_wbackup): Likewise.
1300         * login/grantpt.c (grantpt): Likewise.
1301         * login/ptsname.c (ptsname): Likewise.
1302         (__ptsname_r): Likewise.
1303         * login/unlockpt.c (unlockpt): Likewise.
1304         * mach/msgserver.c (__mach_msg_server): Likewise.
1305         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
1306         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
1307         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
1308         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
1309         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
1310         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
1311         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
1312         Likewise.
1313         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
1314         internal_function.
1315         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
1316         prototype-style function definition.
1317         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
1318         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
1319         (__pthread_create_2_0): Likewise.
1320         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
1321         * nptl/register-atfork.c (__register_atfork): Likewise.
1322         * posix/glob.c (glob): Likewise.
1323         * posix/regcomp.c (re_comp): Likewise.
1324         * posix/regexec.c (re_exec): Likewise.
1325         * stdlib/add_n.c [__STDC__]: Make code unconditional.
1326         [!__STDC__]: Remove conditional code.
1327         * stdlib/cmp.c [__STDC__]: Make code unconditional.
1328         [!__STDC__]: Remove conditional code.
1329         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
1330         [!__STDC__]: Remove conditional code.
1331         * stdlib/divrem.c [__STDC__]: Make code unconditional.
1332         [!__STDC__]: Remove conditional code.
1333         * stdlib/lshift.c [__STDC__]: Make code unconditional.
1334         [!__STDC__]: Remove conditional code.
1335         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
1336         [!__STDC__]: Remove conditional code.
1337         * stdlib/mul.c [__STDC__]: Make code unconditional.
1338         [!__STDC__]: Remove conditional code.
1339         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
1340         [!__STDC__]: Remove conditional code.
1341         * stdlib/rshift.c [__STDC__]: Make code unconditional.
1342         [!__STDC__]: Remove conditional code.
1343         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
1344         function definition.
1345         (STRTOF): Likewise.
1346         * stdlib/strtod_l.c (__STRTOF): Likewise.
1347         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
1348         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
1349         (__strtol_l): Likewise.
1350         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
1351         [!__STDC__]: Remove conditional code.
1352         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
1353         definition.
1354         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
1355         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1356         type.
1357         (__strcasecmp): Convert to prototype-style function definition.
1358         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
1359         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1360         type.
1361         (__strncasecmp): Convert to prototype-style function definition.
1362         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
1363         * sunrpc/xdr.c (xdr_union): Likewise.
1364         * sunrpc/xdr_array.c (xdr_array): Likewise.
1365         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
1366         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
1367         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
1368         Likewise.
1369         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
1370         Likewise.
1371         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
1372         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
1373         Likewise.
1374         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
1375         (LOCALE_PARAM_PROTO): Likewise.
1376         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
1377         argument type.
1378         (ut_argument_spec): Remove macro.
1379         (ut_argument_spec_iso): Rename to ut_argument_spec.
1380         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
1381         prototype-style function definition.
1382         (memcpy_uppcase): Likewise.
1383         (__strftime_internal): Likewise.
1384         (my_strftime): Likewise.
1385         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
1386         (LOCALE_PARAM_DECL): Likewise.
1387         [_LIBC] (LOCALE_PARAM): Include argument type.
1388         (__strptime_internal): Convert to prototype-style function
1389         definition.
1390         (strptime): Likewise.
1391         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
1392         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1393         type.
1394         (__wcscasecmp): Convert to prototype-style function definition.
1395         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
1396         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1397         type.
1398         (__wcsncasecmp): Convert to prototype-style function definition.
1400         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
1401         function definition.
1402         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1403         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1404         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
1405         * elf/dl-minimal.c (_itoa): Likewise.
1406         * hurd/hurdmalloc.c (malloc): Likewise.
1407         (free): Likewise.
1408         (realloc): Likewise.
1409         * inet/inet6_option.c (inet6_option_space): Likewise.
1410         (inet6_option_init): Likewise.
1411         (inet6_option_append): Likewise.
1412         (inet6_option_alloc): Likewise.
1413         (inet6_option_next): Likewise.
1414         (inet6_option_find): Likewise.
1415         * io/ftw.c (FTW_NAME): Likewise.
1416         (NFTW_NAME): Likewise.
1417         (NFTW_NEW_NAME): Likewise.
1418         (NFTW_OLD_NAME): Likewise.
1419         * libio/iofwide.c (_IO_fwide): Likewise.
1420         * libio/strops.c (_IO_str_init_static_internal): Likewise.
1421         (_IO_str_init_static): Likewise.
1422         (_IO_str_init_readonly): Likewise.
1423         (_IO_str_overflow): Likewise.
1424         (_IO_str_underflow): Likewise.
1425         (_IO_str_count): Likewise.
1426         (_IO_str_seekoff): Likewise.
1427         (_IO_str_pbackfail): Likewise.
1428         (_IO_str_finish): Likewise.
1429         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
1430         (_IO_wstr_overflow): Likewise.
1431         (_IO_wstr_underflow): Likewise.
1432         (_IO_wstr_count): Likewise.
1433         (_IO_wstr_seekoff): Likewise.
1434         (_IO_wstr_pbackfail): Likewise.
1435         (_IO_wstr_finish): Likewise.
1436         * locale/programs/localedef.c (normalize_codeset): Likewise.
1437         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
1438         (add_locales_to_archive): Likewise.
1439         (delete_locales_from_archive): Likewise.
1440         * malloc/malloc.c (__libc_mallinfo): Likewise.
1441         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
1442         * misc/tsearch.c (__tfind): Likewise.
1443         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
1444         * nptl/pthread_attr_getdetachstate.c
1445         (__pthread_attr_getdetachstate): Likewise.
1446         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
1447         Likewise.
1448         * nptl/pthread_attr_getinheritsched.c
1449         (__pthread_attr_getinheritsched): Likewise.
1450         * nptl/pthread_attr_getschedparam.c
1451         (__pthread_attr_getschedparam): Likewise.
1452         * nptl/pthread_attr_getschedpolicy.c
1453         (__pthread_attr_getschedpolicy): Likewise.
1454         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
1455         Likewise.
1456         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
1457         Likewise.
1458         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
1459         Likewise.
1460         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
1461         Likewise.
1462         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
1463         (__pthread_attr_init_2_0): Likewise.
1464         * nptl/pthread_attr_setdetachstate.c
1465         (__pthread_attr_setdetachstate): Likewise.
1466         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
1467         Likewise.
1468         * nptl/pthread_attr_setinheritsched.c
1469         (__pthread_attr_setinheritsched): Likewise.
1470         * nptl/pthread_attr_setschedparam.c
1471         (__pthread_attr_setschedparam): Likewise.
1472         * nptl/pthread_attr_setschedpolicy.c
1473         (__pthread_attr_setschedpolicy): Likewise.
1474         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
1475         Likewise.
1476         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
1477         Likewise.
1478         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
1479         Likewise.
1480         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
1481         Likewise.
1482         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
1483         Likewise.
1484         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
1485         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
1486         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
1487         use internal_function.
1488         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
1489         prototype-style function definition.
1490         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
1491         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
1492         internal_function.
1493         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
1494         Convert to prototype-style function definition.
1495         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1496         Likewise.
1497         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
1498         Likewise.
1499         (__pthread_mutex_unlock): Likewise.
1500         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
1501         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
1502         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
1503         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
1504         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
1505         * nss/makedb.c (process_input): Likewise.
1506         * posix/fnmatch.c (__strchrnul): Likewise.
1507         (__wcschrnul): Likewise.
1508         (fnmatch): Likewise.
1509         * posix/fnmatch_loop.c (FCT): Likewise.
1510         * posix/glob.c (globfree): Likewise.
1511         (__glob_pattern_type): Likewise.
1512         (__glob_pattern_p): Likewise.
1513         * posix/regcomp.c (re_compile_pattern): Likewise.
1514         (re_set_syntax): Likewise.
1515         (re_compile_fastmap): Likewise.
1516         (regcomp): Likewise.
1517         (regerror): Likewise.
1518         (regfree): Likewise.
1519         * posix/regexec.c (regexec): Likewise.
1520         (re_match): Likewise.
1521         (re_search): Likewise.
1522         (re_match_2): Likewise.
1523         (re_search_2): Likewise.
1524         (re_search_stub): Likewise.  Use internal_function
1525         (re_copy_regs): Likewise.
1526         (re_set_registers): Convert to prototype-style function
1527         definition.
1528         (prune_impossible_nodes): Likewise.  Use internal_function.
1529         * resolv/inet_net_pton.c (inet_net_pton): Convert to
1530         prototype-style function definition.
1531         (inet_net_pton_ipv4): Likewise.
1532         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1533         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
1534         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
1535         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
1536         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1537         Make variadic.
1538         * time/strptime_l.c (localtime_r): Convert to prototype-style
1539         function definition.
1540         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1541         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1542         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1543         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1545         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
1546         definition.
1547         (_ufc_doit_r): Likewise.
1548         * crypt/crypt_util.c (_ufc_copymem): Likewise.
1549         (_ufc_output_conversion_r): Likewise.
1550         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
1551         * inet/rcmd.c (rcmd_af): Likewise.
1552         (rcmd): Likewise.
1553         (ruserok_af): Likewise.
1554         (ruserok): Likewise.
1555         (ruserok2_sa): Likewise.
1556         (ruserok_sa): Likewise.
1557         (iruserok_af): Likewise.
1558         (iruserok): Likewise.
1559         (__ivaliduser): Likewise.
1560         (__validuser2_sa): Likewise.
1561         * inet/rexec.c (rexec_af): Likewise.
1562         (rexec): Likewise.
1563         * inet/ruserpass.c (ruserpass): Likewise.
1564         * locale/programs/xmalloc.c (xcalloc): Likewise.
1565         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
1566         * math/w_drem.c (__drem): Likewise.
1567         * math/w_dremf.c (__dremf): Likewise.
1568         * math/w_dreml.c (__dreml): Likewise.
1569         * misc/daemon.c (daemon): Likewise.
1570         * resolv/res_debug.c (p_fqnname): Likewise.
1571         * stdlib/div.c (div): Likewise.
1572         * string/memcmp.c (memcmp_bytes): Likewise.
1573         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
1574         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
1576         * crypt/cert.c (main): Convert to prototype-style function
1577         definition.
1578         * io/pipe.c (__pipe): Likewise.
1579         * io/pipe2.c (__pipe2): Likewise.
1580         * misc/futimesat.c (futimesat): Likewise.
1581         * misc/utimes.c (__utimes): Likewise.
1582         * posix/execve.c (__execve): Likewise.
1583         * posix/execvp.c (execvp): Likewise.
1584         * posix/execvpe.c (__execvpe): Likewise.
1585         * posix/fexecve.c (fexecve): Likewise.
1586         * socket/socketpair.c (socketpair): Likewise.
1587         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
1588         * stdlib/erand48.c (erand48): Likewise.
1589         * stdlib/erand48_r.c (__erand48_r): Likewise.
1590         * stdlib/jrand48.c (jrand48): Likewise.
1591         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
1592         * stdlib/lcong48.c (lcong48): Likewise.
1593         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
1594         * stdlib/nrand48.c (nrand48): Likewise.
1595         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
1596         * stdlib/seed48.c (seed48): Likewise.
1597         * stdlib/seed48_r.c (__seed48_r): Likewise.
1598         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
1599         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
1600         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
1602 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
1604         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
1605         * configure: Regenerated.
1606         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
1607         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
1608         unconditional.
1609         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1610         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1611         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1612         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
1613         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
1614         unconditional.
1615         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1617         * posix/Makefile (CFLAGS-regex.c): Remove variable.
1618         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
1620         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
1621         function definition.
1622         * crypt/crypt_util.c (__encrypt_r): Likewise.
1623         * libio/genops.c (_IO_no_init): Likewise.
1624         * libio/iofopncook.c (_IO_fopencookie): Likewise.
1625         (_IO_old_fopencookie): Likewise.
1626         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1627         * libio/iogetline.c (_IO_getline): Likewise.
1628         (_IO_getline_info): Likewise.
1629         * libio/iogetwline.c (_IO_getwline): Likewise.
1630         (_IO_getwline_info): Likewise.
1631         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
1632         * libio/vswprintf.c (_IO_vswprintf): Likewise.
1633         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
1634         (find_entry): Likewise.
1635         (iterate_table): Likewise.
1636         (lookup): Likewise.
1637         * login/forkpty.c (forkpty): Likewise.
1638         * misc/hsearch_r.c (__hsearch_r): Likewise.
1639         * misc/select.c (__select): Likewise.
1640         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
1641         Likewise.
1642         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
1643         Likewise.
1644         * nptl/old_pthread_cond_timedwait.c
1645         (__pthread_cond_timedwait_2_0): Likewise.
1646         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
1647         * nptl/pthread_barrierattr_getpshared.c
1648         (pthread_barrierattr_getpshared): Likewise.
1649         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
1650         Likewise.
1651         * nptl/pthread_mutex_setprioceiling.c
1652         (pthread_mutex_setprioceiling): Likewise.
1653         * nptl/pthread_mutexattr_getprioceiling.c
1654         (pthread_mutexattr_getprioceiling): Likewise.
1655         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
1656         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1657         Likewise.
1658         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1659         Likewise.
1660         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
1661         Likewise.
1662         * socket/recvfrom.c (__recvfrom): Likewise.
1663         * socket/sendto.c (__sendto): Likewise.
1664         * socket/setsockopt.c (__setsockopt): Likewise.
1665         * stdio-common/_itoa.c (_itoa): Likewise.
1666         * stdio-common/_itowa.c (_itowa): Likewise.
1667         * stdio-common/reg-printf.c (__register_printf_specifier):
1668         Likewise.
1669         (__register_printf_function): Likewise.
1670         * stdio-common/tempname.c (__path_search): Likewise.
1671         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
1672         * stdlib/mul_1.c (mpn_mul_1): Likewise.
1673         * stdlib/random_r.c (__initstate_r): Likewise.
1674         * stdlib/setenv.c (__add_to_environ): Likewise.
1675         * stdlib/submul_1.c (mpn_submul_1): Likewise.
1676         * streams/getpmsg.c (getpmsg): Likewise.
1677         * streams/putmsg.c (putmsg): Likewise.
1678         * streams/putpmsg.c (putpmsg): Likewise.
1679         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
1680         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
1681         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
1682         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
1683         * sunrpc/pm_getport.c (pmap_getport): Likewise.
1684         * sunrpc/svc_udp.c (cache_get): Likewise.
1685         * sunrpc/xdr_array.c (xdr_vector): Likewise.
1686         * sysdeps/mach/hurd/getcwd.c
1687         (__canonicalize_directory_name_internal): Likewise.
1688         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
1689         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
1690         * sysdeps/mach/hurd/select.c (__select): Likewise.
1691         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
1692         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
1693         * sysdeps/sparc/nptl/pthread_barrier_init.c
1694         (__pthread_barrier_init): Likewise.
1695         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
1696         (__pthread_cond_timedwait): Likewise.
1697         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
1698         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
1699         Likewise.
1700         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
1701         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
1702         Likewise.
1703         * sysvipc/semtimedop.c (semtimedop): Likewise.
1704         * time/setitimer.c (__setitimer): Likewise.
1705         * time/strftime_l.c (emacs_strftime): Likewise.
1707 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
1709         * config.make.in (have-ssp): Delete.
1710         (stack-protector): New variable.
1711         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
1712         cache test for -fstack-protector-strong.  Export stack_protector to
1713         the best ssp flag.
1714         * configure: Regenerated.
1715         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
1716         * nscd/Makefile (CFLAGS-nscd): Likewise.
1717         * resolv/Makefile (CFLAGS-libresolv): Likewise.
1719 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
1721         [BZ #19122]
1722         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
1723         attribute_hidden.
1725 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1727         [BZ #18743]
1728         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
1729         code to...
1730         (ELIDE_LOCK): ...here.
1731         (__get_new_count): New function with part of the code from
1732         __elide_lock that updates the value of adapt_count after a
1733         transaction abort.
1734         (__elided_trylock): Moved this code to...
1735         (ELIDE_TRYLOCK): ...here.
1737 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
1739         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
1740         * configure: Regenerate.
1741         * INSTALL: Regenerate.
1742         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
1743         and tweak grammar.
1745 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
1747         * login/programs/pt_chown.c: Include signal.h
1748         (main): Clear any signal mask from the parent process.
1750 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
1752         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
1753         * configure: Regenerated.
1754         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
1755         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
1756         $(gnu89-inline-CFLAGS).
1758         * configure.ac (libc_cv_asm_weak_directive): Remove configure
1759         test.
1760         (libc_cv_asm_weakext_directive): Likewise.
1761         * configure: Regenerated.
1762         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
1763         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
1764         * include/libc-symbols.h
1765         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
1766         #error.
1767         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
1768         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
1770         * sysdeps/arm/backtrace.c (__backtrace): Convert to
1771         prototype-style function definition.
1772         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
1773         * sysdeps/i386/ffs.c (__ffs): Likewise.
1774         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1775         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
1776         Likewise.
1777         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
1778         Likewise.
1779         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
1780         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1781         Likewise.
1782         * sysdeps/m68k/ffs.c (__ffs): Likewise.
1783         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
1784         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
1785         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
1786         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
1787         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
1788         * sysdeps/mach/hurd/access.c (__access): Likewise.
1789         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
1790         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
1791         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
1792         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
1793         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
1794         (cthread_getspecific): Likewise.
1795         (cthread_setspecific): Likewise.
1796         (__libc_getspecific): Likewise.
1797         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
1798         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
1799         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
1800         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
1801         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
1802         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
1803         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
1804         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
1805         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
1806         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
1807         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
1808         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
1809         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
1810         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
1811         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
1812         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
1813         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
1814         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
1815         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
1816         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
1817         * sysdeps/mach/hurd/link.c (__link): Likewise.
1818         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
1819         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
1820         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
1821         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
1822         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
1823         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
1824         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
1825         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
1826         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1827         * sysdeps/mach/hurd/rename.c (rename): Likewise.
1828         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
1829         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
1830         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
1831         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
1832         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
1833         * sysdeps/mach/hurd/send.c (__send): Likewise.
1834         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
1835         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
1836         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
1837         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
1838         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
1839         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
1840         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
1841         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
1842         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
1843         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
1844         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
1845         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
1846         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
1847         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
1848         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
1849         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1850         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
1851         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
1852         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
1853         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1854         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
1855         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
1856         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
1857         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
1858         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
1859         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
1860         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
1861         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
1862         * sysdeps/posix/alarm.c (alarm): Likewise.
1863         * sysdeps/posix/cuserid.c (cuserid): Likewise.
1864         * sysdeps/posix/dirfd.c (dirfd): Likewise.
1865         * sysdeps/posix/dup.c (__dup): Likewise.
1866         * sysdeps/posix/dup2.c (__dup2): Likewise.
1867         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
1868         (main): Likewise.
1869         * sysdeps/posix/flock.c (__flock): Likewise.
1870         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
1871         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
1872         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
1873         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
1874         * sysdeps/posix/isatty.c (__isatty): Likewise.
1875         * sysdeps/posix/killpg.c (killpg): Likewise.
1876         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
1877         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
1878         * sysdeps/posix/raise.c (raise): Likewise.
1879         * sysdeps/posix/remove.c (remove): Likewise.
1880         * sysdeps/posix/rename.c (rename): Likewise.
1881         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
1882         * sysdeps/posix/seekdir.c (seekdir): Likewise.
1883         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
1884         * sysdeps/posix/sigignore.c (sigignore): Likewise.
1885         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
1886         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
1887         * sysdeps/posix/sigset.c (sigset): Likewise.
1888         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
1889         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
1890         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
1891         * sysdeps/posix/time.c (time): Likewise.
1892         * sysdeps/posix/ttyname.c (getttyname): Likewise.
1893         (ttyname): Likewise.
1894         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
1895         * sysdeps/posix/utime.c (utime): Likewise.
1896         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
1897         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
1898         Likewise.
1899         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
1900         (pthread_spin_trylock): Likewise.
1901         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
1902         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
1903         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
1904         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
1905         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
1906         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
1907         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
1908         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
1909         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
1910         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
1911         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
1912         * sysdeps/s390/ffs.c (__ffs): Likewise.
1913         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
1914         Likewise.
1915         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
1916         Likewise.
1917         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
1918         Likewise.
1919         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
1920         (pthread_barrier_destroy): Likewise.
1921         * sysdeps/sparc/nptl/pthread_barrier_wait.c
1922         (__pthread_barrier_wait): Likewise.
1923         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
1924         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1925         (__pthread_barrier_wait): Likewise.
1926         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
1927         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
1928         (memcmp_not_common_alignment): Likewise.
1929         (MEMCMP): Likewise.
1930         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
1931         (_wordcopy_fwd_dest_aligned): Likewise.
1932         (_wordcopy_bwd_aligned): Likewise.
1933         (_wordcopy_bwd_dest_aligned): Likewise.
1934         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
1935         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
1936         * sysdeps/unix/bsd/stty.c (stty): Likewise.
1937         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
1938         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
1939         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
1940         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
1941         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
1942         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
1943         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
1944         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
1945         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
1946         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
1947         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
1948         * sysdeps/unix/stime.c (stime): Likewise.
1949         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
1950         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
1951         Likewise.  Use internal_function.
1952         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
1953         Convert to prototype-style function definition.
1954         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
1955         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
1956         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
1957         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1958         Likewise.  Use internal_function.
1959         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
1960         prototype-style function definition
1961         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1962         Likewise.
1963         (__getlogin_r): Likewise.
1964         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
1965         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
1966         (__pthread_cond_broadcast): Likewise.
1967         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
1968         (__pthread_cond_destroy): Likewise.
1969         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
1970         (__pthread_cond_init): Likewise.
1971         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
1972         (__pthread_cond_signal): Likewise.
1973         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
1974         (__pthread_cond_wait): Likewise.
1975         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
1976         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
1977         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
1978         Likewise.
1979         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
1980         Likewise.
1981         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
1982         Likewise.
1983         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
1984         Likewise.
1985         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
1986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
1987         (__ftruncate64): Likewise.
1988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
1989         (truncate64): Likewise.
1990         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
1991         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
1992         (pthread_getcpuclockid): Likewise.
1993         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
1994         Likewise.
1995         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
1996         Likewise.
1997         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
1998         Likewise.
1999         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
2000         Likewise.
2001         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
2002         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
2003         (__libc_sigaction): Likewise.
2004         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
2005         Likewise.
2006         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
2007         (__sigprocmask): Likewise.
2008         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
2009         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
2010         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
2011         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
2012         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2013         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
2014         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2015         Likewise.
2016         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
2017         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
2018         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2019         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
2020         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
2021         Likewise.
2022         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
2023         (__sigprocmask): Likewise.
2024         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
2025         (cfgetispeed): Likewise.
2026         (cfsetospeed): Likewise.
2027         (cfsetispeed): Likewise.
2028         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
2029         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
2030         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
2031         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
2032         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
2033         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
2034         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
2035         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
2036         Likewise.
2037         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
2038         Likewise.
2039         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
2040         Likewise.
2041         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
2042         Likewise.
2043         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
2045 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2047         sunrpc: Rewrite with explicit TLS access using __thread.
2048         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
2049         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
2050         directly.
2051         (__rpc_thread_variables): Access thread_rpc_vars directly.
2052         Eliminate redundant assignment of the tvp variable.
2054 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2056         malloc: Rewrite with explicit TLS access using __thread.
2057         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
2058         (tsd_setspecific, tsd_getspecific): Remove.
2059         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
2060         (tsd_setspecific, tsd_getspecific): Likewise.
2061         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
2062         (tsd_setspecific, tsd_getspecific): Likewise.
2063         * malloc/arena.c (thread_arena): New TLS variable.
2064         (arena_key): Remove variable.
2065         (arena_get): Use thread_arena.
2066         (arena_lookup): Remove macro.
2067         (malloc_atfork, free_atfork, ptmalloc_lock_all)
2068         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
2069         (_int_new_arena, get_free_list, reused_arena)
2070         (arena_thread_freeres): Use thread_arena.
2071         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
2072         tsd_getspecific, tsd_setspecific from safety annotations.
2073         (Allocating Cleared Space): Remove arena_lookup from safety
2074         annotations.
2076 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2078         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
2079         struct scratch_buffer instead of extend_alloca.
2081 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2083         * sysdeps/unix/sysv/linux/kernel-features.h
2084         (__ASSUME_SOCK_CLOEXEC): Remove.
2085         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
2086         (__have_paccept): Remove unused macro.
2087         * include/unistd.h (__have_sock_cloexec): Remove declaration.
2088         * misc/syslog.c (openlog_internal): Remove fallback code for
2089         !__ASSUME_SOCK_CLOEXEC.
2090         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
2091         missing SOCK_CLOEXEC.
2092         * nscd/connections.c (have_sock_cloexec): Remove definition.
2093         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
2094         * nscd/nscd_helper.c (open_socket): Remove fallback code for
2095         !__ASSUME_SOCK_CLOEXEC.
2096         * resolv/res_send.c (__have_o_nonblock): Remove definition.
2097         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
2098         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
2099         definition.
2100         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
2101         code for !__ASSUME_SOCK_CLOEXEC.
2103 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2105         [BZ #18982]
2106         * manual/stdio.texi (Variable Arguments Output): Add portability
2107         note, explaining that vfprintf clobbers the va_list pointer.
2109 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
2111         * math/libm-test.inc (fabs_test_data): Add more tests.
2112         (fdim_test_data): Likewise.
2113         (fma_test_data): Likewise.
2114         (fmax_test_data): Likewise.
2115         (fmin_test_data): Likewise.
2116         (fmod_test_data): Likewise.
2118 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
2120         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
2121         data.
2123 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
2125         * math/libm-test.inc (ceil_test_data): Add more tests and more
2126         expectations for "inexact".
2127         (floor_test_data): Add more tests.
2128         (round_test_data): Likewise.
2129         (trunc_test_data): Likewise.
2131         * crypt/cert.c (good_bye): Convert to prototype-style function
2132         definition.
2133         (get8): Likewise.
2134         (put8): Likewise.
2135         * crypt/crypt-entry.c (crypt): Likewise.
2136         (__fcrypt): Likewise.
2137         * crypt/crypt_util.c (_ufc_prbits): Likewise.
2138         (_ufc_set_bits): Likewise.
2139         (_ufc_clearmem): Likewise.
2140         (__init_des_r): Likewise.
2141         (shuffle_sb): Likewise.
2142         (shuffle_sb): Likewise.
2143         (_ufc_setup_salt_r): Likewise.
2144         (_ufc_mk_keytab_r): Likewise.
2145         (_ufc_dofinalperm_r): Likewise.
2146         (encrypt): Likewise.
2147         (__setkey_r): Likewise.
2148         (setkey): Likewise.
2149         * crypt/md5.c (md5_init_ctx): Likewise.
2150         (md5_read_ctx): Likewise.
2151         (md5_finish_ctx): Likewise.
2152         (md5_stream): Likewise.
2153         (md5_buffer): Likewise.
2154         (md5_process_bytes): Likewise.
2155         * crypt/sha256.c (__sha256_init_ctx): Likewise.
2156         (__sha256_finish_ctx): Likewise.
2157         (__sha256_process_bytes): Likewise.
2158         * crypt/sha512.c (__sha512_init_ctx): Likewise.
2159         (__sha512_finish_ctx): Likewise.
2160         (__sha512_process_bytes): Likewise.
2161         * ctype/isctype.c (__isctype): Likewise.
2162         * debug/backtrace.c (__backtrace): Likewise.
2163         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
2164         * debug/fgets_chk.c (__fgets_chk): Likewise.
2165         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
2166         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
2167         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2168         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2169         * debug/memset_chk.c (__memset_chk): Likewise.
2170         * debug/strcat_chk.c (__strcat_chk): Likewise.
2171         * debug/strncat_chk.c (__strncat_chk): Likewise.
2172         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
2173         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
2174         * dirent/dirfd.c (dirfd): Likewise.
2175         * dirent/getdents.c (__getdirentries): Likewise.
2176         * dirent/getdents64.c (getdirentries64): Likewise.
2177         * dirent/rewinddir.c (__rewinddir): Likewise.
2178         * dirent/seekdir.c (seekdir): Likewise.
2179         * dirent/telldir.c (telldir): Likewise.
2180         * elf/sln.c (makesymlinks): Likewise.
2181         (makesymlink): Likewise.
2182         * gmon/gmon.c (__moncontrol): Likewise.
2183         (__monstartup): Likewise.
2184         (write_hist): Likewise.
2185         (write_call_graph): Likewise.
2186         (write_bb_counts): Likewise.
2187         * grp/setgroups.c (setgroups): Likewise.
2188         * inet/inet_lnaof.c (inet_lnaof): Likewise.
2189         * inet/inet_net.c (inet_network): Likewise.
2190         * inet/inet_netof.c (inet_netof): Likewise.
2191         * inet/rcmd.c (rresvport_af): Likewise.
2192         (rresvport): Likewise.
2193         * io/access.c (__access): Likewise.
2194         * io/chdir.c (__chdir): Likewise.
2195         * io/chmod.c (__chmod): Likewise.
2196         * io/chown.c (__chown): Likewise.
2197         * io/close.c (__close): Likewise.
2198         * io/creat.c (creat): Likewise.
2199         * io/creat64.c (creat64): Likewise.
2200         * io/dup.c (__dup): Likewise.
2201         * io/dup2.c (__dup2): Likewise.
2202         * io/dup3.c (__dup3): Likewise.
2203         * io/euidaccess.c (__euidaccess): Likewise.
2204         * io/faccessat.c (faccessat): Likewise.
2205         * io/fchmod.c (__fchmod): Likewise.
2206         * io/fchmodat.c (fchmodat): Likewise.
2207         * io/fchown.c (__fchown): Likewise.
2208         * io/fchownat.c (fchownat): Likewise.
2209         * io/fcntl.c (__fcntl): Likewise.
2210         * io/flock.c (__flock): Likewise.
2211         * io/fts.c (fts_load): Likewise.
2212         (fts_close): Likewise.
2213         (fts_read): Likewise.
2214         (fts_set): Likewise.
2215         (fts_children): Likewise.
2216         (fts_build): Likewise.
2217         (fts_stat): Likewise.
2218         (fts_sort): Likewise.
2219         (fts_alloc): Likewise.
2220         (fts_lfree): Likewise.
2221         (fts_palloc): Likewise.
2222         (fts_padjust): Likewise.
2223         (fts_maxarglen): Likewise.
2224         (fts_safe_changedir): Likewise.
2225         * io/getwd.c (getwd): Likewise.
2226         * io/isatty.c (__isatty): Likewise.
2227         * io/lchown.c (__lchown): Likewise.
2228         * io/link.c (__link): Likewise.
2229         * io/linkat.c (linkat): Likewise.
2230         * io/lseek.c (__libc_lseek): Likewise.
2231         * io/mkdir.c (__mkdir): Likewise.
2232         * io/mkdirat.c (mkdirat): Likewise.
2233         * io/mkfifo.c (mkfifo): Likewise.
2234         * io/mkfifoat.c (mkfifoat): Likewise.
2235         * io/open.c (__libc_open): Likewise.
2236         * io/open64.c (__libc_open64): Likewise.
2237         * io/readlink.c (__readlink): Likewise.
2238         * io/readlinkat.c (readlinkat): Likewise.
2239         * io/rmdir.c (__rmdir): Likewise.
2240         * io/symlink.c (__symlink): Likewise.
2241         * io/symlinkat.c (symlinkat): Likewise.
2242         * io/ttyname.c (ttyname): Likewise.
2243         * io/ttyname_r.c (__ttyname_r): Likewise.
2244         * io/umask.c (__umask): Likewise.
2245         * io/unlink.c (__unlink): Likewise.
2246         * io/unlinkat.c (unlinkat): Likewise.
2247         * io/utime.c (utime): Likewise.
2248         * libio/clearerr.c (clearerr): Likewise.
2249         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
2250         * libio/feof.c (_IO_feof): Likewise.
2251         * libio/feof_u.c (feof_unlocked): Likewise.
2252         * libio/ferror.c (_IO_ferror): Likewise.
2253         * libio/ferror_u.c (ferror_unlocked): Likewise.
2254         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2255         * libio/fileno.c (__fileno): Likewise.
2256         * libio/fputc.c (fputc): Likewise.
2257         * libio/fputc_u.c (fputc_unlocked): Likewise.
2258         * libio/fputwc.c (fputwc): Likewise.
2259         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
2260         * libio/freopen.c (freopen): Likewise.
2261         * libio/freopen64.c (freopen64): Likewise.
2262         * libio/fseek.c (fseek): Likewise.
2263         * libio/fseeko.c (fseeko): Likewise.
2264         * libio/fseeko64.c (fseeko64): Likewise.
2265         * libio/ftello.c (__ftello): Likewise.
2266         * libio/ftello64.c (ftello64): Likewise.
2267         * libio/fwide.c (fwide): Likewise.
2268         * libio/genops.c (_IO_un_link): Likewise.
2269         (_IO_link_in): Likewise.
2270         (_IO_least_marker): Likewise.
2271         (_IO_switch_to_main_get_area): Likewise.
2272         (_IO_switch_to_backup_area): Likewise.
2273         (_IO_switch_to_get_mode): Likewise.
2274         (_IO_free_backup_area): Likewise.
2275         (_IO_switch_to_put_mode): Likewise.
2276         (__overflow): Likewise.
2277         (__underflow): Likewise.
2278         (__uflow): Likewise.
2279         (_IO_setb): Likewise.
2280         (_IO_doallocbuf): Likewise.
2281         (_IO_default_underflow): Likewise.
2282         (_IO_default_uflow): Likewise.
2283         (_IO_default_xsputn): Likewise.
2284         (_IO_sgetn): Likewise.
2285         (_IO_default_xsgetn): Likewise.
2286         (_IO_sync): Likewise.
2287         (_IO_default_setbuf): Likewise.
2288         (_IO_default_seekpos): Likewise.
2289         (_IO_default_doallocate): Likewise.
2290         (_IO_init): Likewise.
2291         (_IO_old_init): Likewise.
2292         (_IO_default_sync): Likewise.
2293         (_IO_default_finish): Likewise.
2294         (_IO_default_seekoff): Likewise.
2295         (_IO_sputbackc): Likewise.
2296         (_IO_sungetc): Likewise.
2297         (_IO_set_column): Likewise.
2298         (_IO_set_column): Likewise.
2299         (_IO_adjust_column): Likewise.
2300         (_IO_get_column): Likewise.
2301         (_IO_init_marker): Likewise.
2302         (_IO_remove_marker): Likewise.
2303         (_IO_marker_difference): Likewise.
2304         (_IO_marker_delta): Likewise.
2305         (_IO_seekmark): Likewise.
2306         (_IO_unsave_markers): Likewise.
2307         (_IO_nobackup_pbackfail): Likewise.
2308         (_IO_default_pbackfail): Likewise.
2309         (_IO_default_seek): Likewise.
2310         (_IO_default_stat): Likewise.
2311         (_IO_default_read): Likewise.
2312         (_IO_default_write): Likewise.
2313         (_IO_default_showmanyc): Likewise.
2314         (_IO_default_imbue): Likewise.
2315         (_IO_iter_next): Likewise.
2316         (_IO_iter_file): Likewise.
2317         * libio/getc.c (_IO_getc): Likewise.
2318         * libio/getwc.c (_IO_getwc): Likewise.
2319         * libio/iofclose.c (_IO_new_fclose): Likewise.
2320         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
2321         * libio/iofflush.c (_IO_fflush): Likewise.
2322         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
2323         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
2324         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
2325         * libio/iofgets.c (_IO_fgets): Likewise.
2326         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
2327         * libio/iofgetws.c (fgetws): Likewise.
2328         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
2329         * libio/iofopen64.c (_IO_fopen64): Likewise.
2330         * libio/iofopncook.c (_IO_cookie_read): Likewise.
2331         (_IO_cookie_write): Likewise.
2332         (_IO_cookie_seek): Likewise.
2333         (_IO_cookie_close): Likewise.
2334         (_IO_cookie_seekoff): Likewise.
2335         (_IO_old_cookie_seek): Likewise.
2336         * libio/iofputs.c (_IO_fputs): Likewise.
2337         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
2338         * libio/iofputws.c (fputws): Likewise.
2339         * libio/iofputws_u.c (fputws_unlocked): Likewise.
2340         * libio/iofread.c (_IO_fread): Likewise.
2341         * libio/iofread_u.c (__fread_unlocked): Likewise.
2342         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
2343         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
2344         * libio/ioftell.c (_IO_ftell): Likewise.
2345         * libio/iofwrite.c (_IO_fwrite): Likewise.
2346         * libio/iogetdelim.c (_IO_getdelim): Likewise.
2347         * libio/iogets.c (_IO_gets): Likewise.
2348         * libio/iopadn.c (_IO_padn): Likewise.
2349         * libio/iopopen.c (_IO_new_proc_open): Likewise.
2350         (_IO_new_popen): Likewise.
2351         (_IO_new_proc_close): Likewise.
2352         * libio/ioputs.c (_IO_puts): Likewise.
2353         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
2354         (_IO_seekoff): Likewise.
2355         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
2356         (_IO_seekpos): Likewise.
2357         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
2358         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
2359         * libio/ioungetc.c (_IO_ungetc): Likewise.
2360         * libio/ioungetwc.c (ungetwc): Likewise.
2361         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
2362         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
2363         * libio/iowpadn.c (_IO_wpadn): Likewise.
2364         * libio/libc_fatal.c (__libc_fatal): Likewise.
2365         * libio/memstream.c (__open_memstream): Likewise.
2366         (_IO_mem_sync): Likewise.
2367         (_IO_mem_finish): Likewise.
2368         * libio/oldfileops.c (_IO_old_file_init): Likewise.
2369         (_IO_old_file_close_it): Likewise.
2370         (_IO_old_file_finish): Likewise.
2371         (_IO_old_file_fopen): Likewise.
2372         (_IO_old_file_attach): Likewise.
2373         (_IO_old_file_setbuf): Likewise.
2374         (_IO_old_do_write): Likewise.
2375         (old_do_write): Likewise.
2376         (_IO_old_file_underflow): Likewise.
2377         (_IO_old_file_overflow): Likewise.
2378         (_IO_old_file_sync): Likewise.
2379         (_IO_old_file_seekoff): Likewise.
2380         (_IO_old_file_write): Likewise.
2381         (_IO_old_file_xsputn): Likewise.
2382         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2383         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2384         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
2385         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
2386         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2387         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
2388         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
2389         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
2390         (_IO_old_popen): Likewise.
2391         (_IO_old_proc_close): Likewise.
2392         * libio/oldpclose.c (__old_pclose): Likewise.
2393         * libio/pclose.c (__new_pclose): Likewise.
2394         * libio/peekc.c (_IO_peekc_locked): Likewise.
2395         * libio/putc.c (_IO_putc): Likewise.
2396         * libio/putc_u.c (putc_unlocked): Likewise.
2397         * libio/putchar.c (putchar): Likewise.
2398         * libio/putchar_u.c (putchar_unlocked): Likewise.
2399         * libio/putwc.c (putwc): Likewise.
2400         * libio/putwc_u.c (putwc_unlocked): Likewise.
2401         * libio/putwchar.c (putwchar): Likewise.
2402         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
2403         * libio/rewind.c (rewind): Likewise.
2404         * libio/setbuf.c (setbuf): Likewise.
2405         * libio/setlinebuf.c (setlinebuf): Likewise.
2406         * libio/vasprintf.c (_IO_vasprintf): Likewise.
2407         * libio/vscanf.c (_IO_vscanf): Likewise.
2408         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
2409         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
2410         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
2411         * libio/wgenops.c (_IO_least_wmarker): Likewise.
2412         (_IO_switch_to_main_wget_area): Likewise.
2413         (_IO_switch_to_wbackup_area): Likewise.
2414         (_IO_wsetb): Likewise.
2415         (_IO_wdefault_pbackfail): Likewise.
2416         (_IO_wdefault_finish): Likewise.
2417         (_IO_wdefault_uflow): Likewise.
2418         (__woverflow): Likewise.
2419         (__wuflow): Likewise.
2420         (__wunderflow): Likewise.
2421         (_IO_wdefault_xsputn): Likewise.
2422         (_IO_wdefault_xsgetn): Likewise.
2423         (_IO_wdoallocbuf): Likewise.
2424         (_IO_wdefault_doallocate): Likewise.
2425         (_IO_switch_to_wget_mode): Likewise.
2426         (_IO_free_wbackup_area): Likewise.
2427         (_IO_switch_to_wput_mode): Likewise.
2428         (_IO_sputbackwc): Likewise.
2429         (_IO_sungetwc): Likewise.
2430         (_IO_adjust_wcolumn): Likewise.
2431         (_IO_init_wmarker): Likewise.
2432         (_IO_wmarker_delta): Likewise.
2433         (_IO_seekwmark): Likewise.
2434         (_IO_unsave_wmarkers): Likewise.
2435         * libio/wmemstream.c (open_wmemstream): Likewise.
2436         (_IO_wmem_sync): Likewise.
2437         (_IO_wmem_finish): Likewise.
2438         * locale/nl_langinfo.c (nl_langinfo): Likewise.
2439         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
2440         * locale/programs/simple-hash.c (init_hash): Likewise.
2441         (delete_hash): Likewise.
2442         (insert_entry): Likewise.
2443         (set_entry): Likewise.
2444         (next_prime): Likewise.
2445         (is_prime): Likewise.
2446         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
2447         (xmalloc): Likewise.
2448         (xrealloc): Likewise.
2449         * locale/programs/xstrdup.c (xstrdup): Likewise.
2450         * localedata/collate-test.c (xstrcoll): Likewise.
2451         * localedata/xfrm-test.c (xstrcmp): Likewise.
2452         * login/getlogin_r.c (__getlogin_r): Likewise.
2453         * login/getpt.c (__posix_openpt): Likewise.
2454         * login/login_tty.c (login_tty): Likewise.
2455         * login/setlogin.c (setlogin): Likewise.
2456         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
2457         (mach_msg_destroy_port): Likewise.
2458         (mach_msg_destroy_memory): Likewise.
2459         * malloc/mcheck.c (flood): Likewise.
2460         * misc/acct.c (acct): Likewise.
2461         * misc/brk.c (__brk): Likewise.
2462         * misc/chflags.c (chflags): Likewise.
2463         * misc/chroot.c (chroot): Likewise.
2464         * misc/fchflags.c (fchflags): Likewise.
2465         * misc/fstab.c (getfsspec): Likewise.
2466         (getfsfile): Likewise.
2467         * misc/fsync.c (fsync): Likewise.
2468         * misc/ftruncate.c (__ftruncate): Likewise.
2469         * misc/ftruncate64.c (__ftruncate64): Likewise.
2470         * misc/getdomain.c (getdomainname): Likewise.
2471         (getdomainname): Likewise.
2472         * misc/gethostname.c (__gethostname): Likewise.
2473         * misc/getpass.c (getpass): Likewise.
2474         * misc/getttyent.c (skip): Likewise.
2475         (value): Likewise.
2476         * misc/gtty.c (gtty): Likewise.
2477         * misc/hsearch.c (hsearch): Likewise.
2478         (hcreate): Likewise.
2479         * misc/hsearch_r.c (__hcreate_r): Likewise.
2480         (__hdestroy_r): Likewise.
2481         * misc/ioctl.c (__ioctl): Likewise.
2482         * misc/mkdtemp.c (mkdtemp): Likewise.
2483         * misc/mkostemp.c (mkostemp): Likewise.
2484         * misc/mkostemp64.c (mkostemp64): Likewise.
2485         * misc/mkostemps.c (mkostemps): Likewise.
2486         * misc/mkostemps64.c (mkostemps64): Likewise.
2487         * misc/mkstemp.c (mkstemp): Likewise.
2488         * misc/mkstemp64.c (mkstemp64): Likewise.
2489         * misc/mkstemps.c (mkstemps): Likewise.
2490         * misc/mkstemps64.c (mkstemps64): Likewise.
2491         * misc/mktemp.c (__mktemp): Likewise.
2492         * misc/preadv.c (preadv): Likewise.
2493         * misc/preadv64.c (preadv64): Likewise.
2494         * misc/pwritev.c (pwritev): Likewise.
2495         * misc/pwritev64.c (pwritev64): Likewise.
2496         * misc/readv.c (__readv): Likewise.
2497         * misc/revoke.c (revoke): Likewise.
2498         * misc/setdomain.c (setdomainname): Likewise.
2499         * misc/setegid.c (setegid): Likewise.
2500         * misc/seteuid.c (seteuid): Likewise.
2501         * misc/sethostid.c (sethostid): Likewise.
2502         * misc/sethostname.c (sethostname): Likewise.
2503         * misc/setregid.c (__setregid): Likewise.
2504         * misc/setreuid.c (__setreuid): Likewise.
2505         * misc/sstk.c (sstk): Likewise.
2506         * misc/stty.c (stty): Likewise.
2507         * misc/syscall.c (syscall): Likewise.
2508         * misc/syslog.c (setlogmask): Likewise.
2509         * misc/truncate.c (__truncate): Likewise.
2510         * misc/truncate64.c (truncate64): Likewise.
2511         * misc/ualarm.c (ualarm): Likewise.
2512         * misc/usleep.c (usleep): Likewise.
2513         * misc/ustat.c (ustat): Likewise.
2514         * misc/writev.c (__writev): Likewise.
2515         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
2516         * nptl/old_pthread_cond_broadcast.c
2517         (__pthread_cond_broadcast_2_0): Likewise.
2518         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
2519         Likewise.
2520         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
2521         Likewise.
2522         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
2523         Likewise.
2524         * nptl/pt-raise.c (raise): Likewise.
2525         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
2526         Likewise.
2527         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
2528         * nptl/pthread_barrierattr_destroy.c
2529         (pthread_barrierattr_destroy): Likewise.
2530         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
2531         Likewise.
2532         * nptl/pthread_barrierattr_setpshared.c
2533         (pthread_barrierattr_setpshared): Likewise.
2534         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2535         Likewise.
2536         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
2537         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
2538         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
2539         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
2540         Likewise.
2541         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
2542         Likewise.
2543         * nptl/pthread_condattr_getpshared.c
2544         (pthread_condattr_getpshared): Likewise.
2545         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
2546         Likewise.
2547         * nptl/pthread_condattr_setpshared.c
2548         (pthread_condattr_setpshared): Likewise.
2549         * nptl/pthread_detach.c (pthread_detach): Likewise.
2550         * nptl/pthread_equal.c (__pthread_equal): Likewise.
2551         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
2552         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
2553         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
2554         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
2555         Likewise.
2556         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
2557         Likewise.
2558         * nptl/pthread_mutex_getprioceiling.c
2559         (pthread_mutex_getprioceiling): Likewise.
2560         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
2561         Likewise.
2562         * nptl/pthread_mutexattr_getprotocol.c
2563         (pthread_mutexattr_getprotocol): Likewise.
2564         * nptl/pthread_mutexattr_getpshared.c
2565         (pthread_mutexattr_getpshared): Likewise.
2566         * nptl/pthread_mutexattr_getrobust.c
2567         (pthread_mutexattr_getrobust): Likewise.
2568         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
2569         Likewise.
2570         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
2571         Likewise.
2572         * nptl/pthread_mutexattr_setprioceiling.c
2573         (pthread_mutexattr_setprioceiling): Likewise.
2574         * nptl/pthread_mutexattr_setprotocol.c
2575         (pthread_mutexattr_setprotocol): Likewise.
2576         * nptl/pthread_mutexattr_setpshared.c
2577         (pthread_mutexattr_setpshared): Likewise.
2578         * nptl/pthread_mutexattr_setrobust.c
2579         (pthread_mutexattr_setrobust): Likewise.
2580         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
2581         Likewise.
2582         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
2583         Likewise.
2584         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
2585         Likewise.
2586         * nptl/pthread_rwlockattr_getkind_np.c
2587         (pthread_rwlockattr_getkind_np): Likewise.
2588         * nptl/pthread_rwlockattr_getpshared.c
2589         (pthread_rwlockattr_getpshared): Likewise.
2590         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
2591         Likewise.
2592         * nptl/pthread_rwlockattr_setkind_np.c
2593         (pthread_rwlockattr_setkind_np): Likewise.
2594         * nptl/pthread_rwlockattr_setpshared.c
2595         (pthread_rwlockattr_setpshared): Likewise.
2596         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
2597         Likewise.
2598         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
2599         Likewise.
2600         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
2601         Likewise.
2602         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
2603         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
2604         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
2605         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
2606         * nptl/sem_close.c (sem_close): Likewise.
2607         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
2608         * nptl/sem_init.c (__old_sem_init): Likewise.
2609         * nptl/sigaction.c (__sigaction): Likewise.
2610         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
2611         * posix/_exit.c (_exit): Likewise.
2612         * posix/alarm.c (alarm): Likewise.
2613         * posix/confstr.c (confstr): Likewise.
2614         * posix/fpathconf.c (__fpathconf): Likewise.
2615         * posix/getgroups.c (__getgroups): Likewise.
2616         * posix/getpgid.c (__getpgid): Likewise.
2617         * posix/group_member.c (__group_member): Likewise.
2618         * posix/pathconf.c (__pathconf): Likewise.
2619         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
2620         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
2621         * posix/setgid.c (__setgid): Likewise.
2622         * posix/setpgid.c (__setpgid): Likewise.
2623         * posix/setuid.c (__setuid): Likewise.
2624         * posix/sleep.c (__sleep): Likewise.
2625         * posix/sysconf.c (__sysconf): Likewise.
2626         * posix/times.c (__times): Likewise.
2627         * posix/uname.c (__uname): Likewise.
2628         * posix/waitid.c (__waitid): Likewise.
2629         * pwd/getpw.c (__getpw): Likewise.
2630         * resolv/base64.c (b64_pton): Likewise.
2631         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
2632         * resolv/gethnamaddr.c (Dprintf): Likewise.
2633         (gethostbyname): Likewise.
2634         (gethostbyname2): Likewise.
2635         (gethostbyaddr): Likewise.
2636         (_sethtent): Likewise.
2637         (_gethtbyname): Likewise.
2638         (_gethtbyname2): Likewise.
2639         (_gethtbyaddr): Likewise.
2640         (map_v4v6_address): Likewise.
2641         (map_v4v6_hostent): Likewise.
2642         (addrsort): Likewise.
2643         (ht_sethostent): Likewise.
2644         (ht_gethostbyname): Likewise.
2645         (ht_gethostbyaddr): Likewise.
2646         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
2647         (inet_net_ntop_ipv4): Likewise.
2648         * resolv/inet_neta.c (inet_neta): Likewise.
2649         * resolv/inet_ntop.c (inet_ntop): Likewise.
2650         (inet_ntop4): Likewise.
2651         (inet_ntop6): Likewise.
2652         * resolv/inet_pton.c (__inet_pton): Likewise.
2653         (inet_pton4): Likewise.
2654         (inet_pton6): Likewise.
2655         * resolv/res_debug.c (loc_aton): Likewise.
2656         (loc_ntoa): Likewise.
2657         * resource/getpriority.c (__getpriority): Likewise.
2658         * resource/getrusage.c (__getrusage): Likewise.
2659         * resource/nice.c (nice): Likewise.
2660         * resource/setpriority.c (__setpriority): Likewise.
2661         * resource/setrlimit64.c (setrlimit64): Likewise.
2662         * resource/vlimit.c (vlimit): Likewise.
2663         * resource/vtimes.c (vtimes): Likewise.
2664         * rt/aio_error.c (aio_error): Likewise.
2665         * rt/aio_return.c (aio_return): Likewise.
2666         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
2667         * signal/kill.c (__kill): Likewise.
2668         * signal/killpg.c (killpg): Likewise.
2669         * signal/raise.c (raise): Likewise.
2670         * signal/sigaction.c (__sigaction): Likewise.
2671         * signal/sigaddset.c (sigaddset): Likewise.
2672         * signal/sigaltstack.c (sigaltstack): Likewise.
2673         * signal/sigandset.c (sigandset): Likewise.
2674         * signal/sigblock.c (__sigblock): Likewise.
2675         * signal/sigdelset.c (sigdelset): Likewise.
2676         * signal/sigempty.c (sigemptyset): Likewise.
2677         * signal/sigfillset.c (sigfillset): Likewise.
2678         * signal/sighold.c (sighold): Likewise.
2679         * signal/sigignore.c (sigignore): Likewise.
2680         * signal/sigintr.c (siginterrupt): Likewise.
2681         * signal/sigisempty.c (sigisemptyset): Likewise.
2682         * signal/sigismem.c (sigismember): Likewise.
2683         * signal/signal.c (signal): Likewise.
2684         * signal/sigorset.c (sigorset): Likewise.
2685         * signal/sigpause.c (__sigpause): Likewise.
2686         * signal/sigpending.c (sigpending): Likewise.
2687         * signal/sigprocmask.c (__sigprocmask): Likewise.
2688         * signal/sigrelse.c (sigrelse): Likewise.
2689         * signal/sigreturn.c (__sigreturn): Likewise.
2690         * signal/sigset.c (sigset): Likewise.
2691         * signal/sigsetmask.c (__sigsetmask): Likewise.
2692         * signal/sigstack.c (sigstack): Likewise.
2693         * signal/sigsuspend.c (__sigsuspend): Likewise.
2694         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
2695         * signal/sysv_signal.c (__sysv_signal): Likewise.
2696         * socket/accept.c (accept): Likewise.
2697         * socket/accept4.c (__libc_accept4): Likewise.
2698         * socket/bind.c (__bind): Likewise.
2699         * socket/connect.c (__connect): Likewise.
2700         * socket/getpeername.c (getpeername): Likewise.
2701         * socket/getsockname.c (__getsockname): Likewise.
2702         * socket/getsockopt.c (getsockopt): Likewise.
2703         * socket/listen.c (__listen): Likewise.
2704         * socket/recv.c (__recv): Likewise.
2705         * socket/recvmsg.c (__recvmsg): Likewise.
2706         * socket/send.c (__send): Likewise.
2707         * socket/sendmsg.c (__sendmsg): Likewise.
2708         * socket/shutdown.c (shutdown): Likewise.
2709         * socket/sockatmark.c (sockatmark): Likewise.
2710         * socket/socket.c (__socket): Likewise.
2711         * stdio-common/ctermid.c (ctermid): Likewise.
2712         * stdio-common/cuserid.c (cuserid): Likewise.
2713         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
2714         * stdio-common/remove.c (remove): Likewise.
2715         * stdio-common/rename.c (rename): Likewise.
2716         * stdio-common/renameat.c (renameat): Likewise.
2717         * stdio-common/tempname.c (__gen_tempname): Likewise.
2718         * stdio-common/xbug.c (InitBuffer): Likewise.
2719         (AppendToBuffer): Likewise.
2720         (ReadFile): Likewise.
2721         * stdlib/a64l.c (a64l): Likewise.
2722         * stdlib/drand48_r.c (drand48_r): Likewise.
2723         * stdlib/getcontext.c (getcontext): Likewise.
2724         * stdlib/getenv.c (getenv): Likewise.
2725         * stdlib/l64a.c (l64a): Likewise.
2726         * stdlib/llabs.c (llabs): Likewise.
2727         * stdlib/lldiv.c (lldiv): Likewise.
2728         * stdlib/lrand48_r.c (lrand48_r): Likewise.
2729         * stdlib/mrand48_r.c (mrand48_r): Likewise.
2730         * stdlib/putenv.c (putenv): Likewise.
2731         * stdlib/random.c (__srandom): Likewise.
2732         (__initstate): Likewise.
2733         (__setstate): Likewise.
2734         * stdlib/random_r.c (__srandom_r): Likewise.
2735         (__setstate_r): Likewise.
2736         (__random_r): Likewise.
2737         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
2738         * stdlib/setcontext.c (setcontext): Likewise.
2739         * stdlib/setenv.c (setenv): Likewise.
2740         (unsetenv): Likewise.
2741         * stdlib/srand48.c (srand48): Likewise.
2742         * stdlib/srand48_r.c (__srand48_r): Likewise.
2743         * stdlib/swapcontext.c (swapcontext): Likewise.
2744         * stdlib/system.c (__libc_system): Likewise.
2745         * stdlib/tst-strtod.c (expand): Likewise.
2746         * stdlib/tst-strtol.c (expand): Likewise.
2747         * stdlib/tst-strtoll.c (expand): Likewise.
2748         * streams/fattach.c (fattach): Likewise.
2749         * streams/fdetach.c (fdetach): Likewise.
2750         * streams/getmsg.c (getmsg): Likewise.
2751         * streams/isastream.c (isastream): Likewise.
2752         * string/ffs.c (__ffs): Likewise.
2753         * string/ffsll.c (ffsll): Likewise.
2754         * string/memcmp.c (memcmp_common_alignment): Likewise.
2755         (memcmp_not_common_alignment): Likewise.
2756         (MEMCMP): Likewise.
2757         * string/memcpy.c (memcpy): Likewise.
2758         * string/memmove.c (MEMMOVE): Likewise.
2759         * string/memset.c (memset): Likewise.
2760         * string/rawmemchr.c (RAWMEMCHR): Likewise.
2761         * string/strchrnul.c (STRCHRNUL): Likewise.
2762         * string/strerror.c (strerror): Likewise.
2763         * string/strndup.c (__strndup): Likewise.
2764         * string/strverscmp.c (__strverscmp): Likewise.
2765         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
2766         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
2767         (clnttcp_freeres): Likewise.
2768         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
2769         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
2770         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
2771         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
2772         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
2773         (xdr_callhdr): Likewise.
2774         * sunrpc/rpcinfo.c (udpping): Likewise.
2775         (tcpping): Likewise.
2776         (pstatus): Likewise.
2777         (pmapdump): Likewise.
2778         (brdcst): Likewise.
2779         (deletereg): Likewise.
2780         (getprognum): Likewise.
2781         (getvers): Likewise.
2782         (get_inet_address): Likewise.
2783         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
2784         * sunrpc/svc_udp.c (svcudp_create): Likewise.
2785         (svcudp_stat): Likewise.
2786         (svcudp_recv): Likewise.
2787         (svcudp_reply): Likewise.
2788         (svcudp_getargs): Likewise.
2789         (svcudp_freeargs): Likewise.
2790         (svcudp_destroy): Likewise.
2791         * sunrpc/xdr.c (xdr_bytes): Likewise.
2792         (xdr_netobj): Likewise.
2793         (xdr_string): Likewise.
2794         (xdr_wrapstring): Likewise.
2795         * sunrpc/xdr_float.c (xdr_float): Likewise.
2796         (xdr_double): Likewise.
2797         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
2798         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
2799         * sysvipc/ftok.c (ftok): Likewise.
2800         * sysvipc/msgctl.c (msgctl): Likewise.
2801         * sysvipc/msgget.c (msgget): Likewise.
2802         * sysvipc/msgrcv.c (msgrcv): Likewise.
2803         * sysvipc/msgsnd.c (msgsnd): Likewise.
2804         * sysvipc/semget.c (semget): Likewise.
2805         * sysvipc/semop.c (semop): Likewise.
2806         * sysvipc/shmat.c (shmat): Likewise.
2807         * sysvipc/shmctl.c (shmctl): Likewise.
2808         * sysvipc/shmdt.c (shmdt): Likewise.
2809         * sysvipc/shmget.c (shmget): Likewise.
2810         * termios/cfmakeraw.c (cfmakeraw): Likewise.
2811         * termios/speed.c (cfgetospeed): Likewise.
2812         (cfgetispeed): Likewise.
2813         (cfsetospeed): Likewise.
2814         (cfsetispeed): Likewise.
2815         * termios/tcflow.c (tcflow): Likewise.
2816         * termios/tcflush.c (tcflush): Likewise.
2817         * termios/tcgetattr.c (__tcgetattr): Likewise.
2818         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
2819         * termios/tcgetsid.c (tcgetsid): Likewise.
2820         * termios/tcsendbrk.c (tcsendbreak): Likewise.
2821         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
2822         * time/adjtime.c (__adjtime): Likewise.
2823         * time/dysize.c (dysize): Likewise.
2824         * time/ftime.c (ftime): Likewise.
2825         * time/getitimer.c (__getitimer): Likewise.
2826         * time/gettimeofday.c (__gettimeofday): Likewise.
2827         * time/gmtime.c (__gmtime_r): Likewise.
2828         (gmtime): Likewise.
2829         * time/localtime.c (__localtime_r): Likewise.
2830         (localtime): Likewise.
2831         * time/offtime.c (__offtime): Likewise.
2832         * time/settimeofday.c (__settimeofday): Likewise.
2833         * time/stime.c (stime): Likewise.
2834         * time/strftime_l.c (tm_diff): Likewise.
2835         (iso_week_days): Likewise.
2836         * time/strptime.c (strptime): Likewise.
2837         * time/time.c (time): Likewise.
2838         * time/timespec_get.c (timespec_get): Likewise.
2839         * time/tzset.c (tzset_internal): Likewise.
2840         (compute_change): Likewise.
2841         (__tz_compute): Likewise.
2842         * wcsmbs/btowc.c (__btowc): Likewise.
2843         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
2844         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
2845         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
2846         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
2847         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
2848         * wcsmbs/wcscat.c (__wcscat): Likewise.
2849         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2850         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
2851         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
2852         * wcsmbs/wcscspn.c (wcscspn): Likewise.
2853         * wcsmbs/wcsdup.c (wcsdup): Likewise.
2854         * wcsmbs/wcslen.c (__wcslen): Likewise.
2855         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
2856         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
2857         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
2858         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
2859         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2860         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
2861         * wcsmbs/wcsspn.c (wcsspn): Likewise.
2862         * wcsmbs/wcsstr.c (wcsstr): Likewise.
2863         * wcsmbs/wcstok.c (wcstok): Likewise.
2864         * wcsmbs/wctob.c (wctob): Likewise.
2865         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
2866         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2867         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
2868         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
2869         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
2870         * wcsmbs/wmemset.c (__wmemset): Likewise.
2871         * wctype/wcfuncs.c (__towlower): Likewise.
2872         (__towupper): Likewise.
2874         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
2875         (lll_unlock_elision): Add adapt_count parameter.
2877 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
2879         * sysdeps/nptl/configure.ac: Do not give errors based on the
2880         results of top-level configure tests.
2881         * sysdeps/nptl/configure: Regenerated.
2883         * configure.ac (libc_cv_Bgroup): Remove configure test.
2884         * configure: Regenerated.
2885         * config.make.in (have-Bgroup): Remove variable.
2887         * configure.ac (sizeof_long_double): Remove configure test.
2888         * configure: Regenerated.
2889         * config.make.in (sizeof-long-double): Remove variable.
2891         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
2892         * configure: Regenerated.
2893         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
2894         variable.
2895         (exceptions): Likewise.
2896         * sysdeps/arm/configure: Regenerated.
2897         * config.make.in (exceptions): Remove variable.
2898         * Makeconfig (uses-callbacks): Use -fexceptions instead of
2899         $(exceptions).
2900         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
2901         (CFLAGS-vdprintf_chk.c): Likewise.
2902         (CFLAGS-printf_chk.c): Likewise.
2903         (CFLAGS-fprintf_chk.c): Likewise.
2904         (CFLAGS-vprintf_chk.c): Likewise.
2905         (CFLAGS-vfprintf_chk.c): Likewise.
2906         (CFLAGS-gets_chk.c): Likewise.
2907         (CFLAGS-fgets_chk.c): Likewise.
2908         (CFLAGS-fgets_u_chk.c): Likewise.
2909         (CFLAGS-fread_chk.c): Likewise.
2910         (CFLAGS-fread_u_chk.c): Likewise.
2911         (CFLAGS-wprintf_chk.c): Likewise.
2912         (CFLAGS-fwprintf_chk.c): Likewise.
2913         (CFLAGS-vwprintf_chk.c): Likewise.
2914         (CFLAGS-vfwprintf_chk.c): Likewise.
2915         (CFLAGS-fgetws_chk.c): Likewise.
2916         (CFLAGS-fgetws_u_chk.c): Likewise.
2917         * libio/Makefile (CFLAGS-fileops.c): Likewise.
2918         (CFLAGS-fputc.c): Likewise.
2919         (CFLAGS-fputwc.c): Likewise.
2920         (CFLAGS-freopen64.c): Likewise.
2921         (CFLAGS-freopen.c): Likewise.
2922         (CFLAGS-fseek.c): Likewise.
2923         (CFLAGS-fseeko64.c): Likewise.
2924         (CFLAGS-fseeko.c): Likewise.
2925         (CFLAGS-ftello64.c): Likewise.
2926         (CFLAGS-ftello.c): Likewise.
2927         (CFLAGS-fwide.c): Likewise.
2928         (CFLAGS-genops.c): Likewise.
2929         (CFLAGS-getc.c): Likewise.
2930         (CFLAGS-getchar.c): Likewise.
2931         (CFLAGS-getwc.c): Likewise.
2932         (CFLAGS-getwchar.c): Likewise.
2933         (CFLAGS-iofclose.c): Likewise.
2934         (CFLAGS-iofflush.c): Likewise.
2935         (CFLAGS-iofgetpos64.c): Likewise.
2936         (CFLAGS-iofgetpos.c): Likewise.
2937         (CFLAGS-iofgets.c): Likewise.
2938         (CFLAGS-iofgetws.c): Likewise.
2939         (CFLAGS-iofputs.c): Likewise.
2940         (CFLAGS-iofputws.c): Likewise.
2941         (CFLAGS-iofread.c): Likewise.
2942         (CFLAGS-iofsetpos64.c): Likewise.
2943         (CFLAGS-iofsetpos.c): Likewise.
2944         (CFLAGS-ioftell.c): Likewise.
2945         (CFLAGS-iofwrite.c): Likewise.
2946         (CFLAGS-iogetdelim.c): Likewise.
2947         (CFLAGS-iogetline.c): Likewise.
2948         (CFLAGS-iogets.c): Likewise.
2949         (CFLAGS-iogetwline.c): Likewise.
2950         (CFLAGS-ioputs.c): Likewise.
2951         (CFLAGS-ioseekoff.c): Likewise.
2952         (CFLAGS-ioseekpos.c): Likewise.
2953         (CFLAGS-iosetbuffer.c): Likewise.
2954         (CFLAGS-iosetvbuf.c): Likewise.
2955         (CFLAGS-ioungetc.c): Likewise.
2956         (CFLAGS-ioungetwc.c): Likewise.
2957         (CFLAGS-oldfileops.c): Likewise.
2958         (CFLAGS-oldiofclose.c): Likewise.
2959         (CFLAGS-oldiofgetpos64.c): Likewise.
2960         (CFLAGS-oldiofgetpos.c): Likewise.
2961         (CFLAGS-oldiofsetpos64.c): Likewise.
2962         (CFLAGS-oldiofsetpos.c): Likewise.
2963         (CFLAGS-peekc.c): Likewise.
2964         (CFLAGS-putc.c): Likewise.
2965         (CFLAGS-putchar.c): Likewise.
2966         (CFLAGS-putwc.c): Likewise.
2967         (CFLAGS-putwchar.c): Likewise.
2968         (CFLAGS-rewind.c): Likewise.
2969         (CFLAGS-wfileops.c): Likewise.
2970         (CFLAGS-wgenops.c): Likewise.
2971         (CFLAGS-oldiofopen.c): Likewise.
2972         (CFLAGS-iofopen.c): Likewise.
2973         (CFLAGS-iofopen64.c): Likewise.
2974         (CFLAGS-oldtmpfile.c): Likewise.
2975         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
2976         (CFLAGS-fprintf.c): Likewise.
2977         (CFLAGS-printf.c): Likewise.
2978         (CFLAGS-vfwprintf.c): Likewise.
2979         (CFLAGS-vfscanf.c): Likewise.
2980         (CFLAGS-vfwscanf.c): Likewise.
2981         (CFLAGS-fscanf.c): Likewise.
2982         (CFLAGS-scanf.c): Likewise.
2983         (CFLAGS-isoc99_vfscanf.c): Likewise.
2984         (CFLAGS-isoc99_vscanf.c): Likewise.
2985         (CFLAGS-isoc99_fscanf.c): Likewise.
2986         (CFLAGS-isoc99_scanf.c): Likewise.
2987         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
2988         (CFLAGS-isoc99_fwscanf.c): Likewise.
2989         (CFLAGS-isoc99_vwscanf.c): Likewise.
2990         (CFLAGS-isoc99_vfwscanf.c): Likewise.
2992         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
2993         after mkstemp64.
2994         * login/tst-utmp.c (do_prepare): Likewise.
2995         * rt/tst-aio.c (do_prepare): Likewise.
2996         * rt/tst-aio64.c (do_prepare): Likewise.
2998 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3000         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3001         (__lll_lock_elision): Remove adapt_count decrement...
3002         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3003         (__lll_trylock_elision): Likewise.
3004         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
3005         (__lll_unlock_elision): ... to here. And utilize
3006         new adapt_count parameter.
3007         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
3008         (__lll_unlock_elision): Update to include adapt_count
3009         parameter.
3010         (lll_unlock_elision): Pass pointer to adapt_count
3011         variable.
3013 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3015         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
3016         Add elision adapt_count parameter to list of arguments.
3017         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
3018         (lll_unlock_elision): Update with new parameter list
3019         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
3020         (lll_unlock_elision): Likewise
3021         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
3022         (lll_unlock_elision): Likewise
3024 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3026         [BZ #19122]
3027         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
3028         attribute_hidden.
3030         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
3031         attribute_hidden.
3032         [IS_IN (rtld)] (__strdup): Likewise.
3033         [IS_IN (rtld)] (__strerror_r): Likewise.
3034         [IS_IN (rtld)] (__strsep_g): Likewise.
3035         [IS_IN (rtld)] (memchr): Likewise.
3036         [IS_IN (rtld)] (memcmp): Likewise.
3037         [IS_IN (rtld)] (memcpy): Likewise.
3038         [IS_IN (rtld)] (memmove): Likewise.
3039         [IS_IN (rtld)] (memset): Likewise.
3040         [IS_IN (rtld)] (rawmemchr): Likewise.
3041         [IS_IN (rtld)] (stpcpy): Likewise.
3042         [IS_IN (rtld)] (strchr): Likewise.
3043         [IS_IN (rtld)] (strcmp): Likewise.
3044         [IS_IN (rtld)] (strlen): Likewise.
3045         [IS_IN (rtld)] (strnlen): Likewise.
3046         [IS_IN (rtld)] (strsep): Likewise.
3048         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
3049         attribute_hidden.
3050         [IS_IN (rtld)] (__strtoul_internal): Likewise.
3052         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
3053         attribute_hidden.
3054         [IS_IN (rtld)] (__libc_sigaction): Likewise.
3056         * include/setjmp.h (__longjmp): Add attribute_hidden.
3057         [IS_IN (rtld)] (__sigsetjmp): Likewise.
3059         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
3060         Add attribute_hidden.
3062         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
3063         [IS_IN (rtld)] (__open): Likewise.
3064         [IS_IN (rtld)] (__fcntl): Likewise.
3066         * include/dirent.h (__opendirat): Add attribute_hidden.
3067         (__getdents): Likewise.
3068         (__getdents64): Likewise.
3069         (__alloc_dir): Likewise.
3070         [IS_IN (rtld)] (__closedir): Likewise.
3071         [IS_IN (rtld)] (__fdopendir): Likewise.
3072         [IS_IN (rtld)] (__readdir): Likewise.
3073         [IS_IN (rtld)] (__readdir64): Likewise.
3074         [IS_IN (rtld)] (__rewinddir): Likewise.
3076         * include/dlfcn.h (_dl_catch_error): Moved to ...
3077         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
3078         attribute_hidden.
3080         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
3081         (_itoa_word): Likewise.
3083         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
3084         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
3085         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
3086         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
3087         (_dl_higher_prime_number): Likewise.
3088         (_dl_debug_printf_c): Likewise.
3089         (_dl_signal_cerror): Likewise.
3090         (_dl_receive_error): Likewise.
3091         (_dl_reloc_bad_type): Likewise.
3092         (_dl_resolve_conflicts): Likewise.
3093         (_dl_check_all_versions): Likewise.
3094         (_dl_check_map_versions): Likewise.
3095         (_dl_sort_fini): Likewise.
3096         (_dl_debug_initialize): Likewise.
3097         (_dl_init_paths): Likewise.
3098         (_dl_show_auxv): Likewise.
3099         (_dl_next_ld_env_entry): Likewise.
3100         (_dl_important_hwcaps): Likewise.
3101         (_dl_load_cache_lookup): Likewise.
3102         (_dl_update_slotinfo): Likewise.
3103         (_dl_show_scope): Likewise.
3105         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
3106         attribute_hidden.
3107         (_wordcopy_fwd_dest_aligned): Likewise.
3108         (_wordcopy_bwd_aligned): Likewise.
3109         (_wordcopy_bwd_dest_aligned): Likewise.
3111         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3112         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
3113         Likewise.
3114         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
3115         Likewise.
3116         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
3118 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3120         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
3121         GCC 5 requirement.
3123 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
3125         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
3126         test.
3127         * sysdeps/i386/configure: Regenerated.
3128         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
3129         code unconditional.
3131         * configure.ac (libc_cv_asm_previous_directive): Remove configure
3132         test.
3133         (libc_cv_asm_popsection_directive): Likewise.
3134         * configure: Regenerated.
3135         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
3136         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
3137         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
3138         (__make_section_unallocated): Make definition unconditional.
3139         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
3140         Remove conditional definition.
3141         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
3142         (__make_section_unallocated): Likewise.
3144         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
3145         * configure: Regenerated.
3146         * config.make.in (static-libgcc): Remove variable.
3147         * Makerules (build-shlib-helper): Use -static-libgcc instead of
3148         $(static-libgcc).
3149         (build-module-helper): Likewise.
3151         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
3152         * configure: Regenerated.
3154 2015-10-15  Florian Weimer  <fweimer@redhat.com>
3156         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
3157         (struct char_buffer): New type.
3158         (char_buffer_start, char_buffer_size, char_buffer_error)
3159         (char_buffer_rewind, char_buffer_add): New functions.
3160         (ADDW): Remove macro, replaced by the char_buffer_add function.
3161         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
3162         of extend_alloca.  Make control flow more explicit.
3164 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3166         [BZ #19137]
3167         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
3168         Add -fomit-frame-pointer.
3169         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
3171 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3173         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
3174         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
3175         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
3176         only if !__GNUC_PREREQ (5,0).
3177         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
3178         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
3179         (INTERNAL_SYSCALL_NCS): Likewise.
3180         (LOADREGS_0): New macro for GCC 5.
3181         (ASMARGS_0): Likewise.
3182         (LOADREGS_1): Likewise.
3183         (ASMARGS_1): Likewise.
3184         (LOADREGS_2): Likewise.
3185         (ASMARGS_2): Likewise.
3186         (LOADREGS_3): Likewise.
3187         (ASMARGS_3): Likewise.
3188         (LOADREGS_4): Likewise.
3189         (ASMARGS_4): Likewise.
3190         (LOADREGS_5): Likewise.
3191         (ASMARGS_5): Likewise.
3192         (LOADREGS_6): Likewise.
3193         (ASMARGS_6): Likewise.
3195 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3197         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
3198         -fomit-frame-pointer.
3199         (CFLAGS-mmap64.c): Likewise.
3200         (CFLAGS-semtimedop.c): Likewise.
3201         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
3202         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
3203         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3204         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3206 2015-10-15  Florian Weimer  <fweimer@redhat.com>
3208         [BZ #18928]
3209         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
3210         _dl_pointer_guard member.
3211         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
3212         initializer.
3213         (security_init): Always set up pointer guard.
3214         (process_envvars): Do not process LD_POINTER_GUARD.
3216 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
3218         [BZ #19134]
3219         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
3220         (.LC2): Likewise.
3221         (.LC3): Likewise.
3222         (__lround): Do not add 0.5 to integer or out-of-range arguments.
3224 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3226         [BZ #19129]
3227         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
3228         r0 and r1.
3230 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
3232         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
3234 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
3236         * include/stap-probe.h: Fix macro definition formatting.
3238 2015-10-14  Florian Weimer  <fweimer@redhat.com>
3240         [BZ #19074]
3241         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
3242         load and store num_ifs.
3244 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
3246         [BZ #18822]
3247         * sysdeps/unix/sysv/linux/sched_getaffinity.c
3248         (__sched_getaffinity_new): Add libc_hidden_proto and
3249         libc_hidden_def.
3251 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
3253         [BZ #19007]
3254         * scripts/localplt.awk: Also allow GOT references.
3255         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
3256         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
3257         with "+ REL R_386_GLOB_DAT".
3258         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
3259         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
3261 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
3263         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
3264         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3265         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
3266         Likewise.
3267         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
3268         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
3269         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
3270         INTERNAL_SYSCALLINTERNAL_SYSCALL and
3271         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3272         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
3273         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3274         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
3275         Likewise.
3276         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3278 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
3280         [BZ #19125]
3281         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
3282         <math_private.h> and <stdint.h>.
3283         (__llround): Avoid conversions to and from long long int, and
3284         subtractions, where those might raise spurious exceptions.
3285         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
3286         <math_private.h> and <stdint.h>.
3287         (__llroundf): Avoid conversions to and from long long int, and
3288         subtractions, where those might raise spurious exceptions.
3290 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
3292         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
3293         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3294         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3295         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
3296         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3297         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3298         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
3299         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
3300         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
3301         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3302         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3303         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3304         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
3305         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3306         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3307         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
3308         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
3309         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3310         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
3311         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
3312         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
3313         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
3314         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
3315         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
3316         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
3317         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
3318         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
3319         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3320         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3321         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
3322         (__xstat64_conv): Likewise.
3323         (__xstat32_conv): Likewise.
3325 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
3327         * sysdeps/unix/sysv/linux/sysdep.h: New file.
3328         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
3329         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
3330         <sysdeps/unix/sysv/linux/sysdep.h>.
3331         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3332         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
3333         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
3334         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3335         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3336         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
3337         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
3338         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
3339         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
3340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3342         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3343         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3344         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3345         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3346         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3347         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
3348         (sysdep-dl-routines): Add sysdep.
3349         [$(subdir) == nptl] (libpthread-routines): Likewise.
3350         [$(subdir) == rt] (librt-routines): Likewise.
3351         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
3352         PIC when branching to SYSCALL_ERROR_LABEL.
3353         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
3354         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
3355         <sysdeps/unix/sysv/linux/sysdep.h>.
3356         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
3357         (SYSCALL_ERROR_ERRNO): Removed.
3358         (SYSCALL_ERROR_HANDLER): Changed to empty.
3359         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
3360         (__syscall_error): New prototype.
3361         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
3362         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
3364 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
3366         [BZ #19124]
3367         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
3368         (_dl_runtime_resolve_avx512): Make it a hidden alias of
3369         _dl_runtime_resolve_avx.
3370         (_dl_runtime_profile_avx512): Make it a hidden alias of
3371         _dl_runtime_profile_avx.
3373 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
3375         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
3376         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
3377         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
3378         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
3380         [BZ #16422]
3381         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
3382         New configure test.
3383         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
3384         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
3385         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
3386         <math_private.h> and <stdint.h>.
3387         (__llrint): Avoid conversions to long long int where those might
3388         raise spurious exceptions.
3389         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
3390         <math_private.h> and <stdint.h>.
3391         (__llrintf): Avoid conversions to long long int where those might
3392         raise spurious exceptions.
3394 2015-10-12  Andreas Schwab  <schwab@suse.de>
3396         [BZ #18969]
3397         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
3398         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
3399         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
3400         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
3401         $(gen-locales).
3402         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
3403         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
3404         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
3405         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
3406         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
3407         $(gen-locales).
3408         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
3409         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
3410         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
3411         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
3412         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
3413         ($(objpfx)tst-ftell-active-handler.out)
3414         ($(objpfx)tst-ftell-append.out)
3415         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
3416         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
3417         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
3418         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
3419         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
3420         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
3421         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
3422         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
3423         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
3424         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
3425         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
3426         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
3427         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
3428         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
3429         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
3430         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
3431         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
3432         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
3433         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
3434         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
3435         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
3436         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
3437         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
3438         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
3439         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
3440         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
3441         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
3442         $(gen-locales).
3443         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
3444         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
3445         $(gen-locales).
3446         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
3447         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
3448         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
3449         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
3450         $(gen-locales).
3451         * libio/tst_wprintf2.c (main): Use explicit locale.
3452         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
3454 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3456         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
3457         __msg_sig_post.
3458         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
3460 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
3462         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3463         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3465         * sysdeps/arm/libm-test-ulps: Regenerated.
3467         [BZ #15470]
3468         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
3470         [BZ #16399]
3471         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
3472         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
3473         and <fix-fp-int-convert-overflow.h>.
3474         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
3475         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3476         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
3477         and <fix-fp-int-convert-overflow.h>.
3478         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
3479         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3480         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
3481         <fix-fp-int-convert-overflow.h>.
3482         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
3483         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3484         * sysdeps/ieee754/dbl-64/s_lround.c: Include
3485         <fix-fp-int-convert-overflow.h>.
3486         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
3487         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3488         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
3489         and <fix-fp-int-convert-overflow.h>.
3490         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
3491         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3492         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
3493         <limits.h> and <fix-fp-int-convert-overflow.h>.
3494         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
3495         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3496         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
3497         and <fix-fp-int-convert-overflow.h>.
3498         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
3499         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3500         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
3501         and <fix-fp-int-convert-overflow.h>.
3502         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
3503         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3504         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
3506 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
3508         [BZ #18589]
3509         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
3510         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
3511         $(gen-locales).
3513 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3514             Phil Blundell <pb@pbcl.net>
3516         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
3517         * nptl/tst-cancel26.c: New file.
3518         * nptl/tst-cancel27.c: Likewise.
3520 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
3522         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
3523         __ILP32__ isn't defined.
3524         (lrint): Likewise.
3525         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
3526         (lrintf): Likewise.
3527         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
3528         (lrintl): Likewise.
3529         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
3530         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
3531         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
3533 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3535         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3536         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3538         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
3539         file.
3540         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
3541         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
3543 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
3545         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
3546         configure test.
3547         * sysdeps/i386/configure: Regenerated.
3548         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
3549         configure test.
3550         * sysdeps/x86_64/configure: Regenerated.
3551         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
3552         Make code unconditional.
3554         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
3555         test.
3556         * sysdeps/i386/configure: Regenerated.
3557         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
3558         test.
3559         * sysdeps/x86_64/configure: Regenerated.
3560         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
3561         Make code unconditional.
3562         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
3563         Likewise.
3564         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
3565         Likewise.
3566         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3567         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
3568         code unconditional.
3569         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3570         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
3571         code unconditional.
3572         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3573         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
3574         code unconditional.
3575         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
3576         code unconditional.
3577         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3578         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
3579         code unconditional.
3580         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3581         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
3582         code unconditional.
3583         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3584         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
3585         code unconditional.
3586         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3587         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
3588         code unconditional.
3589         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3590         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
3592         [BZ #19095]
3593         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
3594         mantissa to long int before shifting left.
3596 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
3598         [BZ #19094]
3599         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
3600         <limits.h>.
3601         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3602         when result overflows but exception would not result from cast.
3603         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
3604         <limits.h>.
3605         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3606         when result overflows but exception would not result from cast.
3607         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
3608         <limits.h>.
3609         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3610         when result overflows but exception would not result from cast.
3611         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
3612         <limits.h>.
3613         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3614         when result overflows but exception would not result from cast.
3615         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
3616         <limits.h>.
3617         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3618         when result overflows but exception would not result from cast.
3619         * math/libm-test.inc (lrint_test_data): Add more tests.
3620         (llrint_test_data): Likewise.
3622 2015-10-08  Roland McGrath  <roland@hack.frob.com>
3624         [BZ #18872]
3625         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
3626         Move out from under [$(run-built-tests) = yes] conditional.
3627         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
3628         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
3630 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
3632         [BZ #18589]
3633         * string/Makefile (tests): Add bug-strcoll2.
3634         (LOCALES): Add cs_CZ.UTF-8.
3635         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
3637         [BZ #18589]
3638         * string/bug-strcoll2.c: New file.
3639         * locale/categories.def: Revert commit
3640         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
3641         * locale/langinfo.h: Likewise.
3642         * locale/localeinfo.h: Likewise.
3643         * locale/C-collate.c: Likewise.
3644         * locale/programs/ld-collate.c (collate_output): Likewise.
3645         * string/strcoll_l.c (STRDIFF): Likewise.
3646         (STRCOLL): Likewise.
3647         * wcsmbs/wcscoll_l.c: Likewise.
3649 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
3651         * math/libm-test.inc (lround_test_data): Do not expect the absence
3652         of "inexact" for some tests with non-integer arguments.
3653         (llround_test_data): Likewise.
3655         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
3656         test.
3657         (libc_cv_cc_sse2avx): Likewise.
3658         * sysdeps/i386/configure: Regenerated.
3659         * sysdeps/i386/i686/multiarch/Makefile
3660         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
3661         [$(subdir) = math].
3662         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
3663         code unconditional.
3664         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
3665         Likewise.
3666         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
3667         Likewise.
3668         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
3669         Likewise.
3670         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
3671         test.
3672         (libc_cv_cc_sse2avx): Likewise.
3673         * sysdeps/x86_64/configure: Regenerated.
3674         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
3675         unconditional.
3676         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
3677         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
3678         unconditional.
3679         (_dl_runtime_profile)
3680         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
3681         conditional code.
3682         * sysdeps/x86_64/fpu/multiarch/Makefile
3683         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
3684         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
3685         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3686         * sysdeps/x86_64/fpu/multiarch/e_exp.c
3687         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3688         * sysdeps/x86_64/fpu/multiarch/e_log.c
3689         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3690         * sysdeps/x86_64/fpu/multiarch/s_atan.c
3691         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3692         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
3693         Likewise.
3694         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
3695         Likewise.
3696         * sysdeps/x86_64/fpu/multiarch/s_sin.c
3697         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3698         * sysdeps/x86_64/fpu/multiarch/s_tan.c
3699         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3700         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
3701         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
3702         (HAVE_SSE2AVX_SUPPORT): Likewise.
3704 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
3706         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
3707         instead of #pragma optimize.
3709 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
3711         [BZ #17195]
3712         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
3713         as is similarly done in systrim and _int_free already.
3715 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3717         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
3719 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
3721         [BZ #19088]
3722         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
3723         <limits.h>.
3724         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
3725         overflows but exception would not result from cast.
3726         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
3727         and <limits.h>.
3728         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
3729         overflows but exception would not result from cast.
3730         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
3731         <limits.h>.
3732         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
3733         overflows but exception would not result from cast.
3734         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
3735         <limits.h>.
3736         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
3737         overflows but exception would not result from cast.
3738         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
3739         <limits.h>.
3740         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
3741         overflows but exception would not result from cast.
3742         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
3743         <limits.h>.
3744         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
3745         overflows but exception would not result from cast.
3746         * math/libm-test.inc (lround_test_data): Add more tests.
3747         (llround_test_data): Likewise.
3749 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
3751         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
3752         (CFLAGS-ialloc.c): Ditto.
3753         (CFLAGS-scheck.c): Ditto.
3755 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
3757         [BZ #19086]
3758         * manual/filesys.texi (Storage Allocation): Fix argument order for
3759         posix_fallocate64.
3761 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
3763         [BZ #19085]
3764         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
3765         exponent below 48 inside case for non-overflowing exponent.
3766         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
3768 2015-10-07  Florian Weimer  <fweimer@redhat.com>
3770         * iconvdata/cp737.h (from_idx): Add const.
3771         * iconvdata/cp775.h (from_idx): Likewise.
3773 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
3775         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
3776         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
3777         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
3779         [BZ #19079]
3780         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
3781         file, conditioned on [!_LP64].
3782         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
3783         [!_LP64] (__lround): Do not define as function or alias.
3784         [!_LP64] (lround): Likewise.
3785         [!_LP64] (__lroundl): Likewise.
3786         [!_LP64] (lroundl): Likewise.
3787         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
3788         macro.
3789         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
3790         Likewise.
3792 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
3794         * math/libm-test.inc (lrint_test_data): Add more tests.
3795         (llrint_test_data): Likewise.
3796         (lround_test_data): Likewise.
3797         (llround_test_data): Likewise.
3799         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
3800         (llrint_test_data): Add tests used for lrint.
3802         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
3803         test.
3804         * sysdeps/i386/configure: Regenerated.
3805         * sysdeps/i386/i686/multiarch/Makefile
3806         [$(config-cflags-sse4) = yes]: Make code unconditional.
3807         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
3808         Likewise.
3809         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
3810         Likewise.
3811         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
3812         test.
3813         * sysdeps/x86_64/configure: Regenerated.
3814         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
3815         Make code unconditional.
3816         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
3817         Likewise.
3818         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
3819         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
3821         * scripts/rpm2dynsym.sh: Remove file.
3823 2015-10-06  Florian Weimer  <fweimer@redhat.com>
3825         * configure.ac (libc_cv_cxx_thread_local): Define.
3826         * configure: Regenerate.
3827         * config.make.in (have-cxx-thread_local): Define.
3828         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
3829         (LDLIBS-tst-thread_local1): Define.
3830         (tests): Add tst-thread_local1.
3831         [have-cxx-thread_local != yes] (tests-unsupported): Add
3832         tst-thread_local1.
3833         * nptl/tst-thread_local1.cc: New file.
3835 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
3837         [BZ #19078]
3838         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
3839         (u_thres): Likewise.
3840         (__expl): Determine whether to call __kernel_standard_l based on
3841         value of result, not argument.
3843         * math/libm-test.inc (scalb_test_data): Add more expectations for
3844         the "inexact" exception.
3846         [BZ #19077]
3847         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
3848         0.0L for argument 1.0L.
3850         [BZ #19076]
3851         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
3852         constant 0.0L when computing infinite result.
3854 2015-10-06  Florian Weimer  <fweimer@redhat.com>
3856         [BZ #10432]
3857         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
3858         malloc_usable_size.
3860 2015-10-06  Florian Weimer  <fweimer@redhat.com>
3862         [BZ #19018]
3863         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
3864         Mangle function pointer before storing it.
3865         (__call_tls_dtors): Demangle function pointer before calling it.
3867 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
3869         [BZ #19012]
3870         * iconv/gconv_db.c (gen_steps): Check for additional errors.
3871         Clean up on failure.
3873 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
3875         [BZ #19071]
3876         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
3877         long int variable to store possibly incremented high part of
3878         mantissa.
3879         * math/libm-test.inc (lround_test_data): Add tests used for
3880         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
3881         for tests requiring 64-bit long.  Do not condition tests on
3882         [TEST_FLOAT] unnecessarily.
3883         (llround_test_data): Add tests used for lround.  Add another
3884         expectation for the "inexact" exception.  Do not condition tests
3885         on [TEST_FLOAT] unnecessarily.
3887         [BZ #887]
3888         [BZ #19049]
3889         [BZ #19050]
3890         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
3891         * sysdeps/ieee754/dbl-64/e_log10.c: Include
3892         <fix-int-fp-convert-zero.h>.
3893         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3894         * sysdeps/ieee754/dbl-64/e_log2.c: Include
3895         <fix-int-fp-convert-zero.h>.
3896         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3897         * sysdeps/ieee754/dbl-64/s_erf.c: Include
3898         <fix-int-fp-convert-zero.h>.
3899         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3900         * sysdeps/ieee754/dbl-64/s_logb.c: Include
3901         <fix-int-fp-convert-zero.h>.
3902         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3903         * sysdeps/ieee754/flt-32/e_log10f.c: Include
3904         <fix-int-fp-convert-zero.h>.
3905         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3906         * sysdeps/ieee754/flt-32/e_log2f.c: Include
3907         <fix-int-fp-convert-zero.h>.
3908         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3909         * sysdeps/ieee754/flt-32/s_erff.c: Include
3910         <fix-int-fp-convert-zero.h>.
3911         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3912         * sysdeps/ieee754/flt-32/s_logbf.c: Include
3913         <fix-int-fp-convert-zero.h>.
3914         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3915         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
3916         <fix-int-fp-convert-zero.h>.
3917         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3918         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
3919         <fix-int-fp-convert-zero.h>.
3920         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3921         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
3922         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
3923         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
3924         file.
3925         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
3927 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
3929         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3931 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
3933         [BZ #19059]
3934         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
3935         overflowing computation.
3936         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3937         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
3938         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3939         Likewise.
3940         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3941         Likewise.
3942         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
3943         Likewise.
3944         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3945         Likewise.
3946         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3947         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3948         Likewise.
3949         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3950         Likewise.
3951         * math/libm-test.inc (nexttoward_test_data): Add more tests.
3953         * nss/rewrite_field.c (__nss_rewrite_field): Use
3954         internal_function.
3955         * nss/valid_field.c (__nss_valid_field): Likewise.
3956         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
3958 2015-10-02  Florian Weimer  <fweimer@redhat.com>
3960         [BZ #18724]
3961         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
3962         (__nss_invalid_field_characters, __nss_valid_field)
3963         (__nss_valid_list_field, __nss_rewrite_field): Declare.
3964         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
3965         tst-field.c: New file.
3966         * nss/Makefile (routines): Add valid_field, rewrite_field.
3967         (tests-static): Define unconditionally.
3968         (tests): Include tests-static.
3969         [build-static-nss] (tests-static): Use append.
3970         [build-static-nss] (tests): Remove modification.
3971         * nss/getent.c (print_group): Call putgrent.  Report error.
3972         (print_gshadow): Call putsgent.  Report error.
3973         (print_passwd): Call putpwent.  Report error.
3974         (print_shadow): Call putspent.  Report error.
3975         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
3976         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
3977         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
3978         name, password, directory, shell fields for valid syntax.  Rewrite
3979         GECOS field to match syntax.
3980         * pwd/Makefile (tests): Add tst-putpwent.
3981         * pwd/tst-putpwent.c: New file.
3982         * grp/putgrent.c (putgrent): Convert to ISO function definition.
3983         Check grName, grpasswd, gr_mem fields for valid syntax.
3984         Change loop variable i to size_t.
3985         * grp/Makefile (tests): Add tst-putgrent.
3986         * grp/tst-putgrent.c: New file.
3987         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
3988         valid syntax.
3989         * shadow/Makefile (tests): Add tst-putspent.
3990         * shadow/tst-putspent.c: New file.
3991         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
3992         sg_mem fields for valid syntax.
3993         * gshadow/Makefile (tests): Add tst-putsgent.
3994         * gshadow/tst-putsgent.c: New file.
3996 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3998         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
3999         assembly instructions.
4001 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4003         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
4004         prefix from operands.
4006 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
4008         [BZ #16347]
4009         [BZ #19046]
4010         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
4011         <libc-internal.h>.
4012         (MAXLGM): Do not use diagnostic control macros.
4013         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
4014         threshold for ldbl-128ibm.
4015         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
4016         instead of multiplying by log then subtracting.
4017         * math/auto-libm-test-in: Add more tests of lgamma.
4018         * math/auto-libm-test-out: Regenerated.
4020         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
4021         (TYPE_HEX_DIG): Likewise.
4022         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
4023         precisions when printing floating-point numbers.
4024         (check_float_internal): Likewise.
4026 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
4028         [BZ #16620]
4029         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
4030         of log (10) rounded downward to 48 bits.
4031         (log10_low): Use corresponding low part of log (10).
4033         [BZ #19032]
4034         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
4035         compute result as (x - x) / (x - x) not as 0 / 0.
4036         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4037         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
4039         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4040         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
4041         and expm1.
4042         * math/auto-libm-test-out: Regenerated.
4043         * math/libm-test.inc (acos_test_data): Add more tests.
4044         (asin_test_data): Likewise.
4045         (asinh_test_data): Likewise.
4046         (atan_test_data): Likewise.
4047         (atanh_test_data): Likewise.
4048         (atan2_test_data): Likewise.
4049         (cbrt_test_data): Likewise.
4050         (ceil_test_data): Likewise.
4051         (copysign_test_data): Likewise.
4052         (cos_test_data): Likewise.
4053         (cosh_test_data): Likewise.
4054         (erf_test_data): Likewise.
4055         (erfc_test_data): Likewise.
4056         (exp_test_data): Likewise.
4057         (exp10_test_data): Likewise.
4058         (exp2_test_data): Likewise.
4059         (expm1_test_data): Likewise.
4060         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4062 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
4064         [BZ #19006]
4065         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
4066         to ...
4067         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
4068         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
4069         to ...
4070         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
4071         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
4072         to ...
4073         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
4074         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
4075         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
4076         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
4077         to ...
4078         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
4079         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4080         Moved to ...
4081         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
4082         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4083         Moved to ...
4084         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
4085         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
4086         to ...
4087         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
4088         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4089         Moved to ...
4090         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
4091         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
4092         to ...
4093         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
4094         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
4095         Removed.
4096         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
4097         Likewise.
4098         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
4099         Likewise.
4100         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
4101         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
4102         Likewise.
4103         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4104         Likewise.
4105         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4106         Likewise.
4107         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4108         Likewise.
4109         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4110         Likewise.
4111         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
4112         Likewise.
4113         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
4114         Likewise.
4115         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
4116         Likewise.
4117         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
4118         Likewise.
4119         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
4120         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
4121         Likewise.
4122         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4123         Likewise.
4124         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4125         Likewise.
4126         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4127         Likewise.
4128         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
4129         Likewise.
4130         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4131         Replace ../i486/pthread_cond_timedwait.S with
4132         ../pthread_cond_timedwait.S.
4134 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
4136         * math/libm-test.inc (acos_test_data): Refine expectations for
4137         errno and "inexact" exceptions.
4138         (acosh_test_data): Likewise.
4139         (asin_test_data): Likewise.
4140         (asinh_test_data): Likewise.
4141         (atan_test_data): Likewise.
4142         (atanh_test_data): Likewise.
4143         (atan2_test_data): Likewise.
4144         (cbrt_test_data): Likewise.
4145         (ceil_test_data): Likewise.
4146         (copysign_test_data): Likewise.
4147         (cosh_test_data): Likewise.
4148         (erf_test_data): Likewise.
4149         (erfc_test_data): Likewise.
4150         (exp_test_data): Likewise.
4151         (exp10_test_data): Likewise.
4152         (exp2_test_data): Likewise.
4153         (expm1_test_data): Likewise.
4154         (fabs_test_data): Likewise.
4155         (floor_test_data): Likewise.
4156         (fma_test_data): Likewise.
4157         (fmax_test_data): Likewise.
4158         (fmin_test_data): Likewise.
4159         (fmod_test_data): Likewise.
4160         (fpclassify_test_data): Likewise.
4161         (frexp_test_data): Likewise.
4162         (hypot_test_data): Likewise.
4163         (ilogb_test_data): Likewise.
4164         (isgreater_test_data): Likewise.
4165         (isgreaterequal_test_data): Likewise.
4166         (isinf_test_data): Likewise.
4167         (isless_test_data): Likewise.
4168         (islessequal_test_data): Likewise.
4169         (islessgreater_test_data): Likewise.
4170         (isnan_test_data): Likewise.
4171         (isnormal_test_data): Likewise.
4172         (issignaling_test_data): Likewise.
4173         (isunordered_test_data): Likewise.
4174         (j0_test_data): Likewise.
4175         (j1_test_data): Likewise.
4176         (jn_test_data): Likewise.
4177         (lgamma_test_data): Likewise.
4178         (lrint_test_data): Likewise.
4179         (llrint_test_data): Likewise.
4180         (log_test_data): Likewise.
4181         (log10_test_data): Likewise.
4182         (log1p_test_data): Likewise.
4183         (log2_test_data): Likewise.
4184         (logb_test_data): Likewise.
4185         (lround_test_data): Likewise.
4186         (llround_test_data): Likewise.
4187         (modf_test_data): Likewise.
4188         (nearbyint_test_data): Likewise.
4189         (nextafter_test_data): Likewise.
4190         (nexttoward_test_data): Likewise.
4191         (pow_test_data): Likewise.
4192         (remainder_test_data): Likewise.
4193         (remquo_test_data): Likewise.
4194         (rint_test_data): Likewise.
4195         (round_test_data): Likewise.
4196         (signbit_test_data): Likewise.
4197         (sinh_test_data): Likewise.
4198         (sqrt_test_data): Likewise.
4199         (tanh_test_data): Likewise.
4200         (tgamma_test_data): Likewise.
4201         (trunc_test_data): Likewise.
4202         (y0_test_data): Likewise.
4203         (y1_test_data): Likewise.
4204         (yn_test_data): Likewise.
4205         (significand_test_data): Likewise.
4207 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
4209         * manual/filesys.texi (Storage Allocation): Document that
4210         posix_fallocate emulation fails when fd is open with O_WRONLY.
4212 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
4214         [BZ #19016]
4215         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
4216         allow more cases with X^2 + Y^2 >= 0.5.
4217         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
4218         normal element in sum instead of special-casing based on values of
4219         arguments.
4220         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
4221         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
4222         -1 as normal element in sum instead of special-casing based on
4223         values of arguments.
4224         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
4225         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
4226         (__x2y2m1): Update comment.
4227         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
4228         as normal element in sum instead of special-casing based on values
4229         of arguments.
4230         * math/s_clog.c (__clog): Handle more cases using log1p without
4231         hypot.
4232         * math/s_clog10.c (__clog10): Likewise.
4233         * math/s_clog10f.c (__clog10f): Likewise.
4234         * math/s_clog10l.c (__clog10l): Likewise.
4235         * math/s_clogf.c (__clogf): Likewise.
4236         * math/s_clogl.c (__clogl): Likewise.
4237         * math/auto-libm-test-in: Add more tests of clog and clog10.
4238         * math/auto-libm-test-out: Regenerated.
4239         * sysdeps/i386/fpu/libm-test-ulps: Update.
4240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4242 2015-09-28  Martin Sebor  <msebor@redhat.com>
4244         [BZ #18969]
4245         * string/Makefile (LOCALES): Define.
4246         (gen-locales.mk): Include.
4247         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
4248         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
4249         * string/tst-strxfrm2.c (do_test): Print the name of the locale
4250         on setlocale failure.
4252 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
4254         [BZ #18985]
4255         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
4256         (__strftime_internal): Likewise.
4257         * time/tst-strftime.c (do_bz18985): New test.
4258         (do_test): Call it.
4260 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
4262         [BZ #18956]
4263         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
4264         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
4265         extracting high part.
4266         * math/auto-libm-test-in: Add another test of pow.
4267         * math/auto-libm-test-out: Regenerated.
4268         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4270 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
4272         [BZ #18825]
4273         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
4274         New macro.
4275         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
4276         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
4277         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
4278         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
4279         DBL_NARROW_EVAL, reloading the PIC register as needed.
4280         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
4281         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
4282         FLT_NARROW_EVAL.  Use separate return path for case when first
4283         argument is NaN.
4284         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
4285         DEFINE_LDBL_MIN.
4286         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
4287         PIC register.
4288         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
4289         math_check_force_underflow_nonneg.
4290         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
4291         underflow for subnormal result.
4292         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
4293         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
4294         math_check_force_underflow_nonneg.
4295         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
4296         math_check_force_underflow.
4297         * sysdeps/x86_64/fpu/x86_64-math-asm.h
4298         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
4299         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
4300         DEFINE_LDBL_MIN.
4301         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
4302         * math/auto-libm-test-in: Add more tests of pow.
4303         * math/auto-libm-test-out: Regenerated.
4305 2015-09-25  Florian Weimer  <fweimer@redhat.com>
4307         * nss/bug17079.c (init_test_items): Add diagnostic for
4308         inconsistent entries.
4309         (test_buffer_size): Skip inconsistent entries.
4311 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
4313         [BZ #13304]
4314         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
4315         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
4316         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
4318         [BZ #13304]
4319         * sysdeps/microblaze/s_fma.c: New file.
4320         * sysdeps/microblaze/s_fmaf.c: Likewise.
4321         * sysdeps/microblaze/sfp-machine.h: Likewise.
4323 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
4325         [BZ #17250]
4326         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
4327         member.
4329 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
4331         [BZ #18803]
4332         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
4333         (MO): New macro.
4334         (__ieee754_hypot) [PIC]: Load PIC register.
4335         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
4336         DBL_NARROW_EVAL.
4337         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
4338         math_check_force_underflow_nonneg in case where result might be
4339         tiny.
4340         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4341         Likewise.
4342         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4343         Likewise.
4344         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
4345         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
4346         * math/auto-libm-test-in: Add more tests of hypot.
4347         * math/auto-libm-test-out: Regenerated.
4349 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
4351         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
4353 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
4355         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
4356         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
4357         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
4358         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
4359         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
4360         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
4361         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
4363         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
4364         LOAD_PIC_REG.
4366         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
4367         (FLT_CHECK_FORCE_UFLOW): Likewise.
4368         (DBL_CHECK_FORCE_UFLOW): Likewise.
4369         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
4370         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
4371         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
4372         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
4373         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
4374         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
4375         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
4376         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
4377         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
4378         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4379         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
4380         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
4381         (flt_min): Replace with use of DEFINE_FLT_MIN.
4382         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
4383         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
4384         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4385         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
4386         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
4387         (flt_min): Replace with use of DEFINE_FLT_MIN.
4388         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
4389         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
4390         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4391         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
4392         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
4393         (flt_min): Replace with use of DEFINE_FLT_MIN.
4394         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
4395         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
4396         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
4397         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
4398         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
4399         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
4400         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
4401         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
4402         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4403         (__atan): Use DBL_CHECK_FORCE_UFLOW.
4404         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
4405         (flt_min): Replace with use of DEFINE_FLT_MIN.
4406         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
4407         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
4408         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4409         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
4410         main computation.
4411         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
4412         (flt_min): Replace with use of DEFINE_FLT_MIN.
4413         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
4414         main computation.
4415         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
4416         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4417         (MO): New macro.
4418         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
4419         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
4420         (flt_min): Replace with use of DEFINE_FLT_MIN.
4421         (MO): New macro.
4422         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
4423         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
4424         (__log1pl): Use MO.
4426         [BZ #19003]
4427         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
4428         $(config-cflags-nofma).
4430 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4432         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4434 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
4436         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
4437         (TWO127): Likewise.
4439         * sysdeps/generic/math_private.h (fabs_tg): New macro.
4440         (min_of_type): Likewise.
4441         (math_check_force_underflow): Likewise.
4442         (math_check_force_underflow_nonneg): Likewise.
4443         (math_check_force_underflow_complex): Likewise.
4444         * math/e_exp2l.c (__ieee754_exp2l): Use
4445         math_check_force_underflow_nonneg.
4446         * math/k_casinh.c (__kernel_casinh): Likewise.
4447         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4448         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4449         * math/s_catan.c (__catan): Use
4450         math_check_force_underflow_complex.
4451         * math/s_catanf.c (__catanf): Likewise.
4452         * math/s_catanh.c (__catanh): Likewise.
4453         * math/s_catanhf.c (__catanhf): Likewise.
4454         * math/s_catanhl.c (__catanhl): Likewise.
4455         * math/s_catanl.c (__catanl): Likewise.
4456         * math/s_ccosh.c (__ccosh): Likewise.
4457         * math/s_ccoshf.c (__ccoshf): Likewise.
4458         * math/s_ccoshl.c (__ccoshl): Likewise.
4459         * math/s_cexp.c (__cexp): Likewise.
4460         * math/s_cexpf.c (__cexpf): Likewise.
4461         * math/s_cexpl.c (__cexpl): Likewise.
4462         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
4463         * math/s_clog10.c (__clog10): Likewise.
4464         * math/s_clog10f.c (__clog10f): Likewise.
4465         * math/s_clog10l.c (__clog10l): Likewise.
4466         * math/s_clogf.c (__clogf): Likewise.
4467         * math/s_clogl.c (__clogl): Likewise.
4468         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
4469         * math/s_csinf.c (__csinf): Likewise.
4470         * math/s_csinh.c (__csinh): Likewise.
4471         * math/s_csinhf.c (__csinhf): Likewise.
4472         * math/s_csinhl.c (__csinhl): Likewise.
4473         * math/s_csinl.c (__csinl): Likewise.
4474         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
4475         * math/s_csqrtf.c (__csqrtf): Likewise.
4476         * math/s_csqrtl.c (__csqrtl): Likewise.
4477         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
4478         * math/s_ctanf.c (__ctanf): Likewise.
4479         * math/s_ctanh.c (__ctanh): Likewise.
4480         * math/s_ctanhf.c (__ctanhf): Likewise.
4481         * math/s_ctanhl.c (__ctanhl): Likewise.
4482         * math/s_ctanl.c (__ctanl): Likewise.
4483         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
4484         instead of volatile.
4485         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
4486         math_check_force_underflow.
4487         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4488         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
4489         volatile when forcing underflow.
4490         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4491         math_check_force_underflow_nonneg.
4492         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
4493         Likewise.
4494         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
4495         math_check_force_underflow.
4496         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4497         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4498         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4499         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
4500         math_check_force_underflow_nonneg.
4501         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
4502         math_check_force_underflow.
4503         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
4504         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
4505         instead of volatile.
4506         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
4507         math_check_force_underflow.
4508         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4509         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4510         math_check_force_underflow_nonneg.
4511         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
4512         math_check_force_underflow.
4513         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
4514         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4515         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
4516         math_check_force_underflow_nonneg.
4517         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4518         Likewise.
4519         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
4520         math_check_force_underflow.
4521         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4522         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
4523         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
4524         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
4525         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
4526         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
4527         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
4528         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
4529         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4530         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
4531         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
4532         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
4533         Likewise.
4534         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
4535         math_check_force_underflow_nonneg.
4536         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4537         Likewise.
4538         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
4539         math_check_force_underflow.
4540         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4541         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
4542         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4543         Likewise.
4544         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
4545         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
4546         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
4547         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
4548         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
4549         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
4550         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
4551         instead of volatile.
4552         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
4553         math_check_force_underflow.
4554         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
4555         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
4556         math_check_force_underflow.
4557         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
4558         Likewise.
4559         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4560         Use math_check_force_underflow_nonneg.
4561         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
4562         math_check_force_underflow.
4563         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
4564         Likewise.
4565         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4566         Likewise.
4567         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4568         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4569         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4570         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4571         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
4572         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4573         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
4574         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
4575         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
4576         math_check_force_underflow_nonneg.
4577         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
4578         math_check_force_underflow.
4579         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4580         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
4581         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
4582         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
4583         math_check_force_underflow_nonneg.
4584         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
4585         math_check_force_underflow.
4586         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
4587         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
4588         instead of volatile.
4589         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
4590         math_check_force_underflow.
4592         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
4593         * stdlib/strtod_l.c: Include <math_private.h>.
4594         (overflow_value): Use math_narrow_eval.
4595         (underflow_value): Likewise.
4596         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4597         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
4598         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
4599         (__ieee754_gamma_r): Likewise.
4600         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
4601         Likewise.
4602         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
4603         Likewise.
4604         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
4605         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
4606         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
4607         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
4608         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
4609         (__ieee754_gammaf_r): Likewise.
4610         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
4611         Likewise.
4612         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
4613         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
4614         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
4615         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
4616         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
4617         volatile.
4618         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
4619         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
4620         math_narrow_eval.
4621         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
4622         Likewise.
4623         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4624         Likewise.
4625         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
4626         Likewise.
4627         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
4628         volatile.
4629         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
4630         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
4631         math_narrow_eval.
4632         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4633         Likewise.
4634         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4635         Likewise.
4637 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
4639         * nptl/Versions: Remove ignored symbols.
4641 2015-09-22  Florian Weimer  <fweimer@redhat.com>
4643         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
4644         * nss/Makefile (tests): Update.
4646 2015-09-22  Florian Weimer  <fweimer@redhat.com>
4648         * nss/bug18287.c: New file.
4649         * nss/Makefile (tests): Add bug18287.
4651 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4653         * mach/Versions (__mach_host_self_): Add symbol.
4655 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4657         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
4658         vm_page_size.
4660 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4662         Really fix sysdeps/i386/fpu/s_scalbn.S build
4664         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
4665         (libc: GLIBC_2_22): Remove unused version set.
4667 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
4669         * config.make.in (enable-timezone-tools): New variable.
4670         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
4671         (enable_timezone_tools): Export to generated files.
4672         * configure: Regenerate.
4673         * INSTALL: Regenerate.
4674         * manual/install.texi (--disable-timezone-tools): Document new flag.
4675         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
4676         ifeq ($(enable-timezone-tools),yes) check.
4678 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
4680         * timezone/Makefile: Revert previous change.
4682         [BZ #18980]
4683         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
4684         (DEFINE_DBL_MIN): Likewise.
4685         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
4686         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
4687         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
4688         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
4689         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
4690         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4691         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
4692         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
4693         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
4694         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4695         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
4696         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
4697         (flt_min): Replace with use of DEFINE_FLT_MIN.
4698         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
4699         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
4700         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4701         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
4702         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
4703         (flt_min): Replace with use of DEFINE_FLT_MIN.
4704         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
4705         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
4706         (flt_min): Replace with use of DEFINE_FLT_MIN.
4707         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
4708         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
4709         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
4710         (__ieee754_hypot): Use DBL_NARROW_EVAL.
4711         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
4712         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
4713         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
4714         (__ieee754_pow): Use DBL_NARROW_EVAL.
4715         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
4716         (__ieee754_powf): Use FLT_NARROW_EVAL.
4717         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
4718         (__ieee754_expf_sse2): Convert double-precision result to single
4719         precision.
4720         * sysdeps/i386/fpu/libm-test-ulps: Update.
4722 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4724         * timezone/Makefile: Ignore unused variable errors due to private.h
4725         (time_t_min) and (time_t_max).
4726         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
4727         Likewise.
4729 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
4731         [BZ #18981]
4732         * sysdeps/i386/fpu/i386-math-asm.h: New file.
4733         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
4734         (__ieee754_scalb): Use DBL_NARROW_EVAL.
4735         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
4736         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
4737         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
4738         (__scalbn): Use DBL_NARROW_EVAL.
4739         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
4740         (__scalbnf): Use FLT_NARROW_EVAL.
4742 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4744         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
4745         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
4746         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
4747         * stdio-common/printf_fp.c (___printf_fp):
4748         Use signbit to get the sign. Use isinf macro to allow inlining.
4749         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
4750         * stdio-common/printf_size.c (__printf_size): Likewise.
4752 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
4754         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
4756 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
4758         [BZ #18980]
4759         * sysdeps/generic/math_private.h: Include <float.h>.
4760         (math_narrow_eval): New macro.
4761         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
4762         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
4763         math_narrow_eval on overflowing return value.
4764         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
4765         Likewise.
4766         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4767         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
4768         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
4769         Likewise.
4770         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
4772 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4774         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
4775         * math/Makefile: Remove isinf_ns.c.
4776         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
4777         * math/multc3.c (__multc3): Likewise.
4778         * math/s_casin.c (__casin): Likewise.
4779         * math/s_casinf.c (__casinf): Likewise.
4780         * math/s_casinl.c (__casinl): Likewise.
4781         * math/s_cproj.c (__cproj): Likewise.
4782         * math/s_cprojf.c (__cprojf): Likewise.
4783         * math/s_cprojl.c (__cprofl): Likewise.
4784         * math/s_ctan.c (__ctan): Likewise.
4785         * math/s_ctanf.c (__ctanf): Likewise.
4786         * math/s_ctanh.c (__ctanh): Likewise.
4787         * math/s_ctanhf.c (__ctanhf): Likewise.
4788         * math/s_ctanhl.c (__ctanhl): Likewise.
4789         * math/s_ctanl.c (__ctanl): Likewise.
4790         * math/w_fmod.c (__fmod): Likewise.
4791         * math/w_fmodf.c (__fmodf): Likewise.
4792         * math/w_fmodl.c (_fmodl): Likewise.
4793         * math/w_remainder.c (__remainder): Likewise.
4794         * math/w_remainderf.c (__remainderf): Likewise.
4795         * math/w_remainderl.c (__remainderl): Likewise.
4796         * math/w_scalb.c (__scalb): Likewise.
4797         * math/w_scalbf.c (__scalbf): Likewise.
4798         * math/w_scalbl.c (__scalbl): Likewise.
4799         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
4800         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
4801         with isinf.
4802         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
4803         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
4804         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
4805         __isinf_nsf with isinf.
4806         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
4807         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
4808         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
4809         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
4810         with isinf.
4811         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
4812         __isinf_nsl with isinf.
4813         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
4814         with isinf.
4815         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
4816         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
4817         __isinf_nsl with isinf.
4818         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
4819         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
4820         with isinf.
4822 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4824         * resolv/base64.c (rcsid): Remove unused static.
4825         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
4826         static.  (tqpi1): Likewise.
4827         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
4828         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
4829         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
4830         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
4831         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
4832         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
4833         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
4834         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
4835         Likewise.
4837 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
4839         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
4840         <nptl/pthreadP.h>.
4841         (_longjmp_unwind): Use __libc_ptf_call.
4842         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
4844 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
4846         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
4847         * sysdeps/arm/__longjmp.S: Likewise
4849 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4851         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
4852         Use __builtin_signbit.
4853         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
4854         Use __builtin_signbitf.
4855         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
4856         Use __builtin_signbitl.
4857         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4858         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
4860 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4862         [BZ #15367]
4863         [BZ #17441]
4865         * math/Makefile: Build test-snan.c with -fsignaling-nans.
4866         * math/math.h (fpclassify): Use __builtin_fpclassify when
4867         available.  (signbit): Use __builtin_signbit(f/l).
4868         (isfinite): Use__builtin_isfinite.  (isnormal): Use
4869         __builtin_isnormal.  (isnan): Use __builtin_isnan.
4870         (isinf): Use __builtin_isinf_sign.
4872 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4874         * benchtests/Makefile: Add bench-math-inlines, link with libm.
4875         * benchtests/bench-math-inlines.c: New benchmark.
4876         * benchtests/bench-util.h: New file.
4877         * benchtests/bench-util.c: New file.
4878         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
4880 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
4882         * elf/tst-dlmopen1.c: Define TEST_SO.
4883         (do_test): Use TEST_SO.
4885         * elf/dl-load.c: Include libc-internal.h.
4886         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
4888 2015-09-18  Vincent Bernat  <vincent@bernat.im>
4890         [BZ #17887]
4891         * time/strptime_l.c (__strptime_internal): Make %z accept
4892         [+-]HH:MM time zones.
4894 2015-09-18  Vincent Bernat  <vincent@bernat.im>
4896         [BZ #17886]
4897         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
4898         valid time zone.
4900 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
4902         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
4903         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
4904         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4905         (__ASSUME_FDATASYNC): Delete.
4907 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
4909         * conform/linknamespace.pl: Require weak undefined symbols to be
4910         in the standard namespace.
4911         (%strong_syms): Rename to %seen_syms.
4912         (%strong_seen): Rename to %seen_where.
4914 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
4916         [BZ #18970]
4917         * misc/error.c (error): Replace pthread_setcancelstate with
4918         __pthread_setcancelstate.
4919         (error_at_line): Likewise.
4920         * posix/wordexp.c (parse_comm): Likewise.
4921         * stdlib/fmtmsg.c (fmtmsg): Likewise.
4922         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
4923         (__pthread_setcancelstate): This.
4924         (pthread_setcancelstate): Add an alias.
4925         * nptl/nptl-init.c (pthread_functions): Replace
4926         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
4927         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
4928         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
4929         hidden_proto.
4930         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
4931         it with hidden_def.
4932         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
4933         (pthread_setcancelstate): Renamed to ...
4934         (__pthread_setcancelstate): This.
4935         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
4936         __libc_ptf_call with __pthread_setcancelstate.
4938 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
4939             Andreas Schwab  <schwab@suse.de>
4941         [BZ #17118]
4942         * math/s_ctan.c (__ctan): Determine sign of zero real part of
4943         result when imaginary part of argument is infinite using sine and
4944         cosine.
4945         * math/s_ctanf.c (__ctanf): Likewise.
4946         * math/s_ctanl.c (__ctanl): Likewise.
4947         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
4948         of result when real part of argument is infinite using sine and
4949         cosine.
4950         * math/s_ctanhf.c (__ctanhf): Likewise.
4951         * math/s_ctanhl.c (__ctanhl): Likewise.
4952         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
4953         (ctanh_test_data): Add more tests of ctanh.
4955 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
4957         [BZ #15384]
4958         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
4959         bit-mask as in subtraction.
4960         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
4961         Likewise.
4962         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
4963         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
4964         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
4966         [BZ #18951]
4967         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
4968         underflow exception for small results.
4969         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4970         Likewise.
4971         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4972         Likewise.
4973         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4974         Likewise.
4975         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4976         Likewise.
4977         * math/auto-libm-test-in: Add more tests of tgamma.
4978         * math/auto-libm-test-out: Regenerated.
4980 2015-09-17  Andreas Schwab  <schwab@suse.de>
4982         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
4984 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
4986         [BZ #18977]
4987         * math/bits/mathcalls.h
4988         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
4989         not declare.
4990         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
4991         Likewise.
4992         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
4993         Likewise.
4994         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
4995         Likewise.
4996         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
4997         Likewise.
4998         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
4999         Likewise.
5000         * conform/data/math.h-data
5001         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
5002         function.
5003         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
5004         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
5005         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
5006         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
5007         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
5008         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
5009         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
5010         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
5011         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
5012         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
5013         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
5015         [BZ #6803]
5016         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
5017         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
5018         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
5019         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
5020         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
5021         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
5022         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
5023         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
5024         [NO_LONG_DOUBLE] (scalbnl): Likewise.
5025         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
5026         Likewise.
5027         [NO_LONG_DOUBLE] (scalbnl): Likewise.
5028         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
5029         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
5030         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
5031         long_double_symbol calls.
5032         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
5033         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
5034         strong alias of __ldexpl.
5035         (scalbnl): Define using long_double_symbol.
5036         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
5037         Remove alias.
5038         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
5039         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
5040         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
5041         (scalbln_test_data): Add more errno expectations.
5043 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
5045         Cache the host port like we cache the task port.  This way we do not
5046         need to call the kernel just to get the port.  Furthermore, we no
5047         longer increase the reference count on every invocation of
5048         `mach_host_self'.
5050         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
5051         Protect declarations against the macro expansion.
5052         * mach/mach_init.c (__mach_host_self_): New variable.
5053         (mach_init): Initialize `__mach_host_self_'.
5054         * mach/mach_init.h (__mach_host_self_): New declaration.
5055         (__mach_host_self, mach_host_self): New macros.
5056         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
5057         Release reference.
5059 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
5061         [BZ #4404]
5062         * po/de.po: Update from Translation Project.
5064         [BZ #16415]
5065         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
5066         (__expm1l): Remove code to handle positive infinity and overflow.
5067         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
5068         variable.
5069         (__expm1l): Remove code to handle positive infinity and overflow.
5071 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
5072             Paul Pluzhnikov  <ppluzhnikov@google.com>
5074         [BZ #18872]
5075         * stdio-common/Makefile (tst-printf-bz18872): New test.
5076         (tst-printf-bz18872-mem.out): Likewise.
5077         * stdio-common/tst-printf-bz18872.sh: Generate new test.
5078         * stdio-common/vfprintf.c: Fix memory leaks.
5080 2015-09-16  Andreas Schwab  <schwab@suse.de>
5082         [BZ #17244]
5083         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
5084         Remove extra va_start/va_end calls.
5086         [BZ #17243]
5087         * posix/execl.c (execl): Add missing va_end.
5088         * posix/execle.c (execle): Likewise.
5089         * posix/execlp.c (execlp): Likewise.
5091 2015-09-15  Roland McGrath  <roland@hack.frob.com>
5093         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
5094         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
5096 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
5098         [BZ #18967]
5099         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
5100         undefine around includes of <bits/mathcalls.h>.
5101         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
5102         not declare function.
5103         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
5104         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
5105         (scalb): Likewise.
5106         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
5107         not define macro.
5108         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
5109         variable.
5110         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5111         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5112         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5114         [BZ #18857]
5115         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
5116         return non-finite argument without doing ordered comparisons on
5117         it.
5119         [BZ #16296]
5120         * math/fenv.h (fegetround): Use __attribute_pure__.
5121         * include/fenv.h (__fegetround): Likewise.
5123         [BZ #18595]
5124         * math/s_ctan.c (__ctan): Force underflow exception for results
5125         whose real or imaginary part has small absolute value.
5126         * math/s_ctanf.c (__ctanf): Likewise.
5127         * math/s_ctanh.c (__ctanh): Likewise.
5128         * math/s_ctanhf.c (__ctanhf): Likewise.
5129         * math/s_ctanhl.c (__ctanhl): Likewise.
5130         * math/s_ctanl.c (__ctanl): Likewise.
5131         * math/auto-libm-test-in: Do not allow missing underflow for ctan
5132         and ctanh.  Add more tests of ctan and ctanh.
5134         [BZ #15918]
5135         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
5136         handling of cases where one argument is an infinity.
5138         [BZ #18875]
5139         [BZ #18966]
5140         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
5141         (MO): New macro.
5142         (__ieee754_exp10): For small results, force underflow exception
5143         and remove excess range and precision from return value.
5144         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
5145         (MO): New macro.
5146         (__ieee754_exp10f): For small results, force underflow exception
5147         and remove excess range and precision from return value.
5148         * math/auto-libm-test-in: Add more tests of exp10.
5149         * math/auto-libm-test-out: Regenerated.
5151 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
5153         [BZ #18875]
5154         [BZ #18961]
5155         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
5156         (MO): New macro.
5157         (__ieee754_exp): For small results, force underflow exception and
5158         remove excess range and precision from return value.
5159         (__exp_finite): Likewise.
5160         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
5161         (MO): New macro.
5162         (__ieee754_expf): For small results, force underflow exception and
5163         remove excess range and precision from return value.
5164         (__expf_finite): Likewise.
5165         * math/auto-libm-test-in: Add more tests of exp.
5166         * math/auto-libm-test-out: Regenerated.
5168         [BZ #16521]
5169         [BZ #18875]
5170         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
5171         small results.
5172         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
5173         (MO): New macro.
5174         (__ieee754_exp2): For small results, force underflow exception and
5175         remove excess range and precision from return value.
5176         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
5177         (MO): New macro.
5178         (__ieee754_exp2f): For small results, force underflow exception
5179         and remove excess range and precision from return value.
5180         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
5181         (MO): New macro.
5182         (__ieee754_exp2l): Force underflow exception for small results.
5183         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5184         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5185         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
5186         (MO): New macro.
5187         (__ieee754_exp2l): Force underflow exception for small results.
5188         * math/auto-libm-test-in: Add more tests or exp2.
5189         * math/auto-libm-test-out: Regenerated.
5191 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
5193         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
5195         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
5196         /dev/null.
5198 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5200         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
5201         io fs process)): Drop spurious backslash.
5203 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5205         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
5206         Use sysinfo system call instead of parsing /proc/meminfo.
5207         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
5208         Likewise.
5210 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
5212         [BZ #16985]
5213         * programs/localedef.c (main): Display argv[remaining] when
5214         output_path is NULL.
5216 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
5218         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5219         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
5220         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
5221         tanh.
5222         * math/auto-libm-test-out: Regenerated.
5223         * sysdeps/i386/fpu/libm-test-ulps: Update.
5224         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5225         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5228 2015-09-11  Roland McGrath  <roland@hack.frob.com>
5230         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
5231         Use 'override' keyword to freeze the value here, preventing
5232         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
5234 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
5236         [BZ #14912]
5237         * sysdeps/aarch64/bits/atomic.h: Move to ...
5238         * sysdeps/aarch64/atomic-machine.h: ...here.
5239         (_AARCH64_BITS_ATOMIC_H): Rename macro to
5240         _AARCH64_ATOMIC_MACHINE_H.
5241         * sysdeps/alpha/bits/atomic.h: Move to ...
5242         * sysdeps/alpha/atomic-machine.h: ...here.
5243         * sysdeps/arm/bits/atomic.h: Move to ...
5244         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
5245         * bits/atomic.h: Move to ...
5246         * sysdeps/generic/atomic-machine.h: ...here.
5247         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5248         * sysdeps/i386/bits/atomic.h: Move to ...
5249         * sysdeps/i386/atomic-machine.h: ...here.
5250         * sysdeps/ia64/bits/atomic.h: Move to ...
5251         * sysdeps/ia64/atomic-machine.h: ...here.
5252         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
5253         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
5254         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5255         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
5256         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
5257         * sysdeps/microblaze/bits/atomic.h: Move to ...
5258         * sysdeps/microblaze/atomic-machine.h: ...here.
5259         * sysdeps/mips/bits/atomic.h: Move to ...
5260         * sysdeps/mips/atomic-machine.h: ...here.
5261         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
5262         * sysdeps/powerpc/bits/atomic.h: Move to ...
5263         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
5264         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
5265         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
5266         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
5267         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
5268         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
5269         <atomic-machine.h> instead of <bits/atomic.h>.
5270         * sysdeps/s390/bits/atomic.h: Move to ...
5271         * sysdeps/s390/atomic-machine.h: ...here.
5272         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
5273         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
5274         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5275         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
5276         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
5277         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
5278         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
5279         * sysdeps/tile/bits/atomic.h: Move to ...
5280         * sysdeps/tile/atomic-machine.h: ...here.
5281         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
5282         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
5283         <sysdeps/tile/atomic-machine.h> instead of
5284         <sysdeps/tile/bits/atomic.h>.
5285         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5286         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
5287         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
5288         <sysdeps/tile/atomic-machine.h> instead of
5289         <sysdeps/tile/bits/atomic.h>.
5290         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5291         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
5292         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
5293         <sysdeps/arm/atomic-machine.h> instead of
5294         <sysdeps/arm/bits/atomic.h>.
5295         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
5296         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
5297         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5298         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
5299         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
5300         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5301         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
5302         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
5303         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
5304         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
5305         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
5306         * sysdeps/x86_64/bits/atomic.h: Move to ...
5307         * sysdeps/x86_64/atomic-machine.h: ...here.
5308         * include/atomic.h: Include <atomic-machine.h> instead of
5309         <bits/atomic.h>.
5311         * sysdeps/mips/mips32/libm-test-ulps: Update.
5312         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5314         [BZ #18952]
5315         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
5316         not convert non-integer negative arguments to int to determine the
5317         value of signgam.
5318         * math/auto-libm-test-in: Add more tests of lgamma.
5319         * math/auto-libm-test-out: Regenerated.
5321         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
5322         cosh, csqrt, erfc, expm1 and lgamma.
5323         * math/auto-libm-test-out: Regenerated.
5324         * sysdeps/i386/fpu/libm-test-ulps: Update.
5325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5327 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
5329         [BZ #2542]
5330         [BZ #2543]
5331         [BZ #2558]
5332         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
5333         __lgamma_neg for arguments from -28.0 to -2.0.
5334         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
5335         __lgamma_negf for arguments from -15.0 to -2.0.
5336         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5337         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
5338         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
5339         Call __lgamma_negl for arguments from -33.0 to -2.0.
5340         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
5341         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
5342         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
5343         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
5344         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
5345         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
5346         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
5347         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
5348         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
5349         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
5350         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
5351         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
5352         (__lgamma_neg): Likewise.
5353         (__lgamma_negl): Likewise.
5354         (__lgamma_product): Likewise.
5355         (__lgamma_productl): Likewise.
5356         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
5357         * math/auto-libm-test-in: Add more tests of lgamma.
5358         * math/auto-libm-test-out: Regenerated.
5359         * sysdeps/i386/fpu/libm-test-ulps: Update.
5360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5362 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
5364         [BZ #18675]
5365         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
5367 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
5369         [BZ #14912]
5370         * bits/libc-lock.h: Move to ...
5371         * sysdeps/generic/libc-lock.h: ...here.
5372         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5373         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
5374         * sysdeps/mach/hurd/libc-lock.h: ...here.
5375         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5376         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
5377         * sysdeps/mach/bits/libc-lock.h: Move to ...
5378         * sysdeps/mach/libc-lock.h: ...here.
5379         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5380         * sysdeps/nptl/bits/libc-lock.h: Move to ...
5381         * sysdeps/nptl/libc-lock.h: ...here.
5382         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5383         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
5384         * sysdeps/nptl/libc-lockP.h: ...here.
5385         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
5386         * crypt/crypt_util.c: Include <libc-lock.h> instead of
5387         <bits/libc-lock.h>.
5388         * dirent/scandir-tail.c: Likewise.
5389         * dlfcn/dlerror.c: Likewise.
5390         * elf/dl-close.c: Likewise.
5391         * elf/dl-iteratephdr.c: Likewise.
5392         * elf/dl-lookup.c: Likewise.
5393         * elf/dl-open.c: Likewise.
5394         * elf/dl-support.c: Likewise.
5395         * elf/dl-writev.h: Likewise.
5396         * elf/rtld.c: Likewise.
5397         * grp/fgetgrent.c: Likewise.
5398         * gshadow/fgetsgent.c: Likewise.
5399         * gshadow/sgetsgent.c: Likewise.
5400         * iconv/gconv_conf.c: Likewise.
5401         * iconv/gconv_db.c: Likewise.
5402         * iconv/gconv_dl.c: Likewise.
5403         * iconv/gconv_int.h: Likewise.
5404         * iconv/gconv_trans.c: Likewise.
5405         * include/link.h: Likewise.
5406         * inet/getnameinfo.c: Likewise.
5407         * inet/getnetgrent.c: Likewise.
5408         * inet/getnetgrent_r.c: Likewise.
5409         * intl/bindtextdom.c: Likewise.
5410         * intl/dcigettext.c: Likewise.
5411         * intl/finddomain.c: Likewise.
5412         * intl/gettextP.h: Likewise.
5413         * intl/loadmsgcat.c: Likewise.
5414         * intl/localealias.c: Likewise.
5415         * intl/textdomain.c: Likewise.
5416         * libidn/idn-stub.c: Likewise.
5417         * libio/libioP.h: Likewise.
5418         * locale/duplocale.c: Likewise.
5419         * locale/freelocale.c: Likewise.
5420         * locale/newlocale.c: Likewise.
5421         * locale/setlocale.c: Likewise.
5422         * login/getutent_r.c: Likewise.
5423         * login/getutid_r.c: Likewise.
5424         * login/getutline_r.c: Likewise.
5425         * login/utmp-private.h: Likewise.
5426         * login/utmpname.c: Likewise.
5427         * malloc/mtrace.c: Likewise.
5428         * misc/efgcvt.c: Likewise.
5429         * misc/error.c: Likewise.
5430         * misc/fstab.c: Likewise.
5431         * misc/getpass.c: Likewise.
5432         * misc/mntent.c: Likewise.
5433         * misc/syslog.c: Likewise.
5434         * nis/nis_call.c: Likewise.
5435         * nis/nis_callback.c: Likewise.
5436         * nis/nss-default.c: Likewise.
5437         * nis/nss_compat/compat-grp.c: Likewise.
5438         * nis/nss_compat/compat-initgroups.c: Likewise.
5439         * nis/nss_compat/compat-pwd.c: Likewise.
5440         * nis/nss_compat/compat-spwd.c: Likewise.
5441         * nis/nss_nis/nis-alias.c: Likewise.
5442         * nis/nss_nis/nis-ethers.c: Likewise.
5443         * nis/nss_nis/nis-grp.c: Likewise.
5444         * nis/nss_nis/nis-hosts.c: Likewise.
5445         * nis/nss_nis/nis-network.c: Likewise.
5446         * nis/nss_nis/nis-proto.c: Likewise.
5447         * nis/nss_nis/nis-pwd.c: Likewise.
5448         * nis/nss_nis/nis-rpc.c: Likewise.
5449         * nis/nss_nis/nis-service.c: Likewise.
5450         * nis/nss_nis/nis-spwd.c: Likewise.
5451         * nis/nss_nisplus/nisplus-alias.c: Likewise.
5452         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
5453         * nis/nss_nisplus/nisplus-grp.c: Likewise.
5454         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
5455         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
5456         * nis/nss_nisplus/nisplus-network.c: Likewise.
5457         * nis/nss_nisplus/nisplus-proto.c: Likewise.
5458         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
5459         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
5460         * nis/nss_nisplus/nisplus-service.c: Likewise.
5461         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
5462         * nis/ypclnt.c: Likewise.
5463         * nptl/libc_pthread_init.c: Likewise.
5464         * nss/getXXbyYY.c: Likewise.
5465         * nss/getXXent.c: Likewise.
5466         * nss/getXXent_r.c: Likewise.
5467         * nss/nss_db/db-XXX.c: Likewise.
5468         * nss/nss_db/db-netgrp.c: Likewise.
5469         * nss/nss_db/nss_db.h: Likewise.
5470         * nss/nss_files/files-XXX.c: Likewise.
5471         * nss/nss_files/files-alias.c: Likewise.
5472         * nss/nsswitch.c: Likewise.
5473         * posix/regex_internal.h: Likewise.
5474         * posix/wordexp.c: Likewise.
5475         * pwd/fgetpwent.c: Likewise.
5476         * resolv/res_hconf.c: Likewise.
5477         * resolv/res_libc.c: Likewise.
5478         * shadow/fgetspent.c: Likewise.
5479         * shadow/lckpwdf.c: Likewise.
5480         * shadow/sgetspent.c: Likewise.
5481         * socket/opensock.c: Likewise.
5482         * stdio-common/reg-modifier.c: Likewise.
5483         * stdio-common/reg-printf.c: Likewise.
5484         * stdio-common/reg-type.c: Likewise.
5485         * stdio-common/vfprintf.c: Likewise.
5486         * stdio-common/vfscanf.c: Likewise.
5487         * stdlib/abort.c: Likewise.
5488         * stdlib/cxa_atexit.c: Likewise.
5489         * stdlib/fmtmsg.c: Likewise.
5490         * stdlib/random.c: Likewise.
5491         * stdlib/setenv.c: Likewise.
5492         * string/strsignal.c: Likewise.
5493         * sunrpc/auth_none.c: Likewise.
5494         * sunrpc/bindrsvprt.c: Likewise.
5495         * sunrpc/create_xid.c: Likewise.
5496         * sunrpc/key_call.c: Likewise.
5497         * sunrpc/rpc_thread.c: Likewise.
5498         * sysdeps/arm/backtrace.c: Likewise.
5499         * sysdeps/generic/ldsodefs.h: Likewise.
5500         * sysdeps/generic/stdio-lock.h: Likewise.
5501         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
5502         * sysdeps/i386/backtrace.c: Likewise.
5503         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5504         * sysdeps/m68k/backtrace.c: Likewise.
5505         * sysdeps/mach/hurd/cthreads.c: Likewise.
5506         * sysdeps/mach/hurd/dirstream.h: Likewise.
5507         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
5508         * sysdeps/nptl/malloc-machine.h: Likewise.
5509         * sysdeps/nptl/stdio-lock.h: Likewise.
5510         * sysdeps/posix/dirstream.h: Likewise.
5511         * sysdeps/posix/getaddrinfo.c: Likewise.
5512         * sysdeps/posix/system.c: Likewise.
5513         * sysdeps/pthread/aio_suspend.c: Likewise.
5514         * sysdeps/s390/s390-32/backtrace.c: Likewise.
5515         * sysdeps/s390/s390-64/backtrace.c: Likewise.
5516         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5517         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5518         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
5519         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
5520         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
5521         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
5522         * sysdeps/unix/sysv/linux/system.c: Likewise.
5523         * sysdeps/x86_64/backtrace.c: Likewise.
5524         * time/alt_digit.c: Likewise.
5525         * time/era.c: Likewise.
5526         * time/tzset.c: Likewise.
5527         * wcsmbs/wcsmbsload.c: Likewise.
5528         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
5529         instead of <bits/libc-lock.h> in comment.
5531 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
5533         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
5534         Only use .set mips2 if the current ISA is below mips2.
5535         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
5536         Likewise.
5537         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
5538         mips32r2 if the current ISA is below mips32r2.
5539         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
5540         (TLS_IE): Updated to use the TLD_RDHWR macro.
5541         (TLS_LE): Likewise.
5542         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
5543         __ASSEMBLER__ condition.
5545 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5547         Fix parallel build of before-compile targets.
5549         * sysdeps/mach/Makefile ($(patsubst
5550         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
5551         mach-before-compile target.
5552         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
5553         io fs process)): Move rule to dedicated hurd-before-compile target.
5555 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5557         Fix rules generating headers in hurd/ and mach/ when initial make call
5558         has subdir= explicitly set.
5560         * sysdeps/mach/Makefile ($(patsubst
5561         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
5562         calling $(MAKE).
5563         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
5564         io fs process)): Force subdir to hurd when calling $(MAKE).
5565         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
5566         subdir to mach when calling $(MAKE).
5568 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
5570         Check sysheaders when looking for Mach and Hurd headers
5572         * sysdeps/mach/configure.ac: Add sysheaders check.
5573         * sysdeps/mach/configure: Regenerate.
5574         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
5575         * sysdeps/mach/hurd/configure: Regenerate.
5577 2015-09-04  Roland McGrath  <roland@hack.frob.com>
5579         [BZ #18921]
5580         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
5581         Fix inverted sense of test of 'o_directory_works' value.
5582         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
5583         Bernhard Voelker <mail@bernhard-voelker.de>.
5585 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
5587         [BZ #14912]
5588         * bits/linkmap.h: Move to ...
5589         * sysdeps/generic/linkmap.h: ...here.
5590         * sysdeps/aarch64/bits/linkmap.h: Move to ...
5591         * sysdeps/aarch64/linkmap.h: ...here.
5592         * sysdeps/arm/bits/linkmap.h: Move to ...
5593         * sysdeps/arm/linkmap.h: ...here.
5594         * sysdeps/hppa/bits/linkmap.h: Move to ...
5595         * sysdeps/hppa/linkmap.h: ...here.
5596         * sysdeps/ia64/bits/linkmap.h: Move to ...
5597         * sysdeps/ia64/linkmap.h: ...here.
5598         * sysdeps/mips/bits/linkmap.h: Move to ...
5599         * sysdeps/mips/linkmap.h: ...here.
5600         * sysdeps/s390/bits/linkmap.h: Move to ...
5601         * sysdeps/s390/linkmap.h: ...here.
5602         * sysdeps/sh/bits/linkmap.h: Move to ...
5603         * sysdeps/sh/linkmap.h: ...here.
5604         * sysdeps/x86/bits/linkmap.h: Move to ...
5605         * sysdeps/x86/linkmap.h: ...here.
5606         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
5608 2015-09-04  Andreas Schwab  <schwab@suse.de>
5610         [BZ #18635]
5611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
5612         (__makecontext): Terminate FDE before return label.
5613         (__novec_makecontext): Likewise.
5615 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5617         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
5618         first member of struct sv in syscall macro.
5620 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
5622         [BZ #14912]
5623         * bits/stdio-lock.h: Move to ...
5624         * sysdeps/generic/stdio-lock.h: ...here.
5625         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
5626         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
5627         * sysdeps/nptl/stdio-lock.h: ...here.
5628         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
5629         * include/libio.h: Include <stdio-lock.h> instead of
5630         <bits/stdio-lock.h>.
5631         * sysdeps/nptl/fork.c: Likewise.
5632         * sysdeps/pthread/flockfile.c: Likewise.
5633         * sysdeps/pthread/ftrylockfile.c: Likewise.
5634         * sysdeps/pthread/funlockfile.c: Likewise.
5636         [BZ #14912]
5637         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
5638         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
5639         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
5640         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
5641         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
5642         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5643         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
5645 2015-09-03  Roland McGrath  <roland@hack.frob.com>
5647         * elf/Makefile (test-xfail-tst-protected1a): New variable.
5648         (test-xfail-tst-protected1b): New variable.
5650 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
5652         [BZ #14912]
5653         * bits/libc-tsd.h: Move to ...
5654         * sysdeps/generic/libc-tsd.h: ...here.
5655         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
5656         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
5657         * sysdeps/mach/hurd/libc-tsd.h: ...here.
5658         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
5659         * include/ctype.h: Include <libc-tsd.h> instead of
5660         <bits/libc-tsd.h>.
5661         * include/rpc/rpc.h: Likewise.
5662         * locale/localeinfo.h: Likewise.
5663         * sunrpc/rpc_thread.c: Likewise.
5664         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
5665         * sysdeps/nptl/malloc-machine.h: Likewise.
5667         * Makefile (headers): Remove bits/libc-lock.h.
5668         * libio/Makefile (headers): Remove bits/stdio-lock.h.
5670         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
5671         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
5672         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
5673         <bits/stdio-lock.h>.
5674         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
5675         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
5677 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
5679         [BZ #18757]
5680         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
5681         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
5682         BZ #18757.
5684 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
5686         * malloc/mtrace.pl: Filter out NULL entries.
5688 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
5690         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
5691         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
5692         macro.
5694         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
5695         (TCP_CC_INFO): Likewise.
5696         (TCP_SAVE_SYN): Likewise.
5697         (TCP_SAVED_SYN): Likewise.
5699 2015-08-31  Brett Neumeier <brett@neumeier.us>
5701         [BZ #18870]
5702         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
5704 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
5706         [BZ #18873]
5707         Fix broken overflow check in posix_fallocate
5708         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
5709         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
5710         Fix parenthesization typo.
5712 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
5714         [BZ #18887]
5715         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
5716         tst-mntent-blank-passno.
5717         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
5718         * misc/tst-mntent-blank-corrupt.c: New test.
5719         * misc/tst-mntent-blank-passno.c: New test ripped from ...
5720         * misc/tst-mntent.c (do_test): ... here.
5722 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
5724         [BZ #4404]
5725         * po/de.po: Fix SIGALRM typo.
5727 2015-08-28  James Perkins  <james@loowit.net>
5729         * time/tst-strptime2.c (tests): Replace short list of test
5730         strings for strptime %z specifier with code which exhaustively
5731         tests every combination of sign and 0 to 5 digits. Tests for
5732         rejection of invalid strings.
5734 2015-08-28  James Perkins  <james@loowit.net>
5736         [BZ #16141]
5737         * time/strptime_l.c (__strptime_internal): Fix %z minutes
5738         calculation, removing incorrect decimal time rounding, so that
5739         all minute values result in a valid seconds value.
5740         * time/strptime_l.c (__strptime_internal): Extend %z time zone
5741         offset range limits to UTC-99:59 through UTC+99:59 to parse
5742         current and historical use cases.
5743         * time/tst-strptime2.c (tests): Modify and add tests for the
5744         strptime %z input field descriptor, specifically conversion of
5745         minutes to seconds and validating an offset range of -9959 to
5746         +9959.
5748 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5749             Dmitry V. Levin  <ldv@altlinux.org>
5751         [BZ #18877]
5752         * posix/Makefile (tests): Add tst-mmap-offset.
5753         * posix/tst-mmap.c: New file.
5754         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
5755         offset calculation for negative values.
5757 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5759         * sysdeps/i386/init-arch.h: New file.
5760         * sysdeps/i386/i586/init-arch.h: Likewise.
5761         * sysdeps/i386/i686/init-arch.h: Likewise.
5762         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
5763         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
5764         * sysdeps/x86/cpu-features.h (bit_I586): New.
5765         (bit_I686): Likewise.
5766         (bit_CX8): Likewise.
5767         (bit_CMOV): Likewise.
5768         (index_CX8): Likewise.
5769         (index_CMOV): Likewise.
5770         (index_I586): Likewise.
5771         (index_I686): Likewise.
5772         (reg_CX8): Likewise.
5773         (reg_CMOV): Likewise.
5774         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
5775         available at compile-time.
5776         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
5777         available at compile-time.
5778         * sysdeps/x86/init-arch.h (USE_I586): New macro.
5779         (USE_I686): Likewise.
5781 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5783         * sysdeps/i386/bcopy.S: New file.
5784         * sysdeps/i386/bzero.S: Likewise.
5785         * sysdeps/i386/memcpy.S: Likewise.
5786         * sysdeps/i386/memmove.S: Likewise.
5787         * sysdeps/i386/mempcpy.S: Likewise.
5788         * sysdeps/i386/memset.S: Likewise.
5789         * sysdeps/i386/bzero.c: Removed.
5790         * sysdeps/i386/memset.c: Likewise.
5791         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
5792         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
5793         * sysdeps/i386/i586/memset_chk.S: Likewise.
5794         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
5795         * sysdeps/i386/memcpy_chk.S: Here.
5796         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
5797         * sysdeps/i386/memmove_chk.S: Here.
5798         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
5799         * sysdeps/i386/mempcpy_chk.S: Likewise.
5800         * sysdeps/i386/i686/memset_chk.S: Moved to ...
5801         * sysdeps/i386/memset_chk.S: Likewise.
5803 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
5805         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
5806         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
5807         file, move DIAG_POP_NEEDS_COMMENT to end of file.
5808         * soft-fp/fmadf4.c: Ditto.
5809         * soft-fp/fmatf4.c: Ditto.
5811 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5813         * sysdeps/i386/i586/Implies: Removed.
5814         * sysdeps/i386/i686/Implies: Likewise.
5816 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5818         * sysdeps/i386/i486/strlen.S: Moved to ...
5819         * sysdeps/i386/strlen.S: Here.
5821 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5823         * sysdeps/i386/i486/strcat.S: Moved to ...
5824         * sysdeps/i386/strcat.S: Here.
5826 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5828         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
5829         * sysdeps/i386/pthread_spin_trylock.S: Here.
5830         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
5831         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
5833 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5835         * sysdeps/i386/i486/string-inlines.c: Moved to ...
5836         * sysdeps/i386/string-inlines.c: Here.
5838 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5840         * sysdeps/i386/i486/htonl.S: Moved ...
5841         * sysdeps/i386/htonl.S: here.
5843 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5845         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
5846         * sysdeps/i386/bits/atomic.h: Here.
5848 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5850         * sysdeps/i386/i486/Versions: Removed.
5852 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
5854         [BZ #2898]
5855         * misc/mktemp.c: Add mkdtemp to the link_warning message.
5856         Based on patch by Aurelien Jarno.
5858 2015-08-26  Stan Shebs  <stanshebs@google.com>
5860         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
5861         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5863 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5865         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
5866         * sysdeps/powerpc/dl-procinfo.c:
5867         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
5868         feature so it shows when LD_SHOW_AUXV=1.
5870 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5872         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5873         (__arch_compare_and_exchange_val_32_acq): Remove and use common
5874         definition.  ISA 2.07B no longer requires full sync.
5876 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
5878         [BZ #18863]
5879         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
5880         (si_call_addr): Define.
5881         (si_syscall): Define.
5882         (si_arch): Define.
5884 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
5886         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
5887         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
5888         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
5889         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
5890         (__memset_zero_constant_len_parameter): New.
5891         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
5892         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
5893         (__memset_zero_constant_len_parameter): Don't define if
5894         __memset_chk or USE_AS_BZERO are defined.
5896         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
5897         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
5898         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
5900         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
5901         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
5902         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
5903         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
5904         comments.
5905         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
5906         -mno-mmx for $(all-rtld-routines).
5907         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
5908         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
5909         i386.
5911 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5913         * sysdeps/generic/unwind.h
5914         (_Unwind_Word): Use __mode__(__unwind_word__)
5915         instead of __mode__(__word__).
5916         (_Unwind_Sword): Likewise.
5918         * sysdeps/s390/s390-64/utf8-utf16-z9.c
5919         (MAX_NEEDED_INPUT): New define.
5920         (MAX_NEEDED_OUTPUT): New define.
5922         * NEWS: New item for IBM z13 string optimizations.
5924         * sysdeps/s390/multiarch/memrchr-c.c: New File.
5925         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
5926         * sysdeps/s390/multiarch/memrchr.c: Likewise.
5927         * sysdeps/s390/multiarch/Makefile
5928         (sysdep_routines): Add memrchr functions.
5929         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
5930         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
5932         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
5933         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
5934         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
5935         * sysdeps/s390/multiarch/Makefile
5936         (sysdep_routines): Add wmemcmp functions.
5937         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
5938         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
5939         * benchtests/bench-wmemcmp.c: New File.
5940         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
5942         * sysdeps/s390/multiarch/wmemset-c.c: New File.
5943         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
5944         * sysdeps/s390/multiarch/wmemset.c: Likewise.
5945         * sysdeps/s390/multiarch/Makefile
5946         (sysdep_routines): Add wmemset functions.
5947         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
5948         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
5949         * wcsmbs/wmemset.c: Use WMEMSET if defined.
5950         * string/test-memset.c: Add wmemset support.
5951         * wcsmbs/test-wmemset.c: New File.
5952         * wcsmbs/Makefile (strop-tests): Add wmemset.
5953         * benchtests/bench-memset.c: Add wmemset support.
5954         * benchtests/bench-wmemset.c: New File.
5955         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
5957         * sysdeps/s390/multiarch/memccpy-c.c: New File.
5958         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
5959         * sysdeps/s390/multiarch/memccpy.c: Likewise.
5960         * sysdeps/s390/multiarch/Makefile
5961         (sysdep_routines): Add memccpy functions.
5962         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
5963         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
5964         * string/memccpy.c: Use MEMCCPY if defined.
5966         * sysdeps/s390/multiarch/memchr-vx.S: New File.
5967         * sysdeps/s390/multiarch/memchr.c: Likewise.
5968         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
5969         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
5970         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
5971         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
5972         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
5973         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
5974         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
5975         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
5976         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
5977         and rawmemchr functions.
5978         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
5979         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
5980         and wmemchr.
5981         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
5982         * string/test-memchr.c: Add wmemchr support.
5983         * wcsmbs/test-wmemchr.c: New File.
5984         * wcsmbs/Makefile (strop-tests): Add wmemchr.
5985         * benchtests/bench-memchr.c: Add wmemchr support.
5986         * benchtests/bench-wmemchr.c: New File.
5987         * benchtests/Makefile (wcsmbs-bench): wmemchr.
5989         * sysdeps/s390/multiarch/strcspn-c.c: New File.
5990         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
5991         * sysdeps/s390/multiarch/strcspn.c: Likewise.
5992         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
5993         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
5994         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
5995         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
5996         wcscspn functions.
5997         * sysdeps/s390/multiarch/ifunc-impl-list.c
5998         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
5999         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
6000         * string/test-strcspn.c: Add wcscspn support.
6001         * wcsmbs/test-wcscspn.c: New File.
6002         * wcsmbs/Makefile (strop-tests): Add wcscspn.
6003         * benchtests/bench-strcspn.c: Add wcscspn support.
6004         * benchtests/bench-wcscspn.c: New File.
6005         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
6007         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
6008         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
6009         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
6010         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
6011         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
6012         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
6013         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
6014         wcspbrk functions.
6015         * sysdeps/s390/multiarch/ifunc-impl-list.c
6016         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
6017         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
6018         * string/test-strpbrk.c: Add wcspbrk support.
6019         * wcsmbs/test-wcspbrk.c: New File.
6020         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
6021         * benchtests/bench-strpbrk.c: Add wcspbrk support.
6022         * benchtests/bench-wcspbrk.c: New File.
6023         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
6025         * sysdeps/s390/multiarch/strspn-c.c: New File.
6026         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
6027         * sysdeps/s390/multiarch/strspn.c: Likewise.
6028         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
6029         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
6030         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
6031         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
6032         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
6033         wcsspn functions.
6034         * sysdeps/s390/multiarch/ifunc-impl-list.c
6035         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
6036         * string/test-strspn.c: Add wcsspn support.
6037         * wcsmbs/test-wcsspn.c: New File.
6038         * wcsmbs/Makefile (strop-tests): Add wcsspn.
6039         * benchtests/bench-strspn.c: Add wcsspn support.
6040         * benchtests/bench-wcsspn.c: New File.
6041         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
6043         * sysdeps/s390/multiarch/strrchr-c.c: New File.
6044         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
6045         * sysdeps/s390/multiarch/strrchr.c: Likewise.
6046         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
6047         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
6048         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
6049         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
6050         wcsrchr functions.
6051         * sysdeps/s390/multiarch/ifunc-impl-list.c
6052         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
6053         * benchtests/bench-wcsrchr.c: New File.
6054         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
6056         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
6057         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
6058         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
6059         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
6060         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
6061         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
6062         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
6063         wcschrnul functions.
6064         * sysdeps/s390/multiarch/ifunc-impl-list.c
6065         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
6066         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
6067         * string/test-strchr.c: Add wcschrnul support.
6068         * wcsmbs/test-wcschrnul.c: New File.
6069         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
6070         * benchtests/bench-strchr.c: Add wcschrnul support.
6071         * benchtests/bench-wcschrnul.c: New File.
6072         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
6074         * sysdeps/s390/multiarch/strchr-c.c: New File.
6075         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
6076         * sysdeps/s390/multiarch/strchr.c: Likewise.
6077         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
6078         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
6079         * sysdeps/s390/multiarch/wcschr.c: Likewise.
6080         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
6081         wcschr functions.
6082         * sysdeps/s390/multiarch/ifunc-impl-list.c
6083         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
6084         * string/strchr.c (STRCHR): Define and use macro.
6085         * benchtests/bench-wcschr.c: New File.
6086         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
6088         * sysdeps/s390/multiarch/strncmp-c.c: New File.
6089         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
6090         * sysdeps/s390/multiarch/strncmp.c: Likewise.
6091         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
6092         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
6093         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
6094         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
6095         wcsncmp functions.
6096         * sysdeps/s390/multiarch/ifunc-impl-list.c
6097         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
6098         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
6099         * benchtests/bench-strncmp.c: Add wcsncmp support.
6100         * benchtests/bench-wcsncmp.c: New File.
6101         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
6103         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
6104         * sysdeps/s390/multiarch/strcmp.c: Likewise.
6105         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
6106         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
6107         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
6108         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
6109         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
6110         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
6111         wcscmp functions.
6112         * sysdeps/s390/multiarch/ifunc-impl-list.c
6113         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
6114         * string/strcmp.c (STRCMP): Define and use macro.
6115         * benchtests/bench-wcscmp.c: New File.
6116         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
6117         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
6118         instead of _HAVE_STRING_ARCH_memchr.
6120         * sysdeps/s390/multiarch/strncat-c.c: New File.
6121         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
6122         * sysdeps/s390/multiarch/strncat.c: Likewise.
6123         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
6124         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
6125         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
6126         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
6127         wcsncat functions.
6128         * sysdeps/s390/multiarch/ifunc-impl-list.c
6129         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
6130         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
6131         * string/test-strncat.c: Add wcsncat support.
6132         * wcsmbs/test-wcsncat.c: New File.
6133         * wcsmbs/Makefile (strop-tests): Add wcsncat.
6134         * benchtests/bench-strncat.c: Add wcsncat support.
6135         * benchtests/bench-wcsncat.c: New File.
6136         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
6138         * sysdeps/s390/multiarch/strcat-c.c: New File.
6139         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
6140         * sysdeps/s390/multiarch/strcat.c: Likewise.
6141         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
6142         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
6143         * sysdeps/s390/multiarch/wcscat.c: Likewise.
6144         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
6145         wcscat functions.
6146         * sysdeps/s390/multiarch/ifunc-impl-list.c
6147         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
6148         * string/strcat.c (STRCAT): Define and use macro.
6149         * wcsmbs/wcscat.c: Use WCSCAT if defined.
6150         * string/test-strcat.c: Add wcscat support.
6151         * wcsmbs/test-wcscat.c: New File.
6152         * wcsmbs/Makefile (strop-tests): Add wcscat.
6153         * benchtests/bench-strcat.c: Add wcscat support.
6154         * benchtests/bench-wcscat.c: New File.
6155         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
6157         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
6158         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
6159         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
6160         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
6161         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
6162         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
6163         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
6164         wcpncpy functions.
6165         * sysdeps/s390/multiarch/ifunc-impl-list.c
6166         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
6167         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
6168         * string/test-stpncpy.c: Add wcpncpy support.
6169         * wcsmbs/test-wcpncpy.c: New File.
6170         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
6171         * benchtests/bench-stpncpy.c: Add wcpncpy support.
6172         * benchtests/bench-wcpncpy.c: New File.
6173         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
6175         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
6176         * sysdeps/s390/multiarch/strncpy.c: Likewise.
6177         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
6178         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
6179         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
6180         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
6181         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
6182         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
6183         wcsncpy functions.
6184         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
6185         * sysdeps/s390/multiarch/ifunc-impl-list.c
6186         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
6187         * string/test-strncpy.c: Add wcsncpy support.
6188         * wcsmbs/test-wcsncpy.c: New File.
6189         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
6190         * benchtests/bench-strncpy.c: Add wcsncpy support.
6191         * benchtests/bench-wcsncpy.c: New File.
6192         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
6194         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
6195         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
6196         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
6197         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
6198         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
6199         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
6200         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
6201         wcpcpy functions.
6202         * string/stpcpy.c: Use STPCPY if defined.
6203         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
6204         * sysdeps/s390/multiarch/ifunc-impl-list.c
6205         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
6206         * string/test-stpcpy.c: Add wcpcpy support.
6207         * wcsmbs/test-wcpcpy.c: New File.
6208         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
6209         * benchtests/bench-stpcpy.c: Add wcpcpy support.
6210         * benchtests/bench-wcpcpy.c: New File.
6211         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
6213         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
6214         * sysdeps/s390/multiarch/strcpy.c: Likewise.
6215         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
6216         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
6217         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
6218         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
6219         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
6220         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
6221         wcscpy functions.
6222         * sysdeps/s390/multiarch/ifunc-impl-list.c
6223         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
6224         * benchtests/bench-wcscpy.c: New File.
6225         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
6227         * sysdeps/s390/multiarch/strnlen-c.c: New File.
6228         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
6229         * sysdeps/s390/multiarch/strnlen.c: Likewise.
6230         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
6231         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
6232         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
6233         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
6234         wcsnlen functions.
6235         * sysdeps/s390/multiarch/ifunc-impl-list.c
6236         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
6237         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
6238         * string/test-strnlen.c: Add wcsnlen support.
6239         * wcsmbs/test-wcsnlen.c: New File.
6240         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
6241         * benchtests/bench-strnlen.c: Add wcsnlen support.
6242         * benchtests/bench-wcsnlen.c: New File.
6243         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
6245         * sysdeps/s390/multiarch/Makefile: New File.
6246         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
6247         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
6248         * sysdeps/s390/multiarch/strlen.c: Likewise.
6249         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
6250         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
6251         * sysdeps/s390/multiarch/wcslen.c: Likewise.
6252         * string/strlen.c (STRLEN): Define and use macro.
6253         * sysdeps/s390/multiarch/ifunc-impl-list.c
6254         (IFUNC_VX_IMPL): New macro function.
6255         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
6256         * benchtests/Makefile (wcsmbs-bench): New variable.
6257         (string-bench-all): Added wcsmbs-bench.
6258         * benchtests/bench-wcslen.c: New File.
6260         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
6261         s390_vx_libc_ifunc2): New macro function.
6263         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
6264         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
6265         assembler support.
6266         * sysdeps/s390/configure: Regenerated.
6268         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
6269         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
6271         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
6272         * sysdeps/s390/dl-procinfo.h: Add vector capability.
6273         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
6275         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6276         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
6277         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
6278         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
6279         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
6280         (memcmp, bcmp): Use __memcmp_default as alias source.
6281         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
6282         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
6283         Rename to __memcmp_default.
6284         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
6285         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
6286         (memcpy): Use __memcpy_default as alias source.
6287         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
6288         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
6289         Rename to __memcpy_default.
6290         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
6291         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
6292         (memset): Use __memset_default as alias source.
6293         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
6294         * sysdeps/s390/s390-32/memset.S (__memset_g5):
6295         Rename to __memset_default.
6296         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
6297         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
6298         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
6299         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
6300         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
6301         (memcmp, bcmp): Use __memcmp_default as alias source.
6302         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
6303         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
6304         Rename to __memcmp_default.
6305         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
6306         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
6307         (memcpy): Use __memcpy_default as alias source.
6308         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
6309         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
6310         Rename to __memcpy_default.
6311         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
6312         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
6313         (memset): Use __memset_default as alias source.
6314         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
6315         * sysdeps/s390/s390-64/memset.S (__memset_z900):
6316         Rename to __memset_default.
6317         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
6318         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
6320         [BZ #18610]
6321         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
6322         __ieee_instruction_pointer to __unused.
6323         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
6324         __ieee_instruction_pointer.
6325         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
6326         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
6327         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6328         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
6329         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
6330         Mark dxc-field as reserved.
6332 2015-08-25  Roland McGrath  <roland@hack.frob.com>
6334         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
6335         if the weak reference is not null.
6337 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
6339         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
6341         [BZ #11214]
6342         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
6344 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6346         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
6347         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
6348         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
6349         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
6350         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
6351         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
6352         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
6353         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
6354         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
6355         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
6356         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
6357         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
6358         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
6359         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
6360         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
6361         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
6362         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
6363         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
6365 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6367         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
6368         register other than r0 for tabort, it has special meaning.
6369         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
6370         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
6371         transaction before starting syscall.
6373 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6375         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
6377 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
6379         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
6381         * sysdeps/x86_64/rtld-memcmp.c: Removed.
6382         * sysdeps/x86_64/rtld-memset.S: Likewise.
6383         * sysdeps/x86_64/rtld-strchr.S: Likewise.
6384         * sysdeps/x86_64/rtld-strlen.S: Likewise.
6385         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
6386         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6388         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
6390 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
6392         * debug/strcpy_chk.c: Improve performance.
6393         * debug/stpcpy_chk.c: Likewise.
6394         * sysdeps/x86_64/strcpy_chk.S: Remove.
6395         * sysdeps/x86_64/stpcpy_chk.S: Remove.
6397         [BZ #18240]
6398         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
6400 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
6402         [BZ #15128]
6403         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
6404         ifuncmain8.
6405         (modules-names): Add ifuncmod8.
6406         ($(objpfx)ifuncmain8): New rule.
6407         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
6408         <cpuid.h>.
6409         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
6410         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
6411         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
6412         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
6413         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
6414         * sysdeps/x86_64/dl-trampoline.h: Likewise.
6415         * sysdeps/x86_64/ifuncmain8.c: New file.
6416         * sysdeps/x86_64/ifuncmod8.c: Likewise.
6417         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
6418         Removed.
6419         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
6420         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
6421         Change rtld_savespace_sse to __glibc_unused2.
6422         (RTLD_CHECK_FOREIGN_CALL): Removed.
6423         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
6424         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
6425         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
6427 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
6429         * sysdeps/aarch64/bzero.S (__bzero): Remove.
6431 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
6433         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
6434         Unconditionally set __fpcr to avoid uninialized warning.
6435         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
6437 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6439         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
6440         is corrupt.
6442         * malloc/arena.c (arena_get2): Drop unused argument.
6443         (arena_lock): Adjust.
6444         (arena_get_retry): Likewise.
6446 2015-08-24  Andreas Schwab  <schwab@suse.de>
6448         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
6449         Don't define.
6450         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6451         (__ASSUME_IPC64): Don't undef.
6452         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
6453         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
6454         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6455         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
6456         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
6457         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
6458         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
6459         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
6460         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
6461         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
6462         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
6463         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
6464         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
6465         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
6466         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
6467         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
6468         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
6469         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
6470         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
6471         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
6472         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
6474 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
6476         * manual/Makefile (install): Only build manual when perl is available.
6478 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6480         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
6481         '#undef memcpy' by '#undef memchr'.
6483 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6485         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
6486         memchr not point to the internal __GI_memchr implementation.
6488 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
6490         * timezone/Makefile (CFLAGS-zdump.c): Remove
6491         -Wno-strict-prototypes.
6492         (CFLAGS-zic.c): Likewise.
6493         (CFLAGS-ialloc.c): Likewise.
6494         (CFLAGS-scheck.c): Likewise.
6496         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
6497         -Wno-error=undef.
6499 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
6501         * i386/i686/multiarch/strcasestr-c.c: Removed.
6502         * x86_64/multiarch/strcasestr.c: Likewise.
6503         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6504         Remove strcasestr.
6506 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
6508         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
6510         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
6511         variables for high and low parts before possibly modifying them.
6513 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
6515         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
6516         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
6517         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
6518         of "multiarch/init-arch.h".
6519         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
6520         * sysdeps/x86/init-arch.h: This.
6522 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
6524         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
6525         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
6527 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
6529         [BZ #17787]
6530         * manual/macros.texi: Add twoexp macro.
6531         * manual/filesys.texi: Fix exponents.
6532         * manual/llio.texi: Likewise.
6533         * manual/stdio.texi: Likewise.
6535 2015-08-20  Florian Weimer  <fweimer@redhat.com>
6537         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
6538         incorrect use.
6540 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
6542         [BZ #18370]
6543         * math/s_csqrt.c (__csqrt): Force underflow exception for results
6544         whose real or imaginary part has small absolute value.
6545         * math/s_csqrtf.c (__csqrtf): Likewise.
6546         * math/s_csqrtl.c (__csqrtl): Likewise.
6547         * math/auto-libm-test-in: Add more tests of csqrt.
6548         * math/auto-libm-test-out: Regenerated.
6549         * sysdeps/i386/fpu/libm-test-ulps: Update.
6551 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6553         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
6554         __ppc_set_ppr_very_low): New functions.
6555         * manual/platform.texi: Add documentation about
6556         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
6558 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
6560         * string/stpncpy.c (stpncpy): Improve performance using
6561         __strnlen/memcpy/memset.
6563 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6565         [BZ #18796]
6566         * scripts/test-installation.pl: Don't add -lmvec to build options if
6567         libmvec wasn't built.
6569 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
6571         [BZ #14341]
6572         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
6573         case when there is a gap between DT_REL and DT_JMPREL sections.
6574         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
6575         (LDFLAGS-tst-split-dynreloc): New.
6576         (tst-split-dynreloc-ENV): Likewise.
6577         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
6578         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
6580 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6582         [BZ #18822]
6583         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
6584         attribute_hidden.
6585         (__xstat64_conv): Likewise.
6586         (__xstat32_conv): Likewise.
6588 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6590         [BZ #18822]
6591         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
6592         Don't load %ebx when calling __setcontext.  Call __setcontext
6593         with HIDDEN_JUMPTARGET.
6594         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
6595         libc_hidden_def.
6597 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6599         * sysdeps/i386/i686/Makefile
6600         [$(subdir) == string] (sysdep_routines): Moved to ...
6601         * sysdeps/i386/Makefile: Here.
6602         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
6603         * sysdeps/i386/cacheinfo.c: Here.
6604         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
6605         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
6606         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
6607         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
6609 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6611         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
6612         __i586__ is defined.
6613         (HAS_I686): Defined to 1 if __i686__ is defined.
6615 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
6617         * elf/Makefile [$(have-z-execstack) = yes]
6618         (CPPFLAGS-tst-execstack.c): New variable.
6620         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
6621         conditional to [defined UTMPX || _HAVE_UT_TYPE].
6622         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
6623         UTMPX || _HAVE_UT_TV].
6624         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
6625         UTMPX || _HAVE_UT_TV - 0].
6627 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
6629         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
6630         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
6631         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
6633 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6635         * sysdeps/powerpc/dl-procinfo.c:
6636         (_dl_powerpc_cap_flags): Added missing strings for some
6637         hwcap features.
6638         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
6640 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
6642         Port the 0x7efe...feff pattern to GCC 6.
6643         See Steve Ellcey's bug report in:
6644         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
6645         * string/memrchr.c (MEMRCHR):
6646         * string/rawmemchr.c (RAWMEMCHR):
6647         * string/strchr.c (strchr):
6648         * string/strchrnul.c (STRCHRNUL):
6649         Rewrite code to avoid issues with signed shift overflow.
6651 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
6653         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
6654         whether cpuid is available only if HAS_CPUID is 0.
6655         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
6656         (HAS_I586): Likewise.
6657         (HAS_I686): Likewise.
6659 2015-08-18  Zack Weinberg  <zackw@panix.com>
6661         * misc/Versions (libc): Add GLIBC_2.23.
6663 2015-08-18  Alan Modra  <amodra@gmail.com>
6665         [BZ #18421]
6666         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
6667         .Lp__global.
6668         (_start): Load %dp via .Lp__global.
6669         [!SHARED]: Use .section .rodata.
6671 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6673         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
6674         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
6676 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6678         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
6679         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
6681 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6683         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
6684         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
6686 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6688         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
6689         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
6691 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6693         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
6694         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
6696 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6698         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
6699         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
6701 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6703         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
6705 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6707         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
6708         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
6709         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6710         (__ASSUME_LWS_CAS): Delete.
6712 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6714         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
6715         * sysdeps/hppa/configure: Regenerated.
6716         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
6717         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
6718         * sysdeps/hppa/nptl/tls.h: Likewise.
6720 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
6722         [BZ #18823]
6723         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
6724         for scaling up small arguments.
6725         * math/s_csqrtf.c (__csqrtf): Likewise.
6726         * math/s_csqrtl.c (__csqrtl): Likewise.
6727         * math/auto-libm-test-in: Add more tests of csqrt.
6728         * math/auto-libm-test-out: Regenerated.
6730 2015-08-17  Andreas Schwab  <schwab@suse.de>
6732         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
6733         version set GLIBC_2.19.
6735 2015-08-16  Zack Weinberg  <zackw@panix.com>
6737         [BZ #18681]
6738         * misc/regexp.h: This interface is no longer supported.
6739         Remove all contents, leaving only an #error directive.
6740         * misc/regexp.c (loc1, loc2, locs, step, advance):
6741         Demote to compatibility symbols.
6743 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
6745         [BZ #18084]
6746         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
6747         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
6748         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
6749         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
6750         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
6751         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
6752         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
6753         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
6754         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
6756 2015-08-15  Zack Weinberg  <zackw@panix.com>
6758         [BZ #18795]
6759         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
6760         buffer length is known to be too large, not if it's known to be
6761         small enough.
6762         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
6763         overflow at runtime, involving a length parameter, twice: once
6764         with a compile-time constant length parameter, once without.
6766 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
6768         [BZ #18824]
6769         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
6770         scaling x * y up instead of down.
6771         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6772         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6773         * math/auto-libm-test-in: Add more tests of fma.
6774         * math/auto-libm-test-out: Regenerated.
6776 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
6778         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6780 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6782         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
6783         unnecessary movq.
6784         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
6785         Likewise.
6787 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
6789         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6790         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
6791         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
6792         and tgamma.
6793         * math/auto-libm-test-out: Regenerated.
6794         * sysdeps/i386/fpu/libm-test-ulps: Update.
6795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6797         [BZ #16520]
6798         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
6799         (__tanh): Force underflow exception for arguments with small
6800         absolute value.
6801         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
6802         (__tanhf): Force underflow exception for arguments with small
6803         absolute value.
6804         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
6805         (__tanhl): Force underflow exception for arguments with small
6806         absolute value.
6807         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
6808         (__tanhl): Force underflow exception for arguments with small
6809         absolute value.
6810         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
6811         (__tanhl): Force underflow exception for arguments with small
6812         absolute value.
6813         * math/auto-libm-test-in: Add more tests of tanh.
6814         * math/auto-libm-test-out: Regenerated.
6815         * sysdeps/i386/fpu/libm-test-ulps: Update.
6817 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
6819         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
6820         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
6822 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
6824         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
6825         <cpuid.h>.
6827 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
6829         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
6830         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
6832 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
6834         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
6835         Remove $(objpfx)init-arch.o.
6836         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
6837         init-arch.
6838         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
6839         (INIT_ARCH_EXT): Defined as empty.
6840         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
6841         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
6842         __init_cpu_features call.  Replace HAS_XXX with
6843         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
6844         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
6845         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
6846         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
6847         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
6848         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
6849         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
6850         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
6851         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
6852         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
6853         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
6854         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
6855         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
6856         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
6857         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
6858         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
6859         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
6860         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
6861         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
6862         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
6863         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
6864         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
6865         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
6866         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
6867         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
6868         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
6869         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
6870         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
6871         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
6872         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
6873         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
6874         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
6875         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
6876         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
6877         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
6878         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
6880 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
6882         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
6883         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
6884         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
6885         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
6886         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
6887         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
6888         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
6889         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
6890         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
6891         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
6892         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
6893         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
6894         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
6895         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6896         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6897         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6898         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6899         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6900         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6901         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6902         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6903         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6904         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6905         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6906         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6907         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6908         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6909         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6910         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6911         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6912         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6913         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6914         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6915         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6916         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6917         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6918         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6919         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6920         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6921         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6922         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6923         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6924         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6926 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
6928         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
6929         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
6930         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6931         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6932         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6933         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
6934         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6935         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
6936         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6937         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6938         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6939         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
6940         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
6941         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
6942         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
6943         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
6944         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
6945         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
6946         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
6947         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
6948         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
6949         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
6950         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
6951         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6952         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6953         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
6954         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
6955         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
6956         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
6957         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6958         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6959         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6960         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6961         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6962         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6963         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6964         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6965         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6966         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6967         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6968         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6969         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6970         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6972 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
6974         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
6975         (dl_platform_init): Call init_cpu_features.
6976         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
6977         * sysdeps/i386/i686/cacheinfo.c
6978         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
6979         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
6980         * sysdeps/i386/i686/multiarch/Versions: Removed.
6981         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
6982         Removed.
6983         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
6984         * sysdeps/unix/sysv/linux/x86/Makefile
6985         (libpthread-sysdep_routines): Remove init-arch.
6986         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
6987         <sysdeps/x86_64/dl-procinfo.c> instead of
6988         sysdeps/generic/dl-procinfo.c>.
6989         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
6990         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
6991         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
6992         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
6993         [$(subdir) == elf] (tests-static): Add
6994         tst-get-cpu-features-static.
6995         * sysdeps/x86/Versions: New file.
6996         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
6997         * sysdeps/x86/cpu-features.c: Likewise.
6998         * sysdeps/x86/cpu-features.h: Likewise.
6999         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
7000         * sysdeps/x86/libc-start.c: Likewise.
7001         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
7002         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
7003         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
7004         * sysdeps/x86_64/dl-procinfo.c: Likewise.
7005         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
7006         Assume USE_MULTIARCH is defined and don't check it.
7007         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
7008         (is_amd): Likewise.
7009         (max_cpuid): Likewise.
7010         (intel_check_word): Likewise.
7011         (__cache_sysconf): Don't call __init_cpu_features.
7012         (__x86_preferred_memory_instruction): Removed.
7013         (init_cacheinfo): Don't call __init_cpu_features. Replace
7014         __cpu_features with GLRO(dl_x86_cpu_features).
7015         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
7016         (dl_platform_init): Call init_cpu_features.
7017         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
7018         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
7019         * sysdeps/x86_64/multiarch/Versions: Removed.
7020         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
7021         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
7022         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
7023         Removed.
7024         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
7026 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7028         [BZ #18820]
7029         * libio/Makefile (test-fmemopen-mem): New test.
7030         * libio/test-fmemopen.c (do_bz18820): New test.
7031         * libio/fmemopen.c (__fmemopen): Fix memory leak.
7032         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
7034 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7036         [BZ #16734]
7037         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
7038         (FREE_BUF): Delete.
7039         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
7040         * libio/genops.c (_IO_setb): Use malloc and free directly.
7041         (_IO_default_doallocate, _IO_default_finish): Likewise.
7042         ( _IO_unbuffer_all): Likewise.
7043         ( libc_freeres_fn): Likewise.
7044         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7045         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
7046         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
7047         (_IO_wdefault_doallocate): Likewise.
7049 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7051         [BZ #18086]
7052         * sysdeps/posix/nice.c (nice): Restore old errno.
7053         * posix/tst-nice.c (do_test): Add test for BZ #18086.
7055 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
7057         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
7059 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7061         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
7062         __bcopy and add a weak_alias to bcopy.
7063         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
7064         for static build.
7066         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
7067         cleanup macro usage.
7068         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
7069         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
7070         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
7071         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
7072         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
7073         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
7074         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
7075         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
7076         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
7077         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
7078         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
7079         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
7080         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
7081         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
7082         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7083         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
7084         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
7085         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
7086         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
7088         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
7089         libc_hidden_def.
7090         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
7092         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
7093         (sysdep_routines): Add strstr-ppc64.
7094         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
7096 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
7098         [BZ #18778]
7099         * elf/Makefile (tests): Add Add tst-nodelete2.
7100         (modules-names): Add tst-nodelete2mod.
7101         (tst-nodelete2mod.so-no-z-defs): New.
7102         ($(objpfx)tst-nodelete2): Likewise.
7103         ($(objpfx)tst-nodelete2.out): Likewise.
7104         (LDFLAGS-tst-nodelete2): Likewise.
7105         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
7106         out of loop through all loaded libraries.
7107         * elf/tst-nodelete2.c: New file.
7108         * elf/tst-nodelete2mod.c: Likewise.
7109         * elf/tst-znodelete-zlib.cc: Delete.
7111 2015-08-11  Andreas Schwab  <schwab@suse.de>
7113         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
7114         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
7115         (__openat64_nocancel): Likewise.
7117 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
7119         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
7120         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
7121         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
7122         * math/auto-libm-test-out: Regenerated.
7123         * sysdeps/i386/fpu/libm-test-ulps: Update.
7124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7126 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
7128         [BZ #18790]
7129         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
7130         threshold for returning +/- 1.
7131         * math/auto-libm-test-in: Add more tests of tanh.
7132         * math/auto-libm-test-out: Regenerated.
7133         * sysdeps/i386/fpu/libm-test-ulps: Update.
7135 2015-08-10  Andreas Schwab  <schwab@suse.de>
7137         [BZ #18781]
7138         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
7139         MORE_OFLAGS to oflag.
7140         * io/test-lfs.c (do_test): Test openat64.
7142 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
7144         [BZ #18789]
7145         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
7146         smaller threshold for returning the argument.
7147         * math/auto-libm-test-in: Add more tests of sinh.
7148         * math/auto-libm-test-out: Regenerated.
7149         * sysdeps/i386/fpu/libm-test-ulps: Update.
7151 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
7153         [BZ #18674]
7154         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
7155         break.
7157 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
7159         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
7160         (generated): Don't add $(addprefix z.,$(tzfiles)).
7162 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
7164         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
7165         * scripts/sysd-rules.awk: Likewise.
7167 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
7169         * iconvdata/tst-tables.sh: Change echo -n to printf.
7170         * nss/db-Makefile: Likewise.
7171         * posix/tst-getconf.sh: Likewise.
7172         * stdio-common/tst-unbputc.sh: Likewise.
7174 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
7176         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
7177         MADV_*_PAGES defines behind this feature check.
7179 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
7181         [BZ #18480]
7182         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
7183         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
7184         Define.
7185         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
7186         LOAD_REGS_5, LOAD_REGS_6): Update.
7187         (INTERNAL_SYSCALL): Update using new LOAD defines.
7188         (INTERNAL_SYSCALL_NCS): Likewise.
7189         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
7191 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7193         [BZ #16734]
7194         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
7196 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7198         [BZ #17905]
7199         * catgets/Makefile (tst-catgets-mem): New test.
7200         * catgets/catgets.c (catopen): Don't use unbounded alloca.
7201         * catgets/open_catalog.c (__open_catalog): Likewise.
7202         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
7204 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
7206         [BZ #18787]
7207         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
7208         clobber registers.
7209         (atomic_compare_and_exchange_val_acq): Use register asms to assign
7210         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
7211         Cast return to __typeof (oldval).
7213 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
7215         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
7216         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
7217         and delete sys/syscall.h include.
7219 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
7221         [BZ #16517]
7222         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
7223         (tan): Force underflow exception for arguments with small absolute
7224         value.
7225         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
7226         (__kernel_tanf): Force underflow exception for arguments with
7227         small absolute value.
7228         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
7229         (__kernel_tanl): Force underflow exception for arguments with
7230         small absolute value.
7231         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
7232         (__kernel_tanl): Force underflow exception for arguments with
7233         small absolute value.
7234         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
7235         (__kernel_tanl): Force underflow exception for arguments with
7236         small absolute value.
7237         * math/auto-libm-test-in: Add more tests of tan.
7238         * math/auto-libm-test-out: Regenerated.
7240 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7242         Fix sysdeps/i386/fpu/s_scalbn.S build
7244         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
7246 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
7248         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
7250 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7252         Fix gcrt0.o compilation
7254         When static-start-installed-name is different from
7255         start-installed-name, we must not use the shared objects.
7257         * csu/Makefile
7258         (extra-objs): Add gmon-start.o when building shared library and
7259         $(static-start-installed-name) is different from
7260         $(start-installed-name).
7261         $(objpfx)g$(static-start-installed-name): When building shared
7262         library and $(static-start-installed-name) is different from
7263         $(static-start-installed-name), revert to non-shared rule,
7264         i.e. using $(objpfx)% and gmon-start.o.
7266 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
7268         [BZ #16519]
7269         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
7270         (__ieee754_sinh): Force underflow exception for arguments with
7271         small absolute value.
7272         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
7273         (__ieee754_sinhf): Force underflow exception for arguments with
7274         small absolute value.
7275         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
7276         (__ieee754_sinhl): Force underflow exception for arguments with
7277         small absolute value.
7278         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
7279         (__ieee754_sinhl): Force underflow exception for arguments with
7280         small absolute value.
7281         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
7282         (__ieee754_sinhl): Force underflow exception for arguments with
7283         small absolute value.
7284         * math/auto-libm-test-in: Add more tests of sinh.
7285         * math/auto-libm-test-out: Regenerated.
7286         * sysdeps/i386/fpu/libm-test-ulps: Update.
7288 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
7290         * libio/oldfileops.c: Include unistd.h.
7292 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
7294         * stdlib/isomac.c: Include ctype.h.
7296 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
7298         * dirent/tst-seekdir.c (main): Converted to ...
7299         (do_test): ... this.
7300         (TEST_FUNCTION): New macro.
7301         Include test-skeleton.c.
7302         * elf/tst-dlmodcount.c (main): Converted to ...
7303         (do_test): ... this.
7304         (TEST_FUNCTION): New macro.
7305         Include test-skeleton.c.
7306         * elf/tst-order-main.c (main): Converted to ...
7307         (do_test): ... this.
7308         (TEST_FUNCTION): New macro.
7309         Include test-skeleton.c.
7310         * elf/tst-pie2.c (main): Converted to ...
7311         (do_test): ... this.
7312         (TEST_FUNCTION): New macro.
7313         Include test-skeleton.c.
7314         * inet/tst-ether_aton.c (main): Converted to ...
7315         (do_test): ... this.
7316         (TEST_FUNCTION): New macro.
7317         Include test-skeleton.c.
7318         * misc/tst-mntent.c (main): Converted to ...
7319         (do_test): ... this.
7320         (TEST_FUNCTION): New macro.
7321         Include test-skeleton.c.
7322         * misc/tst-tsearch.c (main): Converted to ...
7323         (do_test): ... this.
7324         (TEST_FUNCTION): New macro.
7325         Include test-skeleton.c.
7326         * posix/tst-regexloc.c (main): Converted to ...
7327         (do_test): ... this.
7328         (TEST_FUNCTION): New macro.
7329         Include test-skeleton.c.
7330         * resolv/tst-aton.c (main): Converted to ...
7331         (do_test): ... this.
7332         (TEST_FUNCTION): New macro.
7333         Include test-skeleton.c.
7334         * stdio-common/test-fwrite.c (main): Converted to ...
7335         (do_test): ... this.
7336         (TEST_FUNCTION): New macro.
7337         Include test-skeleton.c.
7338         * stdio-common/tst-ferror.c (main): Converted to ...
7339         (do_test): ... this.
7340         (TEST_FUNCTION): New macro.
7341         Include test-skeleton.c.
7342         * stdio-common/tst-printf.c (main): Converted to ...
7343         (do_test): ... this.
7344         (TEST_FUNCTION): New macro.
7345         Include test-skeleton.c.
7346         * stdio-common/tst-printfsz.c (main): Converted to ...
7347         (do_test): ... this.
7348         (TEST_FUNCTION): New macro.
7349         Include test-skeleton.c.
7350         * stdlib/tst-strtod.c (main): Converted to ...
7351         (do_test): ... this.
7352         (TEST_FUNCTION): New macro.
7353         Include test-skeleton.c.
7354         * string/tst-strlen.c (main): Converted to ...
7355         (do_test): ... this.
7356         (TEST_FUNCTION): New macro.
7357         Include test-skeleton.c.
7358         * string/tst-svc.c (main): Converted to ...
7359         (do_test): ... this.
7360         (TEST_FUNCTION): New macro.
7361         Include test-skeleton.c.
7362         * time/tst-strptime.c (main): Converted to ...
7363         (do_test): ... this.
7364         (TEST_FUNCTION): New macro.
7365         Include test-skeleton.c.
7366         * timezone/tst-timezone.c (main): Converted to ...
7367         (do_test): ... this.
7368         (TEST_FUNCTION): New macro.
7369         Include test-skeleton.c.
7371 2015-08-05  Zack Weinberg  <zackw@panix.com>
7373         * misc/regexp.h: Update comments.
7375 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
7377         [BZ #18635]
7378         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
7379         before return label.
7381 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7383         [BZ #18661]
7384         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
7385         when calling __errno_location.
7386         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
7387         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
7389 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7391         [BZ #18661]
7392         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
7393         (__lll_timedwait_tid): Align stack to 16 bytes when calling
7394         __gettimeofday.
7396 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7398         [BZ #18661]
7399         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7400         (__start_context): Don't use pop to restore %rdi so that stack
7401         is aligned to 16 bytes when calling __setcontext.
7403 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7405         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
7406         only for libc.
7407         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
7409 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7411         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
7412         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
7413         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
7415 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7417         * string/memccpy.c (memccpy):
7418         Improve performance by using memchr/memcpy/__mempcpy.
7420 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7422         * string/strncpy.c (strncpy):
7423         Improve performance by using __strnlen/memcpy.
7425 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7427         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7428         Optimize to avoid an unnecessary FPCR read.
7430 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7432         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7433         Optimize to reduce FPCR/FPSR accesses.
7435 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7437         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
7438         dead->data[category] != NULL.
7440 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
7442         [BZ #18647]
7443         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
7444         and |x| close to 1, use absolute value of x when computing log.
7445         * math/auto-libm-test-in: Add more tests of pow.
7446         * math/auto-libm-test-out: Regenerated.
7448 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7450         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
7451         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
7452         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
7454 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
7456         [BZ #18525]
7457         * locales/km_KH: Remove timezone definition.
7458         * locales/lo_LA: Likewise.
7459         * locales/my_MM: Likewise.
7460         * locales/nan_TW@latin: Likewise.
7461         * locales/th_TH: Likewise.
7462         * locales/uk_UA: Likewise.
7464 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
7466         [BZ #18265]
7467         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
7468         (wcsncat): Likewise.
7469         (wcscmp): Likewise.
7470         (wcsncmp): Likewise.
7472 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
7474         * test-skeleton.c (usage): New function.
7475         (main): Call usage when opt is '?'.
7477 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
7479         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
7480         before first use.
7482 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
7484         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
7485         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
7486         in there too.
7488 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
7490         * version.h (RELEASE): Set to "development".
7491         (VERSION): Set to "2.22.90"
7493         * version.h (RELEASE): Set to "stable".
7494         (VERSION): Set to "2.22"
7495         * include/features.h (__GLIBC_MINOR__): Set to 22.
7497 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
7499         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
7500         Restructure macro to avoid "value computed is not used" warning.
7501         (atomic_compare_and_exchange_val_acq): Likewise.
7503 2015-08-04  Andreas Schwab  <schwab@suse.de>
7505         [BZ #18635]
7506         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
7507         ret.
7508         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
7510 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
7512         * po/pl.po: Updated translation.
7513         * po/uk.po: Likewise.
7514         * po/fi.po: Likewise.
7515         * po/ko.po: Likewise.
7516         * po/ru.po: Likewise.
7517         * po/vi.po: Likewise.
7519 2015-07-31  Zack Weinberg  <zackw@panix.com>
7521         [BZ #18681]
7522         * regexp.h: Add unconditional #warning stating that this header
7523         will be removed soon.  Revise banner comment to match.
7524         (compile): Consistently use ERROR instead of RETURN to report
7525         errors (partial fix for bz#18681).
7526         * regexp.c: Don't include regexp.h. Remove some unnecessary
7527         declarations.
7529 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
7531         * po/libc.pot: Regenerated.
7533 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7535         [BZ #18740]
7536         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
7537         float-vlen4-arch-ext-cflags): Removed.
7538         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
7539         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
7541 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7543         [BZ #14113]
7544         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
7545         aligned to __aligned__.
7546         (pthread_cond_t, pthread_rwlock_t): Likewise.
7548 2015-07-30  Torvald Riegel  <triegel@redhat.com>
7550         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
7552 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7554         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
7555         (struct sigaction): Change sa_flags from a long to an int, and add
7556         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
7558 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7560         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
7561         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
7562         sysdeps/generic/sysdep.h include.
7563         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
7564         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
7565         sysdeps/hppa/sysdep.h.
7566         (ENTRY, PSEUDO): Undefine before defining.
7568 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7570         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
7571         from scratch to use INTERNAL_SYSCALL.
7573 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
7575         [BZ #18078]
7576         * scripts/check-localplt.awk: Support alternate relocations.
7577         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
7578         sections.
7579         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
7580         malloc entries with + REL R_386_GLOB_DAT.
7581         * sysdeps/x86_64/localplt.data: New file.
7583 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
7585         [BZ #18731]
7586         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
7587         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
7588         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7590 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7592         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
7594 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7596         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
7597         directly in terms of __sync_fetch_and_add and delete (int) cast.
7599 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7601         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
7602         the -D_ASM_IA64_CURRENT_H flag.
7604 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7606         [BZ #18641]
7607         * pwd/pwd.h (putpwent): Delete __nonnull markings.
7609 2015-07-27  Andreas Schwab  <schwab@suse.de>
7611         * conform/conformtest.pl (checknamespace): Filter out string
7612         literals while tokenizing.
7614 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
7616         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
7617         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
7618         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
7620 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
7622         * nptl/tst-join7mod.c: Add #include <string.h>.
7624 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
7626         * sysdeps/nios2/libm-test-ulps: Update.
7628 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
7630         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
7631         Fix order of arguments to the rt_sigprocmask syscall.
7632         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
7633         Likewise.
7635 2015-07-24  Roland McGrath  <roland@hack.frob.com>
7637         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
7639 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7641         [BZ #18457]
7642         * nptl/Makefile (tests): New test case tst-join7.
7643         (modules-names): New test case module tst-join7mod.
7644         * nptl/tst-join7.c: New file.
7645         * nptl/tst-join7mod.c: New file.
7646         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
7647         all translation units in libc.so, libpthread.so and rtld.
7649 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7651         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7653 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
7655         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
7656         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
7657         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
7658         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
7659         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
7660         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
7661         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
7662         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
7663         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
7664         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
7665         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
7666         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
7667         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
7668         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
7669         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
7670         implementation.
7672 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7674         [BZ #17711]
7675         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
7676         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
7677         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
7678         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
7679         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
7680         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
7682 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7684         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
7685         instead of just saying load lock in the comments.
7687 2015-07-23  Roland McGrath  <roland@hack.frob.com>
7689         * sysdeps/unix/Subdirs: Moved ...
7690         * sysdeps/posix/Subdirs: ... here.
7691         * login/pty.h (struct termios, struct winsize): Add forward decls.
7692         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
7693         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
7694         * sysdeps/arm/nacl/libc.abilist: Updated.
7695         * sysdeps/nacl/libutil.abilist: New file.
7697         * bits/signum.h: Update comments to mention 1003.1-2013 too.
7698         (SIGWINCH): New macro.
7700         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
7701         * sysdeps/arm/nacl/libc.abilist: Add it.
7703 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
7705         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
7707 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
7709         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
7710         Swap __glibc_reserved0 and sa_flags order.
7712 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7714         [BZ #18657]
7715         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
7716         are pending TLS destructor calls.
7717         * include/link.h (struct link_map): Add concurrency note for
7718         L_TLS_DTOR_COUNT.
7719         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7720         Don't touch the link map flag.  Atomically increment
7721         l_tls_dtor_count.
7722         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
7723         Avoid taking the load lock and don't touch the link map flag.
7724         * stdlib/tst-tls-atexit-nodelete.c: New test case.
7725         * stdlib/Makefile (tests): Use it.
7726         * stdlib/tst-tls-atexit.c (do_test): dlopen
7727         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
7728         to allow tst-tls-atexit-nodelete test case to use it.
7730 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
7732         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
7733         to bits/types.h.
7734         (msgqnum_t): New typedef.
7735         (msglen_t): Likewise.
7736         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
7737         and msg_qbytes type to msglen_t.
7739 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
7741         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
7742         pad0 to __glibc_reserved0.
7743         (struct stat64): Likewise.
7745 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
7747         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
7748         Change sa_flags from a long to an int and add __glibc_reserved0 before
7749         it for padding.
7751 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
7753         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
7754         anonymous by deleting "siginfo" name.
7756 2015-07-21  Roland McGrath  <roland@hack.frob.com>
7758         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
7759         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
7760         rather than __nacl_irt_filename.
7761         * sysdeps/nacl/xstat.c (__xstat): Likewise.
7763         * NEWS: New item for arm-nacl port.
7764         * sysdeps/arm/nacl/libc.abilist: New file.
7765         * sysdeps/nacl/ld.abilist: New file.
7766         * sysdeps/nacl/libBrokenLocale.abilist: New file.
7767         * sysdeps/nacl/libanl.abilist: New file.
7768         * sysdeps/nacl/libcrypt.abilist: New file.
7769         * sysdeps/nacl/libdl.abilist: New file.
7770         * sysdeps/nacl/libm.abilist: New file.
7771         * sysdeps/nacl/libpthread.abilist: New file.
7772         * sysdeps/nacl/libresolv.abilist: New file.
7773         * sysdeps/nacl/librt.abilist: New file.
7775 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
7777         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
7778         __startcontext to initialize the new context.
7779         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
7780         up CFI directive to forbid further backtracing.
7782 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
7784         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
7785         reference.
7786         * charmaps/ANSI_X3.4-1968: Likewise.
7787         * charmaps/BS_4730: Likewise.
7788         * charmaps/BS_VIEWDATA: Likewise.
7789         * charmaps/CP1250: Likewise.
7790         * charmaps/CP1251: Likewise.
7791         * charmaps/CP1252: Likewise.
7792         * charmaps/CP1253: Likewise.
7793         * charmaps/CP1254: Likewise.
7794         * charmaps/CP1255: Likewise.
7795         * charmaps/CP1256: Likewise.
7796         * charmaps/CSN_369103: Likewise.
7797         * charmaps/EBCDIC-DK-NO: Likewise.
7798         * charmaps/GB_1988-80: Likewise.
7799         * charmaps/GREEK-CCITT: Likewise.
7800         * charmaps/GREEK7: Likewise.
7801         * charmaps/INIS-8: Likewise.
7802         * charmaps/ISIRI-3342: Likewise.
7803         * charmaps/ISO_2033-1983: Likewise.
7804         * charmaps/ISO_5427-EXT: Likewise.
7805         * locales/POSIX: Likewise.
7806         * locales/ar_SA: Likewise.
7807         * locales/be_BY: Likewise.
7808         * locales/be_BY@latin: Likewise.
7809         * locales/ca_ES: Likewise.
7810         * locales/cs_CZ: Likewise.
7811         * locales/da_DK: Likewise.
7812         * locales/de_BE: Likewise.
7813         * locales/de_CH: Likewise.
7814         * locales/de_LU: Likewise.
7815         * locales/en_AU: Likewise.
7816         * locales/en_BW: Likewise.
7817         * locales/en_CA: Likewise.
7818         * locales/en_DK: Likewise.
7819         * locales/en_GB: Likewise.
7820         * locales/en_IE: Likewise.
7821         * locales/en_NZ: Likewise.
7822         * locales/en_ZA: Likewise.
7823         * locales/en_ZW: Likewise.
7824         * locales/es_AR: Likewise.
7825         * locales/es_BO: Likewise.
7826         * locales/es_CL: Likewise.
7827         * locales/es_CO: Likewise.
7828         * locales/es_DO: Likewise.
7829         * locales/es_EC: Likewise.
7830         * locales/es_ES: Likewise.
7831         * locales/es_HN: Likewise.
7832         * locales/es_MX: Likewise.
7833         * locales/es_PA: Likewise.
7834         * locales/es_PE: Likewise.
7835         * locales/es_PY: Likewise.
7836         * locales/es_SV: Likewise.
7837         * locales/es_US: Likewise.
7838         * locales/es_UY: Likewise.
7839         * locales/es_VE: Likewise.
7840         * locales/et_EE: Likewise.
7841         * locales/fa_IR: Likewise.
7842         * locales/fo_FO: Likewise.
7843         * locales/fr_CA: Likewise.
7844         * locales/fr_CH: Likewise.
7845         * locales/gv_GB: Likewise.
7846         * locales/he_IL: Likewise.
7847         * locales/hr_HR: Likewise.
7848         * locales/id_ID: Likewise.
7849         * locales/is_IS: Likewise.
7850         * locales/it_CH: Likewise.
7851         * locales/iw_IL: Likewise.
7852         * locales/kl_GL: Likewise.
7853         * locales/ko_KR: Likewise.
7854         * locales/kw_GB: Likewise.
7855         * locales/lg_UG: Likewise.
7856         * locales/lt_LT: Likewise.
7857         * locales/lv_LV: Likewise.
7858         * locales/mi_NZ: Likewise.
7859         * locales/nhn_MX: Likewise.
7860         * locales/nl_BE: Likewise.
7861         * locales/pl_PL: Likewise.
7862         * locales/sk_SK: Likewise.
7863         * locales/sl_SI: Likewise.
7864         * locales/sv_FI: Likewise.
7865         * locales/tl_PH: Likewise.
7866         * locales/tr_TR: Likewise.
7867         * locales/vi_VN: Likewise.
7869 2015-07-21  Khem Raj  <raj.khem@gmail.com>
7871         [BZ #17475]
7872         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
7873         of tu_IN and bh_IN.
7875 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
7877         [BZ #18694]
7878         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
7879         bits/wordsize.h.
7880         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
7882 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7884         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
7885         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
7886         (spawn_thread): New function.
7887         (load): Rename to reg_dtor_and_close.  Move dlopen to...
7888         (do_test): ... here.  Use IS_LOADED to test for its
7889         availability.
7891 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
7893         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7895 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
7897         [BZ #18696]
7898         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
7899         si_addr_bnd.
7900         (si_lower): New.
7901         (si_upper): Likewise.
7903 2015-07-16  David S. Miller  <davem@davemloft.net>
7905         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
7907 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7909         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
7910         buffer.
7911         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
7912         fail output information.
7914 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7916         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
7917         and strstr-ppc64..
7918         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7919         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
7920         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
7921         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
7922         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
7924 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
7926         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
7927         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
7928         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
7929         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
7931 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
7933         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
7934         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
7935         rtld_hidden_proto.
7936         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
7938 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7940         * tst-nodelete-opened.c (do_test): Add comment to clarify how
7941         the test can fail.
7943         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
7945         [BZ #18676]
7946         * elf/tst-nodelete-opened.c: New test case.
7947         * elf/tst-nodelete-opened-lib.c: New test case module.
7948         * elf/Makefile (tests, modules-names): Use them.
7949         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
7950         early.
7952 2015-07-15  David S. Miller  <davem@davemloft.net>
7954         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
7955         futex-intenal.h
7956         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
7957         * sysdeps/sparc/sparc64/Makefile: Likewise.
7958         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
7959         Remove space from macro define.
7960         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
7962 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
7964         [BZ #17475]
7965         * locale/iso-639.def: Update Bhili and Tulu language codes as
7966         per iso639-3.
7968 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
7970         * elf/tst-leaks1.c (main): Converted to ...
7971         (do_test): ... this.
7972         (TEST_FUNCTION): New macro.
7973         Include test-skeleton.c.
7974         * localedata/tst-langinfo.c (main): Converted to ...
7975         (do_test): ... this.
7976         (TEST_FUNCTION): New macro.
7977         Include test-skeleton.c.
7978         * math/test-fpucw.c (main): Converted to ...
7979         (do_test): ... this.
7980         (TEST_FUNCTION): New macro.
7981         Include test-skeleton.c.
7982         * math/test-tgmath.c (main): Converted to ...
7983         (do_test): ... this.
7984         (TEST_FUNCTION): New macro.
7985         Include test-skeleton.c.
7986         * math/test-tgmath2.c (main): Converted to ...
7987         (do_test): ... this.
7988         (TEST_FUNCTION): New macro.
7989         Include test-skeleton.c.
7990         * setjmp/tst-setjmp.c (main): Converted to ...
7991         (do_test): ... this.
7992         (TEST_FUNCTION): New macro.
7993         Include test-skeleton.c.
7994         * stdio-common/tst-sscanf.c (main): Converted to ...
7995         (do_test): ... this.
7996         (TEST_FUNCTION): New macro.
7997         Include test-skeleton.c.
7998         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
7999         (do_test): ... this.
8000         (TEST_FUNCTION): New macro.
8001         Include test-skeleton.c.
8003         * elf/tst-audit9.c (main): Converted to ...
8004         (do_test): ... this.
8005         (TEST_FUNCTION): New macro.
8006         Include test-skeleton.c.
8008 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
8010         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
8012 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8014         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
8015         New variable.
8017 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8019         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8021 2015-07-14  Roland McGrath  <roland@hack.frob.com>
8023         * sysdeps/generic/dl-fileid.h: New file.
8024         * sysdeps/posix/dl-fileid.h: New file.
8025         * sysdeps/nacl/dl-fileid.h: New file.
8026         * include/link.h: Include <dl-fileid.h>.
8027         (struct link_map): Replace l_dev and l_ino with l_file_id.
8028         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
8029         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
8030         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
8032 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8034         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
8036 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8038         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
8039         Add iff $CXX is set.
8040         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
8041         Likewise.
8042         (tst-nodelete-zmodiff): Likewise.
8043         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
8045 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8047         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
8049 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
8051         * sysdeps/aarch64/fpu/math_private.h
8052         (define math_opt_barrier): Add AArch64 version.
8053         (math_force_eval): Likewise.
8055 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
8057         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
8059 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
8061         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
8062         %ld with %jd and cast to intmax_t.
8063         (do_test_length_zero): Likewise.
8065 2015-07-10  Roland McGrath  <roland@hack.frob.com>
8067         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
8069 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
8071         * sysdeps/tile/libm-test-ulps: Regenerated.
8073         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
8074         Comment out the whole function, not just its body.
8076 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8078         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
8079         locks.
8081         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
8083 2015-07-10  Torvald Riegel  <triegel@redhat.com>
8085         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
8086         (sem_assume_only_signals_cause_futex_EINTR): Remove.
8088 2015-07-10  Torvald Riegel  <triegel@redhat.com>
8090         * sysdeps/nptl/futex-internal.h: New file.
8091         * sysdeps/nacl/futex-internal.h: New file.
8092         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
8093         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
8094         error checking.
8095         (setxid_unmark_thread): Likewise.
8096         (__nptl_setxid): Likewise.
8097         (__wait_lookup_done): Likewise.
8098         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
8099         * nptl/nptl-init.c (sighandler_setxid): Likewise.
8100         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
8101         * nptl/pthread_once.c (clear_once_control): Likewise.
8102         (__pthread_once_slow): Likewise.
8103         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
8104         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
8105         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
8106         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
8107         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
8108         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
8109         Likewise.
8110         (__pthread_rwlock_rdlock): Likewise.
8111         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8112         Likewise.
8113         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8114         Likewise.
8115         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
8116         Likewise.
8117         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
8118         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
8119         Likewise.
8120         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
8121         __ASSUME_PRIVATE_FUTEX check.
8122         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
8123         Check that shared futexes are supported.
8124         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
8125         wrappers with error checking.
8126         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
8127         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
8128         * nptl/pthread_barrierattr_setpshared.c
8129         (pthread_barrierattr_setpshared): Check that shared futexes are
8130         supported.
8131         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
8132         Likewise.
8133         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
8134         Likewise.
8135         * nptl/sem_init.c (futex_private_if_supported): Remove.
8136         (__new_sem_init): Adapt and check that shared futexes are supported.
8137         * nptl/sem_open.c (sem_open): Likewise.
8138         * nptl/sem_post.c (futex_wake): Remove.
8139         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
8140         (do_futex_wait): Use futex wrappers with error checking.
8141         * nptl/sem_wait.c: Include lowlevellock.h.
8142         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
8143         Use futex_supports_pshared.
8144         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
8145         Use futex wrappers with error checking.
8146         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
8147         Likewise.
8148         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
8149         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
8150         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
8151         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
8152         (futex_wake): Likewise.
8153         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
8154         (do_futex_wait): Use futex wrappers with error checking.
8155         (__new_sem_wait_slow): Update EINTR handling.
8156         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
8158 2015-07-09  Martin Sebor  <msebor@redhat.com>
8160         [BZ #18435]
8161         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
8162         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
8163         * nptl/Makefile (test-xfail-tst-once5): Define.
8165 2015-07-09  Roland McGrath  <roland@hack.frob.com>
8167         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
8168         * elf/dl-minimal.c: For readability, reorder some definitions and
8169         introduce more page breaks.  Include <stdio.h>.
8170         (__libc_fatal): New function.
8172         * include/unistd.h: Add rtld_hidden_proto for _exit.
8173         * posix/_exit.c: Add rtld_hidden_def.
8174         * sysdeps/mach/hurd/_exit.c: Likewise.
8175         * sysdeps/nacl/_exit.c: Likewise.
8176         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
8177         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
8179 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
8181         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
8182         bndmov encoding with zero displacement.
8184 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
8185             H.J. Lu  <hongjiu.lu@intel.com>
8187         [BZ #18134]
8188         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
8189         * sysdeps/i386/configure: Regenerated.
8190         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
8191         (_dl_runtime_profile): Save and restore Intel MPX return bound
8192         registers when calling _dl_call_pltexit.  Add
8193         PRESERVE_BND_REGS_PREFIX before return.
8194         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
8195         (LRV_BND1_OFFSET): Likewise.
8196         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
8197         lrv_bnd1.
8198         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
8199         typo in bndmov encoding.
8200         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
8201         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
8202         branch instructions to preserve bounds.
8204 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8207         [GLIBC_2.22]: Add fmemopen.
8209 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8211         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
8212         returns an error, also try to use host port from __mach_host_self for
8213         the __vm_wire call.
8214         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
8216 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8218         [BZ #18400]
8219         [BZ #18648]
8220         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
8221         Fix pr_uid and pr_gid members.
8222         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
8223         definition to elf_greg_t.
8225 2015-07-08  Roland McGrath  <roland@hack.frob.com>
8227         [BZ #18383]
8228         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
8229         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
8230         * sysdeps/arm/configure: Regenerated.
8231         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
8232         (test-xfail-tst-tlsalign-static): Variable removed.
8234         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
8235         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
8236         rather than explicit 'ln -s'.
8238         * resolv/rpc/netdb.h: New file.
8239         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
8241 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8243         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
8244         length buffers.
8245         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
8246         test-skeleton.c.
8248         [BZ #6544]
8249         [BZ #11216]
8250         [BZ #12836]
8251         [BZ #13151]
8252         [BZ #13152]
8253         [BZ #14292]
8254         * include/stdio.h (fmemopen): Remove hidden prototype.
8255         (__fmemopen): Add new hidden prototype.
8256         * libio/Makefile: Add oldfmemopen object.
8257         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
8258         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
8259         compliance.
8260         * libio/oldfmemopen.c: New file: old fmemopen implementation for
8261         symbol compatibility.
8262         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
8263         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
8264         fmemopen.
8265         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
8266         on append and read mode.
8267         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
8268         fmemopen.
8269         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
8270         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
8271         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
8272         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
8273         Likewise.
8274         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
8275         [GLIBC_2.22]: Likewise.
8276         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
8277         Likewise.
8278         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
8279         Likewise.
8280         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8281         [GLIBC_2.22]: Likewise.
8282         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8283         [GLIBC_2.22]: Likewise.
8284         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8285         [GLIBC_2.22]: Likewise.
8286         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8287         [GLIBC_2.22]: Likewise.
8288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8289         [GLIBC_2.22]: Likewise.
8290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8291         [GLIBC_2.22]: Likewise.
8292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8293         [GLIBC_2.22]: Likewise.
8294         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
8295         Likewise.
8296         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
8297         Likewise.
8298         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
8299         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
8300         [GLIBC_2.22]: Likewise.
8301         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
8302         [GLIBC_2.22]: Likewise.
8303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
8304         [GLIBC_2.22]: Likewise.
8305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
8306         [GLIBC_2.22]: Likewise.
8307         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
8308         Likewise.
8309         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
8310         Likewise.
8311         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
8312         Likewise.
8313         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
8314         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
8316 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
8318         [BZ #18643]
8319         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
8320         IPV6_PATHMTU, and IPV6_DONTFRAG.
8322 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
8324         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
8325         and _IO_UNBUFFERED.
8326         * libio/oldfileops.c: Likewise.
8327         * libio/wfileops.c: Likewise.
8329 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
8331         * nscd/selinux.c: Delete selinux/flask.h include.
8333 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
8335         [BZ #18641]
8336         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
8337         (putpwent): Likewise.
8338         (getpwnam): Likewise.
8339         (getpwent_r): Likewise.
8340         (getpwuid_r): Likewise.
8341         (getpwnam_r): Likewise.
8342         (fgetpwent_r): Likewise.
8344 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
8346         [BZ #18557]
8347         * inet/rcmd.c (__validuser2_sa): Check user first to
8348         short-circuit host check.
8350 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
8351             Mikhail Ilin  <m.ilin@samsung.com>
8353         [BZ #17833]
8354         * elf/Makefile (tests): Add tst-nodelete.
8355         (modules-names): Add tst-nodelete-uniquemod.
8356         (tst-nodelete-uniquemod.so-no-z-defs): New.
8357         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
8358         (tst-nodelete-zmod.so-no-z-defs): Likewise.
8359         ($(objpfx)tst-nodelete): Likewise.
8360         ($(objpfx)tst-nodelete.out): Likewise.
8361         (LDFLAGS-tst-nodelete): Likewise.
8362         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
8363         * elf/dl-close.c (_dl_close_worker): Add a parameter to
8364         implement forced object deletion.
8365         (_dl_close): Pass false to _dl_close_worker.
8366         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
8367         * elf/tst-nodelete.cc: New file.
8368         * elf/tst-nodeletelib.cc: Likewise.
8369         * elf/tst-znodeletelib.cc: Likewise.
8370         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
8372 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8374         [BZ #18508]
8375         * stdlib/Makefile ($(objpfx)tst-makecontext3):
8376         Depend on $(libdl).
8377         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
8378         is not called infinitely times.
8379         (backtrace_helper): New function.
8380         (trace_arg): New struct.
8381         (st1): Enlarge stack size.
8382         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
8383         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
8384         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
8385         Likewise.
8387 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8389         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8391 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8393         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
8394         Include sys/types.h instead of bits/types.h.
8395         Remove inclusion of bits/wordsize.h.
8397 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8399         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
8400         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
8401         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
8402         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
8403         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
8404         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
8406 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8408         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
8409         link-defines.sym.
8410         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
8411         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
8412         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
8413         and LR_SIZE.
8414         * sysdeps/i386/link-defines.sym: New file.
8416 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8418         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
8419         (modules-names): Add tst-auditmod3a tst-auditmod3b.
8420         ($(objpfx)tst-audit3): New rule.
8421         ($(objpfx)tst-audit3.out): Likewise.
8422         * sysdeps/i386/tst-audit3.c: New file.
8423         * sysdeps/i386/tst-audit3.h: Likewise.
8424         * sysdeps/i386/tst-auditmod3a.c: Likewise.
8425         * sysdeps/i386/tst-auditmod3b.c: Likewise.
8427 2015-07-07  Torvald Riegel  <triegel@redhat.com>
8429         [BZ #18633]
8430         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
8431         pointer in C code.
8432         (__strcat_c): Likewise.
8433         (__strcat_g): Likewise.
8435 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
8437         [BZ #18592]
8438         * misc/sbrk.c: Set errno to ENOMEM on overflow.
8440 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
8442         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
8443         New function.  (__ieee754_sqrtf): New function.
8444         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
8445         New function.
8446         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
8447         New function.
8449 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
8451         * sysdeps/ieee754/support.c: Remove unused file.
8453 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8455         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
8456         registers instead of d ones so the layout is kernel abi compatible.
8457         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
8458         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
8459         Likewise.
8461 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8463         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8465 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
8467         [BZ #18619]
8468         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
8469         and return argument in case of subnormal argument.
8471 2015-07-01  Martin Sebor  <msebor@redhat.com>
8473         [BZ #18435]
8474         * nptl/Makefile: Add tst-once5.cc.
8475         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
8476         Remove macro redefinitions.
8477         * nptl/tst-once5.cc: New test.
8479 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
8481         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8483         * sysdeps/arm/libm-test-ulps: Regenerated.
8485         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8486         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8488 2015-06-30  Torvald Riegel  <triegel@redhat.com>
8490         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
8491         lll_lock_wait_private and lll_futex_wake probes.
8493         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
8494         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
8495         Likewise.
8496         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
8497         atomic_spin_nop.
8498         * sysdeps/x86_64/bits/atomic.h: Likewise.
8499         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
8500         to atomic_spin_nop and move ...
8501         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
8502         ... here and ...
8503         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
8504         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
8505         atomic_spin_nop instead of BUSY_WAIT_NOP.
8506         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
8507         Likewise.
8508         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
8509         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
8510         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
8511         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
8512         instead of atomic_delay.
8514 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
8516         [BZ #18613]
8517         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
8518         X_ADJ not X when adjusting exponent.
8519         (__ieee754_gamma_r): Do intermediate computations in
8520         round-to-nearest then adjust overflowing and underflowing results
8521         as needed.
8522         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
8523         of X_ADJ not X when adjusting exponent.
8524         (__ieee754_gammaf_r): Do intermediate computations in
8525         round-to-nearest then adjust overflowing and underflowing results
8526         as needed.
8527         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
8528         log of X_ADJ not X when adjusting exponent.
8529         (__ieee754_gammal_r): Do intermediate computations in
8530         round-to-nearest then adjust overflowing and underflowing results
8531         as needed.  Use 1.0L not 1.0f as numerator of division.
8532         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
8533         log of X_ADJ not X when adjusting exponent.
8534         (__ieee754_gammal_r): Do intermediate computations in
8535         round-to-nearest then adjust overflowing and underflowing results
8536         as needed.  Use 1.0L not 1.0f as numerator of division.
8537         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
8538         of X_ADJ not X when adjusting exponent.
8539         (__ieee754_gammal_r): Do intermediate computations in
8540         round-to-nearest then adjust overflowing and underflowing results
8541         as needed.  Use 1.0L not 1.0f as numerator of division.
8542         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
8543         to auto-libm-test-in.
8544         (tgamma_test): Use ALL_RM_TEST.
8545         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
8546         tests of tgamma with spurious-overflow.
8547         * math/auto-libm-test-out: Regenerated.
8548         * math/gen-libm-have-vector-test.sh: Do not check for START.
8549         * sysdeps/i386/fpu/libm-test-ulps: Update.
8550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8552         [BZ #18612]
8553         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
8554         arguments, just return 0.5 times the argument, with underflow
8555         forced as needed.
8556         * math/auto-libm-test-in: Add more tests of j1.
8557         * math/auto-libm-test-out: Regenerated.
8559         [BZ #16559]
8560         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
8561         (__ieee754_j1): Force underflow exception for small results.
8562         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8563         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
8564         (__ieee754_j1f): Force underflow exception for small results.
8565         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8566         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8567         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8568         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
8569         (__ieee754_j1l): Force underflow exception for small results.
8570         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8571         * math/auto-libm-test-in: Add more tests of j1 and jn.
8572         * math/auto-libm-test-out: Regenerated.
8574         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
8575         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
8576         (PF_MPLS): Likewise.
8577         (AF_IB): Likewise.
8578         (AF_MPLS): Likewise.
8579         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
8580         value and macro.
8581         (MS_RMT_MASK): Include MS_LAZYTIME.
8583 2015-06-26  Mel Gorman  <mgorman@suse.de>
8585         [BZ #18502]
8586         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
8587         already minimal.
8589 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
8591         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
8592         (DT_MIPS_NUM): Update.
8593         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
8594         DT_MIPS_RLD_MAP_REL.
8596 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
8598         [BZ #16559]
8599         [BZ #18602]
8600         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
8601         round-to-nearest internally then recompute results that
8602         underflowed to zero in the original rounding mode.
8603         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8604         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8605         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8606         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
8607         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
8608         * sysdeps/i386/fpu/libm-test-ulps: Update.
8609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8611 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
8613         * NEWS: Fixed description of link with vector math library.
8615 2015-06-25  Andreas Schwab  <schwab@suse.de>
8617         [BZ #18549]
8618         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
8619         * libio/test-fmemopen.c (do_test): Add test for it.
8621 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
8623         [BZ #17841]
8624         * Makeconfig (no-pie-ldflag): New.
8625         (+link): Set to $(+link-pie) if default to PIE.
8626         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
8627         * config.make.in (build-pie-default): New.
8628         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
8629         is default.  AC_SUBST.
8630         * configure: Regenerated.
8631         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
8633 2015-06-24  Roland McGrath  <roland@hack.frob.com>
8635         * nptl/descr.h (struct pthread): Change type of field setxid_futex
8636         to 'unsigned int'.
8638         * resolv/gai_misc.h (struct waitlist): Change type of field
8639         counterp to 'volatile unsigned int *'.
8640         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
8641         FUTEXADDR and OLDVAL.
8642         * resolv/getaddrinfo_a.c (getaddrinfo_a):
8643         Give local variable TOTAL type 'volatile unsigned int'.
8644         (struct async_waitlist): Change type of field counter to 'unsigned int'.
8645         * resolv/gai_suspend.c (gai_suspend):
8646         Give local variable CNTR type 'unsigned int'.
8648         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
8649         counterp to 'volatile unsigned int *'.
8650         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
8651         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
8652         (aio_suspend): Give local variable CNTR type 'unsigned int'.
8653         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
8654         Give local variable TOTAL type 'volatile unsigned int'.
8655         (struct async_waitlist): Change type of field counter to 'unsigned int'.
8657 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
8659         [BZ #18383]
8660         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
8661         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
8662         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
8663         comment for i386/x86-64.
8664         (test-xfail-tst-tlsalign-extern-static): Removed.
8666 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
8668         * math/test-double.h: New file.
8669         * math/test-float.h: Likewise.
8670         * math/test-ldouble.h: Likewise.
8671         * math/test-math-inline.h: Likewise.
8672         * math/test-math-no-inline.h: Likewise.
8673         * math/test-math-scalar.h: Likewise.
8674         * math/test-math-vector.h: Likewise.
8675         * math/test-vec-loop.h: Remove file.  Contents moved into
8676         test-math-vector.h.
8677         * math/libm-test.inc (MATHCONST): Do not document macro.
8678         * math/test-double.c: Include test-double.h, test-math-no-inline.h
8679         and test-math-scalar.h.
8680         (FUNC): Remove macro.
8681         (FUNC_TEST): Likewise.
8682         (FLOAT): Likewise.
8683         (MATHCONST): Likewise.
8684         (PRINTF_EXPR): Likewise.
8685         (PRINTF_XEXPR): Likewise.
8686         (PRINTF_NEXPR): Likewise.
8687         (TEST_DOUBLE): Likewise.
8688         (TEST_MATHVEC): Likewise.
8689         (__NO_MATH_INLINES): Likewise.
8690         * math/test-float.c: Include test-float.h, test-math-no-inline.h
8691         and test-math-scalar.h.
8692         (FUNC): Remove macro.
8693         (FUNC_TEST): Likewise.
8694         (FLOAT): Likewise.
8695         (MATHCONST): Likewise.
8696         (PRINTF_EXPR): Likewise.
8697         (PRINTF_XEXPR): Likewise.
8698         (PRINTF_NEXPR): Likewise.
8699         (TEST_FLOAT): Likewise.
8700         (TEST_MATHVEC): Likewise.
8701         (__NO_MATH_INLINES): Likewise.
8702         * math/test-idouble.c: Include test-double.h, test-math-inline.h
8703         and test-math-scalar.h.
8704         (FUNC): Remove macro.
8705         (FUNC_TEST): Likewise.
8706         (FLOAT): Likewise.
8707         (MATHCONST): Likewise.
8708         (PRINTF_EXPR): Likewise.
8709         (PRINTF_XEXPR): Likewise.
8710         (PRINTF_NEXPR): Likewise.
8711         (TEST_DOUBLE): Likewise.
8712         (TEST_MATHVEC): Likewise.
8713         (TEST_INLINE): Likewise.
8714         (__NO_MATH_INLINES): Likewise.
8715         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
8716         test-math-scalar.h.
8717         (FUNC): Remove macro.
8718         (FUNC_TEST): Likewise.
8719         (FLOAT): Likewise.
8720         (MATHCONST): Likewise.
8721         (PRINTF_EXPR): Likewise.
8722         (PRINTF_XEXPR): Likewise.
8723         (PRINTF_NEXPR): Likewise.
8724         (TEST_FLOAT): Likewise.
8725         (TEST_MATHVEC): Likewise.
8726         (TEST_INLINE): Likewise.
8727         (__NO_MATH_INLINES): Likewise.
8728         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
8729         and test-math-scalar.h.
8730         (FUNC): Remove macro.
8731         (FUNC_TEST): Likewise.
8732         (FLOAT): Likewise.
8733         (MATHCONST): Likewise.
8734         (PRINTF_EXPR): Likewise.
8735         (PRINTF_XEXPR): Likewise.
8736         (PRINTF_NEXPR): Likewise.
8737         (TEST_LDOUBLE): Likewise.
8738         (TEST_MATHVEC): Likewise.
8739         (TEST_INLINE): Likewise.
8740         (__NO_MATH_INLINES): Likewise.
8741         * math/test-ldouble.c: Include test-ldouble.h,
8742         test-math-no-inline.h and test-math-scalar.h.
8743         (FUNC): Remove macro.
8744         (FUNC_TEST): Likewise.
8745         (FLOAT): Likewise.
8746         (MATHCONST): Likewise.
8747         (PRINTF_EXPR): Likewise.
8748         (PRINTF_XEXPR): Likewise.
8749         (PRINTF_NEXPR): Likewise.
8750         (TEST_LDOUBLE): Likewise.
8751         (TEST_MATHVEC): Likewise.
8752         (__NO_MATH_INLINES): Likewise.
8753         * math/test-double-vlen2.h: Include test-double.h,
8754         test-math-no-inline.h and test-math-vector.h.
8755         (FLOAT): Remove macro.
8756         (FUNC): Likewise.
8757         (MATHCONST): Likewise.
8758         (PRINTF_EXPR): Likewise.
8759         (PRINTF_XEXPR): Likewise.
8760         (PRINTF_NEXPR): Likewise.
8761         (TEST_DOUBLE): Likewise.
8762         (TEST_MATHVEC): Likewise.
8763         (__NO_MATH_INLINES): Likewise.
8764         (CNCT): Likewise.
8765         (CONCAT): Likewise.
8766         (WRAPPER_NAME): Likewise.
8767         (WRAPPER_DECL): Likewise.
8768         (WRAPPER_DECL_ff): Likewise.
8769         (WRAPPER_DECL_fFF): Likewise.
8770         (VECTOR_WRAPPER): Likewise.
8771         (VECTOR_WRAPPER_ff): Likewise.
8772         (VECTOR_WRAPPER_fFF): Likewise.
8773         (VEC_LEN): New macro.
8774         * math/test-double-vlen4.h: Include test-double.h,
8775         test-math-no-inline.h and test-math-vector.h.
8776         (FLOAT): Remove macro.
8777         (FUNC): Likewise.
8778         (MATHCONST): Likewise.
8779         (PRINTF_EXPR): Likewise.
8780         (PRINTF_XEXPR): Likewise.
8781         (PRINTF_NEXPR): Likewise.
8782         (TEST_DOUBLE): Likewise.
8783         (TEST_MATHVEC): Likewise.
8784         (__NO_MATH_INLINES): Likewise.
8785         (CNCT): Likewise.
8786         (CONCAT): Likewise.
8787         (WRAPPER_NAME): Likewise.
8788         (WRAPPER_DECL): Likewise.
8789         (WRAPPER_DECL_ff): Likewise.
8790         (WRAPPER_DECL_fFF): Likewise.
8791         (VECTOR_WRAPPER): Likewise.
8792         (VECTOR_WRAPPER_ff): Likewise.
8793         (VECTOR_WRAPPER_fFF): Likewise.
8794         (VEC_LEN): New macro.
8795         * math/test-double-vlen8.h: Include test-double.h,
8796         test-math-no-inline.h and test-math-vector.h.
8797         (FLOAT): Remove macro.
8798         (FUNC): Likewise.
8799         (MATHCONST): Likewise.
8800         (PRINTF_EXPR): Likewise.
8801         (PRINTF_XEXPR): Likewise.
8802         (PRINTF_NEXPR): Likewise.
8803         (TEST_DOUBLE): Likewise.
8804         (TEST_MATHVEC): Likewise.
8805         (__NO_MATH_INLINES): Likewise.
8806         (CNCT): Likewise.
8807         (CONCAT): Likewise.
8808         (WRAPPER_NAME): Likewise.
8809         (WRAPPER_DECL): Likewise.
8810         (WRAPPER_DECL_ff): Likewise.
8811         (WRAPPER_DECL_fFF): Likewise.
8812         (VECTOR_WRAPPER): Likewise.
8813         (VECTOR_WRAPPER_ff): Likewise.
8814         (VECTOR_WRAPPER_fFF): Likewise.
8815         (VEC_LEN): New macro.
8816         * math/test-float-vlen4.h: Include test-float.h,
8817         test-math-no-inline.h and test-math-vector.h.
8818         (FLOAT): Remove macro.
8819         (FUNC): Likewise.
8820         (MATHCONST): Likewise.
8821         (PRINTF_EXPR): Likewise.
8822         (PRINTF_XEXPR): Likewise.
8823         (PRINTF_NEXPR): Likewise.
8824         (TEST_FLOAT): Likewise.
8825         (TEST_MATHVEC): Likewise.
8826         (__NO_MATH_INLINES): Likewise.
8827         (CNCT): Likewise.
8828         (CONCAT): Likewise.
8829         (WRAPPER_NAME): Likewise.
8830         (WRAPPER_DECL): Likewise.
8831         (WRAPPER_DECL_ff): Likewise.
8832         (WRAPPER_DECL_fFF): Likewise.
8833         (VECTOR_WRAPPER): Likewise.
8834         (VECTOR_WRAPPER_ff): Likewise.
8835         (VECTOR_WRAPPER_fFF): Likewise.
8836         (VEC_LEN): New macro.
8837         * math/test-float-vlen8.h: Include test-float.h,
8838         test-math-no-inline.h and test-math-vector.h.
8839         (FLOAT): Remove macro.
8840         (FUNC): Likewise.
8841         (MATHCONST): Likewise.
8842         (PRINTF_EXPR): Likewise.
8843         (PRINTF_XEXPR): Likewise.
8844         (PRINTF_NEXPR): Likewise.
8845         (TEST_FLOAT): Likewise.
8846         (TEST_MATHVEC): Likewise.
8847         (__NO_MATH_INLINES): Likewise.
8848         (CNCT): Likewise.
8849         (CONCAT): Likewise.
8850         (WRAPPER_NAME): Likewise.
8851         (WRAPPER_DECL): Likewise.
8852         (WRAPPER_DECL_ff): Likewise.
8853         (WRAPPER_DECL_fFF): Likewise.
8854         (VECTOR_WRAPPER): Likewise.
8855         (VECTOR_WRAPPER_ff): Likewise.
8856         (VECTOR_WRAPPER_fFF): Likewise.
8857         (VEC_LEN): New macro.
8858         * math/test-float-vlen16.h: Include test-float.h,
8859         test-math-no-inline.h and test-math-vector.h.
8860         (FLOAT): Remove macro.
8861         (FUNC): Likewise.
8862         (MATHCONST): Likewise.
8863         (PRINTF_EXPR): Likewise.
8864         (PRINTF_XEXPR): Likewise.
8865         (PRINTF_NEXPR): Likewise.
8866         (TEST_FLOAT): Likewise.
8867         (TEST_MATHVEC): Likewise.
8868         (__NO_MATH_INLINES): Likewise.
8869         (CNCT): Likewise.
8870         (CONCAT): Likewise.
8871         (WRAPPER_NAME): Likewise.
8872         (WRAPPER_DECL): Likewise.
8873         (WRAPPER_DECL_ff): Likewise.
8874         (WRAPPER_DECL_fFF): Likewise.
8875         (VECTOR_WRAPPER): Likewise.
8876         (VECTOR_WRAPPER_ff): Likewise.
8877         (VECTOR_WRAPPER_fFF): Likewise.
8878         (VEC_LEN): New macro.
8879         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
8880         test-vec-loop.h.
8881         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8882         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8883         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8884         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8885         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8886         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8887         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
8889 2015-06-24  Roland McGrath  <roland@hack.frob.com>
8891         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
8892         (__getlogin_r): ... this.
8894 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
8896         [BZ #18594]
8897         * math/s_ccosh.c (__ccosh): Compare with least normal value
8898         instead of comparing class with FP_SUBNORMAL.
8899         * math/s_ccoshf.c (__ccoshf): Likewise.
8900         * math/s_ccoshl.c (__ccoshl): Likewise.
8901         * math/s_cexp.c (__cexp): Likewise.
8902         * math/s_cexpf.c (__cexpf): Likewise.
8903         * math/s_cexpl.c (__cexpl): Likewise.
8904         * math/s_csin.c (__csin): Likewise.
8905         * math/s_csinf.c (__csinf): Likewise.
8906         * math/s_csinh.c (__csinh): Likewise.
8907         * math/s_csinhf.c (__csinhf): Likewise.
8908         * math/s_csinhl.c (__csinhl): Likewise.
8909         * math/s_csinl.c (__csinl): Likewise.
8910         * math/s_ctan.c (__ctan): Likewise.
8911         * math/s_ctanf.c (__ctanf): Likewise.
8912         * math/s_ctanh.c (__ctanh): Likewise.
8913         * math/s_ctanhf.c (__ctanhf): Likewise.
8914         * math/s_ctanhl.c (__ctanhl): Likewise.
8915         * math/s_ctanl.c (__ctanl): Likewise.
8916         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
8917         csin, csinh, ctan and ctanh.
8918         * math/auto-libm-test-out: Regenerated.
8919         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
8920         * sysdeps/i386/fpu/libm-test-ulps: Update.
8921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8923 2015-06-24  Roland McGrath  <roland@hack.frob.com>
8925         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
8926         return value is wrong, print the expected value too.
8928 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
8930         [BZ #18585]
8931         * elf/readlib.c (is_gdb_python_file): New.
8932         (process_file): Don't issue errors on filenames with -gdb.py
8933         suffix.
8935 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
8937         * math/auto-libm-test-in: Add more tests of csin and csinh.
8938         * math/auto-libm-test-out: Regenerated.
8939         * math/libm-test.inc (csin_test_data): Remove tests moved to
8940         auto-libm-test-in.
8941         (csinh_test_data): Likewise.
8943         [BZ #18593]
8944         * math/s_csin.c (__csin): Negate before rather than after possibly
8945         overflowing multiplication.
8946         * math/s_csinf.c (__csinf): Likewise.
8947         * math/s_csinh.c (__csinh): Likewise.
8948         * math/s_csinhf.c (__csinhf): Likewise.
8949         * math/s_csinhl.c (__csinhl): Likewise.
8950         * math/s_csinl.c (__csinl): Likewise.
8951         * math/auto-libm-test-in: Add some tests of csin and csinh.
8952         * math/auto-libm-test-out: Regenerated.
8953         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
8954         (csinh_test_data): Likewise.
8955         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8957         [BZ #18586]
8958         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
8959         underflow exception for small results.
8961 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
8963         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
8964         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
8965         variable and included header.
8966         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
8967         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
8968         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
8969         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
8970         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
8971         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
8972         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
8973         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
8974         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
8975         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
8976         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
8977         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
8978         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
8979         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
8980         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
8981         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
8983 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
8985         [BZ #16526]
8986         [BZ #16538]
8987         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
8988         (__sin): Force underflow exception for arguments with small
8989         absolute value.
8990         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
8991         (__kernel_sinf): Force underflow exception for arguments with
8992         small absolute value.
8993         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
8994         (__kernel_sincosl): Force underflow exception for arguments with
8995         small absolute value.
8996         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
8997         (__kernel_sinl): Force underflow exception for arguments with
8998         small absolute value.
8999         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
9000         (__kernel_sincosl): Force underflow exception for arguments with
9001         small absolute value.
9002         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
9003         (__kernel_sinl): Force underflow exception for arguments with
9004         small absolute value.
9005         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
9006         (__kernel_sinl): Force underflow exception for arguments with
9007         small absolute value.
9008         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
9009         (__kernel_sinf): Force underflow exception for arguments with
9010         small absolute value.
9011         * math/auto-libm-test-in: Add more tests of sin and sincos.
9012         * math/auto-libm-test-out: Regenerated.
9014         [BZ #18245]
9015         [BZ #18583]
9016         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
9017         (__kernel_standard_l): Use feholdexcept and fesetenv around
9018         conversion to double instead of special-casing overflow and
9019         underflow.
9020         * math/libm-test.inc (fmod_test_data): Add more tests.
9021         (remainder_test_data): Likewise.
9022         (sqrt_test_data): Likewise.
9024 2015-06-23  Torvald Riegel  <triegel@redhat.com>
9026         [BZ #17403]
9027         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
9028         atomic_read_barrier, atomic_write_barrier): Define.
9029         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
9030         atomic_read_barrier, atomic_write_barrier): Define.
9032 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
9034         * math/Makefile [$(PERL) != no]
9035         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
9036         dependency on libm-test.stmp below the inclusion of Rules.
9038 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
9040         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
9041         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
9042         and included header.
9043         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
9044         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
9045         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
9046         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
9047         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
9048         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
9049         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
9050         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
9051         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
9052         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
9053         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
9054         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
9055         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
9056         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
9057         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
9058         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
9059         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
9060         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
9061         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
9063 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
9065         [BZ #18371]
9066         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
9067         intermediate but not final result might underflow.
9068         * math/s_csqrtf.c (__csqrtf): Likewise.
9069         * math/s_csqrtl.c (__csqrtl): Likewise.
9070         * math/auto-libm-test-in: Add more tests of csqrt.
9071         * math/auto-libm-test-out: Regenerated.
9072         * sysdeps/i386/fpu/libm-test-ulps: Update.
9074         [BZ #18219]
9075         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
9076         threshold on absolute value of exponent for which scaling is used.
9077         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
9078         * math/auto-libm-test-in: Add more tests of exp2.
9079         * math/auto-libm-test-out: Regenerated.
9081 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
9083         [BZ #17977]
9084         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
9085         when initializing interface list, based on the bug analysis
9086         and the patch proposed by Eric Newton.
9087         * resolv/tst-res_hconf_reorder.c: New test.
9088         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
9089         tst-res_hconf_reorder.
9090         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
9091         and $(shared-thread-library).
9092         (tst-res_hconf_reorder-ENV): New variable.
9094         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
9095         in comment.
9097 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
9099         [BZ #16353]
9100         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
9101         (__expm1): Force underflow exception for arguments with small
9102         absolute value.
9103         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
9104         (__expm1f): Force underflow exception for arguments with small
9105         absolute value.
9106         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
9107         (__expm1): Force underflow exception for arguments with small
9108         absolute value.
9109         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
9110         (__expm1f): Force underflow exception for arguments with small
9111         absolute value.
9112         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9113         Check for small arguments before calling __expm1.
9114         * math/auto-libm-test-in: Do not mark underflow exceptions as
9115         possibly missing for bug 16353.
9116         * math/auto-libm-test-out: Regenerated.
9118 2015-06-22  Andreas Schwab  <schwab@suse.de>
9120         [BZ #18513]
9121         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
9122         PTR queries.
9124 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
9126         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
9128         * string/strcoll_l.c: Remove unused struct element idxnow.
9130 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
9132         [BZ #18569]
9133         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
9134         underflow and return argument in case of subnormal argument.
9135         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9136         Likewise.
9137         * math/auto-libm-test-in: Add more tests of expm1.
9138         * math/auto-libm-test-out: Regenerated.
9140         [BZ #16361]
9141         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
9142         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
9143         tiny results.
9144         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
9145         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
9146         tiny results.
9147         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
9148         mark underflow exceptions as possibly missing for bug 16361.
9149         * math/auto-libm-test-out: Regenerated.
9151 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
9153         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
9154         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
9155         Remove variable.
9156         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9157         (test-xfail-XOPEN2K8/utmpx.h/conform).
9159         * conform/conformtest.pl ($xerrors): New variable.
9160         (note_error): New function.
9161         (compiletest): New argument $xfail.  Use not_error.
9162         (runtest): Likewise.
9163         (top level): Handle xfail- lines.  Update calls to compiletest and
9164         runtest.  Handle xfail- and optional- in headers listed with
9165         allow-header.
9166         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
9167         (O_EXEC): Likewise.
9168         (O_SEARCH): Likewise.
9169         * conform/data/stropts.h-data (ioctl): Likewise.
9170         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
9171         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
9172         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
9173         (msghdr.msg_controllen): Likewise.
9174         (cmsghdr.cmsg_len): Likewise.
9175         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
9176         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
9177         variable.
9178         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9179         (test-xfail-XPG4/stropts.h/conform): Likewise.
9180         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9181         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9182         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9183         (test-xfail-UNIX98/stropts.h/conform): Likewise.
9184         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9185         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9186         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9187         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9188         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9189         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9190         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9191         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9192         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9193         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9194         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9195         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9196         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9197         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9198         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9200 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9202         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
9203         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
9204         definitions for proper unfolding of __MATHDECL_VEC.
9206 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9208         * benchtests/bench-strcoll.c:
9209         Include string.h.
9210         (main): Remove unused variable res.
9212 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9214         * timezone/Makefile (%/UTC %/Universal):
9215         Generate test-result files for UTC and Universal.
9217 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9219         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9221 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
9223         [BZ #16350]
9224         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
9225         for arguments with small absolute value.
9226         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
9227         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
9228         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
9229         (__asinh): Force underflow exception for arguments with small
9230         absolute value.
9231         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
9232         (__asinhf): Force underflow exception for arguments with small
9233         absolute value.
9234         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
9235         (__asinhl): Force underflow exception for arguments with small
9236         absolute value.
9237         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
9238         (__asinhl): Force underflow exception for arguments with small
9239         absolute value.
9240         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
9241         (__asinhl): Force underflow exception for arguments with small
9242         absolute value.
9243         * math/auto-libm-test-in: Do not mark underflow exceptions as
9244         possibly missing for bug 16350.
9245         * math/auto-libm-test-out: Regenerated.
9247         * include/bits/ipc.h: Remove file.
9248         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
9249         variable.
9250         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9251         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9252         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9253         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9254         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9255         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9256         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9257         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9258         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9260         * math/auto-libm-test-in: Remove spurious underflow allowance for
9261         tests of cexp.
9262         * math/auto-libm-test-out: Regenerated.
9264         [BZ #18558]
9265         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
9266         unconditional definition.
9267         (MCAST_BLOCK_SOURCE): Likewise.
9268         (MCAST_UNBLOCK_SOURCE): Likewise.
9269         (MCAST_LEAVE_GROUP): Likewise.
9270         (MCAST_JOIN_SOURCE_GROUP): Likewise.
9271         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9272         (MCAST_MSFILTER): Likewise.
9273         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
9274         Remove variable.
9275         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9276         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9277         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9278         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9279         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9281 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
9283         * NEWS: Mention addition of x86_64 vector sincosf.
9284         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
9285         * math/test-float-vlen4.h: Likewise.
9286         * math/test-float-vlen8.h: Likewise.
9287         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9288         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
9289         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9290         * sysdeps/x86_64/fpu/Versions: New versions added.
9291         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9292         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9293         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9294         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
9295         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
9296         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
9297         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
9298         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
9299         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
9300         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
9301         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
9302         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
9303         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
9304         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
9305         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
9306         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
9307         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
9308         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
9309         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9310         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9311         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9312         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9313         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9314         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9316         * NEWS: Mention addition of x86_64 vector sincos.
9317         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
9318         * math/math.h (__MATHDECL_VEC): New macro.
9319         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
9320         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
9321         declaration under condition.
9322         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
9323         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
9324         TEST_VEC_LOOP change.
9325         * math/test-double-vlen4.h: Likewise.
9326         * math/test-double-vlen8.h: Likewise.
9327         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
9328         * math/test-float-vlen4.h: Likewise.
9329         * math/test-float-vlen8.h: Likewise.
9330         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9331         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
9332         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9333         * sysdeps/x86_64/fpu/Versions: New versions added.
9334         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9335         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9336         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9337         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
9338         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
9339         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
9340         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
9341         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
9342         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
9343         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
9344         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
9345         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
9346         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
9347         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
9348         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
9349         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
9350         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
9351         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9352         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9353         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9354         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9355         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9356         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9357         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9359         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9360         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9361         redirections for powf.
9362         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9363         * sysdeps/x86_64/fpu/Versions: New versions added.
9364         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9365         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9366         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9367         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
9368         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
9369         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
9370         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
9371         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
9372         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
9373         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
9374         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
9375         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
9376         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
9377         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
9378         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
9379         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
9380         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
9381         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
9382         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9383         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9384         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9385         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9386         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9387         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9388         * math/test-float-vlen16.h: Fixed 2 argument macro.
9389         * math/test-float-vlen4.h: Likewise.
9390         * math/test-float-vlen8.h: Likewise.
9391         * NEWS: Mention addition of x86_64 vector powf.
9393 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
9395         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9396         and redefine.
9397         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9398         and redefine.
9399         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
9400         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9401         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9403         [BZ #18553]
9404         * resource/getpriority.c (getpriority): Rename to __getpriority
9405         and define as weak alias of __getpriority.
9406         * resource/setpriority.c (setpriority): Rename to __setpriority
9407         and define as weak alias of __setpriority.
9408         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
9409         __getpriority and define as weak alias of __getpriority.
9410         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
9411         __setpriority and define as weak alias of __setpriority.
9412         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
9413         strong name.
9414         (setpriority): Use __setpriority as strong name.
9415         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
9416         __getpriority and define as weak alias of __getpriority.
9417         * include/sys/resource.h (__getpriority): Declare.  Use
9418         libc_hidden_proto.
9419         (__setpriority): Likewise.
9420         (getpriority): Don't use libc_hidden_proto.
9421         (setpriority): Likewise.
9422         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
9423         getpriority.  Call __setpriority instead of setpriority.
9424         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
9425         Remove variable.
9427         [BZ #18547]
9428         * misc/getttyent.c (getttynam): Rename to __getttynam and define
9429         as weak alias of __getttynam.  Use prototype function definition.
9430         Call __setttyent, __getttyent and __endttyent instead of
9431         setttyent, getttyent and endttyent.
9432         (getttyent): Rename to __getttyent and define as weak alias of
9433         __getttyent.  Call __setttyent instead of setttyent.  Call
9434         __fgets_unlocked instead of fgets_unlocked.
9435         (setttyent): Rename to __setttyent and define as weak alias of
9436         __setttyent.
9437         (endttyent): Rename to __endttyent and define as weak alias of
9438         __endttyent.
9439         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
9440         (__setttyent): Likewise.
9441         (__endttyent): Likewise.
9442         (getttyent): Don't use libc_hidden_proto.
9443         (setttyent): Likewise.
9444         (endttyent): Likewise.
9445         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
9446         __endttyent instead of setttyent, getttyent and endttyent.
9447         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
9448         Remove variable.
9450         [BZ #18546]
9451         * socket/recv.c (__recv): Use libc_hidden_def.
9452         * socket/socket.c (__socket): Likewise.
9453         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
9454         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
9455         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
9456         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
9457         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
9458         libc_hidden_def.
9459         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
9460         libc_hidden_weak.
9461         * include/sys/socket.h (__socket): Do not use attribute_hidden.
9462         Use libc_hidden_proto.
9463         (__recv): Likewise.
9464         * socket/Versions (libc): Export __recv and __socket at version
9465         GLIBC_PRIVATE.
9466         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
9467         instead of recv.
9468         (init_mq_netlink): Call __socket instead of socket.
9469         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
9470         Remove variable.
9472         [BZ #18545]
9473         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
9474         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
9475         hidden_weak.
9476         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
9477         define as alias of __mq_timedsend.  Use hidden_weak.
9478         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
9479         __mq_timedsend as strong name.
9480         (mq_timedreceive): Use __mq_timedreceive as strong name.
9481         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
9482         (__mq_timedreceive): Likewise.
9483         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
9484         __mq_timedreceive instead of mq_timedreceive.
9485         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
9486         instead of mq_timedsend.
9487         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
9488         Remove variable.
9490         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
9491         hidden_def and hidden_weak instead of libc_hidden_def and
9492         libc_hidden_weak.
9493         (top level): Refer to hidden_def in comment.
9494         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
9495         macro.  Use it instead of libc_hidden_def.
9496         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
9497         specify __GI_* name explicitly.
9498         (mq_timedreceive): Likewise.
9499         (mq_setattr): Likewise.
9501         [BZ #18544]
9502         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
9503         __pthread_barrier_init and define as weak alias of
9504         __pthread_barrier_init.
9505         * sysdeps/sparc/nptl/pthread_barrier_init.c
9506         (pthread_barrier_init): Likewise.
9507         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
9508         __pthread_barrier_wait and define as weak alias of
9509         __pthread_barrier_wait.
9510         * sysdeps/sparc/nptl/pthread_barrier_wait.c
9511         (pthread_barrier_wait): Likewise.
9512         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
9513         (pthread_barrier_wait): Likewise.
9514         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
9515         (pthread_barrier_wait): Likewise.
9516         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
9517         (pthread_barrier_wait): Likewise.
9518         * nptl/Versions (libpthread): Export __pthread_barrier_init and
9519         __pthread_barrier_wait at version GLIBC_PRIVATE.
9520         * include/pthread.h (__pthread_barrier_init): Declare.
9521         (__pthread_barrier_wait): Likewise.
9522         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
9523         Call __pthread_barrier_wait instead of pthread_barrier_wait.
9524         (helper_thread): Likewise.
9525         (init_mq_netlink): Call __pthread_barrier_init instead of
9526         pthread_barrier_init.
9528         [BZ #18542]
9529         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
9530         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
9531         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
9532         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
9533         vswscanf.
9534         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
9535         Remove variable.
9537         [BZ #18540]
9538         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
9539         strong alias of _IO_fflush.  Use libc_hidden_def.
9540         * libio/iofflush_u.c (fflush_unlocked): Rename to
9541         __fflush_unlocked and define as weak alias of __fflush_unlocked.
9542         Use libc_hidden_weak.
9543         * include/stdio.h (__fflush_unlocked): Declare.  Use
9544         libc_hidden_proto.
9545         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
9546         fflush_unlocked.
9547         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
9548         Remove variable.
9550         [BZ #18539]
9551         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
9552         define as weak alias of __addseverity.
9553         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
9554         Remove variable.
9555         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9556         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9557         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9559         [BZ #18536]
9560         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
9561         (__tfind): Likewise.
9562         (__tdelete): Likewise.
9563         (__twalk): Likewise.
9564         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
9565         __twalk to GLIBC_PRIVATE.
9566         * include/search.h (__tsearch): Use libc_hidden_proto.
9567         (__tfind): Likewise.
9568         (__tdelete): Likewise.
9569         (__twalk): Likewise.
9570         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
9571         Call __tdelete instead of tdelete.
9572         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
9573         tfind.  Call __tsearch instead of tsearch.
9574         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
9575         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
9576         Remove variable.
9577         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9579         [BZ #18534]
9580         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
9581         (dprintf): Define as a weak alias of __dprintf, not a strong
9582         alias.
9583         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
9584         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
9585         dprintf.
9586         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
9587         Remove variable.
9588         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9589         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
9591         [BZ #18533]
9592         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
9593         not a strong alias.
9594         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
9595         Remove variable.
9597         [BZ #18532]
9598         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
9599         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
9600         (in6addr_loopback): Rename to __in6addr_loopback and define as
9601         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
9602         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
9603         libc_hidden_proto.
9604         (__in6addr_any): Likewise.
9605         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
9606         in6addr_any.
9607         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
9608         variable.
9609         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9611 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
9613         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
9614         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
9615         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9616         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9617         redirections for pow.
9618         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9619         * sysdeps/x86_64/fpu/Versions: New versions added.
9620         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9621         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9622         build of SSE, AVX2 and AVX512 IFUNC versions.
9623         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
9624         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
9625         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
9626         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
9627         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
9628         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
9629         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
9630         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
9631         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
9632         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
9633         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
9634         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
9635         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
9636         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
9637         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9638         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9639         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9640         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9641         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9642         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9643         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9644         * NEWS: Mention addition of x86_64 vector pow.
9646         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9647         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9648         redirections for expf.
9649         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9650         * sysdeps/x86_64/fpu/Versions: New versions added.
9651         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9652         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9653         build of SSE, AVX2 and AVX512 IFUNC versions.
9654         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
9655         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
9656         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
9657         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
9658         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
9659         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
9660         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
9661         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
9662         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
9663         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
9664         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
9665         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
9666         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
9667         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
9668         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9669         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9670         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9671         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9672         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9673         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9674         * NEWS: Mention addition of x86_64 vector expf.
9676         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
9677         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
9678         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9679         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9680         redirections for exp.
9681         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9682         * sysdeps/x86_64/fpu/Versions: New versions added.
9683         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9684         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9685         build of SSE, AVX2 and AVX512 IFUNC versions.
9686         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
9687         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
9688         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
9689         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
9690         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
9691         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
9692         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
9693         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
9694         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
9695         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
9696         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
9697         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
9698         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
9699         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9700         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9701         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9702         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9703         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9704         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9705         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9706         * NEWS: Mention addition of x86_64 vector exp.
9708         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9709         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9710         redirections for logf.
9711         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9712         * sysdeps/x86_64/fpu/Versions: New versions added.
9713         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9714         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9715         build of SSE, AVX2 and AVX512 IFUNC versions.
9716         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
9717         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
9718         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
9719         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
9720         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
9721         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
9722         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
9723         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
9724         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
9725         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
9726         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
9727         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
9728         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
9729         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
9730         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9731         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9732         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9733         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9734         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9735         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9736         * NEWS: Mention addition of x86_64 vector logf.
9738         * bits/libm-simd-decl-stubs.h: Added stubs for log.
9739         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
9740         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9741         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9742         redirections for log.
9743         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9744         * sysdeps/x86_64/fpu/Versions: New versions added.
9745         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9746         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9747         build of SSE, AVX2 and AVX512 IFUNC versions.
9748         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
9749         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
9750         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
9751         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
9752         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
9753         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
9754         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
9755         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
9756         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
9757         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
9758         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
9759         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
9760         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
9761         test.
9762         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9763         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9764         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9765         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9766         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9767         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9768         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9769         * NEWS: Mention addition of x86_64 vector log.
9771 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9773         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
9774         cfi_adjust_cfa_offset argument.
9775         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
9776         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
9778         [BZ #18034]
9779         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
9780         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
9781         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
9782         ordering using ldar.
9783         (_dl_tlsdesc_dynamic): Likewise.
9784         (_dl_tlsdesc_return_lazy): Likewise.
9785         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
9786         relaxed atomics instead of volatile and synchronize with release store.
9787         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
9788         volatile.
9789         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9791 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
9793         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9794         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
9795         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9796         * sysdeps/x86_64/fpu/Versions: New versions added.
9797         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9798         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9799         build of SSE, AVX2 and AVX512 IFUNC versions.
9800         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
9801         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
9802         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
9803         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
9804         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
9805         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
9806         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
9807         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
9808         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
9809         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
9810         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
9811         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
9812         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
9813         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
9814         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9815         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9816         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9817         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9818         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9819         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9820         * NEWS: Mention addition of x86_64 vector sinf.
9822 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
9824         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
9825         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
9826         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
9827         Remove variable.
9828         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
9829         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
9831 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
9833         [BZ #18530]
9834         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
9835         strong alias of _IO_fputs.  Use libc_hidden_def.
9836         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
9837         and define as weak alias of __fputs_unlocked.  Use
9838         libc_hidden_weak.
9839         * include/stdio.h (__fputs_unlocked): Declare.  Use
9840         libc_hidden_proto.
9841         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
9842         fputs_unlocked.
9844         [BZ #18529]
9845         * resolv/netdb.h [__USE_POSIX]: Change condition to
9846         [__USE_XOPEN2K].
9847         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
9848         not expect.
9849         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
9850         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
9851         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
9852         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
9853         [XPG4 || UNIX98] (AI_ALL): Likewise.
9854         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
9855         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
9856         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
9857         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
9858         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
9859         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
9860         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
9861         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
9862         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
9863         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
9864         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
9865         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
9866         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
9867         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
9868         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
9869         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
9870         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
9871         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
9872         [XPG4 || UNIX98] (gai_strerror): Likewise.
9873         [XPG4 || UNIX98] (getaddrinfo): Likewise.
9874         [XPG4 || UNIX98] (getnameinfo): Likewise.
9876         [BZ #18528]
9877         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
9878         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
9879         __USE_XOPEN2K8].
9880         (getgrent): Likewise.
9881         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
9882         expect.
9883         [XPG3 || POSIX2008] (endgrent): Likewise.
9884         [XPG3] (setgrent): Likewise.
9885         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
9886         variable.
9887         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
9889         [BZ #18527]
9890         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
9891         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
9892         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
9893         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
9894         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
9895         * include/unistd.h (__getlogin_r): Declare.  Use
9896         libc_hidden_proto.
9897         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
9898         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
9899         variable.
9900         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
9901         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
9902         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
9904 2015-06-12  Martin Sebor  <msebor@redhat.com>
9906         [BZ #18512]
9907         * Makerules (check-install-supported): New target.
9908         (install): Add check-install-supported as a dependency.
9909         * manual/install.texi (Installing the C Library): Document
9910         that overriding prefix and exec_prefix is not supported.
9911         Mention DESTDIR.
9912         * INSTALL: Regenerate from the above.
9914 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
9916         [BZ #18519]
9917         * posix/Versions (libc): Export __libc_pread at version
9918         GLIBC_PRIVATE.
9919         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
9920         instead of pread.
9921         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
9922         variable.
9924         [BZ #18522]
9925         * misc/efgcvt_r.c
9926         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
9927         (cvt_symbol): Use weak_alias instead of strong_alias.
9928         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
9929         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
9930         Remove variable.
9931         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
9932         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
9934         [BZ #18520]
9935         * inet/herrno.c (h_errno): Rename to __h_errno.
9936         (__libc_h_errno): Define as alias of __h_errno not h_errno.
9937         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
9938         to __h_errno instead of h_errno.
9939         * nptl/herrno.c (h_errno): Rename to __h_errno.
9940         (__h_errno_location): Refer to __h_errno not h_errno.
9941         * resolv/Versions (h_errno): Rename to __h_errno.
9942         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
9943         Remove variable.
9944         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
9946 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
9948         * configure.ac: More strict check for AVX512 assembler support.
9949         * configure: Regenerated.
9951         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
9952         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
9953         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9954         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
9955         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9956         * sysdeps/x86_64/fpu/Versions: New versions added.
9957         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9958         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9959         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9960         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
9961         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
9962         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
9963         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
9964         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
9965         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
9966         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
9967         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
9968         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
9969         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
9970         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
9971         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
9972         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
9973         test.
9974         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9975         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9976         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9977         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9978         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9979         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9980         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9981         * NEWS: Mention addition of x86_64 vector sin.
9983 2015-06-11  Florian Weimer  <fweimer@redhat.com>
9985         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
9986         comment.
9988 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
9990         [BZ #18479]
9991         * nptl/pt-interp.c: New file.
9992         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
9993         Add pt-interp.
9994         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
9995         $(common-objpfx)runtime-linker.h.
9997 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
9999         * Makeconfig (+interp): Remove unused variable.
10000         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
10001         only.  Depend on $(common-objpfx)runtime-linker.h instead of
10002         $(elf-objpfx)runtime-linker.h.
10003         ($(elf-objpfx)runtime-linker.h): Rename to
10004         $(common-objpfx)runtime-linker.h and move ...
10005         * Makerules [$(build-shared) = yes]: ... here.
10006         * elf/interp.c: Include <runtime-linker.h> instead of
10007         <elf/runtime-linker.h>.
10009 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10011         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
10012         (__gettimeofday_syscall): Remove vsyscall fallback.
10013         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
10014         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
10015         Add syscall fallback function.
10016         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
10017         if vDSO is not present.
10018         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
10019         fallback function.
10020         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
10021         present.
10022         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
10023         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10025 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
10027         [BZ #18497]
10028         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
10029         of wcscmp.
10030         (wcscmp): Define as weak alias of WCSCMP.
10031         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
10032         wcscoll.
10033         (USE_HIDDEN_DEF): Define.
10034         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
10035         __wcscoll.  Don't use libc_hidden_weak.
10036         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
10037         wcscmp.
10038         * sysdeps/i386/i686/multiarch/wcscmp-c.c
10039         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
10040         __GI_wcscmp.
10041         (weak_alias): Undefine and redefine.
10042         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
10043         __wcscmp and define as weak alias of __wcscmp.
10044         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
10045         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
10046         (__wcscoll): Likewise.
10047         (wcscmp): Don't use libc_hidden_proto.
10048         (wcscoll): Likewise.
10049         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
10050         wcscoll.
10051         * posix/regexec.c (check_node_accept_bytes): Likewise.
10052         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
10053         variable.
10054         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10055         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10057         [BZ #18507]
10058         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
10059         __fstatvfs and define as weak alias of __fstatvfs.  Use
10060         libc_hidden_weak.
10061         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
10062         and define as weak alias of __statvfs.  Use libc_hidden_weak.
10063         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
10064         Define as alias of __fstatvfs, not fstatvfs.
10065         (fstatvfs64): Likewise.
10066         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
10067         Define as alias of __statvfs, not statvfs.
10068         (statvfs64): Likewise.
10069         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
10070         Remove variable.
10072 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10075         (HAVE_GETCPU_VSYSCALL): Define.
10076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10077         (HAVE_GETCPU_VSYSCALL): Likewise.
10078         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
10079         * sysdeps/unix/sysv/linux/sched_getcpu.c
10080         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
10081         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
10082         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
10083         prototype.
10084         * sysdeps/unix/sysv/linux/x86_64/init-first.c
10085         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
10086         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
10087         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
10088         Define.
10089         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
10090         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10091         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
10092         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10094 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
10096         * sysdeps/x86_64/fpu/Makefile: New file.
10097         * sysdeps/x86_64/fpu/Versions: New file.
10098         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
10099         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
10100         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
10101         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
10102         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
10103         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
10104         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
10105         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
10106         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
10107         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
10108         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
10109         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
10110         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
10111         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10112         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10113         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
10114         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
10115         * sysdeps/x86_64/configure.ac: Options for libmvec build.
10116         * sysdeps/x86_64/configure: Regenerated.
10117         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
10118         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
10119         * manual/install.texi (Configuring and compiling): Document
10120         --disable-mathvec.
10121         * INSTALL: Regenerated.
10122         * NEWS: Mention addition of libmvec and x86_64 vector cos.
10124         * math/Makefile: Added rules for vector tests.
10125         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
10126         declaration under condition.
10127         * math/test-double-vlen2.h: New file.
10128         * math/test-double-vlen4.h: New file.
10129         * math/test-double-vlen8.h: New file.
10130         * math/test-vec-loop.h: Added initialization macro.
10131         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
10132         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
10133         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
10134         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
10135         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
10136         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
10137         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
10138         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
10139         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
10140         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
10141         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
10143         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10144         * sysdeps/x86_64/fpu/Versions: New versions added.
10145         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
10146         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
10147         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
10148         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
10149         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
10150         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
10151         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
10152         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
10153         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
10154         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
10155         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
10156         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
10157         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
10158         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10159         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10160         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10161         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
10162         * NEWS: Mention addition of x86_64 vector cosf.
10164         * math/Makefile: Added CFLAGS for new tests.
10165         * math/test-float-vlen16.h: New file.
10166         * math/test-float-vlen4.h: New file.
10167         * math/test-float-vlen8.h: New file.
10168         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
10169         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
10170         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10171         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
10172         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
10173         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
10174         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
10175         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
10176         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
10177         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
10178         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
10180 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
10182         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
10183         * locale/programs/ld-ctype.c: Likewise.
10185 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
10187         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
10188         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
10189         bit_ZMM16_31_state): New macro.
10190         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10191         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
10193 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
10195         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
10197 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
10199         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
10201 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
10203         [BZ #18498]
10204         * libio/memstream.c (open_memstream): Rename to __open_memstream
10205         and define as weak alias of __open_memstream.
10206         * include/stdio.h (__open_memstream): Declare.  Use
10207         libc_hidden_proto.
10208         (open_memstream): Don't use libc_hidden_proto.
10209         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
10210         open_memstream.
10211         * posix/getopt.c (_getopt_internal_r): Likewise.
10212         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
10213         variable.
10214         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10215         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
10216         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10218         [BZ #18496]
10219         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
10220         instead of wcrtomb.
10222         [BZ #18483]
10223         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
10224         [__USE_XOPEN2K8].  Remove redundant #endif.
10225         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
10226         Remove redundant #if.
10227         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
10228         Remove variable.
10229         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10230         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10232         [BZ #18495]
10233         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
10234         (__iswlower): Likewise.
10235         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
10236         (__iswlower): Likewise.
10237         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
10238         instead of towlower.
10239         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
10240         instead of iswlower.  Call __towupper instead of towupper.
10241         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
10242         instead of iswalnum.
10244 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10246         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
10247         errors to stderr.
10249 2015-06-05  Florian Weimer  <fweimer@redhat.com>
10251         [BZ #15661]
10252         [BZ #17322]
10253         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
10254         Check for overflow properly.  Check for O_APPEND.  Ignore large
10255         file system block sizes.  Add comments about problems.
10256         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
10257         * manual/filesys.texi (Storage Allocation): New node.
10259 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10261         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
10262         cancellable syscalls.
10263         (SYS_ify): Add guard to no redefine it.
10264         (INLINE_SYSCALL): Likewise.
10265         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
10266         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
10267         SYSCALL_CANCEL instead.
10268         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
10269         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
10270         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
10271         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
10272         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
10273         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
10274         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
10275         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
10276         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
10277         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
10278         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
10279         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
10280         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
10281         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
10282         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
10283         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
10284         Likewise.
10285         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
10286         (__libc_pread64): Likewise.
10287         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
10288         (__libc_preadv): Likewise.
10289         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
10290         (__libc_readv64): Likewise.
10291         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
10292         (__libc_pwrite): Likewise.
10293         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
10294         (__libc_pwrite64): Likewise.
10295         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
10296         (__libc_pwritev): Likewise.
10297         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
10298         (__libc_pwritev64): Likewise.
10299         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
10300         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
10301         (sync_file_range): Likewise.
10302         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
10303         Likewise.
10304         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
10305         Likewise.
10306         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
10307         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
10308         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
10309         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
10310         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
10311         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
10312         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
10313         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
10314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
10315         Likewise.
10316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10317         (__libc_read64): Likewise.
10318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
10319         Likewise.
10320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
10321         Likewise.
10322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
10323         Likewise.
10324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
10325         Likewise.
10326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10327         (__libc_pread64): Likewise.
10328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
10329         Likewise.
10330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10331         (__libc_pwrite64): Likewise.
10332         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
10333         (sync_file_range): Likewise.
10334         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
10335         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
10336         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
10337         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
10338         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
10339         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
10340         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
10341         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
10342         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
10343         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10344         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10345         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
10346         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
10347         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
10348         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
10349         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
10350         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
10351         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
10352         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
10353         Likewise.
10354         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
10355         Likewise.
10356         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
10357         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
10358         Likewise.
10359         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
10360         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
10361         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
10362         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
10363         Likewise.
10364         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
10365         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
10366         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
10367         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
10368         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
10370 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
10372         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
10373         Include dl-vdso.
10374         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
10375         Use VDSO routines for gettimeofday, clock_gettime if
10376         available.
10377         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
10378         Declare VDSO symbols.
10379         * sysdeps/unix/sysv/linux/arm/sysdep.h:
10380         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
10381         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
10382         * sysdeps/unix/sysv/linux/arm/Versions: Add
10383         __vdso_clock_gettime.
10385 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10387         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
10388         be an inline implementation regardless of library is built within.
10389         (open_not_cancel_2): Likewise.
10390         (__read_nocancel): Likewise.
10391         (__write_nocancel): Likewise.
10392         (openat_not_cancel): Likewise.
10393         (openat_not_cancel_3): Likewise.
10394         (openat64_not_cancel): Likewise.
10395         (openat64_not_cancel_3): Likewise.
10396         (__close_nocancel): Likewise.
10397         (pause_not_cancel): Likewise.
10398         (nanosleep_not_cancel): Likewise.
10399         (sigsuspend_not_cancel): Likewise.
10401 2015-06-04  Torvald Riegel  <triegel@redhat.com>
10403         [BZ #14958]
10404         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
10405         wake-up.
10406         (__pthread_rwlock_rdlock_slow): Likewise.
10407         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10408         Likewise.
10409         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
10410         Likewise.
10411         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
10412         * nptl/tst-rwlock16.c: New file.
10413         * nptl/Makefile (tests): Add new test.
10415 2015-06-04  Torvald Riegel  <triegel@redhat.com>
10417         [BZ #18324]
10418         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
10419         missing wake-up of readers.
10420         * nptl/tst-rwlock15.c: New file.
10421         * nptl/Makefile (tests): Add new test.
10423 2015-06-03  Roland McGrath  <roland@hack.frob.com>
10425         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
10426         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
10427         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
10428         and __nacl_supply_interface_rtld.
10429         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
10430         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
10431         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
10432         Add __nacl_supply_interface_rtld.
10433         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
10435 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
10437         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
10438         isfinite.
10439         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10440         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
10442 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
10444         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
10445         __signbit* with standard C99 macros.
10446         * math/e_exp10l.c: Likewise.
10447         * math/e_exp2l.c: Likewise.
10448         * math/e_scalb.c: Likewise.
10449         * math/e_scalbf.c: Likewise.
10450         * math/e_scalbl.c: Likewise.
10451         * math/s_ldexp.c: Likewise.
10452         * math/s_ldexpf.c: Likewise.
10453         * math/s_ldexpl.c: Likewise.
10454         * math/w_atan2.c: Likewise.
10455         * math/w_atan2f.c: Likewise.
10456         * math/w_atan2l.c: Likewise.
10457         * math/w_cosh.c: Likewise.
10458         * math/w_coshf.c: Likewise.
10459         * math/w_coshl.c: Likewise.
10460         * math/w_exp10.c: Likewise.
10461         * math/w_exp10f.c: Likewise.
10462         * math/w_exp10l.c: Likewise.
10463         * math/w_exp2.c: Likewise.
10464         * math/w_exp2f.c: Likewise.
10465         * math/w_exp2l.c: Likewise.
10466         * math/w_fmod.c: Likewise.
10467         * math/w_fmodf.c: Likewise.
10468         * math/w_fmodl.c: Likewise.
10469         * math/w_hypot.c: Likewise.
10470         * math/w_hypotf.c: Likewise.
10471         * math/w_hypotl.c: Likewise.
10472         * math/w_jnl.c: Likewise.
10473         * math/w_lgamma.c: Likewise.
10474         * math/w_lgamma_r.c: Likewise.
10475         * math/w_lgammaf.c: Likewise.
10476         * math/w_lgammaf_r.c: Likewise.
10477         * math/w_lgammal.c: Likewise.
10478         * math/w_lgammal_r.c: Likewise.
10479         * math/w_pow.c: Likewise.
10480         * math/w_powf.c: Likewise.
10481         * math/w_powl.c: Likewise.
10482         * math/w_remainder.c: Likewise.
10483         * math/w_remainderf.c: Likewise.
10484         * math/w_remainderl.c: Likewise.
10485         * math/w_scalb.c: Likewise.
10486         * math/w_scalbf.c: Likewise.
10487         * math/w_scalbl.c: Likewise.
10488         * math/w_scalbln.c: Likewise.
10489         * math/w_scalblnf.c: Likewise.
10490         * math/w_scalblnl.c: Likewise.
10491         * math/w_sinh.c: Likewise.
10492         * math/w_sinhf.c: Likewise.
10493         * math/w_sinhl.c: Likewise.
10494         * math/w_tgamma.c: Likewise.
10495         * math/w_tgammaf.c: Likewise.
10496         * math/w_tgammal.c: Likewise.
10497         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10498         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
10499         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10500         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10501         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10502         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10503         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10504         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10505         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10506         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10507         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10508         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10509         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10510         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10511         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10512         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10513         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10514         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10515         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10516         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10517         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10518         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10519         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10520         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10521         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10522         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10523         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
10524         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10525         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10526         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10527         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
10528         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
10529         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
10530         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
10531         * stdio-common/printf_fp.c: Likewise.
10532         * stdio-common/printf_fphex.c: Likewise.
10533         * stdio-common/printf_size.c: Likewise.
10535 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
10537         [BZ #18470]
10538         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
10539         strnlen.
10540         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
10541         Remove variable.
10542         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10543         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10544         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10545         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10546         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10547         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10548         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10549         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10550         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10551         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10553         [BZ #18468]
10554         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
10555         weak alias of __wmemchr.  Use libc_hidden_weak.
10556         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
10557         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
10558         instead of wmemchr.
10560 2015-06-02  Roland McGrath  <roland@hack.frob.com>
10562         [BZ #18383]
10563         * elf/tst-tlsalign-extern.c: New file.
10564         * elf/tst-tlsalign-extern-static.c: New file.
10565         * elf/tst-tlsalign-vars.c: New file.
10566         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
10567         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
10568         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
10569         ($(objpfx)tst-tlsalign-extern-static): Likewise.
10570         (test-xfail-tst-tlsalign-extern-static): New variable.
10572 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
10574         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
10575         Use variable name _sc_err instead of err.
10576         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
10577         instead of ret.
10578         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
10579         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
10580         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
10581         (INLINE_SYSCALL): Likewise.
10583         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
10584         * include/string.h (__strnlen): Use libc_hidden_proto.
10585         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
10586         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
10587         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
10588         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
10589         (libc_hidden_def): Undefine and redefine.
10590         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
10591         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
10592         __GI_strnlen.
10593         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
10594         libc_hidden_def.
10595         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
10597         [BZ #18469]
10598         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
10599         weak alias of __towlower.  Use libc_hidden_weak.
10600         (towupper): Rename to __towupper and define as weak alias of
10601         __towupper.  Use libc_hidden_weak.
10602         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
10603         (__towupper): Likewise.
10604         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
10605         __towlower instead of towlower.
10607 2015-06-02  Roland McGrath  <roland@hack.frob.com>
10609         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
10610         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
10612 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10614         * sysdeps/aarch64/libm-test-ulps: Update.
10616 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10618         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
10619         Define.
10620         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10621         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10622         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
10623         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10624         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
10625         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
10626         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
10628 2015-06-01  Martin Sebor  <msebor@redhat.com>
10630         [BZ #18116]
10631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10632         (__setcontext): Use extended four-operand version of mtsf whenever
10633         possible.
10634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10635         (__novec_swapcontext): Likewise.
10637 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
10639         * benchtests/scripts/compare_bench.py: New file.
10640         * benchtests/scripts/import_bench.py (mean): New function.
10641         (split_list): Likewise.
10642         (do_for_all_timings): Likewise.
10643         (compress_timings): Likewise.
10645         * benchtests/scripts/import_bench.py: New file.
10646         * benchtests/scripts/validate_benchout.py: Import import_bench
10647         instead of jsonschema.
10648         (validate_bench): Remove function.
10649         (main): Use import_bench.
10651 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
10653         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
10654         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
10656 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10658         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10660 2015-05-28  Roland McGrath  <roland@hack.frob.com>
10662         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
10663         set THREAD_SELF->tid to a magic value and futex-wake it.
10664         Pass its address to the thread_exit system call.
10665         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
10666         bit is clear.
10667         * sysdeps/nacl/lowlevellock.h: New file.
10668         * sysdeps/nacl/lll_timedwait_tid.c: New file.
10670         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
10671         Add TIMEOUT to current time, don't subtract it.
10673 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
10675         [BZ #2981]
10676         [BZ #18422]
10677         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
10678         ($(objpfx)tst-audit2.out): Also depend on
10679         $(objpfx)tst-auditmod9b.so.
10680         * elf/tst-audit2.c: Include <dlfcn.h>.
10681         (calloc_called): New.
10682         (calloc): Allow to be called more than once.
10683         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
10685 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
10687         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
10688         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
10690 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
10692         * stdlib/monetary.h: Fix comment.
10694 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
10696         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
10697         Avoid using variables in #defines that might cause shadowing.
10698         (INTERNAL_VSYSCALL_CALL): Likewise.
10700 2015-05-26  Roland McGrath  <roland@hack.frob.com>
10702         * sysdeps/nacl/lll_timedlock_wait.c: New file.
10704         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
10705         * nptl/lll_timedlock_wait.c: ... to this new file.
10706         * nptl/Makefile (libpthread-routines): Add it.
10707         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
10708         * nptl/lll_timedwait_tid.c: ... to this new file.
10709         * nptl/Makefile (libpthread-routines): Add it.
10710         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
10711         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
10712         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
10713         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
10714         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
10715         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
10716         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
10717         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
10718         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
10719         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
10721 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10723         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
10724         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10725         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
10726         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
10727         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
10728         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10729         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10730         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10731         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10732         * sysdeps/unix/sysv/linux/tile/sysdep.h
10733         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10734         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
10735         using vDSO syscall macro.
10737 2015-05-26  Andriy Rysin  <arysin@gmail.com>
10739         [BZ #17293]
10740         * uk_UA: Fix sorting order for Ukrainian locale
10742 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
10744         * stdlib/monetary.h: Fix comment.
10746 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10748         [BZ #18234]
10749         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
10750         st_mtim and st_ctim members.
10751         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
10752         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
10753         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
10754         (struct stat64): Likewise.
10755         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
10756         (struct stat64): Likewise.
10757         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
10758         (struct stat64): Likewise.
10760 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10762         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
10763         Define and include sysdep-vdso.h.
10764         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
10765         Likewise.
10766         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
10767         Likewise.
10768         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
10769         Define with VDSO_SYMBOL and use PTR_MANGLE.
10770         (__vdso_clock_gettime): Likewise.
10771         (__vdso_clock_getres): Likewise.
10772         (_libc_vdso_platform_setup): Likewise.
10773         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
10774         Likewise.
10775         (_libc_vdso_platform_setup): Likewise.
10776         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
10777         Likewise.
10778         (__vdso_clock_gettime): Likewise.
10779         (__vdso_clock_getres): Likewise.
10780         (__vdso_get_tbfreq): Likewise.
10781         (__vdso_getcpu): Likewise.
10782         (__vdso_time): Likewise.
10783         (__vdso_sigtramp_rt64): Likewise.
10784         (__vdso_signtramp32): Likewise.
10785         (__vdso_sigtramp_rt32): Likewise.
10786         (_libc_vdso_platform_setup): Likewise.
10787         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
10788         Likewise.
10789         (__vdso_clock_gettime): Likewise.
10790         (__vdso_clock_getres): Likewise.
10791         (_libc_vdso_platform_setup): Likewise.
10792         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
10793         Likewise.
10794         (__vdso_clock_gettime): Likewise.
10795         (_libc_vdso_platform_setup): Likewise.
10796         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
10797         Likewise.
10798         (__vdso_getcpu): Likewise.
10799         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
10800         Use VDSO_SYMBOL macro to define.
10801         (__vdso_clock_gettime): Likewise.
10802         (__vdso_clock_getres): Likewise.
10803         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
10804         Likewise.
10805         (__vdso_clock_gettime): Likewise.
10806         (__vdso_clock_getres): Likewise.
10807         (__vdso_get_tbfreq): Likewise.
10808         (__vdso_getcpu): Likewise.
10809         (__vdso_time): Likewise.
10810         (__vdso_sigtramp_rt64): Likewise.
10811         (__vdso_signtramp32): Likewise.
10812         (__vdso_sigtramp_rt32): Likewise.
10813         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
10814         Likewise.
10815         (__vdso_clock_gettime): Likewise.
10816         (__vdso_clock_getres): Likewise.
10817         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
10818         Likewise.
10819         (__vdso_clock_gettime): Likewise.
10820         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
10821         Likewise.
10822         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
10823         macro.
10824         (INTERNAL_VSYSCALL): Likewise.
10825         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
10826         Remove macro.
10827         (INTERNAL_VSYSCALL): Likewise.
10828         (INTERNAL_VSYSCALL_NCS): Likewise.
10829         (INTERNAL_VSYSCALL_CALL): New macro.
10830         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
10831         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
10832         Likewise.
10833         (INTERNAL_VSYSCALL): Likewise.
10834         (INTERNAL_VSYSCALL_NCS): Likewise.
10835         (INTERNAL_VSYSCALL_CALL): New macro.
10836         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
10837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10838         (INLINE_VSYSCALL): Remove macro.
10839         (INTERNAL_VSYSCALL): Remove macro.
10840         (INTERNAL_VSYSCALL_NCS): Remove macro.
10841         (INTERNAL_VSYSCALL_CALL): New macro.
10842         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
10843         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
10844         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
10845         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
10846         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
10847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10848         (INLINE_VSYSCALL): Remove macro.
10849         (INTERNAL_VSYSCALL): Likewise.
10850         (INTERNAL_VSYSCALL_NCS): Likewise.
10851         (INTERNAL_VSYSCALL_CALL): New macro.
10852         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
10853         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
10854         PTR_DEMANGLE on vDSO pointer.
10855         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
10856         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
10857         macro.
10858         (INTERNAL_SYSCALL): Likewise.
10859         (INTERNAL_VSYSCALL_NCS): Remove macro.
10860         (INTERNAL_VSYSCALL_CALL): New macro.
10861         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
10862         Remove macro.
10863         (INTERNAL_VSYSCALL): Likewise.
10864         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
10865         sysdep-vdso.h instead of libc-vdso.h.
10866         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
10867         definition.
10868         (INLINE_VSYSCALL): Likewise.
10869         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
10870         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
10871         definition.
10872         (INLINE_VSYSCALL): Likewise.
10873         (INTERNAL_VSYSCALL): Likewise.
10874         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
10875         * sysdeps/unix/sysv/linux/timespec_get.c
10876         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
10877         (timespec_get): Use ANSI prototype.
10878         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
10879         and definition for Linux.
10881 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
10883         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
10884         * include/libc-symbols.h: libmvec_hidden_* macro series added.
10886 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
10888         [BZ #2981]
10889         [BZ #18410]
10890         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
10891         for missing DT_PLTRELSZ.
10893 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
10895         Remove obsolete aliases that broke 'locale -a'
10896         [BZ #18412]
10897         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
10898         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
10899         breaking some applications that use 'locale -a' output.
10900         Change the encoding of this file from Latin-1 to ASCII to avoid
10901         other potential problems with people grepping this file.
10903 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10905         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
10906         -fasynchronous-unwind-tables.
10907         (CFLAGS-sendto.c): Likewise.
10908         (CFLAGS-sendmsg.c): Likewise.
10909         (CFLAGS-connect.c): Likewise.
10910         (CFLAGS-recvmsg.c): Likewise.
10911         (CFLAGS-recvfrom.c): Likewise.
10912         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
10913         (SOCKETCALL): New macro: non-cancellable socketcall.
10914         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
10915         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
10916         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
10917         * sysdeps/unix/sysv/linux/accept.c: New file.
10918         * sysdeps/unix/sysv/linux/bind.c: Likewise.
10919         * sysdeps/unix/sysv/linux/connect.c: Likewise.
10920         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
10921         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
10922         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
10923         * sysdeps/unix/sysv/linux/listen.c: Likewise.
10924         * sysdeps/unix/sysv/linux/recv.c: Likewise.
10925         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
10926         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
10927         * sysdeps/unix/sysv/linux/send.c: Likewise.
10928         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
10929         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
10930         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
10931         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
10932         * sysdeps/unix/sysv/linux/socket.c: Likewise.
10933         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
10934         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
10935         prototype.
10936         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
10937         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
10938         instead of __internal_xxx function.
10939         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
10940         prototype.
10941         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
10942         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
10943         instead of __internal_xxx function.
10944         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
10945         prototype.
10946         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
10947         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
10948         instead of __internal_xxx function.
10949         * sysdeps/unix/sysv/linux/accept.S: Remove file.
10950         * sysdeps/unix/sysv/linux/bind.S: Likewise.
10951         * sysdeps/unix/sysv/linux/connect.S: Likewise.
10952         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
10953         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
10954         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
10955         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
10956         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
10957         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
10958         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
10959         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
10960         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10961         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
10962         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
10963         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
10964         * sysdeps/unix/sysv/linux/listen.S: Likewise.
10965         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
10966         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
10967         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
10968         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
10969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
10970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
10971         * sysdeps/unix/sysv/linux/recv.S: Likewise.
10972         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
10973         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
10974         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
10975         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
10976         * sysdeps/unix/sysv/linux/send.S: Likewise.
10977         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
10978         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
10979         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
10980         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
10981         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
10982         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
10983         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
10984         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
10985         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
10986         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
10987         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
10988         socketcall is implemented in GLIBC.
10990 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
10992         * soft-fp/fmadf4.c: Include <libc-internal.h>.
10993         (__fma): Ignore uninitialized warnings around packing.
10994         * soft-fp/fmasf4.c: Include <libc-internal.h>.
10995         (__fmaf): Ignore uninitialized warnings around packing.
10996         * soft-fp/fmatf4.c: Include <libc-internal.h>.
10997         (__fmal): Ignore uninitialized warnings around packing.
10999         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
11000         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11001         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
11002         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11004         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
11005         switch statement into default case.
11006         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
11008         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
11009         a conditional in forcing "inexact".
11010         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11011         Likewise.
11013 2015-05-22  Roland McGrath  <roland@hack.frob.com>
11015         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11016         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
11017         for each INTERNAL_SYSCALL use.
11019 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
11021         [BZ #438]
11022         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
11023         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
11024         variable.
11026         [BZ #18444]
11027         * string/basename.c (basename): Rename to __basename and define as
11028         weak alias of __basename.  Use libc_hidden_weak.
11029         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
11030         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
11031         __basename instead of basename.
11032         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
11033         Remove variable.
11034         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
11036 2015-05-18  Florian Weimer  <fweimer@redhat.com>
11038         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
11039         (_IO_JUMPS_FILE_plus): New.
11040         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
11041         _IO_CAST_FIELD_ACCESS.
11042         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
11043         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
11044         * libio/freopen.c (freopen): Likewise.
11045         * libio/freopen64.c (freopen64): Likewise.
11046         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
11047         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
11048         * libio/iofwide.c (_IO_fwide): Likewise.
11049         * libio/memstream.c (open_memstream): Likewise.
11050         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11051         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
11052         * libio/oldiopopen.c (_IO_old_popen): Likewise.
11054 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
11056         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
11057         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
11058         NADJ.
11059         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
11060         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
11061         NADJ.
11062         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
11063         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
11064         NADJ.
11066         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
11067         (p == 4) case.
11069         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
11070         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
11071         Remove variable.
11072         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
11073         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
11074         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
11076 2015-05-21  Florian Weimer  <fweimer@redhat.com>
11078         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
11079         Adjust jump table label generation macros.
11081 2015-05-21  Florian Weimer  <fweimer@redhat.com>
11083         * stdio-common/vfprintf.c (vfprintf): Move local variables
11084         args_malloced, specs, specs_malloced, and the code after
11085         do_positional to the printf_positional function.
11086         (printf_positional): New function.
11088 2015-05-21  Florian Weimer  <fweimer@redhat.com>
11090         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
11091         function.
11092         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
11093         STEP4_TABLE, process_arg): Move macro definitions
11094         out of the vfprintf function.  (Cosmetic change only.)
11096 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
11098         * benchtests/Makefile (stdio-common-bench): Define.
11099         (benchset): Add stdio-common-bench.
11100         * sprintf-inputs: New file.
11101         * sprintf-source.c: New file.
11103 2015-05-21  Andreas Schwab  <schwab@suse.de>
11105         [BZ #13028]
11106         [BZ #17053]
11107         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
11108         of struct __res_state.
11109         * resolv/res_send.c (__libc_res_nsend): Likewise.
11110         (get_nsaddr): New function.
11111         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
11112         statp directly.
11114 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
11116         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
11117         -D_POSIX_C_SOURCE=199506L.
11119         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
11121         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
11122         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
11123         Do not mention otherwise.
11124         [POSIX] (_XOPEN_VERSION): Do not expect.
11125         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
11126         [POSIX] (_POSIX2_C_BIND): Likewise.
11127         [POSIX] (_POSIX2_VERSION): Likewise.
11128         [POSIX] (_XOPEN_XPG2): Likewise.
11129         [POSIX] (_XOPEN_XPG3): Likewise.
11130         [POSIX] (_XOPEN_XPG4): Likewise.
11131         [POSIX] (_XOPEN_UNIX): Likewise.
11132         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
11133         [POSIX] (_POSIX_BARRIERS): Likewise.
11134         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
11135         [POSIX] (_POSIX_CPUTIME): Likewise.
11136         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
11137         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
11138         [POSIX] (_POSIX_SHELL): Likewise.
11139         [POSIX] (_POSIX_SPAWN): Likewise.
11140         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
11141         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
11142         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
11143         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
11144         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
11145         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
11146         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
11147         [POSIX] (_XBS5_LP64_OFF64): Likewise.
11148         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
11149         [POSIX] (_POSIX_TIMEOUTS): Likewise.
11150         [POSIX] (_POSIX2_PBS): Likewise.
11151         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
11152         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
11153         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
11154         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
11155         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
11156         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
11157         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
11158         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
11159         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
11160         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
11161         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
11162         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
11163         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
11164         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
11165         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
11166         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
11167         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
11168         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
11169         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
11170         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
11171         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
11172         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
11173         [POSIX] (_SC_2_C_BIND): Likewise.
11174         [POSIX] (_SC_2_C_VERSION): Likewise.
11175         [POSIX] (_SC_2_PBS): Likewise.
11176         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
11177         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
11178         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
11179         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
11180         [POSIX] (_SC_2_PBS_TRACK): Likewise.
11181         [POSIX] (_SC_ATEXIT_MAX): Likewise.
11182         [POSIX] (_SC_BARRIERS): Likewise.
11183         [POSIX] (_SC_BASE): Likewise.
11184         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
11185         [POSIX] (_SC_DEVICE_IO): Likewise.
11186         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
11187         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
11188         [POSIX] (_SC_FD_MGMT): Likewise.
11189         [POSIX] (_SC_FIFO): Likewise.
11190         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
11191         [POSIX] (_SC_FILE_LOCKING): Likewise.
11192         [POSIX] (_SC_FILE_SYSTEM): Likewise.
11193         [POSIX] (_SC_IOV_MAX): Likewise.
11194         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
11195         [POSIX] (_SC_NETWORKING): Likewise.
11196         [POSIX] (_SC_PAGE_SIZE): Likewise.
11197         [POSIX] (_SC_PASS_MAX): Likewise.
11198         [POSIX] (_SC_PIPE): Likewise.
11199         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
11200         [POSIX] (_SC_REGEXP): Likewise.
11201         [POSIX] (_SC_SHELL): Likewise.
11202         [POSIX] (_SC_SIGNALS): Likewise.
11203         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
11204         [POSIX] (_SC_SPIN_LOCKS): Likewise.
11205         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
11206         [POSIX] (_SC_USER_GROUPS): Likewise.
11207         [POSIX] (_SC_USER_GROUPS_R): Likewise.
11208         [POSIX] (_SC_STREAMS): Likewise.
11209         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
11210         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
11211         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
11212         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
11213         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
11214         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
11215         [POSIX] (_PC_FILESIZEBITS): Likewise.
11216         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
11217         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
11218         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
11219         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
11220         [POSIX] (uid_t): Likewise.
11221         [POSIX] (gid_t): Likewise.
11222         [POSIX] (off_t): Likewise.
11223         [POSIX] (pid_t): Likewise.
11224         [POSIX] (cuserid): Allow.
11225         (_SC_2_CHAR_TERM): Require constant.
11226         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
11227         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
11228         variable.
11230 2015-05-20  Roland McGrath  <roland@hack.frob.com>
11232         * sysdeps/nacl/pthread-pids.h: New file.
11233         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
11234         (create_thread): Use __nacl_get_tid to initialize PD->tid.
11236         * nptl/pthread-pids.h: New file.
11237         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
11238         * nptl/nptl-init.c: Include <pthread-pids.h>.
11239         (__pthread_initialize_minimal_internal):
11240         Call __pthread_initialize_pids instead of set_tid_address syscall.
11242         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
11243         * sysdeps/posix/usleep.c: ... here.
11245 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11247         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
11248         call_pselect6 object.
11249         [$(subdir) = io]: Remove call_sync_file_range object.
11250         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
11251         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
11252         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
11253         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
11255 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
11257         * math/s_cproj.c: Add include "math_private.h".
11258         * math/s_cprojf.c: Likewise.
11259         * math/s_cprojl.c: Likewise.
11261 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
11263         [BZ #18244]
11264         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
11265         high mantissa bit when testing whether P is a NaN.
11266         * math/libm-test.inc (remainder_test_data): Add more tests.
11267         (remquo_test_data): Likewise.
11269         [BZ #18049]
11270         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
11271         below -32, return the argument, with underflow if subnormal.
11272         * math/auto-libm-test-in: Add more tests of atanh.
11273         * math/auto-libm-test-out: Regenerated.
11275 2015-05-19  Roland McGrath  <roland@hack.frob.com>
11277         [BZ #18434]
11278         * nptl/tst-sem15.c: New file.
11279         * nptl/Makefile (tests): Add it.
11280         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
11281         s/<</>>/ to fix typo in EOVERFLOW check.
11282         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
11284 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11286         * manual/strings.texi (envz_remove): Fix typo in safety
11287         annotations.
11289 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
11290             Steve Ellcey  <sellcey@imgtec.com>
11292         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
11293         in order to avoid strict alias warnings.
11294         (iruserok_af): Ditto for ra.
11296 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
11298         [BZ #17581]
11299         * malloc/hooks.c
11300         (magicbyte): Convert to a function and avoid returning 0x01.
11301         (mem2mem_check): Avoid using a length byte equal to the magic byte.
11302         (mem2chunk_check): Fix unsigned comparisons to zero.
11303         Hoist defs of sz and magic.
11305 2015-05-19  Richard Henderson  <rth@redhat.com>
11307         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
11309         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11311 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11313         [BZ #16159]
11314         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
11315         * malloc/arena.c (arena_lock): Check if arena is corrupt.
11316         (reused_arena): Find a non-corrupt arena.
11317         (heap_trim): Pass arena to unlink.
11318         * malloc/hooks.c (malloc_check_get_size): Pass arena to
11319         malloc_printerr.
11320         (top_check): Likewise.
11321         (free_check): Likewise.
11322         (realloc_check): Likewise.
11323         * malloc/malloc.c (malloc_printerr): Add arena argument.
11324         (unlink): Likewise.
11325         (munmap_chunk): Adjust.
11326         (ARENA_CORRUPTION_BIT): New macro.
11327         (arena_is_corrupt): Likewise.
11328         (set_arena_corrupt): Likewise.
11329         (sysmalloc): Use mmap if there are no usable arenas.
11330         (_int_malloc): Likewise.
11331         (__libc_malloc): Don't fail if arena_get returns NULL.
11332         (_mid_memalign): Likewise.
11333         (__libc_calloc): Likewise.
11334         (__libc_realloc): Adjust for additional argument to
11335         malloc_printerr.
11336         (_int_free): Likewise.
11337         (malloc_consolidate): Likewise.
11338         (_int_realloc): Likewise.
11339         (_int_memalign): Don't touch corrupt arenas.
11340         * malloc/tst-malloc-backtrace.c: New test case.
11342         * Makefile (summarize-tests): Fix return value on success.
11344         * manual/string.texi (Envz Functions): Add envz_remove.
11346 2015-05-18  Roland McGrath  <roland@hack.frob.com>
11348         * sysdeps/posix/opendir.c: Include <stdbool.h>.
11349         (invalid_name): New function, broken out of ...
11350         (__opendirat): ... here.  Call it.
11351         (need_isdir_precheck): New function, broken out of ...
11352         (__opendirat): ... here.  Call it.
11353         Use __fxstatat64, not __xstatat64.
11354         (opendir_oflags): New function, broken out of ...
11355         (__opendirat): ... here.  Call it.
11356         (opendir_tail): New function, broken out of ...
11357         (__opendirat): ... here.  Call it.
11358         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
11359         opendir_tail, rather than punting to __opendirat.
11360         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
11362 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11364         * .gitignore: Ignore generated *.pyc.
11366 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
11368         * include/stdio.h: Define __need_wint_t.
11369         * test-skeleton.c: Avoid `for' loop initial declaration.
11370         * nptl/tst-initializers1.c: Use test-skeleton.c.
11372 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11374         [BZ #18418]
11375         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
11377 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
11379         [BZ #16352]
11380         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
11381         (__ieee754_atanh): Force underflow exception for results with
11382         small absolute value.
11383         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
11384         (__ieee754_atanhf): Force underflow exception for results with
11385         small absolute value.
11386         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
11387         (__ieee754_atanh): Force underflow exception for results with
11388         small absolute value.
11389         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
11390         (__ieee754_atanhf): Force underflow exception for results with
11391         small absolute value.
11392         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
11393         (__ieee754_atanhl): Force underflow exception for results with
11394         small absolute value.
11395         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
11396         (__ieee754_atanhl): Force underflow exception for results with
11397         small absolute value.
11398         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
11399         (__ieee754_atanhl): Force underflow exception for results with
11400         small absolute value.
11401         * math/auto-libm-test-in: Do not allow missing underflow
11402         exceptions from atanh.
11403         * math/auto-libm-test-out: Regenerated.
11405         [BZ #18221]
11406         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
11407         2**-28 as threshold for returning x or +/- 1/x.
11408         * math/auto-libm-test-in: Add more tests of tan.
11409         * math/auto-libm-test-out: Regenerated.
11411         [BZ #18220]
11412         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11413         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
11414         * math/auto-libm-test-in: Add another test of lgamma.
11415         * math/auto-libm-test-out: Regenerated.
11417 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
11419         * stdio-common/printf_fp.c (___printf_fp): Use abs.
11420         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
11421         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
11422         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
11423         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
11424         (ADD2A): Use fabs.  (SUB2A): Use fabs.
11425         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
11426         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
11427         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
11428         (log1): Use fabs.  (my_log2): Use fabs.
11429         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
11430         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
11431         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
11432         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
11433         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
11434         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
11435         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
11436         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
11437         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
11438         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
11439         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
11441 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
11443         [BZ #18217]
11444         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
11445         as threshold for returning 1 - x.
11446         * math/auto-libm-test-in: Add more tests of erfc.
11447         * math/auto-libm-test-out: Regenerated.
11449 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
11451         [BZ #18196]
11452         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
11453         threshold for large arguments.
11454         * math/auto-libm-test-in: Add another test of atan.
11455         * math/auto-libm-test-out: Regenerated.
11457         [BZ #16339]
11458         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
11459         (__log1p): Force underflow exception for results with small
11460         absolute value.
11461         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
11462         (__log1pf): Force underflow exception for results with small
11463         absolute value.
11464         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
11465         (__log1p): Force underflow exception for results with small
11466         absolute value.
11467         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
11468         (__log1pf): Force underflow exception for results with small
11469         absolute value.
11470         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
11471         (__log1pl): Force underflow exception for results with small
11472         absolute value.
11473         * math/auto-libm-test-in: Do not allow missing underflow
11474         exceptions from log1p.
11475         * math/auto-libm-test-out: Regenerated.
11477 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
11478             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11480         [BZ #16704]
11481         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
11483 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
11485         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
11486         (libmvec): New variable.
11487         * configure.ac: Added option for mathvec build.
11488         * configure: Regenerated.
11489         * mathvec/Depend: New file.
11490         * mathvec/Makefile: New file.
11491         * shlib-versions: Added libmvec.
11492         * math/Makefile: Added rule for libm.so installation.
11494         * bits/math-vector.h: New file.
11495         * bits/libm-simd-decl-stubs.h: New header.
11496         * math/Makefile (headers): Added new header
11497         libm-simd-decl-stubs.h.
11498         * math/math.h (__MATHCALL_VEC): New macro.
11500         * math/gen-libm-have-vector-test.sh: Script generates series of macros
11501         for conditions in testing functions.
11502         * math/Makefile: Added call of libm-have-vector-test.sh.
11503         * math/libm-test.inc (HAVE_VECTOR): New macros.
11505         * math/libm-test.inc: START refactored.
11506         * math/test-double.c (TEST_MATHVEC): Add define.
11507         * math/test-float.c: Likewise.
11508         * math/test-idouble.c: Likewise.
11509         * math/test-ifloat.c: Likewise.
11510         * math/test-ildoubl.c: Likewise.
11511         * math/test-ldouble.c: Likewise.
11512         * sysdeps/generic/math-tests-arch.h
11513         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
11514         architecture check.
11516         * math/test-double.c (FUNC_TEST): New macro.
11517         * math/test-float.c: Likewise.
11518         * math/test-idouble.c: Likewise.
11519         * math/test-ifloat.c: Likewise.
11520         * math/test-ildoubl.c: Likewise.
11521         * math/test-ldouble.c: Likewise.
11522         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
11524 2015-05-13  Roland McGrath  <roland@hack.frob.com>
11526         * sysdeps/nacl/fdopendir.c: New file.
11528         * dirent/scandir-tail.c: New file.
11529         * dirent/scandir64-tail.c: New file.
11530         * dirent/Makefile (routines): Add them.
11531         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
11532         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
11533         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
11534         [!SCANDIR] (SCANDIR_TAIL): New macro.
11535         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
11536         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
11537         (SCANDIRAT): Macro removed.
11538         (SCANDIR_TAIL): New macro.
11539         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
11540         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
11541         (SCANDIRAT): Just call __opendirat and __scandir_tail.
11542         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
11543         (READDIR): Macro removed.
11544         (SCANDIR_TAIL): New macro.
11545         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
11546         (SCANDIR_TAIL): New macro.
11548         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
11549         * dirent/scandir-cancel.c: ... to this new file.
11550         * dirent/Makefile (routines): Add it.
11551         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
11552         * sysdeps/unix/sysv/linux/i386/scandir64.c
11553         (SKIP_SCANDIR_CANCEL): Macro removed.
11554         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
11556         * dirent/tst-scandir.c: New file.
11557         * dirent/tst-scandir64.c: New file.
11558         * dirent/Makefile (tests): Add them.
11560 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
11562         [BZ #18409]
11563         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
11565 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11567         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
11568         list.
11570 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
11572         * benchtests/bench-strcoll.c: New benchmark.
11573         * benchtests/Makefile: Generate locales and run benchmark.
11574         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
11575         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
11576         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
11577         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
11578         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
11579         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
11580         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
11581         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
11582         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
11583         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
11584         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
11585         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
11586         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
11587         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
11588         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
11589         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
11590         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
11591         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
11592         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
11593         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
11594         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
11595         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
11596         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
11597         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
11599 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
11601         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
11602         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11604 2015-05-12  Roland McGrath  <roland@hack.frob.com>
11606         * posix/uname-values.h: New file.
11607         * posix/uname.c: Include that instead of <config-name.h>.
11608         * sysdeps/nacl/uname-values.h: New file.
11609         * sysdeps/arm/nacl/uname-values.h: New file.
11611 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
11613         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
11614         splitting into fields.
11616 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
11618         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
11619         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
11620         * locale/localeinfo.h: Add enum collation_encoding_type.
11621         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
11622         * programs/ld-collate.c (collate_output): Add encoding type info.
11623         * string/strcoll_l.c (STRDIFF): New function.
11624         * (STRCOLL): Use STRDIFF to skip over equal prefix.
11625         * wcsmbs/wcscoll_l.c: Define STRDIFF.
11627 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
11629         [BZ #18397]
11630         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
11631         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
11632         <fpu_control.h> instead of <math/fpu_control.c>.
11633         * sysdeps/mips/mips32/fpu/Makefile: New file.
11635 2015-05-11  Andreas Schwab  <schwab@suse.de>
11637         [BZ #18007]
11638         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
11639         nss_endgrent.
11640         (_nss_compat_endgrent): Call nss_endgrent.
11641         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
11642         nss_endpwent.
11643         (_nss_compat_endpwent): Call nss_endpwent.
11644         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
11645         needent, call nss_setspent only if non-zero.
11646         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
11647         (internal_endspent): Don't call nss_endspent.
11648         (_nss_compat_endspent): Call nss_endspent.
11649         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
11650         Remove.  All uses removed.
11651         (internal_setent): Remove parameter stayopen, add parameter
11652         stream.  Use it instead of global variable.
11653         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
11654         (internal_endent, internal_getent): Add parameter stream.  Use it
11655         instead of global variable.
11656         (CONCAT(_nss_files_end,ENTNAME))
11657         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
11658         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
11659         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
11660         uses removed.
11661         (internal_setent, internal_endent): Add parameter stream.  Use it
11662         instead of global variable.
11663         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
11664         stream.
11665         (get_next_alias): Add parameter stream.
11666         (_nss_files_getaliasent_r): Pass global stream.
11667         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
11668         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
11669         (_nss_files_gethostbyname4_r): Pass local stream to
11670         internal_setent, internal_getent and internal_endent.  Remove
11671         locking.
11673 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11675         * tst-strfmon1.c (tests): Update expected currency symbol.
11677 2015-05-08  Roland McGrath  <roland@hack.frob.com>
11679         * sysdeps/nacl/gethostname.c: New file.
11681 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
11683         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
11684         and sinh.
11685         * math/auto-libm-test-out: Regenerated.
11686         * sysdeps/i386/fpu/libm-test-ulps: Update.
11687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11689 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
11691         [BZ #18125]
11692         * stdlib/tst-setcontext3.c: New file.
11693         * stdlib/tst-setcontext3.sh: New file.
11694         * stdlib/Makefile (tests): Add tst-setcontext3.
11695         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
11696         to verify test program created output file.
11697         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
11698         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
11699         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
11700         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
11702 2015-05-06  Roland McGrath  <roland@hack.frob.com>
11704         [BZ #18383]
11705         * elf/tst-tlsalign.c: New file.
11706         * elf/tst-tlsalign-static.c: New file.
11707         * elf/tst-tlsalign-lib.c: New file.
11708         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
11709         (tests-static): Add tst-tlsalign-static.
11710         (modules-names): Add tst-tlsalign-lib.
11711         (test-xfail-tst-tlsalign): New variable.
11712         (test-xfail-tst-tlsalign-static): New variable.
11714         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
11715         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
11717 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
11719         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
11720         csqrt, erfc, sin and sincos.
11721         * math/auto-libm-test-out: Regenerated.
11722         * sysdeps/i386/fpu/libm-test-ulps: Update.
11723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11725 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11727         * sysdeps/aarch64/libm-test-ulps: Update.
11729 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
11731         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
11732         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
11733         * math/auto-libm-test-out: Regenerated.
11734         * sysdeps/i386/fpu/libm-test-ulps: Update.
11735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11737 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
11739         [BZ #18265]
11740         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
11741         (wcsncpy): Likewise.
11743 2015-05-05  Florian Weimer  <fweimer@redhat.com>
11745         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11746         Assume __ASSUME_FALLOCATE is always true.
11747         * sysdeps/unix/sysv/linux/posix_fallocate64.c
11748         (__posix_fallocate64_l64): Likweise.
11749         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
11750         (posix_fallocate): Likewise.
11751         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
11752         (__posix_fallocate64_l64): Likewise.
11753         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11754         [!__ASSUME_FALLOCATE]: Add comment.
11756 2015-05-05  Florian Weimer  <fweimer@redhat.com>
11758         * sysdeps/unix/sysv/linux/i386/Makefile
11759         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
11760         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
11761         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
11762         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11763         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11764         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
11765         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
11767 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
11769         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
11770         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
11771         tgamma.
11772         * math/auto-libm-test-out: Regenerated.
11773         * sysdeps/i386/fpu/libm-test-ulps: Update.
11774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11776 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
11778         * math/auto-libm-test-in: Add more tests of tgamma.
11779         * math/auto-libm-test-out: Regenerated.
11780         * sysdeps/i386/fpu/libm-test-ulps: Update.
11781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11783         * math/auto-libm-test-in: Add more tests of tanh.
11784         * math/auto-libm-test-out: Regenerated.
11785         * sysdeps/i386/fpu/libm-test-ulps: Update.
11786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11788         * math/auto-libm-test-in: Add more tests of tan.
11789         * math/auto-libm-test-out: Regenerated.
11790         * sysdeps/i386/fpu/libm-test-ulps: Update.
11791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11793         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
11794         * math/auto-libm-test-out: Regenerated.
11795         * sysdeps/i386/fpu/libm-test-ulps: Update.
11796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11798         * math/auto-libm-test-in: Add another test of pow.
11799         * math/auto-libm-test-out: Regenerated.
11800         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11802         * math/auto-libm-test-in: Add more tests of lgamma.
11803         * math/auto-libm-test-out: Regenerated.
11804         * sysdeps/i386/fpu/libm-test-ulps: Update.
11805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11807         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
11808         log1p.
11809         * math/auto-libm-test-out: Regenerated.
11810         * sysdeps/i386/fpu/libm-test-ulps: Update.
11811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11813 2015-05-01  Mark Wielaard  <mjw@redhat.com>
11815         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
11816         Elf64_Chdr structs and ELFCOMPRESS constants.
11818 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
11820         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
11821         expm1.
11822         * math/auto-libm-test-out: Regenerated.
11823         * sysdeps/i386/fpu/libm-test-ulps: Update.
11824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11826         * math/auto-libm-test-in: Add more tests of erf and erfc.
11827         * math/auto-libm-test-out: Regenerated.
11828         * sysdeps/i386/fpu/libm-test-ulps: Update.
11829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11831 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11833         * config.h.in (HAVE_AARCH64_BE): Add.
11835 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
11837         * math/auto-libm-test-in: Add more tests of csqrt.
11838         * math/auto-libm-test-out: Regenerated.
11839         * sysdeps/i386/fpu/libm-test-ulps: Update.
11840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11842         * math/auto-libm-test-in: Add more tests of cosh and sinh.
11843         * math/auto-libm-test-out: Regenerated.
11844         * sysdeps/i386/fpu/libm-test-ulps: Update.
11845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11847         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
11849 2015-04-29  Roland McGrath  <roland@hack.frob.com>
11851         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
11852         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
11854         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
11855         (euidaccess, eaccess): Define as weak aliases.
11857         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
11858         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
11859         but __suseconds_t is often 'long int' so some sources assume that
11860         type is being used (e.g. they use %ld to print tv_usec).
11862 2015-04-29  Florian Weimer  <fweimer@redhat.com>
11864         [BZ #18007]
11865         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
11866         (CVE-2014-8121)
11867         * nss/tst-nss-getpwent.c: New file.
11868         * nss/Makefile (tests): Add new test.
11870 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
11872         [BZ #18346]
11873         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
11874         exponents less than 48 as cases where high part of mantissa needs
11875         examining to determine whether argument is integral.
11876         * math/libm-test.inc (round_test_data): Add more tests.
11878 2015-04-28  Mark Wielaard  <mjw@redhat.com>
11880         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
11882 2015-04-27  David S. Miller  <davem@davemloft.net>
11884         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
11885         __tls_get_addr.
11886         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
11888 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
11890         [BZ#18333]
11891         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
11893 2015-04-27  Florian Weimer  <fweimer@redhat.com>
11895         [BZ#18333]
11896         * time/tzset.c (parse_tzname): Return error on memory allocation
11897         failure.
11898         * test-skeleton.c (struct temp_name_list): Change type of name
11899         member to non-const.
11900         (add_temp_file): Create a copy of the file name.
11901         (delete_temp_files): Deallocate memory.
11902         (create_temp_file): Add comment.
11904 2015-04-24  Florian Weimer  <fweimer@redhat.com>
11906         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
11907         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
11909 2015-04-24  Roland McGrath  <roland@hack.frob.com>
11911         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
11912         * sysdeps/arm/configure: Regenerated.
11914 2015-04-24  Florian Weimer  <fweimer@redhat.com>
11916         [BZ #17715]
11917         * time/tzfile.c (__tzfile_read): Check for large values of
11918         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
11919         * time/tzset.c (__tzstring_len): New function, based on the old
11920         __tzstring function.
11921         (__tzstring): Call __tzstring_len.
11922         (parse_tzname): New helper function extracted from
11923         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
11924         the input string.
11925         (parse_offset): New helper function extracted from
11926         __tzset_parse_tz.  Replace switch with fallthrough with
11927         initialization before sscanf.
11928         (parse_rule): Likewise.
11929         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
11930         new-style function definition.
11931         * timezone/Makefile (tests): Add tst-tzset.
11932         (tst-tzset.out): Dependencies on time zone files.
11933         (tst-tzset-ENV): Set TZDIR.
11934         (testdata/XT%): Copy crafted time zone files.
11935         * timezone/README: Mention crafted time zone files.
11936         * timezone/testdata/XT1, timezone/testdata/XT2,
11937         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
11938         files.
11939         * timezone/tst-tzset.c: New test.
11941 2015-04-24  Florian Weimer  <fweimer@redhat.com>
11943         * Makeconfig (+gccwarn): Remove -Winline.
11945 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11947         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
11949 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11951         * NEWS: Mention sysconf() cache information support for s390.
11952         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
11954 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
11956         * math/k_casinh.c (__kernel_casinh): Use __copysign.
11957         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
11958         (__nearbyint): Likewise.
11959         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
11960         (copysignl): Likewise.
11962 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
11964         [BZ #18287]
11965         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
11966         based on padding.  (CVE-2015-1781)
11968 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11970         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
11971         libc-vdso.h.
11972         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
11973         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
11974         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
11975         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
11976         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
11977         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
11978         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
11979         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
11980         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11981         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
11982         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11983         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11984         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
11985         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
11986         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
11987         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
11988         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
11989         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
11990         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
11991         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
11992         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
11993         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
11994         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
11996 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
11998         * stdlib/setenv.c (__add_to_environ):
11999         Dump core quickly if setenv (..., NULL, ...) is called.
12000         This time, do it the right way, and pacify GCC with a pragma.
12002 2015-04-17  Roland McGrath  <roland@hack.frob.com>
12004         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
12005         IMAP->l_prev cannot be null, and #if out the code for the contrary
12006         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
12007         believe that NS (&_dl_ns[NSID]) could point outside the array.
12009         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
12010         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
12011         before using NSID as an index.
12013 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
12015         [BZ #17825]
12016         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
12017         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
12018         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12020 2015-04-17  Roland McGrath  <roland@hack.frob.com>
12022         Add preliminary port to Google Native Client on ARM.
12023         * abi-tags (.*-.*-nacl.*): New entry.
12024         * sysdeps/arm/nacl: New directory.
12025         * sysdeps/nacl: New directory.
12027 2015-04-16  David S. Miller  <davem@davemloft.net>
12029         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
12030         lowlevellock-futex.h
12032 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
12034         * sysdeps/tile/configure.ac: New file.
12035         * sysdeps/tile/configure: Regenerated.
12037 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12039         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
12040         conditionals for weak_alias and libc_hidden_weak.
12041         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
12042         libc_hidden_weak and weak_alias.
12043         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
12044         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
12045         and weak_alias for static one.
12047 2015-04-15  David S. Miller  <davem@davemloft.net>
12049         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12051 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12053         [BZ #18206]
12054         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
12055           Use signed comparision instead of substraction to avoid
12056           overflow bug.
12057         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
12058           Take the sign of ret.
12059         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
12060           Do not expect precise return values. Only the sign matters.
12061         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
12062         * wcsmbs/test-wcsncmp.c: New File.
12063         * string/test-strncmp.c: Add wcsncmp support.
12065 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12067         [BZ #6792]
12068         * math/w_log1p.c: New file.
12069         * math/w_log1pf.c: Likewise.
12070         * math/w_log1pl.c: Likewise.
12071         * math/Makefile (libm-calls): Add w_log1p.
12072         * math/s_log1pl.c (log1pl): Remove weak_alias.
12073         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
12074         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
12075         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
12076         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
12077         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
12078         [NO_LONG_DOUBLE] (log1pl): Likewise.
12079         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
12080         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
12081         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
12082         (log1p): Remove long_double_symbol.
12083         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
12084         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
12085         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
12086         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
12087         remove weak_alias for corresponding log1p function.
12088         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
12089         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
12090         * sysdeps/ia64/fpu/w_log1p.c: New file.
12091         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
12092         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
12093         * math/libm-test.inc (log1p_test_data): Add errno expectations.
12095 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
12097         [BZ #18247]
12098         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
12099         decimal exponent by 1.
12100         * stdlib/tst-strtod-round-data: Add more tests.
12101         * stdlib/tst-strtod-round.c (tests): Regenerated.
12103 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
12105         * math/auto-libm-test-in: Add more tests of clog and clog10.
12106         * math/auto-libm-test-out: Regenerated.
12107         * sysdeps/i386/fpu/libm-test-ulps: Update.
12108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12110 2015-04-09  Roland McGrath  <roland@hack.frob.com>
12112         * Makeconfig (module-cppflags): Exclude all .v.i files.
12113         (skip-module-cppflags): Variable removed.
12115         * configure.ac (libc_config_ok): Initialize before reading
12116         preconfigure scripts, not after.
12117         * configure: Regenerated.
12119         * test-skeleton.c (TIMEOUT): Move #define to top level.
12120         (main): Grok environment variable TEST_DIRECT.  If set, print
12121         test expectation details into that file and then behave as if
12122         given --direct.
12124 2015-04-09  Florian Weimer  <fweimer@redhat.com>
12126         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
12127         warning on 32-bit.
12129 2015-04-08  David S. Miller  <davem@davemloft.net>
12131         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12133 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
12135         * math/auto-libm-test-in: Add more tests of atanh.
12136         * math/auto-libm-test-out: Regenerated.
12137         * sysdeps/i386/fpu/libm-test-ulps: Update.
12138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12140         * math/auto-libm-test-in: Add more tests of atan.
12141         * math/auto-libm-test-out: Regenerated.
12142         * sysdeps/i386/fpu/libm-test-ulps: Update.
12143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12145 2015-04-08  Florian Weimer  <fweimer@redhat.com>
12147         * elf/pldd.c (main): Rewrite to use struct
12148         scratch_buffer instead of extend_alloca.
12149         * elf/pldd-xx.c (find_maps): Likewise.
12150         * grp/initgroups.c: Include <scratch_buffer.h> instead of
12151         <alloca.h>.
12152         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
12153         scratch_buffer instead of extend_alloca.
12154         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
12155         grp/compat-initgroups.c.
12156         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
12157         Rewrite to use struct scratch_buffer instead of extend_alloca.
12158         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
12159         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12161 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
12163         * math/auto-libm-test-in: Add more tests of cbrt.
12164         * math/auto-libm-test-out: Regenerated.
12165         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12167         * math/auto-libm-test-in: Add more tests of cabs.
12168         * math/auto-libm-test-out: Regenerated.
12169         * sysdeps/i386/fpu/libm-test-ulps: Update.
12170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12172         [BZ #18210]
12173         [BZ #18211]
12174         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
12175         (__ieee754_atan2): Set FE_TONEAREST mode for internal
12176         computations.
12177         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
12178         clog10.
12179         * math/auto-libm-test-out: Regenerated.
12180         * sysdeps/i386/fpu/libm-test-ulps: Update.
12181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12183         [BZ #18197]
12184         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
12185         (atan): Set FE_TONEAREST mode for internal computations.
12186         * math/auto-libm-test-in: Add more tests of atan.
12187         * math/auto-libm-test-out: Regenerated.
12189 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
12191         [BZ #17930]
12192         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
12194 2015-04-07  Florian Weimer  <fweimer@redhat.com>
12196         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
12198 2015-04-07  Florian Weimer  <fweimer@redhat.com>
12200         * include/scratch_buffer.h: New file.
12201         * malloc/scratch_buffer_grow.c: Likewise.
12202         * malloc/scratch_buffer_grow_preserve.c: Likewise.
12203         * malloc/scratch_buffer_set_array_size.c: Likewise.
12204         * malloc/tst-scratch_buffer.c: Likewise.
12205         * malloc/Makefile (routines): Add scratch_buffer_grow.
12206         (tests): Add test case.
12207         * malloc/Versions (GLIBC_PRIVATE): Export
12208         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
12209         __libc_scratch_buffer_set_array_size.
12211 2015-04-06  Richard Henderson  <rth@redhat.com>
12213         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
12214         * sysdeps/alpha/fpu/libm-test-ulps: Update.
12216         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
12217         unsigned int before printing.
12219 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12221         [BZ #17596]
12222         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
12223         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12225 2015-04-02  Florian Weimer  <fweimer@redhat.com>
12227         * include/libc-internal.h (libc_max_align_t): Define.
12229 2015-04-02  Andreas Schwab  <schwab@suse.de>
12231         [BZ #16850]
12232         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
12234 2015-04-02  Mel Gorman  <mgorman@suse.de>
12236         [BZ #17195]
12237         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
12238         as well as the main arena.
12240 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
12242         [BZ #18185]
12243         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
12244         sharing L2 cache to 2 for Silvermont/Knights Landing.
12246 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
12248         [BZ #17711]
12249         * config.make.in (have-protected-data): New.
12250         * configure.ac: Check linker support for protected data symbol.
12251         * configure: Regenerated.
12252         * elf/Makefile (modules-names): Add tst-protected1moda and
12253         tst-protected1modb if $(have-protected-data) is yes.
12254         (tests): Add tst-protected1a and tst-protected1b if
12255         $(have-protected-data) is yes.
12256         ($(objpfx)tst-protected1a): New.
12257         ($(objpfx)tst-protected1b): Likewise.
12258         (tst-protected1modb.so-no-z-defs): Likewise.
12259         * elf/tst-protected1a.c: New file.
12260         * elf/tst-protected1b.c: Likewise.
12261         * elf/tst-protected1mod.h: Likewise.
12262         * elf/tst-protected1moda.c: Likewise.
12263         * elf/tst-protected1modb.c: Likewise.
12265 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
12267         [BZ #17711]
12268         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
12269         indicates it is called from do_lookup_x on relocation against
12270         protected data, skip the data definion in the executable from
12271         copy reloc.
12272         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
12273         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
12274         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
12275         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
12276         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
12277         otherwise to 0.
12278         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
12279         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
12280         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
12281         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
12282         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
12283         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
12285 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
12287         * sysdeps/nptl/pthread.h: Remove duplicate definition of
12288         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
12290 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
12292         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
12293         THREAD_SETMEM_NC.
12294         * sysdeps/x86_64/nptl/tls.h: Ditto.
12296 2015-03-27  Roland McGrath  <roland@hack.frob.com>
12298         * dlfcn/tststatic.c (main): Converted to ...
12299         (do_test): ... this.
12300         (TEST_FUNCTION): New macro.
12301         Include test-skeleton.c.
12303 2015-03-26  Alan Modra  <amodra@gmail.com>
12305         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
12306         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
12307         zero for undefined weak.
12308         (elf_machine_plt_conflict): Similarly.
12310 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
12312         * math/auto-libm-test-in: Add more tests of acosh, asinh and
12313         atanh.
12314         * math/auto-libm-test-out: Regenerated.
12315         * sysdeps/i386/fpu/libm-test-ulps: Update.
12316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12318         * math/auto-libm-test-in: Add another test of asin.
12319         * math/auto-libm-test-out: Regenerated.
12320         * sysdeps/i386/fpu/libm-test-ulps: Update.
12321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12323         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
12324         Remove macro.
12325         (LLL_EBX_REG): Likewise.
12326         (LLL_ENTER_KERNEL): Likewise.
12328         * math/auto-libm-test-in: Add more tests of asin.
12329         * math/auto-libm-test-out: Regenerated.
12330         * sysdeps/i386/fpu/libm-test-ulps: Update.
12331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12333         [BZ #18138]
12334         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
12335         libc_do_syscall_args): New structure.
12336         (INTERNAL_SYSCALL_MAIN_0): New macro.
12337         (INTERNAL_SYSCALL_MAIN_1): Likewise.
12338         (INTERNAL_SYSCALL_MAIN_2): Likewise.
12339         (INTERNAL_SYSCALL_MAIN_3): Likewise.
12340         (INTERNAL_SYSCALL_MAIN_4): Likewise.
12341         (INTERNAL_SYSCALL_MAIN_5): Likewise.
12342         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
12343         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
12344         Replace conditional definitions by conditional definitions of ....
12345         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
12346         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
12347         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
12348         (libpthread-sysdep_routines): Add libc-do-syscall.
12349         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
12350         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
12351         to __NR_futex not 240.
12353 2015-03-25  Alan Modra  <amodra@gmail.com>
12355         * NEWS: Advertise TLS optimization.
12356         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
12357         (DT_PPC_NUM): Increment.
12358         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
12359         (CHECK_STATIC_TLS): Use here.
12360         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
12361         TLS descriptors.
12362         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12363         * sysdeps/powerpc/dl-tls.c: New file.
12364         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
12365         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
12366         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
12367         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
12368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
12369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12372 2015-03-25  Alan Modra  <amodra@gmail.com>
12374         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
12375         for overlapping .opd entries" to "support...".
12376         * sysdeps/powerpc/powerpc64/configure: Regenerate
12378 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
12380         * math/auto-libm-test-in: Add more tests of acos.
12381         * math/auto-libm-test-out: Regenerated.
12382         * sysdeps/i386/fpu/libm-test-ulps: Update.
12383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12385         * math/auto-libm-test-in: Add more tests of expm1.
12386         * math/auto-libm-test-out: Regenerated.
12387         * sysdeps/i386/fpu/libm-test-ulps: Update.
12388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12390 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
12392         * math/auto-libm-test-in: Add more tests of cosh and sinh.
12393         * math/auto-libm-test-out: Regenerated.
12394         * sysdeps/i386/fpu/libm-test-ulps: Update.
12395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12397         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12400         * math/auto-libm-test-in: Add more tests of log2.
12401         * math/auto-libm-test-out: Regenerated.
12402         * sysdeps/i386/fpu/libm-test-ulps: Update.
12403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12405 2015-03-23  Roland McGrath  <roland@hack.frob.com>
12407         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
12408         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
12409         _IO_IS_APPENDING bit in READ_WRITE instead.
12411 2015-03-23  Florian Weimer  <fweimer@redhat.com>
12413         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
12414         (__determine_cpumask_size): Replace extend_alloca with a
12415         variable-length array.  Do not treat res == 0 as an error.
12417 2015-03-23  Florian Weimer  <fweimer@redhat.com>
12419         [BZ #18100]
12420         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
12421         and integer overflow.
12422         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
12423         (main): Add integer overflow tests.
12424         * manual/pattern.texi (Calling Wordexp): Document additional use
12425         for WRDE_SYNTAX.
12427 2015-03-23  Alan Modra  <amodra@gmail.com>
12429         * config.h.in: Remove HAVE_ASM_PPC_REL16.
12430         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
12431         and false branch of conditional.
12432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12433         Likewise.
12435 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
12437         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
12438         libc-modules.h
12439         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
12440         unused declaration of _hurd_intr_rpc_msg_in_trap.
12441         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
12442         defined instead of whether it is non-zero.
12443         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
12444         input constraint instead of both input and output constraint.  Use ecx
12445         clobber instead of %ecx.
12446         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
12447         mutex_unlock): Use a statement expression instead of an expression list.
12448         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
12449         type to vm_size_t instead of vm_address_t.
12450         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
12451         defined instead of whether it is non-zero.
12452         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
12453         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
12454         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
12455         comparisons with mapaddr.
12456         * nscd/nscd-client.h: Include <time.h>.
12457         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
12458         9th parameter to __vm_region instead of int.
12459         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
12460         * scripts/check-local-headers.sh (exclude): Add device/,
12461         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
12462         cthreads.h.
12464 2015-03-19  Roland McGrath  <roland@hack.frob.com>
12466         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
12467         to account for alignment padding.
12468         * sysdeps/arm/memmove.S: Likewise.
12470 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
12472         * sysdeps/unix/sysv/linux/generic/README: New file.
12474 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
12476         [BZ #18138]
12477         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
12478         (futex_abstimed_wait)
12479         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
12480         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
12481         of lll_futex_timed_wait.
12483 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
12485         [BZ #17542]
12486         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
12488 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
12490         [BZ #17090]
12491         [BZ #17620]
12492         [BZ #17621]
12493         [BZ #17628]
12494         * NEWS: Update.
12495         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
12496         entries with Static TLS too.  Skip entries past the end of the
12497         allocated DTV, from Alan Modra.
12498         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
12499         Static TLS DTV entry set up from...
12500         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
12501         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
12502         * nptl/allocatestack.c (init_one_static_tls): ... and here...
12503         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
12504         for Static TLS.
12505         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
12506         that the slot we find is associated with the given map before
12507         using its generation count.
12508         * nptl_db/db_info.c: Include ldsodefs.h.
12509         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
12510         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
12511         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
12512         (link_map::l_tls_offset): New struct field.
12513         (dtv_t::counter): Likewise.
12514         (rtld_global): New struct.
12515         (_rtld_global): New rtld variable.
12516         (dl_tls_dtv_slotinfo_list): New rtld global field.
12517         (dtv_slotinfo_list): New struct.
12518         (dtv_slotinfo): Likewise.
12519         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
12520         (td_lookup): Rename to...
12521         (td_mod_lookup): ... this.  Use new mod parameter instead of
12522         LIBPTHREAD_SO.
12523         * nptl_db/td_thr_tlsbase.c: Include link.h.
12524         (dtv_slotinfo_list, dtv_slotinfo): New functions.
12525         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
12526         addresses even if the DTV is out of date or missing them.
12527         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
12528         index zero-length arrays.
12529         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
12530         (td_lookup): Make it a macro implemented in terms of...
12531         (td_mod_lookup): ... this declaration.
12532         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
12533         (DB_MAIN_VARIABLE): Likewise.
12535 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
12537         [BZ #18134]
12538         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
12540 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
12542         * stdlib/setenv.c (__add_to_environ): Revert previous change.
12544 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
12546         [BZ #18128]
12547         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
12548         (atomic_add, atomic_increment_and_test)
12549         (atomic_decrement_and_test): Fix 64-bit arithmetic.
12551 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
12553         * stdlib/setenv.c (__add_to_environ):
12554         Dump core quickly if setenv (..., NULL, ...) is called.
12556 2015-03-13  Roland McGrath  <roland@hack.frob.com>
12558         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
12559         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
12560         all the necessary asm magic in one place.
12561         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
12562         using those.
12564 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
12566         [BZ #14906]
12567         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
12568         traced file mtime. Use consistent log message.
12569         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
12570         (register_traced_file): Call install_watches. Always set mtime.
12571         (invalidate_cache): Iterate over all trace files. Call install_watches.
12572         (inotify_check_files): Don't inline. Handle watching parent
12573         directories and configuration file movement in and out.
12574         (handle_inotify_events): New function.
12575         (main_loop_poll): Call handle_inotify_events.
12576         (main_loop_epoll): Likewise.
12577         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
12578         (struct traced_file): Use array of inotify fds. Add parent directory,
12579         and basename.
12580         (struct database_dyn): Remove unused file_mtime.
12581         (init_traced_file): New inline function.
12582         (define_traced_file): New macro.
12583         * nss/nss_db/db-init.c: Use define_traced_file.
12584         (_nss_db_init): Use init_traced_file.
12585         * nss/nss_files/files-init.c: Use define_traced_file.
12586         (_nss_files_init): Use init_traced_file.
12588 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
12590         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
12591         [_LIBC]: Do not include <stdlib.h>.
12592         [!_LIBC] (abort): Remove declaration.
12593         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
12594         _FP_STATIC_ASSERT instead of conditionally calling abort.
12595         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
12596         (_FP_EXTEND_CNAN): Likewise.
12597         (FP_TRUNC): Likewise.
12598         (__FP_CLZ): Likewise.
12599         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
12601 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
12603         * manual/string.texi (XPG basename): Fix prototype.
12605 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12607         [BZ #18080]
12608         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
12609         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
12610         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
12611         (__setcontext): Likewise.
12612         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
12613         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
12614         Call rt_sigprocmask syscall one time to set new signal mask
12615         and retrieve the current signal mask instead of two calls.
12616         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
12617         (__swapcontext): Likewise.
12618         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
12619         * stdlib/tst-setcontext2.c: New file.
12621 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12623         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12625 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
12627         [BZ #18093]
12628         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
12629         the wrong size.
12631 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12633         [BZ #18043]
12634         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
12636 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12638         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
12639         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
12640         Remove define.
12641         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
12642         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
12643         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
12644         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
12645         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
12646         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
12647         define.
12648         * nptl_db/td_symbol_list.c (td_lookup): Remove
12649         HAVE_ASM_GLOBAL_DOT_NAME code.
12650         * sysdeps/powerpc/powerpc64/configure.ac: Remove
12651         HAVE_ASM_GLOBAL_DOT_NAME check.
12652         * sysdeps/powerpc/powerpc64/configure: Regenerate.
12653         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
12654         (DOT_LABEL): Remove define.
12655         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
12656         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
12657         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
12658         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
12659         (__TLS_GET_ADDR): Likewise.
12660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
12661         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
12663 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
12665         [BZ #18111]
12666         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
12667         (_FPU_SETCW): Initialize cw from fpsr before storing.
12668         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
12669         (fesetexceptflag): Rewrite using fpu_control.h.
12670         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
12672 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
12674         [BZ #18110]
12675         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
12676         asms.
12677         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
12679 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
12681         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
12682         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
12683         abort.
12684         (_FP_FMA): Likewise.
12685         (_FP_DIV): Likewise.
12687 2015-03-10  Roland McGrath  <roland@hack.frob.com>
12689         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
12690         with 0 in that case.
12691         * Makefile (summarize-tests): New canned sequence, factored out of
12692         commands for targets tests and xtests.  Display summary lines that
12693         don't start with PASS: or XFAIL: rather than ones that do start with
12694         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
12695         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
12696         do start with ERROR: or FAIL:.
12697         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
12698         (except for [$(build-shared) = yes]).
12699         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
12700         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
12701         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
12702         * nptl/Makefile: Revert 2015-03-04 changes.
12703         [$(CXX) empty] (tests-unsupported): New variable.
12704         * debug/Makefile: Likewise.
12706         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
12707         gnulib file.  Replace __attribute with __attribute__ throughout.
12709 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
12711         * sysdeps/hppa/fpu/libm-test-ulps: Update.
12713 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
12715         [BZ #18104]
12716         * math/auto-libm-test-in: Add another test of pow.
12717         * math/auto-libm-test-out: Regenerated.
12719 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12721         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
12722         $(config-cflags-nofma).
12724 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
12726         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
12727         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
12728         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
12729         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
12730         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
12731         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
12732         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
12733         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
12734         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
12735         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
12736         Add comment on closing #endif.
12738 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12740         * posix/wordexp.c (CHAR_IN_SET): New macro.
12741         (parse_param): Use it.
12743 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12745         * sysdeps/powerpc/fpu/libm-test-ulps: update.
12747 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12749         [BZ #18043]
12750         * posix/wordexp.c (parse_param): Fix buffer overflow.
12751         * posix/wordexp-test.c (test_case): Add test case.
12753 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12755         [BZ #18042]
12756         * posix/wordexp.c (parse_backtick): Fix off-by-one.
12757         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
12759 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12761         [BZ #18043]
12762         * posix/wordexp-test.c (test_case): Add test for BZ #18043
12763         (do_bz18043): Delete.
12764         (at_page_end): New.
12765         (testit): Refactor to have words at the edge of unreadable page.
12767 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12769         [BZ #16734]
12770         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
12771         Cleanup read-only streams as well.
12772         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
12774 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12776         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
12777         <bits/libc-lockP.h>
12779 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
12781         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
12782         on [__KERNEL__].
12783         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
12784         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
12785         * soft-fp/op-common.h (_FP_DECL): Likewise.
12787 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
12789         * elf/ifuncdep2.c (global): Replace
12790         __attribute__((visibility("protected"))) with
12791         asm (".protected global").
12792         * elf/ifuncmod1.c (global): Likewise.
12793         * elf/ifuncmod5.c (global): Likewise.
12795 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
12797         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
12798         <asm/sfp-machine.h> instead of <sfp-machine.h>.
12800 2015-03-06  Roland McGrath  <roland@hack.frob.com>
12802         * manual/install.texi (Configuring and compiling):
12803         Document test-wrapper-env-only.
12804         * INSTALL: Regenerated.
12806 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12808         [BZ #18043]
12809         * posix/wordexp.c (parse_param): Fix buffer overflow.
12810         * posix/wordexp-test.c (do_bz18043): Add test case.
12812 2015-03-06  Vincent Bernat  <vincent@bernat.im>
12814         * time/tst-strptime2.c (do_test): Ensure failing tests are
12815         reported correctly.
12816         * time/tst-strptime3.c (do_test): Likewise.
12818 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
12820         Fix aio_error thread-safety.
12821         * sysdeps/pthread/aio_error.c: New file
12822         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
12823         synchronization.
12825 2015-03-06  Florian Weimer  <fweimer@redhat.com>
12827         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
12828         (group_number, vfprintf): Use it.
12829         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
12830         (JUMP, REF): Use it.
12831         (WORK_BUFFER_SIZE): New enum constant.
12832         (process_arg, vfprintf): Use it.
12834 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
12836         * manual/errno.texi (Error Messages): Complete example function
12837         by adding missing #define.
12838         (program_invocation_name): Add statement indicating GNU
12839         extension and reference which header file declares the variable.
12840         (program_invocation_short_name): Likewise.
12842 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
12844         * manual/errno.texi (Error Messages): Delete strerror ISO C89
12845         compatibility note.
12847 2015-03-05  Roland McGrath  <roland@hack.frob.com>
12849         * Makeconfig (test-wrapper-env-only): New variable.
12850         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
12851         then use that with $(test-wrapper-env-only) rather than using
12852         $(test-wrapper-env) $(run-program-env) $($*-ENV).
12854 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
12856         [BZ #18082]
12857         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
12858         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
12859         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
12860         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
12861         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
12862         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
12863         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
12864         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
12865         Likewise.
12866         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
12867         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
12868         Likewise.
12869         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
12870         Likewise.
12871         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
12872         Likewise.
12873         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
12874         Likewise.
12875         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
12876         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
12877         Likewise.
12878         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
12879         Likewise.
12880         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
12881         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
12883 2015-03-04  Roland McGrath  <roland@hack.frob.com>
12885         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
12886         (ETH_ALEN): New macro.
12887         (struct ether_addr): Use it for length of ether_addr_octet.
12889         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
12890         (setdb): Don't call __nss_configure_lookup for "rpc".
12891         (do_test): Don't call test_rpc.
12892         (output_rpcent, test_rpc): Functions moved ...
12893         * sunrpc/test-rpcent.c: ... to this new file.
12894         * sunrpc/Makefile (tests): Add it.
12896         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
12897         __xpg_sigpause.
12898         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
12899         * nptl/tst-signal6.c: Likewise.
12900         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
12901         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
12903         * configure.ac (libc_cv_cxx_link_ok): New check.
12904         Reset CXX to empty if it fails to link.
12905         * configure: Regenerated.
12906         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
12907         bug-atexit3-lib only if $(CXX) is nonempty.
12908         * nptl/Makefile (tests): Likewise for tst-cancel24.
12909         (tests, tests-static): Likewise for tst-cancel24-static.
12910         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
12911         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
12912         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
12913         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
12915 2015-03-04  Andreas Schwab  <schwab@suse.de>
12917         [BZ #17631]
12918         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
12919         for non-GCC compilers.
12920         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12921         Likewise.
12923 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12925         [BZ #17776]
12926         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
12927         integer before bitwise and assembly operations.
12928         (feclearexcept): Likewise.
12929         * math/test-fenvinline.c: New file.
12930         * math/Makefile: Add test-fenvinline test.
12932 2015-03-03  Alan Modra  <amodra@gmail.com>
12934         [BZ #16512]
12935         * scripts/localplt.awk: Strip off symbol version.
12936         * NEWS: Mention bug fix.
12938 2015-03-02  Roland McGrath  <roland@hack.frob.com>
12940         * sysdeps/pthread/timer_routines.c
12941         (timer_free_list, thread_free_list, thread_active_list): Make static.
12943 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
12945         [BZ #17779]
12946         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12947         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
12948         Undefine.
12949         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12950         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
12951         Likewise.
12952         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12953         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
12954         Likewise.
12956 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
12958         [BZ #18036]
12959         * posix/fnmatch_loop.c (END): Detect invalid pattern.
12960         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
12962 2015-03-02  Andreas Schwab  <schwab@suse.de>
12964         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
12965         variable name.
12967 2015-03-02  Florian Weimer  <fweimer@redhat.com>
12969         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
12970         Return error status.
12972 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
12974         [BZ #15969]
12975         * locale/findlocale.c (_nl_find_locale): Introduce const
12976         version of loc_name and drop unsafe type casts.
12978 2015-02-27  Roland McGrath  <roland@hack.frob.com>
12980         * dlfcn/tststatic2.c (main): Converted to ...
12981         (do_test): ... this.
12982         (TEST_FUNCTION): New macro.
12983         Include test-skeleton.c.
12985 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
12987         [BZ #17711]
12988         * elf/Makefile (tests): Add vismain only if PIE is enabled.
12989         (tests-pie): Add vismain.
12990         (CFLAGS-vismain.c): New.
12991         * elf/vismain.c: Add comments for PIE requirement.
12993 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
12995         [BZ #18046]
12996         [BZ #18047]
12997         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
12998         0x1p-56L as threshold for just returning the argument.
12999         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
13000         0x1p-32L as threshold for just returning the argument.
13001         * math/auto-libm-test-in: Add more tests of atanh.
13002         * math/auto-libm-test-out: Regenerated.
13003         * sysdeps/i386/fpu/libm-test-ulps: Update.
13004         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
13006 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
13008         * string/bcopy.c (bcopy): Call memmove for performance.
13010 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
13012         * string/bzero.c (__bzero): Call memset for performance.
13014 2015-02-27  John David Anglin  <dave.anglin@bell.net>
13016         [BZ #18068]
13017         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
13018         to 00100000.
13020 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
13022         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
13024 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
13026         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
13027         (__kernel_standard): Use CSTR macro when setting exc.name.
13028         * sysdeps/ieee754/Makefile [$(subdir) = math]
13029         (CFLAGS-k_standard.c): Remove variable.
13031         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
13032         setting p and q from "else if" to "else".
13033         (qzero): Likewise.
13034         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
13035         (qone): Likewise.
13036         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
13037         (qzerof): Likewise.
13038         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
13039         (qonef): Likewise.
13040         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
13041         (qzero): Likewise.
13042         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
13043         (qone): Likewise.
13045         [BZ #18038]
13046         [BZ #18039]
13047         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
13048         return pi/2 for arguments below 0x1p-113L.
13049         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
13050         return pi/2 for arguments below 0x1p-106L.
13051         * math/auto-libm-test-in: Add more tests of acos.
13052         * math/auto-libm-test-out: Regenerated.
13054         [BZ #16351]
13055         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
13056         (MO): New macro.
13057         (__ieee754_asin): Force underflow exception for results with small
13058         absolute value.
13059         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
13060         (MO): New macro.
13061         (__ieee754_asinf): Force underflow exception for results with
13062         small absolute value.
13063         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
13064         (__ieee754_asin): Force underflow exception for results with small
13065         absolute value.
13066         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
13067         (__ieee754_asinf): Force underflow exception for results with
13068         small absolute value.
13069         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
13070         (__ieee754_asinl): Force underflow exception for results with
13071         small absolute value.
13072         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
13073         (__ieee754_asinl): Force underflow exception for results with
13074         small absolute value.
13075         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
13076         (__ieee754_asinl): Force underflow exception for results with
13077         small absolute value.
13078         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
13079         Include <math.h>.
13080         * math/auto-libm-test-in: Do not mark underflow exceptions as
13081         possibly missing for bug 16351.
13082         * math/auto-libm-test-out: Regenerated.
13084         [BZ #18030]
13085         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
13086         of power of 2 down when low part has opposite sign.
13087         * math/libm-test.inc (logb_test_data): Add more tests.
13089 2015-02-26  Andreas Schwab  <schwab@suse.de>
13091         [BZ #18032]
13092         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
13093         over collating symbol inside a bracket expression.  Minor cleanup.
13094         * posix/tst-fnmatch3.c (do_test): Add test case.
13096 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
13098         [BZ #18029]
13099         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
13100         Adjust exponent of power of 2 down when low part has opposite
13101         sign.
13102         * math/libm-test.inc (ilogb_test_data): Add more tests.
13104 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
13106         [BZ #15969]
13107         * locale/findlocale.c (_nl_find_locale): Fix constness error in
13108         the previous change.
13110         [BZ #15969]
13111         * locale/findlocale.c (_nl_find_locale): Retry archive search
13112         after alias expansion.
13114 2015-02-25  Roland McGrath  <roland@hack.frob.com>
13116         * iconv/tst-iconv3.c (main): Converted to ...
13117         (do_test): ... this.
13118         (TEST_FUNCTION): New macro.
13119         Include test-skeleton.c.
13121         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
13122         (convert): Make function static.
13123         (test_unalign): Likewise.  Add const to argument pointee types.
13124         (main): Replace with static function do_test.
13125         Print "Succeeded." only if RET is zero.
13126         (TEST_FUNCTION): New macro.
13127         Include test-skeleton.c.
13129         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
13130         returns a null pointer.
13132 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13134         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
13135         to __memcpy_ppc only for static builds.
13137 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
13139         [BZ #18020]
13140         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
13141         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
13142         * math/auto-libm-test-in: Add more tests of asinh.
13143         * math/auto-libm-test-out: Regenerated.
13144         * sysdeps/i386/fpu/libm-test-ulps: Update.
13145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13147 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
13149         [BZ #15850]
13150         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
13151         and ip6_mtuinfo definitions here.
13152         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
13153         in this define too.  Update comment.
13155 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
13157         * elf/sprof.c (load_shobj): Tweak error message to match others.
13159 2015-02-24  Kevin Easton  <kevin@guarana.org>
13161         [BZ #16145] (partial fix)
13162         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
13163         to reduce lock contention.
13165 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
13167         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
13168         (struct timex): Update time comment.
13169         (ADJ_SETOFFSET): Define.
13171 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
13173         [BZ #18019]
13174         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13175         2**56 not 2**28 as threshold for log (2x) formula.
13176         * math/auto-libm-test-in: Add more tests of acosh.
13177         * math/auto-libm-test-out: Regenerated.
13178         * sysdeps/i386/fpu/libm-test-ulps: Update.
13179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13181 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
13183         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
13184         parenthesis around the buf assignment.
13185         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
13187 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
13189         [BZ #16783]
13190         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
13191         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
13192         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
13193         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
13194         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
13195         * math/libm-test.inc (scalb_test_data): Add more tests.
13197 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
13199         [BZ #17916]
13200         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
13201         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
13203 2015-02-24  Eric Rannaud  <e@nanocritical.com>
13205         [BZ #17523]
13206         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
13207         * io/bits/fcntl2.h (open): Use it.
13208         (openat): Likewise.
13209         * io/open.c (__libc_open): Likewise.
13210         * io/open64.c (__libc_open64): Likewise.
13211         * io/open64_2.c (__open64_2): Likewise.
13212         * io/open_2.c (__open_2): Likewise.
13213         * io/openat.c (__openat): Likewise.
13214         * io/openat64.c (__openat64): Likewise.
13215         * io/openat64_2.c (__openat64_2): Likewise.
13216         * io/openat_2.c (__openat_2): Likewise.
13217         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
13218         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
13219         * sysdeps/posix/open64.c (__libc_open64): Likewise.
13220         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13221         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
13222         (__open_nocancel): Likewise.
13223         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
13224         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
13225         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
13227 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13229         [BZ #14841]
13230         * resolv/gethnamaddr.c (getanswer): Skip logging if
13231         RES_USE_DNSSEC is set.
13232         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13234 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
13236         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
13238 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
13240         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
13241         201304L, for Unicode 7.
13243 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
13245         [BZ #17836]
13246         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
13247         shared library.  Add gmon-start.os otherwise.
13248         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
13249         $(objpfx)gmon-start.os if builing shared library.
13250         ($(objpfx)g$(static-start-installed-name)): Likewise.
13252 2015-02-23  Andreas Schwab  <schwab@suse.de>
13254         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
13256 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
13258         [BZ #17269]
13259         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
13260         (enlarge_userbuf): Likewise.
13262 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
13264         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
13265         * math/atest-exp.c (TIMEOUT): Adjust to 200.
13266         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
13267         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
13269 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
13271         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
13272         expression inside statement expression.
13274 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13276         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
13277         <sysdeps/nptl/lowlevellock.h> and remove macros and
13278         functions that are now defined there.
13279         (SYS_futex): Remove.
13280         (lll_compare_and_swap): Remove.
13281         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
13283 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
13285         [BZ #17999]
13286         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
13287         instead of scandirat.
13288         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
13289         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
13290         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
13291         __scandirat.
13292         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
13293         (__scandirat): Declare.  Use libc_hidden_proto.
13294         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
13295         Remove variable.
13296         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
13298 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
13300         [BZ #15319]
13301         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
13302         (MO): New macro.
13303         (__ieee754_atan2): For results with small absolute value, force
13304         underflow exception and remove excess range and precision from
13305         return value.
13306         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
13307         (MO): New macro.
13308         (__ieee754_atan2f): For results with small absolute value, force
13309         underflow exception and remove excess range and precision from
13310         return value.
13311         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
13312         (MO): New macro.
13313         (__atan): For results with small absolute value, force underflow
13314         exception and remove excess range and precision from return value.
13315         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
13316         (MO): New macro.
13317         (__atanf): For results with small absolute value, force underflow
13318         exception and remove excess range and precision from return value.
13319         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
13320         <math.h>.
13321         (__ieee754_atan2): Force underflow exception for results with
13322         small absolute value.
13323         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
13324         <math_private.h>.
13325         (atan): Force underflow exception for results with small absolute
13326         value.
13327         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
13328         (__atanf): Force underflow exception for results with small
13329         absolute value.
13330         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
13331         <math.h>.
13332         (__atanl): Force underflow exception for results with small
13333         absolute value.
13334         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
13335         (__atanl): Force underflow exception for results with small
13336         absolute value.
13337         * sysdeps/x86/fpu/bits/mathinline.h
13338         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
13339         (__ieee754_atan2): Only define inline for long double.
13340         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
13341         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
13342         * math/auto-libm-test-in: Do not mark underflow exceptions as
13343         possibly missing for bug 15319.  Add more tests of atan2.
13344         * math/auto-libm-test-out: Regenerated.
13345         * math/libm-test.inc (casin_test_data): Do not mark underflow
13346         exceptions as possibly missing for bug 15319.
13347         (casinh_test_data): Likewise.
13348         * sysdeps/i386/fpu/libm-test-ulps: Update.
13350 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
13352         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
13353         * sysdeps/mips/bits/endian.h: Fix comments.
13355 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
13357         [BZ #17996]
13358         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
13359         (hdestroy_r): Likewise.
13360         (hsearch_r): Likewise.
13361         (__hcreate_r): Declare and use libc_hidden_proto.
13362         (__hdestroy_r): Likewise.
13363         (__hsearch_r): Likewise.
13364         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
13365         (hcreate): Call __hcreate_r instead of hcreate_r.
13366         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
13367         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
13368         as weak alias of __hcreate_r.
13369         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
13370         __hdestroy_r.
13371         (hsearch_r): Rename to __hsearch_r and define as weak alias of
13372         __hsearch_r.
13373         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
13374         Remove variable.
13375         (test-xfail-XPG4/search.h/linknamespace): Likewise.
13376         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
13377         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
13378         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
13380 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13382         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
13383         arena_lock into a single arena_get.
13385 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
13387         * dl-reloc.c: Inlucde libc-internal.h.
13388         (_dl_try_allocate_static_tls): Call ALIGN_UP.
13389         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
13390         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
13391         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
13392         (grow_heap): Likewise.
13393         * malloc/malloc.c: Include libc-internal.h.
13394         (do_check_malloc): Call powerof2.
13395         (sysmalloc): Use pagesize. Call ALIGN_UP.
13396         (systrim): Use pagesize.
13397         (mremap_chunk): Use pagesize. Call ALIGN_UP.
13398         (__libc_valloc): Use pagesize.
13399         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
13401 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
13403         [BZ #17991]
13404         * include/sys/resource.h (__getrlimit64): Declare.  Use
13405         libc_hidden_proto.
13406         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
13407         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
13408         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
13409         getrlimit64.
13410         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
13411         __getrlimit64.
13412         [!getrlimit64] (getrlimit64): Define as weak alias of
13413         __getrlimit64.  Use libc_hidden_weak.
13414         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
13415         using __getrlimit64 not __new_getrlimit64.
13416         (__GI_getrlimit64): Likewise.
13417         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
13418         Likewise.
13419         (__GI_getrlimit64): Likewise.
13420         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
13421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
13422         (getrlimit): Add __getrlimit64 alias.
13423         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
13424         Likewise.
13425         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
13426         Remove variable.
13427         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
13428         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
13430 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
13432         * libio/fileops.c: Add missing sys/mman.h
13433         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
13435 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
13437         * manual/math.texi (Errors in Math Functions): Clarify goals
13438         regarding inexact and underflow exceptions.
13440 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
13442         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
13443         * sysdeps/mips/memset.S: Ditto.
13445 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
13447         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
13449 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
13451         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
13452         (__v1longjmp): Remove versioned symbol.
13453         (__v1siglongjmp): Remove alias and versioned symbol.
13454         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
13455         (__v2siglongjmp): Likewise.
13457 2015-02-16  Torvald Riegel  <triegel@redhat.com>
13459         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
13461 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
13463         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
13465 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
13467         [BZ #17987]
13468         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
13469         zero result does not depend on the sign resulting from
13470         subtraction.
13471         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
13472         Likewise.
13473         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
13474         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
13475         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13476         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
13477         * math/libm-test.inc (remquo_test_data): Add more tests.
13479 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
13481         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
13482         Problem reported by J William Piggott.
13484 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
13486         [BZ #17978]
13487         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
13488         products 4 * y and 2 * y where those would overflow.
13489         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
13490         Likewise.
13491         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
13492         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
13493         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13494         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
13495         * math/libm-test.inc (remquo_test_data): Add more tests.
13497         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
13499         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
13500         [defined _COMPILING_NEWLIB].
13501         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
13502         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
13504         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
13505         [!defined __mips_isa_rev || __mips_isa_rev < 6].
13507 2015-02-16  Torvald Riegel  <triegel@redhat.com>
13509         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
13510         acquired.
13512 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
13514         [BZ #17792]
13515         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
13516         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
13517         HOST_STACK_END_ADDR): Likewise.
13519 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
13521         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
13522         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
13523         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
13525 2015-02-13  Roland McGrath  <roland@hack.frob.com>
13527         * sysdeps/generic/c++-types.data: New file.
13528         * sysdeps/generic/ld.abilist: New file.
13529         * sysdeps/generic/libBrokenLocale.abilist: New file.
13530         * sysdeps/generic/libanl.abilist: New file.
13531         * sysdeps/generic/libc.abilist: New file.
13532         * sysdeps/generic/libcrypt.abilist: New file.
13533         * sysdeps/generic/libdl.abilist: New file.
13534         * sysdeps/generic/libm.abilist: New file.
13535         * sysdeps/generic/libpthread.abilist: New file.
13536         * sysdeps/generic/libresolv.abilist: New file.
13537         * sysdeps/generic/librt.abilist: New file.
13539 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
13541         [BZ #17569]
13542         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
13543         Compute absolute value of x as modified by fmod, not original
13544         value of x.
13545         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
13546         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
13547         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
13548         RUN_TEST_ffI_f1_mod8.
13549         (remquo_test_data): Add more tests.
13551 2015-02-13  Roland McGrath  <roland@hack.frob.com>
13553         * sysdeps/init_array/pt-crti.S: New file.
13555 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
13557         [BZ #17967]
13558         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
13559         __builtin_fmaf instead of relying on contraction of a * b + c.
13561 2015-02-12  J William Piggott  <elseifthen@gmx.com>
13563         [BZ #17969]
13564         * manual/time.texi: correct the zoneinfo path in the TZ Variable
13565         node.
13567 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
13569         [BZ #17964]
13570         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
13571         __builtin_fma instead of relying on contraction of a * b + c.
13573 2015-02-12  Roland McGrath  <roland@hack.frob.com>
13575         * Makeconfig (ASFLAGS): Add -Werror=undef.
13576         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
13577         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
13578         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
13580         * Makeconfig (after-link): New variable.
13581         (+link-pie, +link-pie-tests): Use it.
13582         (+link-static, +link-static-tests): Likewise.
13583         (+link, +link-tests): Likewise.
13584         * Makerules (build-module, build-module-asneeded): Likewise.
13585         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
13586         Likewise.
13587         * elf/Makefile ($(objpfx)ld.so): Likewise.
13589 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
13591         [BZ #17965]
13592         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
13593         both struct timeval and struct timespec.
13595 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
13597         [BZ #16560]
13598         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13599         and redefine.
13600         (__ieee754_exp2l): Do not multiply small fractional parts by
13601         M_LN2l.
13602         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
13603         small argument.
13604         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13605         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
13606         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
13607         * math/auto-libm-test-in: Add more tests of exp2.
13608         * math/auto-libm-test-out: Regenerated.
13610 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13612         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
13613         unaligned path.
13615 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13617         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
13618         little endian.
13620 2015-02-12  Andreas Schwab  <schwab@suse.de>
13622         [BZ #15790]
13623         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
13624         Filter out elision flags from value returned in kind.
13625         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
13626         * nptl/tst-pthread-mutexattr.c: New file.
13628 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13630         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
13631         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
13632         into gnu-gnu, and update comment to refer to abi-tags.
13634 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
13636         [BZ #15467]
13637         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
13638         (__sincos): Set errno to EDOM for infinite argument.
13639         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
13640         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
13641         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
13642         (__sincosl): Set errno to EDOM for infinite argument.
13643         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
13644         (__sincosl): Set errno to EDOM for infinite argument.
13645         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
13646         (__sincosl): Set errno to EDOM for infinite argument.
13647         * math/libm-test.inc (sincos_test_data): Test errno setting.
13649 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
13651         * string/strxfrm_l.c: Remove #define STRCMP.
13652         * string/strcoll_l.c: Remove #define STRLEN.
13653         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
13654         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
13656 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
13658         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
13659         * sysdeps/mips/mips32/sfp-machine.h: ... here.
13660         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
13661         * sysdeps/mips/mips64/Makefile: ... here.
13662         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
13663         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
13664         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
13665         * sysdeps/mips/mips64/sfp-machine.h: ... here.
13666         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
13667         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
13668         * sysdeps/mips/mips64/n64/Implies: Likewise.
13670 2015-02-10  Roland McGrath  <roland@hack.frob.com>
13672         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
13673         <sys/time.h>, <string.h>, and <errno.h>.
13674         (dest_offset, dest_address, value, zero): Remove unused variables.
13675         (ldouble): Remove typedef.
13676         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
13677         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
13678         1).  Fix code style.
13679         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
13680         (check): Function removed.
13681         (CHECK): New macro.
13682         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
13683         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
13684         Don't call set_sigaction_FP and remove_sigaction_FP here.
13685         (ldouble_test): Just use 'long double' as macro argument, no need for
13686         the 'ldouble' typedef.
13687         (do_test): Set up SIGFPE handler at start, using plain signal rather
13688         than sigaction.  Fix code style.
13690 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
13692         [BZ #17949]
13693         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
13694         jump label.
13696 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13698         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
13699         * sysdeps/powerpc/powerpc32/configure: Regenerated.
13701         * sysdeps/powerpc/configure.ac: Remove file.
13702         * sysdeps/powerpc/configure: Likewise.
13704         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
13705         [sysdep_routines]: Remove wordcopy-power6 object.
13706         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
13707         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
13708         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
13709         (__memmove_ppc32): Likewise.
13710         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
13711         file.
13712         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
13713         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
13714         Remove preprocessor.
13716         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
13717         [sysdep_routines]: Remove wide chars objects.
13718         [wcsmbs]: New rule for wide char objects.
13720         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13721         Remove wordcopy-power6 obejct.
13722         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
13723         Use local call for wordcopy and memcpy symbols.
13724         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
13725         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
13726         implementation for loader.
13727         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
13729         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13730         Remove wordcopy-power7 object.
13731         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
13732         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
13733         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
13734         (_wordcopy_fwd_dest_aligned): Likewise.
13735         (_wordcopy_bwd_aligned): Likewise.
13736         (_wordcopy_bwd_dest_aligned): Likewise.
13738         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
13739         Rewrite to call __memmove_ppc instead of include default
13740         implementation.
13742         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13743         Remove wide chars objects.
13744         [wcsmbs]: New rule for wide char objects.
13746 2015-02-09  Andreas Schwab  <schwab@suse.de>
13748         [BZ #17912]
13749         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13750         in terms of __O_DIRECTORY.
13752 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13754         * time/getdate.c: Include <stdbool.h>.
13755         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
13756         call PTR_MANGLE.
13757         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
13758         PTR_DEMANGLE.
13760 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
13762         Add ersatz _Static_assert on older C hosts
13763         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
13764         pre-C11 C platform that is not known to support _Static_assert.
13766 2015-02-07  Richard Braun  <rbraun@sceen.net>
13768         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
13769         sigstate.
13770         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
13772 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13774         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
13775         priority against unexistent AIO_PRIO_DELTA_MAX.
13776         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
13777         instead of int.
13778         * misc/fchflags.c (fchflags): Likewise.
13779         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
13780         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
13781         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
13782         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
13783         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
13784         Declare macros.
13785         [__USE_MISC] (chflags, fchflags): Declare functions.
13786         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
13787         EINVAL when nfds is greater than FD_SETSIZE.
13788         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
13789         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
13790         45.
13791         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
13792         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
13793         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
13794         MACH_RCV_TIMED_OUT.
13795         * hurd/hurd/signal.h (_hurd_self_sigstate,
13796         _hurd_critical_section_lock, _hurd_critical_section_unlock):
13797         Explicit casts from void *.
13798         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
13799         * abi-tags: Rename gnu-gnu os into gnu.
13801         [BZ #4719]
13802         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
13803         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
13804         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
13805         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
13806         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
13807         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
13809         [BZ #17944]
13810         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
13811         duplicates ADDR->sun_path with sockaddr LEN limitation.
13812         * sysdeps/mach/hurd/connect.c: Include <string.h>
13813         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
13814         * sysdeps/mach/hurd/sendmsg.c: Likewise.
13815         * sysdeps/mach/hurd/sendto.c: Likewise.
13816         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
13817         implementing it by hand.
13819 2015-02-06  Roland McGrath  <roland@hack.frob.com>
13821         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
13822         Use sfi_breg on ldr.
13823         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
13824         Likewise.
13826         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
13827         it's defined.
13828         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
13829         Test SIGSETXID only if it's defined.
13831         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
13833         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
13834         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
13836         * nptl/tst-align2.c: Moved ...
13837         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
13838         * nptl/Makefile (tests): Remove tst-align2.
13839         * sysdeps/unix/sysv/linux/Makefile
13840         [$(subdir) = nptl] (tests): Add tst-align-clone.
13841         * nptl/tst-getpid1.c: Moved ...
13842         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
13843         * nptl/tst-getpid2.c: Moved ...
13844         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
13845         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
13846         * sysdeps/unix/sysv/linux/Makefile
13847         [$(subdir) = nptl] (tests): ... here.
13848         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
13849         * sysdeps/unix/sysv/linux/Makefile
13850         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
13852         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
13853         Drop trailing \n from perror argument.  Use return rather than exit.
13855         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
13856         on [SA_SIGINFO].
13857         * nptl/tst-cancel21.c (do_test): Likewise.
13858         * debug/tst-backtrace6.c: Include <signal.h> first thing.
13859         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
13860         [!SA_SIGINFO]: Make it a stub test.
13862         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
13863         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
13865         * posix/tst-getlogin.c: Move to ...
13866         * login/tst-getlogin.c: ... here.
13867         * posix/Makefile (tests): Move tst-getlogin to ...
13868         * login/Makefile (tests): ... here.
13870         * libio/tst-atime.c (do_test): Move local variables SV and E
13871         inside [ST_NOATIME] conditional.
13873         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
13875         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
13877         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
13878         (wait_code): New function replaces macro.
13879         Call nanosleep rather than syscall.
13881         * nptl/pt-system.c: Rewritten.  Put everything under
13882         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
13883         Use IFUNC to redirect when possible.
13885         * nptl/pt-longjmp.c: Rewritten.  Put everything under
13886         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
13887         Use IFUNC to redirect when possible.
13889         * nptl/pt-fork.c: Rewritten.  Put everything under
13890         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
13891         Use IFUNC to redirect when possible.
13892         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
13894         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
13895         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
13896         unconditionally nowadays.  This included the only reference to
13897         __vdso_clock_gettime that appears outside libc proper.
13898         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
13899         Remove version set (containing only __vdso_clock_gettime).
13900         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
13901         Add attribute_hidden.
13902         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
13903         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
13904         libc_hidden_data_def.
13905         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13906         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13908         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
13909         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
13910         setrpcent, and getrpcport to ...
13911         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
13912         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
13913         getrpcbynumber_r, and getrpcent_r to ...
13914         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
13915         * inet/getrpcbyname.c: Moved ...
13916         * sunrpc/getrpcbyname.c: ... here.
13917         * inet/getrpcbyname_r.c: Moved ...
13918         * sunrpc/getrpcbyname_r.c: ... here.
13919         * inet/getrpcbynumber.c: Moved ...
13920         * sunrpc/getrpcbynumber.c: ... here.
13921         * inet/getrpcbynumber_r.c: Moved ...
13922         * sunrpc/getrpcbynumber_r.c: ... here.
13923         * inet/getrpcent.c: Moved ...
13924         * sunrpc/getrpcent.c: ... here.
13925         * inet/getrpcent_r.c: Moved ...
13926         * sunrpc/getrpcent_r.c: ... here.
13927         * inet/Makefile (routines): Move those to ...
13928         * sunrpc/Makefile (routines): ... here.
13929         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
13930         the $(subdirs) list.
13931         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
13932         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
13933         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
13934         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
13936         * elf/Makefile (routines): Include $(all-dl-routines), not just
13937         $(dl-routines).
13938         (rtld-routines): Likewise.  Use = rather than :=.
13939         * sysdeps/aarch64/Makefile [$(subdir) = elf]
13940         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
13941         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
13942         * sysdeps/arm/Makefile: Likewise.
13943         * sysdeps/i386/Makefile: Likewise.
13944         * sysdeps/x86_64/Makefile: Likewise.
13945         * sysdeps/hppa/Makefile [$(subdir) = elf]
13946         (sysdep_routines, sysdep-rtld-routines): Don't add
13947         $(sysdep-dl-routines) to these.
13948         * sysdeps/ia64/Makefile: Likewise.
13949         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
13950         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
13951         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
13952         Don't add dl-static to these; sysdep-dl-routines alone is enough.
13953         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
13954         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
13955         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
13956         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
13957         * sysdeps/powerpc/Makefile [$(subdir) = elf]
13958         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
13959         these; sysdep-dl-routines alone is enough.
13961 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
13963         [BZ #17932]
13964         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
13965         where multiplication results in zero and third argument is finite
13966         and nonzero.
13967         * math/auto-libm-test-in: Add more tests of fma.
13968         * math/auto-libm-test-out: Regenerated.
13970         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
13971         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
13972         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
13973         (_FP_CMP_EQ): Likewise.
13974         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
13976         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
13977         extra argument CHECK_NAN.  Redefine as wrapper around
13978         _FP_EXTEND_CNAN.
13980 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
13982         * version.h (RELEASE): Set to "stable".
13983         (VERSION): Set to "2.21"
13984         * include/features.h (__GLIBC_MINOR__): Set to 21.
13986         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
13988 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13989             Paul Eggert  <eggert@cs.ucla.edu>
13991         [BZ #16618]
13992         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
13993         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
13994         size in bytes. Store needed elements in wpmax. Use needed size
13995         in bytes for extend_alloca.
13997 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
13999         * manual/install.texi: Latest tested versions are GCC 4.9.2,
14000         binutls 2.25, and texinfo 5.2.
14001         * INSTALL: Regenerate.
14002         * sysdeps/nios2/configure: Regenerate.
14003         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
14004         * manual/contrib.texi: Update.
14005         * po/be.po: Update.
14006         * po/bg.po: Update.
14007         * po/ca.po: Update.
14008         * po/cs.po: Update.
14009         * po/da.po: Update.
14010         * po/de.po: Update.
14011         * po/el.po: Update.
14012         * po/eo.po: Update.
14013         * po/es.po: Update.
14014         * po/fi.po: Update.
14015         * po/fr.po: Update.
14016         * po/gl.po: Update.
14017         * po/hr.po: Update.
14018         * po/hu.po: Update.
14019         * po/ia.po: Update.
14020         * po/id.po: Update.
14021         * po/it.po: Update.
14022         * po/ja.po: Update.
14023         * po/ko.po: Update.
14024         * po/lt.po: Update.
14025         * po/nb.po: Update.
14026         * po/nl.po: Update.
14027         * po/pl.po: Update.
14028         * po/pt_BR.po: Update.
14029         * po/ru.po: Update.
14030         * po/rw.po: Update.
14031         * po/sk.po: Update.
14032         * po/sl.po: Update.
14033         * po/sv.po: Update.
14034         * po/tr.po: Update.
14035         * po/uk.po: Update.
14036         * po/vi.po: Update.
14037         * po/zh_CN.po: Update.
14038         * po/zh_TW.po: Update.
14040         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
14041         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
14042         * sysdeps/hppa/dl-irel.h: Remove #warning.
14043         * sysdeps/hppa/entry.h: Provide prototype for
14044         __canonicalize_funcptr_for_compare and cast argument.
14045         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
14046         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
14047         * sysdeps/hppa/sotruss-lib.c: New file.
14048         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
14049         (atomic_compare_and_exchange_val_acq): Use __typeof__.
14050         (atomic_compare_and_exchange_bool_acq): Likewise.
14051         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
14052         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
14054         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
14055         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
14056         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
14058 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
14060         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
14061         called function in non-PIC case.
14063 2015-01-31  David S. Miller  <davem@davemloft.net>
14065         * sysdeps/sparc/sparc32/bits/atomic.h
14066         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
14067         unlock not after it.
14068         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
14069         volatile register usage warnings from the compiler.
14071         * sysdeps/sparc/nptl/sem_init.c: Delete.
14072         * sysdeps/sparc/nptl/sem_post.c: Delete.
14073         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
14074         * sysdeps/sparc/nptl/sem_wait.c: Delete.
14075         * sysdeps/sparc/sparc32/sem_init.c: New file.
14076         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
14077         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
14078         padding explicitly initialized.
14079         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
14080         padding for in-semaphore spinlock.
14081         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
14082         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
14083         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
14084         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
14085         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
14086         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
14087         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
14088         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
14089         version.
14090         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
14091         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
14093 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
14095         [BZ #17801]
14096         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14097         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
14098         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
14099         New.
14100         (index_AVX_Fast_Unaligned_Load): Likewise.
14101         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
14102         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
14103         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
14104         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
14105         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
14106         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
14107         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
14108         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
14109         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
14111 2015-01-29  Andreas Schwab  <schwab@suse.de>
14113         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
14115 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
14117         [BZ #17892]
14118         * nscd/nscd_stat.c (send_stats): Initialize DATA.
14120 2015-01-28  Martin Sebor  <msebor@redhat.com>
14122         * math/README.libm-test: Clarify. Add "How to read the test output."
14124 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
14126         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
14127         Define to 0.
14129 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
14131         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
14132         (__HAVE_64B_ATOMICS): Define to 0.
14134 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14136         [BZ #17885]
14137         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
14138         value to set as new flag.
14140         [BZ #16576]
14141         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
14142         and use _ARCH_PPCSQ instead.
14143         (__ieee754_sqrt): Likewise.
14144         (__ieee754_sqrtf): Likewise.
14145         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
14146         _ARCH_PPCSQ is defined.
14147         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
14148         fsqrt instruction.
14149         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
14150         _ARCH_PPCSQ is defined.
14151         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
14152         fsqrts instruction.
14153         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
14155 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14157         * iconv/loop.c: Suppress array out of bound warning caused by GCC
14158         bug (GCC BZ #64739).
14160 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
14162         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
14163         Mark _retval as used.
14164         (lll_futex_wake_unlock): Likewise.
14165         (lll_futex_timed_wait_requeue_pi): Likewise.
14167         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
14168         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
14169         register variables.
14171         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
14172         libm_hidden_def.
14174         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
14175         (__bswap_64): Mark as __always_inline.
14177 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
14179         [BZ #15378]
14180         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
14181         when none of the search directories exist.
14183 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14185         [BZ #17869]
14186         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
14187         power8 in .machine directive.
14189         [BZ #17868]
14190         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
14191         set dependency from opd value.
14193 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
14195         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14196         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
14197         architecture.
14199 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
14201         [BZ #17870]
14202         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
14203         with uint64_t.
14204         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
14205         (uint64_t) 1.
14206         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
14207         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
14208         Replace 1UL with (uint64_t) 1.
14209         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
14210         int with uint64_t.
14212 2015-01-23  Roland McGrath  <roland@hack.frob.com>
14214         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
14215         (if_freenameindex): Likewise.
14217         * resource/getrlimit64.c: Add missing libc_hidden_def.
14219 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
14221         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
14222         __label__.
14223         (_FP_FMA): Likewise.
14224         (_FP_TO_INT_ROUND): Likewise.
14225         (_FP_FROM_INT): Likewise.
14227 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14229         [BZ #16418]
14230         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
14231         Make code racy and cancel safe.
14233 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
14235         * sysdeps/arm/unwind-resume.h: Fix copyright year.
14236         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
14237         attribution.
14239         * pwd/tst-getpw.c: Rewrite.
14241         [BZ #17702]
14242         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
14243         (modules-names): Add moddummy1 and moddummy2.
14244         ($(objpfx)tst-rec-dlopen): Define.
14245         * dlfcn/moddummy1.c: New file.
14246         * dlfcn/moddummy2.c: New file.
14247         * dlfcn/tst-rec-dlopen.c: New file.
14248         * elf/dl-cache.c (_dl_load_cache_lookup):
14249         Return char*. Copy result with alloca/strcpy/strdup.
14250         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
14251         returns char*. Free cached. If not saving realname
14252         free cached.
14253         * elf/dl-open.c (dl_open_worker): Do not assert that
14254         _r_debug->r_state is RT_CONSISTENT.
14255         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
14256         returns char*.
14258 2015-01-21  Torvald Riegel  <triegel@redhat.com>
14259             Carlos O'Donell  <carlos@redhat.com>
14261         [BZ #12674]
14262         * nptl/sem_waitcommon.c: New file.
14263         * nptl/sem_wait.c: Include sem_waitcommon.c.
14264         (__sem_wait_cleanup, do_futex_wait): Remove.
14265         (__new_sem_wait): Adapt.
14266         (__new_sem_trywait): New function.
14267         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
14268         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
14269         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
14270         (sem_timedwait): Adapt.
14271         * nptl/sem_post.c (__new_sem_post): Adapt.
14272         (futex_wake): New function.
14273         (__old_sem_post): Add release MO fence.
14274         * nptl/sem_open.c (sem_open): Adapt.
14275         * nptl/sem_init.c (__new_sem_init): Adapt.
14276         (futex_private_if_supported): New function.
14277         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
14278         (__old_sem_getvalue): Add using previous code.
14279         * sysdeps/nptl/internaltypes.h: Adapt.
14280         * nptl/tst-sem13.c (do_test): Adapt.
14281         * nptl/tst-sem11.c (main): Adapt.
14282         * nptl/sem_trywait.c: Remove.
14283         * nptl/DESIGN-sem.txt: Remove.
14284         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
14285         (gen-as-const-headers): Remove structsem.sym.
14286         * nptl/structsem.sym: Remove.
14287         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
14288         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
14289         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
14290         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
14291         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
14292         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
14293         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
14294         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
14295         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
14296         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
14297         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
14298         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
14299         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
14300         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
14301         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
14302         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
14303         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
14304         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
14305         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
14306         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
14307         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
14308         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
14310 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
14312         * INSTALL: Regenerated.
14314         * po/libc.pot: Regenerated.
14316 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
14317             Sandra Loosemore  <sandra@codesourcery.com>
14318             Andrew Jenner  <andrew@codesourcery.com>
14319             Joseph Myers  <joseph@codesourcery.com>
14320             Nathan Sidwell  <nathan@codesourcery.com>
14322         * NEWS: Mention new Nios II port.
14323         * sysdeps/nios2/Implies: New file.
14324         * sysdeps/nios2/Makefile: New file.
14325         * sysdeps/nios2/Subdirs: New file.
14326         * sysdeps/nios2/Versions: New file.
14327         * sysdeps/nios2/__longjmp.S: New file.
14328         * sysdeps/nios2/abort-instr.h: New file.
14329         * sysdeps/nios2/backtrace.c: New file.
14330         * sysdeps/nios2/bits/endian.h: New file.
14331         * sysdeps/nios2/bits/fenv.h: New file.
14332         * sysdeps/nios2/bits/link.h: New file.
14333         * sysdeps/nios2/bits/setjmp.h: New file.
14334         * sysdeps/nios2/bsd-_setjmp.S: New file.
14335         * sysdeps/nios2/bsd-setjmp.S: New file.
14336         * sysdeps/nios2/configure: New generated file.
14337         * sysdeps/nios2/configure.ac: New file.
14338         * sysdeps/nios2/crti.S: New file.
14339         * sysdeps/nios2/crtn.S: New file.
14340         * sysdeps/nios2/dl-init.c: New file.
14341         * sysdeps/nios2/dl-machine.h: New file.
14342         * sysdeps/nios2/dl-sysdep.h: New file.
14343         * sysdeps/nios2/dl-tls.h: New file.
14344         * sysdeps/nios2/dl-trampoline.S: New file.
14345         * sysdeps/nios2/gccframe.h: New file.
14346         * sysdeps/nios2/gmp-mparam.h: New file.
14347         * sysdeps/nios2/jmpbuf-offsets.h: New file.
14348         * sysdeps/nios2/jmpbuf-unwind.h: New file.
14349         * sysdeps/nios2/ldsodefs.h: New file.
14350         * sysdeps/nios2/libc-tls.c: New file.
14351         * sysdeps/nios2/libm-test-ulps: New file.
14352         * sysdeps/nios2/machine-gmon.h: New file.
14353         * sysdeps/nios2/math-tests.h: New file.
14354         * sysdeps/nios2/math_private.h: New file.
14355         * sysdeps/nios2/memusage.h: New file.
14356         * sysdeps/nios2/nptl/Makefile: New file.
14357         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
14358         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
14359         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
14360         * sysdeps/nios2/nptl/pthreaddef.h: New file.
14361         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
14362         * sysdeps/nios2/nptl/tls.h: New file.
14363         * sysdeps/nios2/preconfigure: New file.
14364         * sysdeps/nios2/s_fma.c: New file.
14365         * sysdeps/nios2/s_fmaf.c: New file.
14366         * sysdeps/nios2/setjmp.S: New file.
14367         * sysdeps/nios2/sfp-machine.h: New file.
14368         * sysdeps/nios2/sotruss-lib.c: New file.
14369         * sysdeps/nios2/stackguard-macros.h: New file.
14370         * sysdeps/nios2/stackinfo.h: New file.
14371         * sysdeps/nios2/start.S: New file.
14372         * sysdeps/nios2/sysdep.h: New file.
14373         * sysdeps/nios2/tls-macros.h: New file.
14374         * sysdeps/nios2/tst-audit.h: New file.
14375         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
14376         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
14377         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
14378         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
14379         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
14380         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
14381         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
14382         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
14383         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
14384         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
14385         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
14386         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
14387         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
14388         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
14389         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
14390         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
14391         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
14392         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
14393         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
14394         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
14395         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
14396         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
14397         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
14398         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
14399         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
14400         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
14401         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
14402         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
14403         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
14404         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
14405         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
14406         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
14407         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
14408         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
14409         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
14410         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
14411         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
14412         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
14413         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
14414         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
14415         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
14416         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
14417         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
14418         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
14420 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14422         [BZ #17844]
14423         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
14424         (getutent): Use weak_alias in non SHARED case
14425         and default_symbol_version in SHARED case.
14426         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
14427         (getutent_r, pututline): Likewise.
14428         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
14429         (getutid): Likewise.
14430         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
14431         (getutid_r): Likewise.
14432         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
14433         (getutline): Likewise.
14434         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
14435         (getutline_r): Likewise.
14436         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
14437         (updwtmp): Likewise.
14439 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14441         [BZ #17848]
14442         * sysdeps/s390/s390-32/memcmp.S
14443         (memcmp_g5): Rename to __memcmp_g5.
14444         * sysdeps/s390/s390-32/memcpy.S
14445         (memcpy_g5): Rename to __memcpy_g5.
14446         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14447         (memcpy_mvcle) Rename to __memcpy_mvcle.
14448         * sysdeps/s390/s390-32/memset.S
14449         (memset_g5): Rename to __memset_g5.
14450         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14451         (IFUNC_RESOLVE): Prefix ifunc-resolve function
14452         and use prefixed functions.
14453         * sysdeps/s390/s390-32/multiarch/memcmp.S
14454         (memcmp_z196): Rename to __memcmp_z196.
14455         (memcmp_z10): Rename to __memcmp_z10.
14456         (memcmp): Set alias to __memcmp_g5.
14457         (bcmp): Set alias to __memcmp_g5.
14458         * sysdeps/s390/s390-32/multiarch/memcpy.S
14459         (memcpy_z196): Rename to __memcpy_z196.
14460         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14461         (memcpy_z10): Rename to __memcpy_z10.
14462         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14463         (memcpy): Set alias to __memcpy_g5.
14464         * sysdeps/s390/s390-32/multiarch/memset.S
14465         (memset_z196): Rename to __memset_z196.
14466         Jump to __memset_mvcle instead of memset_mvcle.
14467         (memset_z10): Rename to __memset_z10.
14468         Jump to __memset_mvcle instead of memset_mvcle.
14469         (memset_mvcle) Rename to __memset_mvcle.
14470         (memset): Set alias to __memset_g5.
14471         * sysdeps/s390/s390-64/memcmp.S
14472         (memcmp_z900): Rename to __memcmp_z900.
14473         * sysdeps/s390/s390-64/memcpy.S
14474         (memcpy_z900): Rename to __memcpy_z900.
14475         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14476         (memcpy_mvcle) Rename to __memcpy_mvcle.
14477         * sysdeps/s390/s390-64/memset.S
14478         (memset_z900): Rename to __memset_z900.
14479         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
14480         (IFUNC_RESOLVE): Prefix ifunc-resolve function
14481         and use prefixed functions.
14482         * sysdeps/s390/s390-64/multiarch/memcmp.S
14483         (memcmp_z196): Rename to __memcmp_z196.
14484         (memcmp_z10): Rename to __memcmp_z10.
14485         (memcmp): Set alias to __memcmp_z900.
14486         (bcmp): Set alias to __memcmp_z900.
14487         * sysdeps/s390/s390-64/multiarch/memcpy.S
14488         (memcpy_z196): Rename to __memcpy_z196.
14489         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14490         (memcpy_z10): Rename to __memcpy_z10.
14491         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14492         (memcpy): Set alias to __memcpy_z900.
14493         * sysdeps/s390/s390-64/multiarch/memset.S
14494         (memset_z196): Rename to __memset_z196.
14495         Jump to __memset_mvcle instead of memset_mvcle.
14496         (memset_z10): Rename to __memset_z10.
14497         Jump to __memset_mvcle instead of memset_mvcle.
14498         (memset_mvcle) Rename to __memset_mvcle.
14499         (memset): Set alias to __memset_z900.
14501 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
14503         [BZ #17748]
14504         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
14505         __fesetenv instead of fesetenv.
14507 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14509         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
14510         macro.
14512 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14514         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
14515         regression on LE.
14517         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
14518         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
14519         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
14520         strncmp-power8 object.
14521         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14522         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
14523         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
14524         * NEWS: Update.
14526 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14527             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14529         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
14530         trailing byte check.
14532 2015-01-13  David S. Miller  <davem@davemloft.net>
14534         * include/signal.h (__sigreturn): Guard with __USE_MISC.
14536 2015-01-13  Roland McGrath  <roland@hack.frob.com>
14538         * login/logout.c (logout): Use memset rather than bzero.
14539         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
14540         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
14541         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
14542         (_gethtbyaddr): Likewise.
14543         * locale/programs/simple-hash.c (bcopy): Macro removed.
14545 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14547         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14548         Add strcmp-power8 object.
14549         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14550         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
14551         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
14552         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
14553         __strcmp_power8 implementation.
14554         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
14555         * NEWS: Update.
14557         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14558         Add strncpy-power8 and stpncpy-power8 objects.
14559         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14560         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
14561         implementations.
14562         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
14563         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
14564         __stpncpy_power8 implementation.
14565         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
14566         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
14567         __strncpy_power8 implementation.
14568         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
14569         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
14570         * NEWS: Update.
14572         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
14573         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
14574         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
14576         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
14577         strncat-power8 object.
14578         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
14579         __strcat_power8 implementation.
14580         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14581         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
14582         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
14583         optimized strcat for power8.
14585         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
14586         strcpy-power8 and stpcpy-power8 objects.
14587         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14588         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
14589         implementations.
14590         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
14591         multiarch stpcpy implementation for POWER8.
14592         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
14593         multiarch strcpy implementation for POWER8.
14594         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
14595         __strcpy_power8 function.
14596         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
14597         stpcpy for POWER8.
14598         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
14599         strcpy for POWER8.
14600         * NEWS: Update.
14602 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
14604         [BZ #16009]
14605         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
14606         weights and rules. Use do_xfrm_cached if data fits in cache,
14607         do_xfrm otherwise.  Moved former main loop to...
14608         * (do_xfrm_cached): New function.
14609         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
14610         find_idx, find_position and stack_push.
14611         * (find_idx): New function.
14612         * (find_position): Likewise.
14613         * localedata/sort-test.sh: Added test run for do_xfrm.
14614         * localedata/xfrm-test.c (main): Added command line option
14615         -nocache to run the test with strings that are too large for
14616         the STRXFRM cache.
14618 2015-01-13  Torvald Riegel  <triegel@redhat.com>
14620         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
14621         variable to lll_futex_wake call, not the value itself.
14623 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
14625         [BZ #17803]
14626         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
14627         twom64.  Adjust value to 0x1p-64L.
14628         (__scalblnl): Only return standard underflowing result for K <=
14629         -64 not K <= -63; adjust exponent for underflowing result by 64
14630         not 63.
14631         * math/libm-test.inc (scalbn_test_data): Add more tests.
14632         (scalbln_test_data): Likewise.
14634         [BZ #17834]
14635         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
14636         0x1p63L.
14637         (__scalblnl): Get new exponent of adjusted subnormal value from ES
14638         not HX.
14639         * math/libm-test.inc (scalbn_test_data): Add more tests.
14640         (scalbln_test_data): Likewise.
14642 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14643             Stefani Seibold  <stefani@seibold.net>
14645         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
14646         (sysdep_routines): Add dl-vdso here, ...
14647         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
14648         (sysdep_routines): ... not here.
14649         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
14650         fallback when vDSO is not presented.
14651         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
14652         Define with libc_hidden_proto/libc_hidden_data_def definitions.
14653         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
14654         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
14655         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
14656         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
14657         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
14658         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
14659         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
14660         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
14661         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
14662         fallback configurable symbol when vDSO is not available.
14663         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
14664         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
14665         be able to redefine fallback symbol when vDSO is not available.
14666         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
14667         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
14669 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14671         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
14672         (TLS_INIT_TP): Add tm_capable initialization.
14673         (TLS_DEFINE_INIT_TP): Likewise.
14674         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
14675         TCB.
14676         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
14677         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
14678         calculation.
14679         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
14680         transactoion is lock elision is built and TCB tm_capable is set.
14681         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
14682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14683         (INTERNAL_SYSCALL_NCS): Likewise.
14684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14685         (INTERNAL_SYSCALL_NCS): Likewise.
14686         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
14688         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
14689         for powerpc.
14690         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14691         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
14692         and remove it for 32 bits case.
14693         [pthread_rwlock_t] (__rwelision): New field for lock elision.
14694         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
14695         initialization.
14696         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
14697         Disable lock elision with rdlocks if elision is not available.
14699         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
14700         (sysdep_routines): Add lock elision objects.
14701         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14702         [pthread_mutex_t] (__spins): Rework to add lock elision field.
14703         [pthread_mutex_t] (__elision): Add field.
14704         [__PTHREAD_SPINS]: Adjust to init lock elision field.
14705         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
14706         elision definitions for powerpc.
14707         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
14708         implementation of lock elision for powerpc.
14709         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
14710         implementation of timed lock elision for powerpc.
14711         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
14712         implementation of trylock with lock elision for powerpc.
14713         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
14714         implementaion of unlock for lock elision for powerpc.
14715         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
14716         automatic enable lock elision for mutexes.
14717         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
14718         transaction execution definitions for powerpc.
14719         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
14720         definitions.
14721         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
14722         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
14723         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
14724         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
14725         * NEWS: Update.
14727 2015-01-09  Roland McGrath  <roland@hack.frob.com>
14729         * sysdeps/posix/shm-directory.c: Use <> rather than ""
14730         for #include of <shm-directory.h>.
14732 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
14734         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
14735         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
14737 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
14739         [BZ #17791]
14740         * NEWS: Mention bug fix.
14741         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
14742         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
14743         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
14745 2015-01-09  Torvald Riegel <triegel@redhat.com>
14747         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
14749 2015-01-09  Torvald Riegel <triegel@redhat.com>
14751         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
14753 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
14755         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
14756         pointer and cast to uintptr_t.
14758 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
14760         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
14761         removed.
14762         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
14764 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
14766         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
14767         of 0.
14769 2015-01-08  Roland McGrath  <roland@hack.frob.com>
14771         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
14772         <nptl/pthreadP.h> instead.
14773         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
14775         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
14776         already defined.
14777         [__SIGRTMIN] (init): Function removed.
14778         [__SIGRTMIN] (initialized): Variable removed.
14779         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
14780         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
14781         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
14782         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
14783         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
14784         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
14785         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
14786         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
14787         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
14788         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
14789         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
14790         * sysdeps/nptl/allocrtsig.c: New file.
14791         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
14792         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
14793         * sysdeps/generic/testrtsig.h: File removed.
14795         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
14796         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
14798         * nptl/nptl-init.c (pthread_functions): Conditionalize
14799         .ptr__nptl_setxid initialization on [SIGSETXID].
14801         * sysdeps/nptl/sys/procfs.h: New file.
14802         * nptl_db/Makefile (headers): Add it.
14803         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
14805         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
14806         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
14807         * nptl/pthread_attr_setaffinity.c: Include it.
14808         * nptl/pthread_setattr_default_np.c: Likewise.
14809         * nptl/check-cpuset.h: New file.
14811 2015-01-08  Richard Henderson  <rth@redhat.com>
14813         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
14814         (CFLAGS-tst-execstack-prog.c): Likewise.
14815         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
14817 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
14818             Sandra Loosemore  <sandra@codesourcery.com>
14819             Andrew Jenner  <andrew@codesourcery.com>
14820             Joseph Myers  <joseph@codesourcery.com>
14821             Nathan Sidwell  <nathan@codesourcery.com>
14823         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
14824         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
14825         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
14826         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
14827         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
14828         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
14829         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
14830         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
14831         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
14832         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
14833         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
14834         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
14835         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
14836         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
14837         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
14838         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
14839         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
14841 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14843         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
14844         timespec struct member in syscall macro.
14845         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
14846         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
14847         first timeval struct member in syscall macro.
14848         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
14850 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
14852         [BZ #17748]
14853         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
14854         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
14855         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
14856         __feupdateenv and define as weak alias of __feupdateenv.  Use
14857         libm_hidden_weak.
14858         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
14859         libm_hidden_def.
14860         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
14861         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
14862         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
14863         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
14864         libm_hidden_def.
14865         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
14866         __feupdateenv and define as weak alias of __feupdateenv.  Use
14867         libm_hidden_weak.
14868         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
14869         libm_hidden_def.
14870         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
14871         __feupdateenv and define as weak alias of __feupdateenv.  Use
14872         libm_hidden_weak.
14873         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
14874         libm_hidden_def.
14875         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14876         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
14877         (__feupdateenv): Likewise.
14878         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
14879         __feupdateenv and define as weak alias of __feupdateenv.  Use
14880         libm_hidden_weak.
14881         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14882         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
14883         libm_hidden_def.
14884         * sysdeps/tile/math_private.h (__feupdateenv): New inline
14885         function.
14886         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
14887         libm_hidden_def.
14888         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
14889         __feupdateenv instead of feupdateenv.
14890         (default_libc_feupdateenv_test): Likewise.
14891         (libc_feresetround_ctx): Likewise.
14893 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14895         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
14896         prototype.
14898 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
14900         * posix/regcomp.c (parse_bracket_exp): Initialize type to
14901         COLL_SYM in a couple of places to avoid uninitialized variable
14902         wanings on tilegx gcc 4.8.2.
14904 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
14906         * sysdeps/aarch64/strcpy.S: New file.
14907         * sysdeps/aarch64/stpcpy.S: New file.
14908         * NEWS: Updated.
14910 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
14912         * sysdeps/aarch64/strrchr.S: New file.
14913         * NEWS: Updated.
14915 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
14917         [BZ #17658]
14918         * stdlib/setenv.c: Fix memory leak when setting large,
14919         duplicate string.
14921 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
14923         [BZ #17273]
14924         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
14925         and tabs from buffer before parsing fstab entry.
14926         * misc/tst-mntent.c (main): Add test for mount entry with
14927         trailing spaces and tabs.
14929 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
14931         [BZ #17748]
14932         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
14933         * math/fesetround.c (fesetround): Rename to __fesetround and
14934         define as weak alias of __fesetround.  Use libm_hidden_weak.
14935         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
14936         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
14937         * sysdeps/arm/fesetround.c (fesetround): Likewise.
14938         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
14939         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
14940         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
14941         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
14942         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
14943         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
14944         __fesetround_inline.
14945         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
14946         __fesetround_inline instead of __fesetround.
14947         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
14948         __fesetround and define as weak alias of __fesetround.  Use
14949         libm_hidden_weak.  Call __fesetround_inline instead of
14950         __fesetround.
14951         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
14952         __fesetround and define as weak alias of __fesetround.  Use
14953         libm_hidden_weak.
14954         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
14955         Likewise.
14956         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
14957         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14958         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
14959         * sysdeps/tile/math_private.h (__fesetround): New inline function.
14960         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
14961         __fesetround and define as weak alias of __fesetround.  Use
14962         libm_hidden_weak.
14963         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
14964         __fesetround instead of fesetround.
14965         (default_libc_feholdexcept_setround): Likewise.
14966         (libc_feholdsetround_ctx): Likewise.
14967         (libc_feholdsetround_noex_ctx): Likewise.
14969         [BZ #17748]
14970         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
14971         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
14972         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
14973         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
14974         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
14975         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
14976         define as weak alias of __fesetenv.  Use libm_hidden_weak.
14977         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
14978         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
14979         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
14980         define as weak alias of __fesetenv.  Use libm_hidden_weak.
14981         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
14982         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
14983         define as weak alias of __fesetenv.  Use libm_hidden_weak.
14984         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
14985         libm_hidden_def.
14986         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
14987         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
14988         Likewise.
14989         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
14990         define as weak alias of __fesetenv.  Use libm_hidden_weak.
14991         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
14992         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
14993         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
14994         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
14995         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
14996         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
14997         __fesetenv instead of fesetenv.
14998         (libc_feresetround_noex_ctx): Likewise.
14999         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
15000         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
15001         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
15002         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
15003         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
15004         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
15005         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15006         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
15007         (__feupdateenv): Likewise.
15008         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15009         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15010         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15011         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
15013 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
15015         [BZ #17806]
15016         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
15017         addresses have been freed.
15019 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
15021         * resolv/res_init.c (__res_vinit): Improve comments about nserv
15022         and nservall.
15024 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
15026         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
15027         Clean up check_pf allocation pattern. addresses
15029 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15031         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
15032         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
15033         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
15034         * nptl/pthread_exit.c (__pthread_exit): Likewise.
15035         * nptl/pthread_join.c (pthread_join): Likewise.
15036         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
15037         * sysdeps/posix/waitid.c (__waitid): Likewise.
15038         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
15039         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
15040         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
15041         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
15042         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
15043         Likewise.
15044         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
15045         (__libc_pread64): Likewise.
15046         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
15047         (__libc_pwrite): Likewise.
15048         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
15049         (__libc_pwrite64): Likewsie.
15050         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
15051         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
15052         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
15053         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
15054         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
15055         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
15056         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
15058         Likewise.
15059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15060         (__libc_pread64): Likewise.
15061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
15062         Likewise.
15063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
15064         (__libc_pwrite64): Likewise.
15065         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
15066         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
15067         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
15068         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
15069         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15070         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15071         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
15072         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
15073         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
15074         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
15075         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
15076         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
15077         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
15078         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
15079         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
15080         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
15081         Likewise.
15083 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
15085         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
15086         (CFLAGS-test-double.c): Likewise.
15087         (CFLAGS-test-ldouble.c): Likewise.
15088         (CPPFLAGS-test-ifloat.c): Likewise.
15089         (CPPFLAGS-test-idouble.c): Likewise.
15090         (CPPFLAGS-test-ildoubl.c): Likewise.
15091         (CFLAGS-test-test-fenv.c): Remove variable.
15092         (CFLAGS-test-misc.c): Likewise.
15094 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
15096         [BZ #17797]
15097         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
15098         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
15099         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
15100         CLOCKS_PER_SEC == 1000000.
15101         * time/clocktest.c (main): Replace %ld with %jd and cast to
15102         intmax_t.
15104 2015-01-05  Roland McGrath  <roland@hack.frob.com>
15106         * sysdeps/generic/unwind-resume.h: New file.
15107         * sysdeps/gnu/unwind-resume.c: Include it.
15108         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
15109         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
15110         argument list.
15111         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
15112         global rather than static.
15113         (_Unwind_Resume): Update user.
15114         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
15115         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
15116         rather than static.  Add __attribute__ ((cold)).
15117         (_Unwind_Resume, __gcc_personality_v0): Update callers.
15118         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
15119         * sysdeps/arm/arm-unwind-resume.S: New file.
15120         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
15121         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
15122         * sysdeps/arm/Makefile [$(subdir) = csu]
15123         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
15124         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
15125         Add rt-arm-unwind-resume.
15126         [$(subdir) = nptl]
15127         (libpthread-sysdep_routines, libpthread-shared-only-routines):
15128         Add pt-arm-unwind-resume.
15129         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
15130         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
15132 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
15134         [BZ #17748]
15135         * include/fenv.h (__feholdexcept): Declare.  Use
15136         libm_hidden_proto.
15137         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
15138         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
15139         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15140         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
15141         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
15142         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
15143         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
15144         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15145         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
15146         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
15147         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15148         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
15149         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
15150         (feholdexcept): Likewise.
15151         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15152         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15153         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15154         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15155         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
15156         __feholdexcept instead of feholdexcept.
15157         (default_libc_feholdexcept_setround): Likewise.
15159 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
15161         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
15162         to avoid using stl/str to align destination.
15164 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
15166         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
15168 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
15170         [BZ #17796]
15171         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
15172         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
15173         Define as weak alias not strong alias.
15175 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
15177         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
15178         bltzal with addiupc.
15179         (RTLD_START): Ditto.
15181 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
15183         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
15184         for __vdso_* functions in declarations.
15185         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
15186         definitions.
15187         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
15188         INTERNAL_VSYSCALL): Use struct return types to check for error.
15190         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
15191         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
15192         function with cast from llround().
15193         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
15194         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
15195         Define.
15197 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
15199         [BZ #17793]
15200         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
15201         Define as weak alias not strong alias.
15203         [BZ #17635]
15204         * ctype/ctype-c99.c: New file.  isblank implementation moved from
15205         ...
15206         * ctype/ctype-extn.c: ... here.
15207         (__isblank_l): Move to ...
15208         * ctype/ctype-c99_l.c: ... here.  New file.
15209         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
15210         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
15211         Remove variable.
15212         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
15213         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
15214         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
15215         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
15216         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
15218         [BZ #17777]
15219         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
15220         (posix_fadvise64): Define as weak alias not strong alias.
15221         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15222         (posix_fallocate64): Likewise.
15223         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
15224         Remove variable.
15225         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
15226         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
15227         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
15228         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
15229         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
15231 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
15233         [BZ #16191]
15234         * NEWS: Mention bug fix.
15235         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
15236         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
15237         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
15238         (HOST_STACK_END_ADDR): Likewise.
15240 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
15242         [BZ #17748]
15243         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
15244         * math/fegetround.c (fegetround): Rename to __fegetround and
15245         define as weak alias of __fegetround.  Use libm_hidden_weak.
15246         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
15247         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
15248         * sysdeps/arm/fegetround.c (fegetround): Likewise.
15249         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
15250         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15251         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
15252         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
15253         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
15254         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15255         Undefine after rather than before function definition; use
15256         parentheses around function name in definition.
15257         (__fegetround): Also undefine macro after function definition.
15258         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
15259         __fegetround and define as weak alias of __fegetround.  Use
15260         libm_hidden_weak.  Do not undefine as macro.
15261         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15262         Likewise.
15263         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
15264         __fegetround and define as weak alias of __fegetround.  Use
15265         libm_hidden_weak.
15266         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15267         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15268         * sysdeps/tile/math_private.h (__fegetround): New inline function.
15269         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
15270         __fegetround and define as weak alias of __fegetround.  Use
15271         libm_hidden_weak.
15272         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
15273         __fegetround instead of fegetround.
15275         [BZ #17782]
15276         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
15277         Condition macro definition on [__USE_MISC].
15279         [BZ #17781]
15280         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
15281         (struct sigaction): Change type of sa_flags field to int.
15283         [BZ #17780]
15284         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
15285         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
15286         __glibc_reserved0.
15288         * nptl/version.c (banner): Use single year in copyright notice.
15290         * NEWS: Update copyright dates.
15291         * catgets/gencat.c (print_version): Likewise.
15292         * csu/version.c (banner): Likewise.
15293         * debug/catchsegv.sh: Likewise.
15294         * debug/pcprofiledump.c (print_version): Likewise.
15295         * debug/xtrace.sh (do_version): Likewise.
15296         * elf/ldconfig.c (print_version): Likewise.
15297         * elf/ldd.bash.in: Likewise.
15298         * elf/pldd.c (print_version): Likewise.
15299         * elf/sotruss.sh: Likewise.
15300         * elf/sprof.c (print_version): Likewise.
15301         * iconv/iconv_prog.c (print_version): Likewise.
15302         * iconv/iconvconfig.c (print_version): Likewise.
15303         * locale/programs/locale.c (print_version): Likewise.
15304         * locale/programs/localedef.c (print_version): Likewise.
15305         * login/programs/pt_chown.c (print_version): Likewise.
15306         * malloc/memusage.sh (do_version): Likewise.
15307         * malloc/memusagestat.c (print_version): Likewise.
15308         * malloc/mtrace.pl: Likewise.
15309         * manual/libc.texinfo: Likewise.
15310         * nptl/version.c (banner): Likewise.
15311         * nscd/nscd.c (print_version): Likewise.
15312         * nss/getent.c (print_version): Likewise.
15313         * nss/makedb.c (print_version): Likewise.
15314         * posix/getconf.c (main): Likewise.
15315         * scripts/test-installation.pl: Likewise.
15316         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
15318 2015-01-02  Will Newton  <will.newton@linaro.org>
15320         * sysdeps/arm/armv7/configure: Removed.
15321         * sysdeps/arm/armv7/configure.ac: Likewise.
15323 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
15325         * All files with FSF copyright notices: Update copyright dates
15326         using scripts/update-copyrights.
15327         * intl/plural.c: Regenerated.
15328         * locale/programs/charmap-kw.h: Likewise.
15329         * locale/programs/locfile-kw.h: Likewise.
15331 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15333         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
15335 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
15337         [BZ #17748]
15338         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
15339         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
15340         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
15341         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
15342         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15343         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
15344         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15345         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
15346         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15347         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
15348         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15349         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15350         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
15351         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15352         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
15353         libm_hidden_def.
15354         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
15355         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
15356         Likewise.
15357         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
15358         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15359         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15360         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15361         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
15362         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
15363         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
15364         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
15365         __fegetenv instead of fegetenv.
15366         (libc_feholdsetround_noex_ctx): Likewise.
15368 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
15370         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
15371         (Elf_MIPS_ABIFlags_v0): New structure.
15372         (EF_MIPS_FP64): Define.
15373         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
15374         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
15375         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
15376         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
15377         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
15378         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
15379         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
15380         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
15381         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
15382         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
15383         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
15384         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
15385         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
15386         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
15387         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
15388         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
15389         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
15390         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
15391         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
15392         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
15393         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
15394         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
15395         field.
15396         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
15397         EF_MIPS_FP64.
15398         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
15399         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
15400         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
15401         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
15402         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
15403         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
15404         * sysdeps/mips/tst-abi-interlink.c: Likewise.
15405         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
15406         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
15407         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
15408         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
15409         record the current FP ABI extension.
15410         (mips-mode-switch): Define to show if kernel headers support mode
15411         switching.
15412         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15413         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
15414         supported SYSV ABI version to 3.
15415         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
15416         feature.
15418 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15419             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15421         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
15422         path.
15423         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
15425 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
15427         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
15428         __fegetround and redefine to call __fegetround.  Remove condition
15429         on [!__NO_MATH_INLINES].
15430         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
15431         function.
15432         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
15433         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15434         Remove macro.
15435         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
15436         instead of <fenv_libc.h>.
15437         (__llrintl): Call fegetround instead of __fegetround.
15438         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
15439         instead of <fenv_libc.h>.
15440         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15441         (__lrintl): Call fegetround instead of __fegetround.
15442         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
15443         instead of <fenv_libc.h>.
15444         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15445         (__rintl): Call fegetround instead of __fegetround.
15447 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15449         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
15450         arrays.
15452 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
15454         [BZ #17775]
15455         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
15456         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
15457         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
15459 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
15461         * sysdeps/i386/tls-macros.h: Include <features.h>.
15462         (TLS_LE): Use non-PIC version for GCC >= 5.0.
15463         (TLS_IE): Likewise.
15464         (TLS_LD): Likewise.
15465         (TLS_GD): Likewise.
15466         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
15467         define for GCC >= 5.0.
15469 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
15471         * math/test-fenv.c (test_single_exception, set_single_exc,
15472         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
15473         feexcp_mask_test, feenable_test, fe_single_test): Add
15474         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
15475         case where they are not used.
15476         * math/libm-test.inc: Likewise.
15477         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
15478         unused in the absence of FP rounding/exception support.
15479         * stdio-common/tst-printf-round.c: Likewise.
15480         * stdlib/tst-strtod-round.c: Likewise.
15481         * stdlib/tst-strtod-underflow.c: Likewise.
15483 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
15485         [BZ #17723]
15486         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
15487         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
15488         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15489         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15490         libm_hidden_weak.
15491         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
15492         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
15493         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
15494         libm_hidden_def.
15495         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15496         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15497         libm_hidden_weak.
15498         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
15499         Likewise.
15500         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
15501         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15502         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15503         libm_hidden_weak.
15504         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
15505         libm_hidden_def.
15506         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15507         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
15508         (__feraiseexcept): Likewise.
15509         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15510         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15511         libm_hidden_weak.
15512         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
15513         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
15514         libm_hidden_def.
15515         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
15516         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
15517         Use libm_hidden_def.
15518         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
15519         libm_hidden_def.
15520         (feraiseexcept): Define as weak not strong alias.  Use
15521         libm_hidden_weak.
15522         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
15523         New inline function.  Factored out of ...
15524         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
15525         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
15526         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
15527         feraiseexcept.
15528         * math/w_acos.c (__acos): Likewise.
15529         * math/w_asin.c (__asin): Likewise.
15530         * math/w_ilogb.c (__ilogb): Likewise.
15531         * math/w_j0.c (y0): Likewise.
15532         * math/w_j1.c (y1): Likewise.
15533         * math/w_jn.c (yn): Likewise.
15534         * math/w_log.c (__log): Likewise.
15535         * math/w_log10.c (__log10): Likewise.
15536         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
15537         * sysdeps/aarch64/fpu/math_private.h
15538         (libc_feupdateenv_test_aarch64): Likewise.
15539         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
15540         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
15541         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
15542         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
15543         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
15544         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
15545         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
15546         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15547         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15548         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15550 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
15552         [BZ #17732]
15553         * io/test-utime.c (main): Replace %ld with %jd and cast to
15554         intmax_t.
15555         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
15556         * nptl/tst-mutex5.c: Include <stdint.h>.
15557         (do_test): Replace %ld with %jd and cast to intmax_t.
15558         * posix/tst-regex.c (run_test): Likewise.
15559         (run_test_backwards): Likewise.
15560         * rt/tst-clock.c: Include <stdint.h>.
15561         (clock_test): Replace %ld with %jd and cast to intmax_t.
15562         * rt/tst-cpuclock1.c: Include <stdint.h>.
15563         (do_test): Replace %lu with %ju and cast to uintmax_t.
15564         * rt/tst-cpuclock2.c: Include <stdint.h>.
15565         (do_test): Replace %lu with %ju and cast to uintmax_t.
15566         * rt/tst-mqueue1.c: Include <stdint.h>.
15567         (check_attrs): Replace %ld with %jd and cast to intmax_t.
15568         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
15569         intmax_t.
15570         * rt/tst-mqueue4.c (do_test): Likewise.
15571         * rt/tst-timer4.c: Include <stdint.h>.
15572         (check_ts): Replace %ld with %jd and cast to intmax_t.
15573         (do_test): Likewise.
15574         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
15575         and cast to intmax_t.
15576         * sysdeps/pthread/tst-timer.c (main): Likewise.
15577         * time/clocktest.c (main): Likewise.
15578         * time/tst-posixtz.c (do_test): Likewise.
15579         * timezone/tst-timezone.c (main): Likewise.
15581 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
15582             H.J. Lu  <hongjiu.lu@intel.com>
15584         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
15585         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
15586         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
15587         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
15588         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
15589         version if bit_Fast_Unaligned_Load is set.
15590         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15591         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15592         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15593         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15594         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15595         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15596         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15597         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
15598         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
15599         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
15600         to 4.
15601         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
15602         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
15603         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
15604         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
15606 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
15608         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
15609         instead of #if to avoid a Wundef warning.
15610         * stdlib/tst-limits.c (do_test): Likewise.
15612         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
15613         parallel other exception macros.
15614         (fegetenv): Convert from macro to extern inline so that it applies
15615         retroactively to inline functions already seen by the compiler.
15616         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
15618         * posix/Makefile (before-compile): Use $(objpfx) for
15619         posix-conf-vars-def.h.
15621 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15623         * posix/getconf.c (main): Use size_t for type of I.
15624         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
15625         NSPEC.
15627         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
15628         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
15629         * posix/posix-envs.def: Likewise.
15630         * sysdeps/posix/sysconf.c: Likewise.
15631         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
15632         (specs): Remove array.
15633         * scripts/gen-posix-conf-vars.awk: Support generation of specs
15634         array.
15636         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
15637         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
15638         (__sysconf): Use CONF_IS_* macros.
15640         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
15641         ($(objpfx)posix-conf-vars-def.h): New target.
15642         * posix/posix-conf-vars.list: New file.
15643         * posix/posix-conf-vars.h: New file.
15644         * posix/confstr.c: Include posix-conf-vars.h.
15645         (confstr): Use CONF_IS_* macros.
15646         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
15647         CONF_IS_* macros.
15648         * scripts/gen-posix-conf-vars.awk: New file.
15650 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
15652         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
15653         fegetround): Add no-op macros to avoid linknamespace issues.
15655         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
15656         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
15658         * sysdeps/unix/sysv/linux/tile/sysdep.h
15659         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
15660         assembly-specific section to avoid a redefinition warning.
15662         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
15663         long before casting to pointer to avoid a cast warning.
15665 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
15667         * sysdeps/tile/tilegx/Implies: New file.
15669 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
15671         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
15673 2014-12-23  Florian Weimer  <fweimer@redhat.com>
15675         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
15677 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
15679         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
15680         not define.
15681         * sysdeps/unix/sysv/linux/utimes.c: Do not include
15682         <kernel-features.h>.
15683         (__utimes) [__NR_utimes]: Make code unconditional.
15684         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
15685         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15686         (__ASSUME_UTIMES): Do not undefine.
15687         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15688         (__ASSUME_UTIMES): Likewise.
15689         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15690         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
15691         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
15692         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
15694 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
15696         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
15698 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
15700         [BZ #17747]
15701         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
15702         alias to weak alias for j0l, y0l.
15703         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
15704         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
15706         [BZ #17746]
15707         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
15708         conversion.
15710 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
15712         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
15713         to zero if not already defined.
15715 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
15717         [BZ #17724]
15718         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
15719         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
15720         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
15721         (char *) casts added.
15722         * sysdeps/ieee754/k_standardf.c: New file.
15723         * sysdeps/ieee754/k_standardl.c: Likewise.
15724         * math/Makefile (libm-support): Remove k_standard.
15725         (libm-calls): Add k_standard.
15727 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
15729         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
15730         Optimize to avoid an unnecessary FPCR read.
15732 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
15734         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
15735         Optimize to reduce FPCR/FPSR accesses.
15737 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
15739         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
15740         Call libc_fetestexcept_aarch64.
15742 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
15744         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
15745         Call libc_fesetround_aarch64.
15747 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
15749         [BZ #17733]
15750         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
15751         (__bind): Do not define as weak alias.
15752         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
15753         define.
15754         (__getsockname): Do not define as weak alias.
15756 2014-12-22  Will Newton  <will.newton@linaro.org>
15758         * manual/install.texi: Document that we require bison 2.7
15759         or above.
15760         * INSTALL: Regenerate.
15761         * configure.ac: Use AC_CHECK_PROG_VER instead of
15762         AC_PATH_PROG when checking for bison and check for
15763         version 2.7 or above.
15764         * configure: Regenerate.
15766 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
15768         [BZ #17745]
15769         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
15770         * sysdeps/tile/ffsll.c (ffsll): To here.
15772         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
15774 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
15776         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
15777         if not defined.
15778         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
15779         definition.
15780         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
15781         hidden ___tls_get_addr.
15782         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
15783         hidden __tls_get_addr.
15784         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
15785         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
15786         Likewise.
15788 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
15790         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
15791         _dl_init call.
15793 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
15795         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
15796         from "call _dl_init@PLT".
15797         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
15799 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
15801         * manual/search.texi: (Array Sort Function): Clarify stable sorting
15802         guarantees.
15804 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
15806         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
15808 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
15810         [BZ #17744]
15811         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
15812         strnlen.
15814 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
15816         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
15817         of multu on MIPSr6.
15818         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
15819         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
15820         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
15821         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
15822         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
15824 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
15826         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
15827         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
15828         (PTR_SUBU): Use subu for mips32r6/mips64r6.
15829         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
15830         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
15831         mips32r6/mips64r6.
15832         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
15834 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
15836         * string/strncat.c (STRNCAT): Simplify implementation.
15838 2014-12-19  David S. Miller  <davem@davemloft.net>
15840         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
15841         access the quad as both a long double and as a series of 4 words.
15843         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
15844         link_map->l_info array access.
15846 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
15848         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
15850         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
15851         * math/atest-exp2.c (TIMEOUT): Likewise.
15852         * math/atest-sincos.c (TIMEOUT): Likewise.
15854 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
15856         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
15857         -Wno-error with -fno-builtin-lround.
15859 2014-12-19  Torvald Riegel  <triegel@redhat.com>
15861         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
15862         Contains futex constants and functions moved over from ...
15863         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
15864         <lowlevellock-futex.h>.
15865         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
15866         (lll_timedwait_tid): Add comments and parentheses around macro
15867         arguments.
15869 2014-12-19  Torvald Riegel  <triegel@redhat.com>
15871         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
15872         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
15873         (__lll_private_flag): Remove.
15874         (lll_futex_wait): Likewise.
15875         (lll_futex_timed_wait): Likewise.
15876         (lll_futex_wake): Likewise.
15877         (lll_futex_requeue): Likewise.
15878         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
15879         (__lll_timedwait_tid): Spell out argument names.
15880         (lll_timedwait_tid): Add comments and parentheses around macro
15881         arguments.
15882         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
15883         LLL_SHARED and LLL_PRIVATE usable from assembly code.
15885 2014-12-19  Torvald Riegel  <triegel@redhat.com>
15887         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
15888         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
15889         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15890         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
15891         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
15892         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
15893         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
15894         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
15895         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
15896         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
15897         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
15898         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
15899         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
15900         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
15901         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
15902         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
15903         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
15904         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
15905         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
15907 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
15909         * sysdeps/x86_64/x32/Makefile: New file.
15911 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
15913         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
15914         1L with (mp_limb_t) 1.
15916 2014-12-17  Roland McGrath  <roland@hack.frob.com>
15918         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
15919         * nptl/libc_pthread_init.c: ... here.
15920         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
15921         * nptl/register-atfork.c: ... here.
15923         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
15924         Use pthread_sigmask rather than INTERNAL_SYSCALL.
15925         Use assert_perror to check its return value.
15926         (__gai_create_helper_thread): Likewise.
15928         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
15930         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
15932 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
15934         [BZ #17725]
15935         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
15936         __profil_counter.
15937         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
15938         Likewise.
15939         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
15940         Likewise.
15941         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
15942         Likewise.
15943         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
15944         (profil_counter): Likewise.
15945         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
15946         (profil_counter): Likewise.
15947         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
15948         Likewise.
15949         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
15950         Likewise.
15951         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
15952         (profil_counter): Likewise.
15953         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
15954         Likewise.
15955         [!__profil_counter] (profil_counter): Define as weak alias of
15956         __profil_counter.
15957         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
15958         (profil_counter): Rename to __profil_counter.
15959         [!__profil_counter] (profil_counter): Define as weak alias of
15960         __profil_counter.
15961         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
15962         (profil_counter): Rename to __profil_counter.
15963         [!__profil_counter] (profil_counter): Define as weak alias of
15964         __profil_counter.
15965         * sysdeps/posix/profil.c: Update comment referring to
15966         profil_counter.
15967         (__profil): Use __profil_counter instead of profil_counter.
15968         * sysdeps/posix/sprofil.c (profil_counter): Rename to
15969         __profil_counter.  Use __profil_counter_ushort and
15970         __profil_counter_uint in definitions.
15971         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
15972         instead of profil_counter_uint and profil_counter_ushort.
15974         [BZ #17722]
15975         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
15976         define as weak alias of __inet_makeaddr.
15977         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
15978         as weak alias of __inet_addr.
15979         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
15980         as weak alias of __inet_pton.  Use libc_hidden_weak.
15981         * include/arpa/inet.h (__inet_pton): Declare.  Use
15982         libc_hidden_proto.
15983         (inet_makeaddr): Don't use libc_hidden_proto.
15984         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
15985         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
15986         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
15987         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
15988         Remove variable.
15989         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
15990         (test-xfail-POSIX/time.h/linknamespace): Likewise.
15992 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
15994         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
15996 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15998         * stdio-common/bug-vfprintf-nargs.c (do_test):
15999         Cast value to intptr_t to avoid format warning
16000         for usage with PRIdPTR printing macro.
16002 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16004         * libio/tst-widetext.c (do_test):
16005         Use format type %td instead of %Zd for ptrdiff_t
16006         in order to avoid format warning.
16008 2014-12-17  Andreas Schwab  <schwab@suse.de>
16010         * nscd/mem.c (gc): Add size_t cast to match printf format.
16012 2014-12-16  Roland McGrath  <roland@hack.frob.com>
16014         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
16015         (init): Apply PTR_MANGLE to pointers before storing them.
16016         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
16017         before using them.
16019 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
16021         [BZ #17719]
16022         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
16023         define as weak alias of __memrchr.
16024         (__memrchr): Do not define as strong alias of memrchr.
16025         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
16026         Remove variable.
16027         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
16028         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
16029         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
16031         [BZ #17717]
16032         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
16033         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
16034         (if_indextoname): Rename to __if_indextoname and define as weak
16035         alias of __if_indextoname.  Use libc_hidden_weak.
16036         (if_freenameindex): Rename to __if_freenameindex and define as
16037         weak alias of __if_freenameindex.
16038         (if_nameindex): Rename to __if_nameindex and define as weak alias
16039         of __if_nameindex.
16040         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
16041         __if_nametoindex and define as weak alias of __if_nametoindex.
16042         Use libc_hidden_weak.
16043         (if_freenameindex): Rename to __if_freenameindex and define as
16044         weak alias of __if_freenameindex.
16045         (if_nameindex): Rename to __if_nameindex and define as weak alias
16046         of __if_nameindex.
16047         (if_indextoname): Rename to __if_indextoname and define as weak
16048         alias of __if_indextoname.  Use libc_hidden_weak.
16049         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
16050         __if_nametoindex and define as weak alias of __if_nametoindex.
16051         Use libc_hidden_weak.
16052         (if_freenameindex): Rename to __if_freenameindex and define as
16053         weak alias of __if_freenameindex.  Use libc_hidden_weak.
16054         (if_nameindex_netlink): Use __if_freenameindex instead of
16055         if_freenameindex.
16056         (if_nameindex): Rename to __if_nameindex and define as weak alias
16057         of __if_nameindex.  Use libc_hidden_weak.
16058         (if_indextoname): Rename to __if_indextoname and define as weak
16059         alias of __if_indextoname.  Use libc_hidden_weak.
16060         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
16061         libc_hidden_proto.
16062         [!_ISOMAC] (__if_freenameindex): Likewise.
16063         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
16064         if_nametoindex.
16065         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
16066         variable.
16067         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
16068         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
16069         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
16070         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
16071         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
16072         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
16073         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
16075         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
16076         Remove variable.
16077         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
16078         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
16080 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16082         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
16083         subscript above bounds'
16085         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
16086         bounds.
16088 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
16090         * libio/tst-fopenloc.c: Use test-skeleton.c.
16092         * stdlib/tst-bsearch.c: Use test-skeleton.c.
16093         (entry): Rename to ITEM.
16094         (do_test, comp): Adjust.
16096         * stdio-common/tst-fseek.c: Use test-skeleton.c.
16098 2014-12-16  Torvald Riegel  <triegel@redhat.com>
16100         * string/tester.c: Include <libc-internal.h>.
16101         (test_memset): Ignore -Wmemset-transposed-args.
16103 2014-12-16  Torvald Riegel  <triegel@redhat.com>
16105         * misc/tst-mntent2.c (do_test): Fix warning.
16107 2014-12-16  Torvald Riegel  <triegel@redhat.com>
16109         * elf/tst-unique4lib.cc(a): Mark as used.
16111 2014-12-16  Florian Weimer  <fweimer@redhat.com>
16113         [BZ #17630]
16114         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
16115         names.
16117 2014-12-16  Allan McRae  <allan@archlinux.org>
16119         * stdio-common/Makefile (tests): Re-add bug26.
16121 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
16123         [BZ #17657]
16124         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
16125         static array.
16127 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
16129         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
16130         (__lll_lock_wait): Likewise.
16131         (__lll_timedlock_wait): Likewise.
16132         (__lll_timedwait_tid): Likewise.
16133         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
16134         (__lll_robust_timedlock_wait): Likewise.
16135         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
16136         (lll_cond_trylock): Likewise.
16137         (__lll_lock): Likewise.
16138         (__lll_robust_lock): Likewise.
16139         (__lll_cond_lock): Likewise.
16140         (lll_robust_cond_lock): Likewise.
16141         (__lll_timedlock): Likewise.
16142         (__lll_robust_timedlock): Likewise.
16143         (__lll_unlock): Likewise.
16144         (__lll_robust_unlock): Likewise.
16145         (lll_wait_tid): Likewise.
16146         (lll_timedwait_tid): Likewise.
16148 2014-12-15  Torvald Riegel  <triegel@redhat.com>
16150         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
16152 2014-12-15  Torvald Riegel  <triegel@redhat.com>
16154         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
16156 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
16158         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
16159         * stdio-common/tst-sprintf.c: Likewise.
16161 2014-12-15  Torvald Riegel  <triegel@redhat.com>
16163         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
16165 2014-12-15  Jeff Law  <law@redhat.com>
16167         [BZ #16617]
16168         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
16169         on the heap.  (CVE-2012-3406)
16170         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
16171         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
16172         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
16174 2014-12-15  Will Newton  <will.newton@linaro.org>
16176         * manual/install.texi: Bump required version of texinfo
16177         to 4.7 from 4.5.
16178         * INSTALL: Regenerated.
16179         * configure.ac: Check for makeinfo version 4.7 and above.
16180         * configure: Regenerated.
16182 2014-12-12  Roland McGrath  <roland@hack.frob.com>
16184         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
16185         PREFIX, string constant to insert between directory and name.
16186         * sysdeps/posix/shm_open.c: Update caller.
16187         * sysdeps/posix/shm_unlink.c: Likewise.
16188         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
16189         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
16190         (SEM_SHM_PREFIX): New macro.
16191         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
16192         [$(have-thread-library) = no].
16193         * nptl/Makefile (libpthread-routines): Add shm-directory.
16194         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
16195         * sysdeps/nptl/shm-directory.h: New file.
16196         * sysdeps/posix/shm-directory.c
16197         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
16198         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
16199         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
16200         INTERNAL_SYSCALL.
16201         (__where_is_shmfs): Function removed.
16202         (mountpoint, defaultmount, defaultdir, __namedsem_once):
16203         Variables removed.
16204         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
16205         Use SHM_GET_NAME.
16206         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
16208         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
16209         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
16210         unconditional for use inside libpthread.
16211         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
16213 2014-12-12  Roland McGrath  <roland@hack.frob.com>
16215         * nptl/pthread_getaffinity.c: New file.
16216         * nptl/pthread_setaffinity.c: New file.
16217         * nptl/pthread_getname.c: New file.
16218         * nptl/pthread_setname.c: New file.
16220         * nptl/pthread_create.c (START_THREAD_DEFN)
16221         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
16223 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16224             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16226         * resolv/res_send.c (send_vc): Disable warning resplen may
16227         be used uninitialized.
16229 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16231         * nptl/tst-mutex6.c
16232         (ATTR_NULL): New define checks ATTR against NULL.
16233         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
16234         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
16236 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
16238         [BZ #17581]
16239         * malloc/hooks.c
16240         (mem2mem_check): Revert my previous change.
16241         (malloc_check_get_size): Revert my previous change.
16242         (mem2chunk_check): Revert my previous change.
16244 2014-12-11  Roland McGrath  <roland@hack.frob.com>
16246         * sysdeps/posix/shm-directory.c: New file.
16247         * sysdeps/posix/shm-directory.h: New file.
16248         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
16249         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
16250         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
16251         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
16252         Transmute EPERM to EACCES.
16253         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
16254         from ...
16255         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
16256         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
16258 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16260         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
16261         pointer and cast to uintptr_t.
16262         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
16263         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
16264         Add cast to avoid warning.
16265         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
16267 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
16269         * nptl/semaphore.h: Move to ...
16270         * sysdeps/pthread/semaphore.h: ... here.
16271         * Makefile (installed-headers): Change nptl/semaphore.h to
16272         sysdeps/pthread/semaphore.h.
16274 2014-12-11  Roland McGrath  <roland@hack.frob.com>
16276         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
16277         generated error format strings.
16279         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
16280         -Wformat-extra-args warnings for scanf formats.
16281         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
16282         test of zero-length format (duh).
16283         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
16284         corner-case scanf format test.
16285         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
16286         generated fprintf format string.
16287         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
16288         corner-case sprintf format tests.
16289         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
16290         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
16291         -Wformat-extra-args warnings throughout.
16292         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
16293         (CFLAGS-scanf4.c): Likewise.
16294         (CFLAGS-scanf7.c): Likewise.
16295         (CFLAGS-tst-sprintf.c): Likewise.
16296         (CFLAGS-tst-printf.c): Likewise.
16297         (CFLAGS-tst-printfsz.c): Likewise.
16299 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
16301         * include/cpio.h: New file.
16302         * include/fmtmsg.h: Likewise.
16304         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
16305         corresponding format argument to size_t.
16306         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
16307         arguments.
16308         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
16309         corresponding format argument to size_t.
16310         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
16311         arguments.
16312         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
16313         corresponding format argument to size_t.
16314         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
16315         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
16316         (CFLAGS-tst-mbswcs2.c): Likewise.
16317         (CFLAGS-tst-mbswcs3.c): Likewise.
16318         (CFLAGS-tst-mbswcs4.c): Likewise.
16319         (CFLAGS-tst-mbswcs5.c): Likewise.
16320         (CFLAGS-tst-trans.c): Likewise
16322 2014-12-11  Roland McGrath  <roland@hack.frob.com>
16324         * posix/regexbug1.c (main): Use "%s" format with regerror results,
16325         rather than assuming they won't contain any '%'s.
16327 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
16329         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
16330         inhibit_loop_to_libcall to avoid recursive calls.
16331         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
16332         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
16334 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
16336         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
16337         prototype.
16339 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
16341         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
16342         integer value instead of boolean.
16344 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
16346         * malloc/malloc.c: Fix powerof2 check.
16348 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16350         * locale/programs/locfile.h (maybe_swap_uint32):
16351         Remove inline and add unused attribute.
16353 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16355         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
16356         Truncating assembler expression to a .long expression.
16358 2014-12-11  Andreas Schwab  <schwab@suse.de>
16360         * elf/rtld.c (struct map_args): Constify str member.
16361         (do_preload): Constify fname argument.
16363 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16365         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
16366         constants definition.
16368 2014-12-11  Andreas Schwab  <schwab@suse.de>
16370         [BZ #16657]
16371         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
16372         FORCE_ELISION instead of DO_ELISION.
16373         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
16374         Remove.
16375         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
16376         Likewise.
16378         * iconvdata/gconv-modules: Remove duplicate entry.
16380 2014-12-11  Will Newton  <will.newton@linaro.org>
16382         Merge gettext 0.19.3 into intl/.
16384         This involves a number of cosmetic changes to comments
16385         and ANSI function definitions and prototypes throughout
16386         all the files. The gettext copyright header is used but
16387         with the date ranges taken from the glibc copy.
16389         * NEWS: Add gettext merge to 2.21.
16390         * intl/bindtextdom.c: Switch to gettext copyright.
16391         Use ANSI definitions and prototypes.
16392         Use gl_* locking primitives rather than __libc_* ones.
16393         Use __builtin_expect rather than __glibc_likely/unlikely.
16394         * intl/dcgettext.c: Switch to gettext copyright.
16395         Use ANSI definitions and prototypes.
16396         * intl/dcigettext.c: Switch to gettext copyright.
16397         Use ANSI definitions and prototypes.
16398         (INTDIV0_RAISES_SIGFPE): New define.
16399         Use gl_* locking primitives rather than __libc_* ones.
16400         Include eval-plural.h instead of plural-eval.c.
16401         Use __builtin_expect rather than __glibc_likely/unlikely.
16402         * intl/dcngettext.c: Switch to gettext copyright.
16403         Use ANSI definitions and prototypes.
16404         * intl/dgettext.c: Likewise.
16405         * intl/dngettext.c: Likewise.
16406         * intl/plural-eval.c: Renamed to...
16407         * intl/eval-plural.h: ...this.
16408         * intl/explodename.c: Switch to gettext copyright.
16409         Use ANSI definitions and prototypes.
16410         (_nl_explode_name): Use strchr instead of __rawmemchr.
16411         * intl/finddomain.c: Switch to gettext copyright.
16412         Use ANSI definitions and prototypes.
16413         Use gl_* locking primitives rather than __libc_* ones.
16414         (_nl_find_domain): Use malloc rather than alloca for
16415         allocation of temporary locale name.
16416         * intl/gettext.c: Switch to gettext copyright.
16417         Use ANSI definitions and prototypes.
16418         * intl/gettextP.h: Switch to gettext copyright.
16419         Use ANSI definitions and prototypes.
16420         Use gl_* locking primitives rather than __libc_* ones.
16421         * intl/gmo.h: Switch to gettext copyright.
16422         (struct sysdep_string): Move struct segment_pair outside of
16423         struct definition.
16424         * intl/hash-string.c: Use ANSI definitions and prototypes.
16425         * intl/hash-string.h: Switch to gettext copyright.
16426         Use ANSI definitions and prototypes.
16427         * intl/l10nflist.c: Switch to gettext copyright.
16428         Use ANSI definitions and prototypes.
16429         (_nl_normalize_codeset): Avoid integer overflow.
16430         * intl/loadinfo.h: Switch to gettext copyright.
16431         Use ANSI definitions and prototypes.
16432         (LIBINTL_DLL_EXPORTED): New define.
16433         (PATH_SEPARATOR): New define.
16434         * intl/loadmsgcat.c: Switch to gettext copyright.
16435         * intl/localealias.c: Switch to gettext copyright.
16436         Use ANSI definitions and prototypes.
16437         (_nl_expand_alias): Use PATH_SEPARATOR.
16438         * intl/ngettext.c: Switch to gettext copyright.
16439         Use ANSI definitions and prototypes.
16440         * intl/plural-exp.c: Likewise.
16441         * intl/plural-exp.h: Switch to gettext copyright.
16442         Use ANSI definitions and prototypes.
16443         (struct expression): Move definition of enum operator outside
16444         of struct definition.
16445         * intl/plural.c: Regenerate.
16446         * intl/plural.y: Switch to gettext copyright.
16447         Use ANSI definitions and prototypes.
16448         Port to bison 3.0.
16449         * intl/textdomain.c: Switch to gettext copyright.
16450         Use ANSI definitions and prototypes.
16451         Use gl_* locking primitives rather than __libc_* ones.
16453 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
16455         * debug/warning-nop.c: Add used atrribute.
16457 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16459         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
16461         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
16462         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
16463         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
16465 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16466             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16468         [BZ #17634]
16469         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
16470         Undefine after defining function.  Define as weak alias of
16471         __wcschr.  Use libc_hidden_weak.
16472         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
16473         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
16474         (libc_hidden_def): Also define __GI___wcschr alias.
16475         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
16476         __wcschr and define as weak alias of __wcschr.
16477         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
16478         __wcschr.
16479         [!WCSCHR] (DEFAULT_WCSCHR): Define.
16480         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
16481         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
16482         libc_hidden_weak.  Do not use libc_hidden_def.
16483         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
16484         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
16485         __GI___wcschr alias.
16486         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
16487         [IS_IN (libc)] (wcschr): Define as macro expanding to
16488         __redirect_wcschr.
16489         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
16490         [IS_IN (libc)] (__wcschr_power6): Likewise.
16491         [IS_IN (libc)] (__wcschr_power7): Likewise.
16492         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
16493         instead of wcschr.
16494         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
16495         __libc_wcschr.
16496         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
16497         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
16498         __wcschr and define as weak alias of __wcschr.  Use
16499         libc_hidden_builtin_def.
16500         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
16501         as weak alias of __wcschr.  Use libc_hidden_weak.
16502         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
16503         wcschr.
16504         * time/era.c (_nl_init_era_entries): Likewise.
16505         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
16506         variable.
16507         (test-xfail-XPG3/time.h/linknamespace): Likewise.
16508         (test-xfail-XPG4/time.h/linknamespace): Likewise.
16510 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16512         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
16513         format for long int variable.
16515 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
16517         [BZ #10672]
16518         * manual/search.texi: (Array Sort Function): Remove claim how to make
16519         qsort stable.
16521 2014-12-10  Andreas Schwab  <schwab@suse.de>
16523         [BZ #12847]
16524         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
16525         user-controlled locks.
16527 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
16529         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
16530         register.
16532 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16534         * configure.ac (--disable-werror): New configure option.
16535         (enable_werror): New AC_SUBST.
16536         * configure: Regenerated.
16537         * config.make.in (enable-werror): New variable.
16538         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
16539         -Wno-error=undef.
16540         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
16541         * manual/install.texi (Configuring and compiling): Document
16542         --disable-werror.
16543         * INSTALL: Regenerated.
16544         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
16545         (CFLAGS-tst-chk2.c): Likewise.
16546         (CFLAGS-tst-chk3.c): Likewise.
16547         (CFLAGS-tst-chk4.cc): Likewise.
16548         (CFLAGS-tst-chk5.cc): Likewise.
16549         (CFLAGS-tst-chk6.cc): Likewise.
16550         (CFLAGS-tst-lfschk1.c): Likewise.
16551         (CFLAGS-tst-lfschk2.c): Likewise.
16552         (CFLAGS-tst-lfschk3.c): Likewise.
16553         (CFLAGS-tst-lfschk4.cc): Likewise.
16554         (CFLAGS-tst-lfschk5.cc): Likewise.
16555         (CFLAGS-tst-lfschk6.cc): Likewise.
16557         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
16558         (main): Disable -Wdeprecated-declarations around calls to
16559         register_printf_function.
16561         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
16562         (do_test): Disable -Wdiv-by-zero around some calls to
16563         fwrite_unlocked and fread_unlocked.
16565         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
16566         (DIAG_POP_NEEDS_COMMENT): Likewise.
16567         (_DIAG_STR1): Likewise.
16568         (_DIAG_STR): Likewise.
16569         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
16570         * stdio-common/bug21.c: Include <libc-internal.h>.
16571         (do_test): Disable -Wformat around call to sscanf.
16572         * stdio-common/scanf14.c: Include <libc-internal.h>.
16573         (main): Disable -Wformat around some calls to scanf functions.
16575 2014-12-09  Torvald Riegel  <triegel@redhat.com>
16577         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
16579 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16581         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
16582         stack variable alignment.
16584 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
16586         [BZ #17682]
16587         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
16588         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
16589         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
16590         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
16591         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
16592         __getrlimit instead of getrlimit.
16593         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
16594         __gettimeofday instead of gettimeofday.
16595         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16596         Likewise.
16597         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
16598         Likewise.
16599         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16600         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
16601         Remove variable.
16602         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
16603         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
16605 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16607         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
16608         for wide-character tests.
16610 2014-12-04  Roland McGrath  <roland@hack.frob.com>
16612         * io/openat64.c: #include <libc-internal.h>
16613         (__openat64): Prototypify.  Use ignore_value on MODE.
16614         * io/openat.c: Likewise.
16615         * misc/reboot.c: #include <libc-internal.h>
16616         (reboot): Prototypify.  Use ignore_value on HOWTO.
16617         * misc/ptrace.c: #include <libc-internal.h>
16618         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
16620 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
16622         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
16623         XPG4, UNIX98 and XOPEN2K.
16624         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
16625         Remove variable.
16626         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
16628 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16630         * libio/fileops.c: Use ISO C style for function definitions.
16631         * libio/iofopen.c: Likewise.
16632         * libio/wfileops.c: Likewise.
16634         [BZ #17653]
16635         * libio/fileops.c (_IO_new_file_underflow): Unset cached
16636         offset on EOF.
16637         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
16638         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
16639         (fgets_func): Function pointer to fgets and fgetws.
16640         (do_ftell_test): Add test to verify ftell value after read
16641         EOF.
16642         (do_test): Set fgets_func.
16644         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
16645         O_TRUNC flag for w and w+ modes.
16646         (do_rewind_test): Likewise.
16647         (do_ftell_test): Likewise.
16648         (do_write_test): Likewise.
16650         [BZ #17647]
16651         * libio/fileops.c (do_ftell): Seek only when there are
16652         unflushed writes.
16653         * libio/wfileops.c (do_ftell_wide): Likewise.
16654         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
16655         test case.
16656         (do_one_test): Call it.
16658 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
16660         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
16661         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
16662         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
16663         Remove variable.
16664         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
16665         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
16666         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
16668 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
16670         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
16671         Remove variable.
16672         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
16674         [BZ #17668]
16675         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
16676         as weak alias of __getifaddrs.  Use libc_hidden_weak.
16677         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
16678         __freeifaddrs.  Use libc_hidden_weak.
16679         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
16680         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
16681         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
16682         __freeifaddrs.  Use libc_hidden_weak.
16683         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
16684         __getifaddrs and define as weak alias of __getifaddrs.  Use
16685         libc_hidden_weak.
16686         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
16687         __freeifaddrs.  Use libc_hidden_weak.
16688         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
16689         Remove variable.
16690         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
16691         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
16693 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
16695         [BZ #17601]
16696         * sysdeps/mips/start.S (__start): Use indirect jump to call
16697         __libc_start_main.
16699 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
16701         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
16703         * nptl/tst-mutex1.c: Include <stdbool.h>.
16704         [!ATTR] (ATTR_NULL): New macro.
16705         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
16706         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
16707         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
16709         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
16710         to char *.
16712         [BZ #17665]
16713         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
16714         Change conditional to [__USE_MISC].
16716         [BZ #17664]
16717         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
16718         fgets_unlocked.
16719         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
16720         __fgets_unlocked.
16721         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
16722         fgets_unlocked.
16723         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
16724         Remove variable.
16725         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
16726         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
16727         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
16728         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
16729         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
16730         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
16731         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
16732         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
16733         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
16735         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
16737 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16739         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16740         Remove strpbrk objects.
16741         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16742         (__libc_ifunc_impl_list): Remove strpbrk implementation.
16743         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
16744         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
16745         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
16746         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
16748         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16749         Remove strcspn objects.
16750         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16751         (__libc_ifunc_impl_list): Remove strcspn implementation.
16752         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
16753         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
16754         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
16755         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
16757         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16758         Remove strspn objetcs.
16759         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16760         (__libc_ifunc_impl_list): Remove strspn implementation.
16761         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
16762         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
16763         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
16764         * sysdeps/powerpc/powerpc64/strspn.S: New file.
16766 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
16768         [BZ #17581]
16769         * malloc/hooks.c
16770         (mem2mem_check): Add a terminator to the chain of checking blocks.
16771         (malloc_check_get_size): Use it here.
16772         (mem2chunk_check): Ditto.
16774 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16776         * sysdeps/powerpc/powerpc64/strtok.S: New file.
16777         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
16779 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
16781         * bits/ioctl-types.h: Indent preprocessor directives correctly.
16783         * nptl/nptl-init.c: Include libc-internal.h.
16784         (__pthread_initialize_minimal_internal): Use ROUND_UP.
16786         * elf/ldconfig.c (search_dir): Expand comment.
16788 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
16790         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
16791         variable.
16792         (linknamespace-symlist-stdlibs-tests): Likewise.
16793         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
16794         instead of $(objpfx)symlist-stdlibs.
16795         (linknamespace-libs-isoc): New variable.
16796         (linknamespace-libs): Use $(linknamespace-libs-isoc).
16797         (linknamespace-libs-ISO): New variable.
16798         (linknamespace-libs-ISO99): Likewise.
16799         (linknamespace-libs-ISO11): Likewise.
16800         (linknamespace-libs-XPG3): Likewise.
16801         (linknamespace-libs-XPG4): Likewise.
16802         (linknamespace-libs-POSIX): Likewise.
16803         (linknamespace-libs-UNIX98): Likewise.
16804         (linknamespace-libs-XOPEN2K): Likewise.
16805         (linknamespace-libs-POSIX2008): Likewise.
16806         (linknamespace-libs-XOPEN2K8): Likewise.
16807         ($(objpfx)symlist-stdlibs): Replace by
16808         $(linknamespace-symlist-stdlibs-tests).  Use
16809         $(linknamespace-libs-$*) as set of libraries.
16810         ($(linknamespace-header-tests)): Update dependencies.  Use
16811         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
16812         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
16813         * conform/linknamespace.pl: Remove comment about considering
16814         definitions of symbols from irrelevant libraries.
16816 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
16818         [BZ #13862]
16819         * elf/dl-tls.c: Include <atomic.h>.
16820         (oom): Remove #ifdef SHARED/#endif.
16821         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
16822         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
16823         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
16824         big enough.
16825         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
16826         * nptl/Makefile (tests): Add tst-stack4.
16827         (modules-names): Add tst-stack4mod.
16828         ($(objpfx)tst-stack4): New.
16829         (tst-stack4mod.sos): Likewise.
16830         ($(objpfx)tst-stack4.out): Likewise.
16831         ($(tst-stack4mod.sos)): Likewise.
16832         (clean): Likewise.
16833         * nptl/tst-stack4.c: New file.
16834         * nptl/tst-stack4mod.c: Likewise.
16836 2014-11-27  J. Brown  <jb999@gmx.de>
16838         * sysdeps/x86/bits/string.h: Add recent CPUs.
16840 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
16842         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
16843         sigblock.
16845         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
16846         feof.
16848         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
16849         variable.
16851 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
16853         * nscd/connections.c: Include libc-internal.h because of macro
16854         usage ignore_value.
16856 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16858         * string/bits/string3.h (__warn_memset_zero_len): Don't
16859         declare for gcc newer than 5.0.
16860         (memset): Don't test for zero-length __LEN for gcc newer than
16861         5.0.
16863 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
16865         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
16866         size_t for %zu format.
16868         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
16869         difference, not %ju.
16871 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
16873         * include/libc-internal.h (ignore_value): New macro.
16874         * nscd/connections.c (restart): Wrap calls to setuid and setgid
16875         with ignore_value.
16877         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
16878         definition.
16880         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
16881         pthread_cleanup_push to void *.
16883         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
16884         Undefine.
16886         [BZ #16619]
16887         [BZ #16740]
16888         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
16889         instead of 1L << 52.
16891         * libio/bug-rewind.c (do_test): Check fwscanf return values.
16892         * libio/bug-rewind2.c (do_test): Likewise.
16894         * debug/test-stpcpy_chk-ifunc.c: Remove file.
16895         * debug/test-strcpy_chk-ifunc.c: Likewise.
16896         * wcsmbs/test-wcschr-ifunc.c: Likewise.
16897         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16898         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16899         * wcsmbs/test-wcslen-ifunc.c: Likewise.
16900         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16901         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16902         * Rules [$(multi-arch) = no] (tests): Do not filter out
16903         $(tests-ifunc).
16904         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
16905         * debug/Makefile (tests-ifunc): Remove variable.
16906         (tests): Do not add $(tests-ifunc).
16907         * wcsmbs/Makefile (tests-ifunc): Remove variable.
16908         (tests): Do not add $(tests-ifunc).
16909         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
16910         [TEST_IFUNC]: Remove conditionals.
16911         * string/test-string.h (TEST_IFUNC): Remove macro.
16912         [TEST_IFUNC]: Remove conditionals.
16914         * string/test-strchr.c [!WIDE] (L): New macro.
16915         [WIDE] (L): Likewise.
16916         (check1): Use CHAR instead of char.  Use L on string and character
16917         constants.
16919 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
16921         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
16922         tests.
16923         * sysdeps/powerpc/bits/atomic.h
16924         (__arch_atomic_exchange_and_add_32_acq): Add definition.
16925         (__arch_atomic_exchange_and_add_32_rel): Likewise.
16926         (atomic_exchange_and_add_acq): Likewise.
16927         (atomic_exchange_and_add_rel): Likewise.
16928         * sysdeps/powerpc/powerpc32/bits/atomic.h
16929         (__arch_atomic_exchange_and_add_64_acq): Add definition.
16930         (__arch_atomic_exchange_and_add_64_rel): Likewise.
16931         * sysdeps/powerpc/powerpc64/bits/atomic.h
16932         (__arch_atomic_exchange_and_add_64_acq): Add definition.
16933         (__arch_atomic_exchange_and_add_64_rel): Likewise.
16935 2014-11-26  Torvald Riegel  <triegel@redhat.com>
16937         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
16938         Change synchronization of __sched_fifo_min_prio and
16939         __sched_fifo_max_prio.
16940         * nptl/pthread_mutexattr_getprioceiling.c
16941         (pthread_mutexattr_getprioceiling): Likewise.
16942         * nptl/pthread_mutexattr_setprioceiling.c
16943         (pthread_mutexattr_setprioceiling): Likewise.
16944         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
16945         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
16946         Likewise.
16948 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
16950         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
16951         void.
16953 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
16955         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
16956         third argument const.
16958 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
16960         fnmatch: work around GCC compiler warning bug with uninit var
16961         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
16962         This works around a bug with x86-64 GCC 4.9.2 and earlier
16963         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
16964         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
16965         used uninitialized in this function [-Wmaybe-uninitialized]".
16967 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
16969         * posix/bug-regex31.c (main): Return RES not 0.
16971 2014-11-25  Anton Blanchard <anton@samba.org>
16973         * sysdeps/powerpc/bits/atomic.h
16974         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
16976 2014-11-24  Sterling Augustine  <saugustine@google.com>
16978         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
16980 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
16982         [BZ #17608]
16983         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
16985 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
16987         [BZ #17633]
16988         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
16989         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
16990         variable.
16991         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
16992         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
16994 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
16996         * string/strncpy.c (strncpy): Improve performance by using memset.
16998 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
17000         * string/strcpy.c (strcpy):
17001         Improve performance by using strlen and memcpy.
17003 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
17005         * string/strcoll_l.c (get_next_seq): __always_inline.
17006         * string/strcoll_l.c (do_compare): __always_inline.
17008 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17010         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
17011         defined.
17012         * include/mqueue.h: Likewise.
17013         * include/stdlib.h: Likewise.
17015         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
17016         (get_null_defines): Adjust.
17017         * sunrpc/Makefile: Adjust comment.
17018         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
17019         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
17020         (CFLAGS-interp.c): Likewise.
17021         (CFLAGS-ldconfig.c): Likewise.
17022         (CPPFLAGS-.os): Likewise.
17023         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17024         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
17025         * extra-modules.mk (extra-modules.mk): Likewise.
17026         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
17027         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
17028         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
17029         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
17030         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
17031         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
17032         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
17033         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
17034         * iconvdata/Makefile (CPPFLAGS): Likewise.
17035         (cpp-srcs-left): Add libof for all iconvdata routines.
17036         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
17037         * include/assert.h: Likewise.
17038         * include/ctype.h: Likewise.
17039         * include/errno.h: Likewise.
17040         * include/libc-symbols.h: Likewise.
17041         * include/math.h: Likewise.
17042         * include/netdb.h: Likewise.
17043         * include/resolv.h: Likewise.
17044         * include/stdio.h: Likewise.
17045         * include/stdlib.h: Likewise.
17046         * include/string.h: Likewise.
17047         * include/sys/stat.h: Likewise.
17048         * include/wctype.h: Likewise.
17049         * intl/l10nflist.c: Likewise.
17050         * libidn/idn-stub.c: Likewise.
17051         * libio/libioP.h: Likewise.
17052         * nptl/libc_multiple_threads.c: Likewise.
17053         * nptl/pthreadP.h: Likewise.
17054         * posix/regex_internal.h: Likewise.
17055         * resolv/res_hconf.c: Likewise.
17056         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
17057         * sysdeps/arm/memmove.S: Likewise.
17058         * sysdeps/arm/sysdep.h: Likewise.
17059         * sysdeps/generic/_itoa.h: Likewise.
17060         * sysdeps/generic/symbol-hacks.h: Likewise.
17061         * sysdeps/gnu/errlist.awk: Likewise.
17062         * sysdeps/gnu/errlist.c: Likewise.
17063         * sysdeps/i386/i586/memcpy.S: Likewise.
17064         * sysdeps/i386/i586/memset.S: Likewise.
17065         * sysdeps/i386/i686/memcpy.S: Likewise.
17066         * sysdeps/i386/i686/memmove.S: Likewise.
17067         * sysdeps/i386/i686/mempcpy.S: Likewise.
17068         * sysdeps/i386/i686/memset.S: Likewise.
17069         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17070         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17071         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
17072         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
17073         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17074         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17075         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
17076         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17077         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17078         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17079         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17080         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17081         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17082         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17083         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17084         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17085         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
17086         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
17087         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
17088         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17089         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17090         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17091         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17092         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17093         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17094         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17095         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
17096         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17097         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
17098         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
17099         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17100         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17101         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17102         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17103         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17104         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17105         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17106         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17107         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17108         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17109         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17110         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17111         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17112         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
17113         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17114         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17115         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
17116         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
17117         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17118         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17119         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17120         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
17121         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
17122         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17123         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17124         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
17125         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17126         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
17127         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
17128         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17129         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17130         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17131         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
17132         * sysdeps/nptl/bits/libc-lock.h: Likewise.
17133         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
17134         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
17135         * sysdeps/posix/closedir.c: Likewise.
17136         * sysdeps/posix/opendir.c: Likewise.
17137         * sysdeps/posix/readdir.c: Likewise.
17138         * sysdeps/posix/rewinddir.c: Likewise.
17139         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
17140         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
17141         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17142         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17143         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17144         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
17145         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
17146         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
17147         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
17148         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
17149         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
17150         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
17151         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
17152         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
17153         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
17154         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
17155         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
17156         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
17157         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
17158         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
17159         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
17160         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
17161         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
17162         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
17163         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
17164         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
17165         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
17166         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
17167         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
17168         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
17169         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
17170         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
17171         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
17172         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
17173         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
17174         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
17175         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17176         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17177         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
17178         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
17179         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
17180         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
17181         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
17182         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
17183         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
17184         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
17185         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
17186         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
17187         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
17188         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
17189         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
17190         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
17191         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
17192         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
17193         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
17194         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
17195         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
17196         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
17197         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
17198         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
17199         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
17200         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
17201         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
17202         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
17203         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
17204         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
17205         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
17206         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
17207         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
17208         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
17209         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
17210         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
17211         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
17212         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
17213         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
17214         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
17215         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
17216         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
17217         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
17218         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
17219         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
17220         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17221         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
17222         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
17223         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17224         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
17225         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
17226         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17227         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17228         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17229         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
17230         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
17231         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
17232         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17233         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17234         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
17235         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17236         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17237         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
17238         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
17239         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17240         * sysdeps/unix/alpha/sysdep.S: Likewise.
17241         * sysdeps/unix/alpha/sysdep.h: Likewise.
17242         * sysdeps/unix/make-syscalls.sh: Likewise.
17243         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
17244         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17245         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
17246         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
17247         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
17248         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
17249         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
17250         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17251         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
17252         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
17253         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17254         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
17255         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17256         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
17257         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
17258         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
17259         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17260         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17261         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
17262         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
17263         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
17264         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17265         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
17266         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
17267         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
17268         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17269         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
17271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
17272         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
17273         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17274         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
17275         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
17276         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17277         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
17278         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
17279         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
17280         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17281         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
17282         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
17283         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17284         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
17285         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17286         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17287         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17288         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
17289         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17290         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17291         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
17292         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17293         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17294         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
17295         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17296         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
17297         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
17298         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17299         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
17300         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17301         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
17302         * sysdeps/x86_64/memcpy.S: Likewise.
17303         * sysdeps/x86_64/memmove.c: Likewise.
17304         * sysdeps/x86_64/memset.S: Likewise.
17305         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
17306         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17307         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17308         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
17309         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
17310         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17311         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17312         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17313         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17314         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17315         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17316         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17317         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
17318         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17319         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17320         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
17321         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17322         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17323         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
17324         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17325         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
17326         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17327         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17328         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17329         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17330         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17331         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17332         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
17333         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17334         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17335         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
17336         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17337         * sysdeps/x86_64/strcmp.S: Likewise.
17339         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
17341         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
17342         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
17343         * elf/rtld-Rules: Likewise.
17344         * elf/setup-vdso.h: Likewise.
17345         * include/assert.h: Likewise.
17346         * include/bits/stdlib-float.h: Likewise.
17347         * include/errno.h: Likewise.
17348         * include/sys/stat.h: Likewise.
17349         * include/unistd.h: Likewise.
17350         * sysdeps/aarch64/setjmp.S: Likewise.
17351         * sysdeps/alpha/setjmp.S: Likewise.
17352         * sysdeps/arm/__longjmp.S: Likewise.
17353         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
17354         * sysdeps/arm/setjmp.S: Likewise.
17355         * sysdeps/arm/sysdep.h: Likewise.
17356         * sysdeps/generic/_itoa.h: Likewise.
17357         * sysdeps/generic/dl-sysdep.h: Likewise.
17358         * sysdeps/generic/ldsodefs.h: Likewise.
17359         * sysdeps/i386/dl-tls.h: Likewise.
17360         * sysdeps/i386/setjmp.S: Likewise.
17361         * sysdeps/m68k/setjmp.c: Likewise.
17362         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
17363         * sysdeps/mach/hurd/opendir.c: Likewise.
17364         * sysdeps/posix/getcwd.c: Likewise.
17365         * sysdeps/posix/opendir.c: Likewise.
17366         * sysdeps/posix/profil.c: Likewise.
17367         * sysdeps/powerpc/dl-procinfo.h: Likewise.
17368         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17369         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17370         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17371         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17372         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
17373         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
17374         * sysdeps/s390/dl-tls.h: Likewise.
17375         * sysdeps/s390/s390-32/setjmp.S: Likewise.
17376         * sysdeps/s390/s390-64/setjmp.S: Likewise.
17377         * sysdeps/sh/sh3/setjmp.S: Likewise.
17378         * sysdeps/sh/sh4/setjmp.S: Likewise.
17379         * sysdeps/unix/alpha/sysdep.h: Likewise.
17380         * sysdeps/unix/arm/sysdep.S: Likewise.
17381         * sysdeps/unix/i386/sysdep.S: Likewise.
17382         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17383         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
17384         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17385         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17386         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17387         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
17388         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
17389         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17390         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17391         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
17392         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
17393         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17394         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17397         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17398         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17399         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17400         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17401         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17402         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17403         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17404         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17405         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17406         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17407         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17408         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17409         * sysdeps/unix/x86_64/sysdep.S: Likewise.
17410         * sysdeps/x86_64/setjmp.S: Likewise.
17412         * include/math.h: Use IS_IN instead of IS_IN_libm.
17413         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
17414         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17415         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17416         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17417         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17418         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17419         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17420         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17421         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17422         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17423         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
17424         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
17425         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
17426         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
17427         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
17428         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
17429         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
17430         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
17431         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
17432         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
17433         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
17434         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
17435         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
17436         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
17437         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
17438         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
17439         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
17440         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
17441         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
17442         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
17443         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
17444         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17445         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
17447         Likewise.
17448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
17449         Likewise.
17450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
17451         Likewise.
17452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
17453         Likewise.
17454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
17455         Likewise.
17456         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17457         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
17458         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17459         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17460         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17461         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
17463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
17464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
17465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
17466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
17467         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
17468         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
17469         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17470         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17471         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17472         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17473         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17474         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17475         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17476         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
17477         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
17478         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
17479         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
17480         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
17481         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17482         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
17484         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
17485         * nptl/pthreadP.h: Likewise.
17486         * nptl_db/structs.def: Likewise.
17487         * sysdeps/arm/sysdep.h: Likewise.
17488         * sysdeps/nptl/bits/libc-lock.h: Likewise.
17489         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
17490         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
17491         * sysdeps/unix/alpha/sysdep.h: Likewise.
17492         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
17493         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17494         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
17495         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
17496         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
17497         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
17498         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17499         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
17500         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17501         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
17502         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
17503         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
17504         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
17505         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
17507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
17508         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
17509         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
17510         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
17511         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
17512         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
17513         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
17514         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17515         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
17516         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
17517         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
17519         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
17520         * nptl/pthreadP.h: Likewise.
17521         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
17522         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
17523         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
17524         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
17525         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
17526         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
17527         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17528         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
17529         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
17530         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
17531         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
17532         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17534         Likewise.
17535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17536         Likewise.
17537         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
17538         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
17539         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
17540         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
17541         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
17542         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
17543         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
17544         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
17546         * dlfcn/dladdr.c: Use IS_IN.
17547         * dlfcn/dladdr1.c: Likewise.
17548         * dlfcn/dlclose.c: Likewise.
17549         * dlfcn/dlerror.c: Likewise.
17550         * dlfcn/dlinfo.c: Likewise.
17551         * dlfcn/dlmopen.c: Likewise.
17552         * dlfcn/dlopen.c: Likewise.
17553         * dlfcn/dlsym.c: Likewise.
17554         * dlfcn/dlvsym.c: Likewise.
17556         * include/ifaddrs.h: Use IS_IN.
17557         * inet/check_pf.c: Likewise.
17558         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17559         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
17561         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
17562         IS_IN_ldconfig.
17563         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
17564         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
17566         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
17567         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
17568         IS_IN (libc).
17570         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
17572         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
17573         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17574         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
17575         * include/libc-symbols.h (IS_IN_LIB): New macro.
17576         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
17577         * include/netdb.h: Likewise.
17578         * include/stap-probe.h: Remove all uses of IN_LIB.
17580         * Makeconfig (module-cppflags-real): Define MODULE_NAME
17581         instead of IN_MODULE.
17582         * include/libc-symbols.h (IN_MODULE): Define using
17583         MODULE_NAME.
17584         (PASTE_NAME, PASTE_NAME1): New macros.
17585         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
17586         of IN_LIB.
17587         (STAP_PROBE_ASM): Likewise.
17589 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17591         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
17592         __mach_init in dlopened libc.
17594 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
17596         * sysdeps/arm/preconfigure.ac: Delete EABI check.
17597         * sysdeps/arm/preconfigure: Regenerate.
17599 2014-11-21  Roland McGrath  <roland@hack.frob.com>
17601         * nptl/pthread_create.c (__pthread_create_2_1): Set
17602         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
17603         when copying values from IATTR into PD.
17605 2014-11-21  Will Newton  <will.newton@linaro.org>
17606             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
17608         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
17609         Refactor inline-asm.  Also add comment.
17611         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
17612         ElfW macro instead of hardcoded Elf64 types.
17613         (la_aarch64_gnu_pltenter): Likewise.
17614         * sysdeps/aarch64/dl-machine.h
17615         (elf_machine_runtime_setup): Use ElfW(Addr).
17617         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
17618         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
17619         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
17620         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
17621         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
17622         (R_AARCH64_TLS_DTPMOD64): Rename to ..
17623         (R_AARCH64_TLS_DTPMOD): This.
17624         (R_AARCH64_TLS_DTPREL64): Rename to ...
17625         (R_AARCH64_TLS_DTPREL): This.
17626         (R_AARCH64_TLS_TPREL64): Rename to ...
17627         (R_AARCH64_TLS_TPREL): This.
17628         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
17629         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
17630         R_AARCH64_TLS_TPREL64.
17631         (elf_machine_rela): Likewise.
17633 2014-11-21  Torvald Riegel  <triegel@redhat.com>
17635         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
17636         by setting it to 0.  64b atomics are not supported currently.
17638 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17640         [BZ #16469]
17641         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
17642         search domain names.
17644 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17646         [BZ #16469]
17647         * NEWS: Update.
17648         * resolv/res_query.c (__libc_res_nquerydomain): Retain
17649         trailing dot.
17650         * posix/tst-getaddrinfo5.c: New.
17651         * posix/Makefile (tests): Add it.
17653 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17655         [BZ #14498]
17656         * NEWS: Fixed.
17657         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
17658         after parsing line but before break_if_match.
17659         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
17660         if there is a protocol mismatch.
17662 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
17664         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
17665         because the potential race is on the user-supplied stream.
17667 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17669         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
17670         string literal if not passed a buffer.
17671         * manual/job.texi (ctermid): Update reasoning, note deviation
17672         from posix, suggest mtasurace when not passed a buffer, for
17673         future non-preliminary safety notes.
17675 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17677         * manual/users.texi (cuserid): Fix MT-Safety note for the case
17678         of not passing it a buffer.
17679         Reported by Peng Haitao.
17681 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17683         * manual/Makefile ($(objpfx)stamp-summary): Require
17684         check-safety.sh to pass.
17685         * manual/check-safety.sh: Wish for verification that every
17686         @deftypefn and @deftypefun is followed by a @safety remark.
17688 2014-11-20  Roland McGrath  <roland@hack.frob.com>
17690         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
17692         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
17693         PTHREAD_CANCEL_ASYNCHRONOUS.
17694         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
17695         send SIGCANCEL.
17697         * nptl/default-sched.h: New file.
17698         * sysdeps/unix/sysv/linux/default-sched.h: New file.
17699         * nptl/pthread_create.c: Include it.
17700         (__pthread_create_2_1): Use collect_default_sched instead of making
17701         Linux syscalls here directly.
17703 2014-11-20  Torvald Riegel  <triegel@redhat.com>
17705         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
17706         __pthread_once): Use C11 atomics.
17708 2014-11-20  Torvald Riegel  <triegel@redhat.com>
17710         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
17712 2014-11-20  Torvald Riegel  <triegel@redhat.com>
17714         * include/atomic.h (__atomic_link_error, __atomic_check_size,
17715         atomic_thread_fence_acquire, atomic_thread_fence_release,
17716         atomic_thread_fence_seq_cst, atomic_load_relaxed,
17717         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
17718         atomic_compare_exchange_weak_relaxed,
17719         atomic_compare_exchange_weak_acquire,
17720         atomic_compare_exchange_weak_release,
17721         atomic_exchange_acquire, atomic_exchange_release,
17722         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
17723         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
17724         atomic_fetch_and_acquire,
17725         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
17727 2014-11-20  Torvald Riegel  <triegel@redhat.com>
17729         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
17730         USE_ATOMIC_COMPILER_BUILTINS): Define.
17731         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
17732         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17733         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
17734         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17735         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
17736         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17737         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
17738         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17739         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
17740         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17741         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
17742         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17743         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
17744         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17745         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
17746         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17747         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
17748         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17749         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
17750         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17751         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
17752         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17753         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
17754         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17755         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
17756         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17757         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
17758         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17759         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
17760         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17761         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
17762         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17763         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
17764         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17765         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
17766         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17767         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
17768         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17769         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
17770         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17772 2014-11-19  Roland McGrath  <roland@hack.frob.com>
17774         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
17775         the sched_priority value here.  It was already checked when the user
17776         called pthread_attr_setschedparam.
17778         * nptl/tst-bad-schedattr.c: New file.
17779         * nptl/Makefile (tests): Add it.
17781 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
17782             Florian Weimer  <fweimer@redhat.com>
17783             Joseph Myers  <joseph@codesourcery.com>
17784             Adam Conrad  <adconrad@0c3.net>
17785             Andreas Schwab  <schwab@suse.de>
17786             Brooks  <bmoses@google.com>
17788         [BZ #17625]
17789         * wordexp-test.c (__dso_handle): Add prototype.
17790         (__register_atfork): Likewise.
17791         (__app_register_atfork): New function.
17792         (registered_forks): New global.
17793         (register_fork): New function.
17794         (test_case): Add 3 new tests for WRDE_CMDSUB.
17795         (main): Call __app_register_atfork.
17796         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
17797         fork count is non-zero fail the test.
17798         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
17799         is set.
17800         (parse_dollars): Remove check for WRDE_NOCMD.
17801         (parse_dquote): Likewise.
17803 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17805         * Makeconfig (built-modules): List non-library modules to be
17806         built.
17807         (module-cppflags): Include libc-modules.h for
17808         everything except shlib-versions.v.i.
17809         (CPPFLAGS): Use it.
17810         (before-compile): Add libc-modules.h.
17811         ($(common-objpfx)libc-modules.h,
17812         $(common-objpfx)libc-modules.stmp): New targets.
17813         (common-generated): Add libc-modules.h and libc-modules.stmp.
17814         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
17815         * include/libc-symbols.h: Don't include libc-modules.h.
17816         * include/libc-modules.h: Remove file.
17817         * scripts/gen-libc-modules.awk: New script to generate
17818         libc-modules.h.
17819         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
17820         Depend on libc-modules.stmp.
17822         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
17824         * Makeconfig (in-module): Get value of libof set for the
17825         translation unit.
17826         (CPPFLAGS): Use $(in-module).
17827         * Makerules: Don't suffix routine names for nonlib.
17828         * include/libc-modules.h: New file.
17829         * include/libc-symbols.h: Include libc-modules.h
17830         (IS_IN): New macro to replace IS_IN_* macros.
17831         * elf/Makefile: Set libof-* for each routine.
17832         * elf/rtld-Rules: Likewise.
17833         * extra-modules.mk: Likewise.
17834         * iconv/Makefile: Likewise.
17835         * iconvdata/Makefile: Likewise.
17836         * locale/Makefile: Likewise.
17837         * malloc/Makefile: Likewise.
17838         * nss/Makefile: Likewise.
17839         * sysdeps/gnu/Makefile: Likewise.
17840         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
17841         * sysdeps/unix/sysv/linux/Makefile: Likewise.
17842         * sysdeps/s390/s390-64/Makefile: Likewise.
17843         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
17844         CPPFLAGS for nscd instead of nonlib.
17846 2014-11-18  Roland McGrath  <roland@hack.frob.com>
17848         * nptl/createthread.c: New file.
17850         * nptl/createthread.c: Moved ...
17851         * sysdeps/unix/sysv/linux/createthread.c: ... here.
17853         * nptl/createthread.c: Add proper top-line comment.
17854         (do_clone): Folded into ...
17855         (create_thread): ... here.  Take new arguments STOPPED_START and
17856         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
17857         increment __nptl_threads, do event-reporting logic, do
17858         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
17859         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
17860         resource cleanup if sched_setaffinity or sched_setscheduler fails,
17861         just send SIGCANCEL.
17862         * nptl/pthread_create.c: Forward-declare create_thread before
17863         including createthread.c.
17864         (start_thread): Use new macro START_THREAD_DEFN to replace defining
17865         declaration, and new macro START_THREAD_SELF to replace argument.
17866         Remove return statement.
17867         (report_thread_creation): New function.
17868         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
17869         synchronization logic, and __nptl_nthreads increment here, around
17870         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
17871         PD->parent_cancelhandling here, before create_thread.  When
17872         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
17873         __deallocate_stack, and ENOMEM translation here.
17875 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
17877         [BZ #17616]
17878         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
17879         (mptwo): Rename to __mptwo.
17880         (__inv): Use __mptwo instead of mptwo.
17881         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
17882         (mptwo): Rename to __mptwo.
17883         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
17884         of mpone and __mptwo instead of mptwo.
17885         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
17886         instead of mpone.
17887         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17888         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
17889         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
17890         of mpone and __mptwo instead of mptwo.
17891         (__mpranred): Use __mpone instead of mpone.
17892         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
17893         variable.
17894         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
17895         (test-xfail-ISO99/math.h/linknamespace): Likewise.
17896         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
17897         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
17898         (test-xfail-ISO11/math.h/linknamespace): Likewise.
17899         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
17900         (test-xfail-XPG3/math.h/linknamespace): Likewise.
17901         (test-xfail-XPG4/math.h/linknamespace): Likewise.
17902         (test-xfail-POSIX/math.h/linknamespace): Likewise.
17903         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
17904         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
17905         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
17906         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
17907         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
17908         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
17909         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
17910         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
17911         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
17912         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
17914 2014-11-18  Tom de Vries  <tom@codesoucery.com>
17916         * manual/signal.texi (Primitives Interrupted by Signals): In section,
17917         replace BSD Handler xref with BSD Signal Handling.
17919 2014-11-17  Richard Henderson  <rth@redhat.com>
17921         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
17922         (_FP_PACK_RAW_2): Remove.
17923         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
17924         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
17925         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
17926         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
17927         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
17928         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
17929         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
17930         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
17931         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
17932         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
17933         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
17934         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
17935         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
17936         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
17937         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
17938         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
17940 2014-11-14  Roland McGrath  <roland@hack.frob.com>
17942         * signal/signal.h [__USE_MISC]
17943         (struct sigvec): Remove type.
17944         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
17945         (sigvec): Remove declaration.
17946         * sysdeps/posix/sigvec.c: Moved ...
17947         * signal/sigvec.c: ... here, replacing old file.
17948         (struct sigvec): New type, copied from old signal.h definition.
17949         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
17950         (__sigvec): Convert definition to prototype.
17951         (sigvec): Replace weak_alias with compat_symbol.
17952         * signal/Versions (libc: GLIBC_2.21): New version set.
17953         * include/signal.h: Remove __sigvec declaration.
17954         * sysdeps/unix/bsd/sigvec.c: Remove file.
17955         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
17956         * manual/signal.texi (BSD Handler): Remove subsection.
17957         Move siginterrupt up to ...
17958         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
17959         (Blocking in BSD): Fold subsection into its parent.
17960         * NEWS: Mention sigvec removal.
17962 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
17964         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
17965         (DLA_FMS): Make definition conditional only on [__FMA4__].
17966         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
17967         definition.
17969         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
17970         Make definition conditional only on [PROF].
17971         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
17972         definition.
17973         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
17974         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
17976         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
17977         !__GNUC__].
17978         * include/signal.h (__sigpause): Move declaration above call to
17979         libc_hidden_proto.
17980         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
17981         variable.
17982         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
17983         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
17985 2014-11-14  David S. Miller  <davem@davemloft.net>
17987         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
17988         Define before including <string/memcpy.c> and <string/mempcpy.c>.
17990 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
17992         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
17993         * configure: Regenerated.
17994         * manual/install.texi (Tools for Compilation): Document a
17995         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
17996         compiler verified to work.
17997         * INSTALL: Regenerated.
17999         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
18000         redeclare with asm name.
18001         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
18002         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
18003         including <string.h>.
18004         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18005         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
18006         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18007         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
18008         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18009         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
18010         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18012 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
18014         * stdlib/strtol.c (__strtol): Use prototype definition.
18016         [BZ #17594]
18017         * stdlib/strtol.c (SYM__): New macro.
18018         (SYM__1): Likewise.
18019         (__strtol): Likewise.
18020         (strtol): Rename to __strtol and define as weak alias of
18021         __strtol.  Use libc_hidden_weak.
18023 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18025         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
18026         Use numbered labels in inline assembly.
18028 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18030         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
18031         Add setjmp LIBC_PROBE.
18032         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
18033         Likewise.
18034         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
18035         Add longjmp, longjmp_target LIBC_PROBE.
18036         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
18037         Likewise.
18039 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18041         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18042         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
18043         to get rid of unused variable warning.
18045 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18047         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
18048         Check for unwind_backtrace ==  NULL only in SHARED case.
18049         (__backchain_backtrace): Compile only in SHARED case.
18050         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
18051         Likewise.
18052         (__backchain_backtrace): Declare as static.
18054 2014-11-12  Roland McGrath  <roland@hack.frob.com>
18056         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
18057         (__libc_multiple_threads_ptr): Variable moved ...
18058         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
18060 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
18062         * conform/GlibcConform.pm: New file.
18063         * conform/conformtest.pl: Use GlibcConform module.
18064         * conform/linknamespace.pl: New file.
18065         * conform/list-header-symbols.pl: Likewise.
18066         * conform/Makefile (linknamespace-symlists-base): New variable.
18067         (linknamespace-symlists-tests): Likewise.
18068         (linknamespace-header-base): Likewise.
18069         (linknamespace-header-tests): Likewise.
18070         (tests-special): Add new tests.
18071         ($(linknamespace-symlists-tests)): New rule.
18072         (linknamespace-libs): New variable.
18073         ($(objpfx)symlist-stdlibs): New rule.
18074         ($(linknamespace-header-tests)): Likewise.
18075         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
18076         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
18077         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
18078         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
18079         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
18080         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
18081         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
18082         (test-xfail-ISO/math.h/linknamespace): Likewise.
18083         (test-xfail-ISO/signal.h/linknamespace): Likewise.
18084         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
18085         (test-xfail-ISO/time.h/linknamespace): Likewise.
18086         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
18087         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
18088         (test-xfail-ISO99/math.h/linknamespace): Likewise.
18089         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
18090         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
18091         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
18092         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
18093         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
18094         (test-xfail-ISO11/math.h/linknamespace): Likewise.
18095         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
18096         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
18097         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
18098         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
18099         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
18100         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
18101         (test-xfail-XPG3/math.h/linknamespace): Likewise.
18102         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
18103         (test-xfail-XPG3/search.h/linknamespace): Likewise.
18104         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
18105         (test-xfail-XPG3/time.h/linknamespace): Likewise.
18106         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
18107         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
18108         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
18109         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
18110         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
18111         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
18112         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
18113         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
18114         (test-xfail-XPG4/math.h/linknamespace): Likewise.
18115         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
18116         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
18117         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
18118         (test-xfail-XPG4/search.h/linknamespace): Likewise.
18119         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
18120         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
18121         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
18122         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
18123         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
18124         (test-xfail-XPG4/time.h/linknamespace): Likewise.
18125         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
18126         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
18127         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
18128         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
18129         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
18130         (test-xfail-POSIX/math.h/linknamespace): Likewise.
18131         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
18132         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
18133         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
18134         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
18135         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
18136         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
18137         (test-xfail-POSIX/time.h/linknamespace): Likewise.
18138         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
18139         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
18140         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
18141         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
18142         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
18143         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
18144         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
18145         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
18146         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
18147         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
18148         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
18149         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
18150         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
18151         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
18152         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
18153         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
18154         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
18155         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
18156         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
18157         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
18158         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
18159         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
18160         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
18161         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
18162         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
18163         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
18164         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
18165         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
18166         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
18167         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
18168         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
18169         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
18170         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
18171         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
18172         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
18173         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
18174         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
18175         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
18176         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
18177         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
18178         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
18179         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
18180         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
18181         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
18182         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
18183         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
18184         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
18185         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
18186         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
18187         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
18188         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
18189         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
18190         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
18191         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
18192         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
18193         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
18194         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
18195         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
18196         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
18197         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
18198         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
18199         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
18200         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
18201         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
18202         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
18203         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
18204         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
18205         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
18206         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
18207         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
18208         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
18209         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
18210         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
18211         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
18212         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
18213         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
18214         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
18215         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
18216         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
18217         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
18218         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
18219         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
18220         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
18221         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
18222         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
18223         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
18224         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
18225         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
18226         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
18227         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
18228         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
18229         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
18230         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
18231         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
18232         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
18233         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
18234         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
18235         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
18237         [BZ #17589]
18238         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
18239         of fgets_unlocked.
18241         [BZ #17585]
18242         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
18243         (memmem): Rename to __memmem and define as weak alias of
18244         __memmem.  Use libc_hidden_weak.
18245         (__memmem): Use libc_hidden_def.
18246         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
18247         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
18248         memmem.
18250         [BZ #17582]
18251         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
18252         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
18253         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
18254         and define as weak alias of __fgets_unlocked.  Use
18255         libc_hidden_weak.
18256         (__fgets_unlocked): Use libc_hidden_def.
18257         * include/stdio.h (__fgets_unlocked): Declare.  Use
18258         libc_hidden_proto.
18259         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
18260         __fgets_unlocked instead of fgets_unlocked.
18261         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
18262         (GET_NPROCS_CONF_PARSER): Likewise.
18263         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
18264         (GET_NPROCS_CONF_PARSER): Likewise.
18266         [BZ #17574]
18267         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
18268         weak alias of __wmemset.  Use libc_hidden_weak.
18269         (__wmemset): Use libc_hidden_def.
18270         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
18271         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
18272         of wmemset.
18274         [BZ #17573]
18275         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
18276         with asm name __mempcpy.
18277         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
18279         [BZ #17572]
18280         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
18281         and define as weak alias of __rawmemchr.
18282         (__rawmemchr): Do not define as strong alias of rawmemchr.
18284         [BZ #17571]
18285         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
18286         alias of __qsort_r.
18287         (qsort): Call __qsort_r instead of qsort_r.
18288         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
18289         (__qsort_r): Declare.  Call libc_hidden_proto.
18290         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
18291         instead of qsort_r.
18292         * nscd/gai.c (__qsort_r): Define to qsort_r.
18293         * posix/tst-rfc3484.c (__qsort_r): Likewise.
18294         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
18295         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
18297         [BZ #17570]
18298         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
18299         define as weak alias of __malloc_info.
18301         [BZ #17584]
18302         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
18303         as weak alias of __rewinddir.  Don't use libc_hidden_def.
18304         (__rewinddir): Use libc_hidden_def.
18305         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
18306         as weak alias of __rewinddir.  Don't use libc_hidden_def.
18307         (__rewinddir): Use libc_hidden_def.
18308         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
18309         weak alias of __rewinddir.  Don't use libc_hidden_def.
18310         (__rewinddir): Use libc_hidden_def.
18311         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
18312         (__rewinddir): Use libc_hidden_proto.
18313         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
18314         rewinddir.
18315         (__getcwd): Use __rewinddir instead of rewinddir.
18317         [BZ #17583]
18318         * libio/fileno.c (fileno): Rename to __fileno and define as weak
18319         alias of __fileno.  Use libc_hidden_weak.
18320         (__fileno): Use libc_hidden_def.
18321         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
18322         * libio/ftello.c (ftello): Rename to __ftello and define as weak
18323         alias of __ftello.
18324         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
18325         __ftello.
18326         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
18327         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
18328         libc_hidden_def.
18329         (fread_unlocked): Don't use libc_hidden_ver.
18330         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
18331         and define as weak alias of __fread_unlocked.  Don't use
18332         libc_hidden_def.
18333         (__fread_unlocked): Use libc_hidden_def.
18334         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
18335         (ftello): Don't use libc_hidden_proto.
18336         (__ftello): Declare.  Use libc_hidden_proto.
18337         (fread_unlocked): Don't use libc_hidden_proto.
18338         (__fread_unlocked): Declare.  Use libc_hidden_proto.
18339         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
18340         and __ftello instead of fileno, fread_unlocked and ftello.
18342 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18344         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
18345         GOT12.
18346         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
18347         Likewise.
18348         (_dl_start_user): Likewise.
18349         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
18351 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
18352             Siddhesh Poyarekar  <siddhesh@redhat.com>
18354         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
18355         Move argv and envp down instead of moving argc up.
18356         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
18358 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
18360         [BZ #17506]
18361         * test-skeleton.c (main): Return successful if one of
18362         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
18363         * string/tst-strcoll-overflow.c: Define expected status.
18365 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
18367         [BZ #17475]
18368         * locale/iso-639.def: Define Bhili and Tulu language codes.
18370 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
18372         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
18374 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
18376         [BZ #17555]
18377         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
18379 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
18381         * configure.ac: Updated check of minimal required version to
18382         2.22.
18383         * manual/install.texi (Tools for Compilation): Updated version
18384         number.
18385         * configure: Regenerated.
18386         * INSTALL: Likewise.
18388 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
18390         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
18391         __tls_get_addr.
18393 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
18395         * include/sys/wait.h (__libc_waitpid): Remove declaration.
18396         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
18397         (__waitpid): Don't define as alias.  Use libc_hidden_def not
18398         libc_hidden_weak.
18399         (waitpid): Define as alias of __waitpid.
18400         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
18401         __waitpid.
18402         (__waitpid): Don't define as alias.  Use libc_hidden_def not
18403         libc_hidden_weak.
18404         (waitpid): Define as alias of __waitpid.
18405         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
18406         __libc_waitpid alias.
18407         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
18408         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
18409         Likewise.
18410         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
18411         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
18412         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
18413         alias.
18414         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
18415         __waitpid.
18416         (__waitpid): Don't define as alias.  Use libc_hidden_def not
18417         libc_hidden_weak.
18418         (waitpid): Define as alias of __waitpid.
18420 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
18422         * manual/llio.texi: Add comment that write safety has been
18423         fixed in Linux.
18425         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
18426         (localplt-build-dso): Add elf/ld.so.
18427         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
18428         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
18429         and free for ld.so.
18430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
18431         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
18432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
18433         Likewise.
18434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
18435         Likewise.
18436         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
18437         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
18438         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
18439         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
18440         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
18441         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
18442         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
18443         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
18444         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
18445         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
18446         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
18448 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
18450         [BZ #14132]
18451         * include/libc-symbols.h (INTUSE): Remove macro.
18452         (INTDEF): Likewise.
18453         (INTVARDEF): Likewise.
18454         (_INTVARDEF): Likewise.
18455         (INTDEF2): Likewise.
18456         (INTVARDEF2): Likewise.
18457         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
18458         rtld_hidden_def instead of INTVARDEF.
18459         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
18460         (_dl_starting_up_internal): Remove declaration.
18461         (_dl_starting_up): Use rtld_hidden_proto.
18462         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
18463         declaration.
18464         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
18465         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
18466         _dl_starting_up.
18467         * elf/dl-writev.h (_dl_writev): Likewise.
18468         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
18469         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
18470         _dl_starting_up_internal.
18472 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18474         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
18475         test-skeleton.c.
18477 2014-11-05  Will Newton  <will.newton@linaro.org>
18479         * benchtests/Makefile: (bench-malloc): Add malloc thread
18480         scalability benchmark.
18481         * benchtests/bench-malloc-threads.c: New file.
18483 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
18485         * sysdeps/aarch64/strchrnul.S: New file.
18487 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18489         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
18490         definition.
18491         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
18492         Likwise.
18493         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
18494         Likewise.
18495         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
18496         Likewise.
18497         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
18498         Likewise.
18499         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
18500         Likewise.
18502 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
18504         * catgets/test-gencat.c: Use test-skeleton.c.
18505         * catgets/tst-catgets.c: Likewise.
18506         * csu/tst-empty.c: Likewise.
18507         * elf/tst-audit2.c: Likewise.
18508         * elf/tst-global1.c: Likewise.
18509         * elf/tst-pathopt.c: Likewise.
18510         * elf/tst-piemod1.c: Likewise.
18511         * elf/tst-tls10.c: Likewise.
18512         * elf/tst-tls11.c: Likewise.
18513         * elf/tst-tls12.c: Likewise.
18514         * gnulib/tst-gcc.c: Likewise.
18515         * iconvdata/tst-e2big.c: Likewise.
18516         * iconvdata/tst-loading.c: Likewise.
18517         * iconv/tst-iconv1.c: Likewise.
18518         * iconv/tst-iconv2.c: Likewise.
18519         * inet/test-inet6_opt.c: Likewise.
18520         * inet/tst-gethnm.c: Likewise.
18521         * inet/tst-network.c: Likewise.
18522         * inet/tst-ntoa.c: Likewise.
18523         * intl/tst-codeset.c: Likewise.
18524         * intl/tst-gettext2.c: Likewise.
18525         * intl/tst-gettext3.c: Likewise.
18526         * intl/tst-ngettext.c: Likewise.
18527         * intl/tst-translit.c: Likewise.
18528         * io/test-stat.c: Likewise.
18529         * libio/test-fmemopen.c: Likewise.
18530         * libio/tst-freopen.c: Likewise.
18531         * libio/tst-sscanf.c: Likewise.
18532         * libio/tst-ungetwc1.c: Likewise.
18533         * libio/tst-ungetwc2.c: Likewise.
18534         * libio/tst-widetext.c: Likewise.
18535         * localedata/tst-ctype.c: Likewise.
18536         * localedata/tst-digits.c: Likewise.
18537         * localedata/tst-leaks.c: Likewise.
18538         * localedata/tst-mbswcs1.c: Likewise.
18539         * localedata/tst-mbswcs2.c: Likewise.
18540         * localedata/tst-mbswcs3.c: Likewise.
18541         * localedata/tst-mbswcs4.c: Likewise.
18542         * localedata/tst-mbswcs5.c: Likewise.
18543         * localedata/tst-setlocale.c: Likewise.
18544         * localedata/tst-trans.c: Likewise.
18545         * localedata/tst-wctype.c: Likewise.
18546         * localedata/tst-xlocale1.c: Likewise.
18547         * login/tst-grantpt.c: Likewise.
18548         * malloc/tst-calloc.c: Likewise.
18549         * malloc/tst-malloc.c: Likewise.
18550         * malloc/tst-mallocstate.c: Likewise.
18551         * malloc/tst-mcheck.c: Likewise.
18552         * malloc/tst-mtrace.c: Likewise.
18553         * malloc/tst-obstack.c: Likewise.
18554         * math/atest-exp2.c: Likewise.
18555         * math/atest-exp.c: Likewise.
18556         * math/atest-sincos.c: Likewise.
18557         * math/test-matherr.c: Likewise.
18558         * math/test-misc.c: Likewise.
18559         * math/test-powl.c: Likewise.
18560         * math/tst-definitions.c: Likewise.
18561         * misc/tst-dirname.c: Likewise.
18562         * misc/tst-efgcvt.c: Likewise.
18563         * misc/tst-fdset.c: Likewise.
18564         * misc/tst-hsearch.c: Likewise.
18565         * misc/tst-mntent2.c: Likewise.
18566         * nptl/tst-sem7.c: Likewise.
18567         * nptl/tst-sem8.c: Likewise.
18568         * nptl/tst-sem9.c: Likewise.
18569         * nss/test-netdb.c: Likewise.
18570         * posix/tst-fnmatch.c: Likewise.
18571         * posix/tst-getlogin.c: Likewise.
18572         * posix/tst-gnuglob.c: Likewise.
18573         * posix/tst-mmap.c: Likewise.
18574         * pwd/tst-getpw.c: Likewise.
18575         * resolv/tst-inet_ntop.c: Likewise.
18576         * rt/tst-timer.c: Likewise.
18577         * stdio-common/test-fseek.c: Likewise.
18578         * stdio-common/test-popen.c: Likewise.
18579         * stdio-common/test-vfprintf.c: Likewise.
18580         * stdio-common/tst-cookie.c: Likewise.
18581         * stdio-common/tst-fileno.c: Likewise.
18582         * stdio-common/tst-gets.c: Likewise.
18583         * stdio-common/tst-obprintf.c: Likewise.
18584         * stdio-common/tst-perror.c: Likewise.
18585         * stdio-common/tst-sprintf2.c: Likewise.
18586         * stdio-common/tst-sprintf3.c: Likewise.
18587         * stdio-common/tst-sprintf.c: Likewise.
18588         * stdio-common/tst-swprintf.c: Likewise.
18589         * stdio-common/tst-tmpnam.c: Likewise.
18590         * stdio-common/tst-unbputc.c: Likewise.
18591         * stdio-common/tst-wc-printf.c: Likewise.
18592         * stdlib/tst-environ.c: Likewise.
18593         * stdlib/tst-fmtmsg.c: Likewise.
18594         * stdlib/tst-limits.c: Likewise.
18595         * stdlib/tst-rand48-2.c: Likewise.
18596         * stdlib/tst-rand48.c: Likewise.
18597         * stdlib/tst-random2.c: Likewise.
18598         * stdlib/tst-random.c: Likewise.
18599         * stdlib/tst-strtol.c: Likewise.
18600         * stdlib/tst-strtoll.c: Likewise.
18601         * stdlib/tst-tls-atexit.c: Likewise.
18602         * stdlib/tst-xpg-basename.c: Likewise.
18603         * string/test-ffs.c: Likewise.
18604         * string/tst-bswap.c: Likewise.
18605         * string/tst-inlcall.c: Likewise.
18606         * string/tst-strtok.c: Likewise.
18607         * string/tst-strxfrm.c: Likewise.
18608         * sysdeps/x86_64/tst-audit10.c: Likewise.
18609         * sysdeps/x86_64/tst-audit3.c: Likewise.
18610         * sysdeps/x86_64/tst-audit4.c: Likewise.
18611         * sysdeps/x86_64/tst-audit5.c: Likewise.
18612         * time/tst-ftime_l.c: Likewise.
18613         * time/tst-getdate.c: Likewise.
18614         * time/tst-mktime3.c: Likewise.
18615         * time/tst-mktime.c: Likewise.
18616         * time/tst-posixtz.c: Likewise.
18617         * time/tst-strptime2.c: Likewise.
18618         * time/tst-strptime3.c: Likewise.
18619         * wcsmbs/tst-btowc.c: Likewise.
18620         * wcsmbs/tst-mbrtowc.c: Likewise.
18621         * wcsmbs/tst-mbsrtowcs.c: Likewise.
18622         * wcsmbs/tst-wchar-h.c: Likewise.
18623         * wcsmbs/tst-wcpncpy.c: Likewise.
18624         * wcsmbs/tst-wcrtomb.c: Likewise.
18625         * wcsmbs/tst-wcsnlen.c: Likewise.
18626         * wcsmbs/tst-wcstof.c: Likewise.
18628 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
18630         [BZ #14132]
18631         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
18632         INTDEF.
18633         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
18634         declaration.
18635         (_dl_mcount): Use rtld_hidden_proto.
18636         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
18637         _dl_mcount.
18638         * elf/rtld.c (_rtld_global_ro): Likewise.
18640         [BZ #14132]
18641         * elf/dl-init.c (_dl_init): Don't use INTDEF.
18642         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
18643         of _dl_init_internal.
18644         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
18645         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
18646         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
18647         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
18648         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
18649         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
18650         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
18651         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
18652         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
18653         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
18654         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
18655         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
18656         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18657         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18658         * sysdeps/tile/dl-start.S (_start): Likewise.
18659         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
18660         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
18662         [BZ #14132]
18663         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
18664         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
18665         (rtld_progname): Make macro definition unconditional.
18666         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
18667         INTDEF.
18668         (dlmopen_doit): Do not use INTUSE with _dl_argv.
18669         (dl_main): Likewise.
18670         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18671         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
18672         instead of _dl_argv_internal.
18673         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18674         __GI__dl_argv instead of INTUSE(_dl_argv).
18675         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
18676         __GI__dl_argv instead of _dl_argv_internal.
18678         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
18679         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
18680         macro.
18681         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
18682         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
18683         New macro.
18684         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
18685         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
18686         macro.
18687         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
18688         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
18690 2014-11-04  Andreas Schwab  <schwab@suse.de>
18692         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
18694 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18696         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
18697         mtvsrd instruction in binary form.
18699 2014-11-03  Andreas Schwab  <schwab@suse.de>
18701         [BZ #17522]
18702         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
18703         for less than MB_LEN_MAX use a local buffer of that size.
18704         * libio/tst-fputws.c: New file.
18705         * libio/Makefile (tests): Add tst-fputws.
18707 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
18709         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
18710         the size of the fpu_fr.fpu_dregs[] array.
18712 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
18714         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
18715         (__nanosleep): Do not define as alias.
18716         (nanosleep): Define as alias of __nanosleep.
18717         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
18718         __libc_nanosleep name.
18720 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
18722         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
18723         install.texi in comment.
18725 2014-10-31  Torvald Riegel  <triegel@redhat.com>
18727         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
18728         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
18729         ... add here and use lwsync or sync ...
18730         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
18731         ... and add here using lwsync.
18733 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
18735         * elf/dl-machine-reject-phdr.h: New file.
18736         * elf/dl-load.c: #include that.
18737         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
18738         if that returned true.
18740 2014-10-31  Roland McGrath  <roland@hack.frob.com>
18742         [BZ #17496]
18743         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
18744         gen-as-const-headers chunk.  Add a big scare comment after the last
18745         safe place to touch before-compile.
18747 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
18749         * manual/install.texi (Tools for Compilation): Update autoconf
18750         version requirements.
18751         * INSTALL: Regenerated.
18753         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
18754         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
18755         (__libc_pselect): Likewise.
18757         [BZ #14138]
18758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
18759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18763 2014-10-31  Torvald Riegel  <triegel@redhat.com>
18765         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
18766         correct barrier instruction.
18767         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
18768         Likewise.
18769         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
18770         Likewise.
18772 2014-10-30  Roland McGrath  <roland@hack.frob.com>
18774         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
18775         after defining inlines.  Instead, just use parens to defeat macro
18776         expansion of __isctype in its declaration.
18778 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
18780         * include/sys/uio.h (__libc_readv): Remove declaration.
18781         (__libc_writev): Likewise.
18782         * misc/readv.c (__libc_readv): Rename to __readv.
18783         (__readv): Do not define as alias.
18784         (readv): Define as alias of __readv.
18785         * misc/writev.c (__libc_writev): Rename to __writev.
18786         (__writev): Do not define as alias.
18787         (writev): Define as alias of __writev.
18788         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
18789         (__readv): Do not define as alias.
18790         (readv): Define unconditionally as alias of __readv.
18791         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
18792         (__writev): Do not define as alias.
18793         (writev): Define unconditionally as alias of __writev.
18794         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
18795         name.
18796         (writev): Do not define __libc_writev name.
18798 2014-10-30  Roland McGrath  <roland@hack.frob.com>
18800         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
18801         (convert_charseq): New function, broken out of ...
18802         (use_from_charmap): ... here.  Call it.
18803         (use_to_charmap): Use convert_charseq and free instead of duplicating
18804         its code with a variable-length stack struct.
18806 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
18808         * include/fcntl.h (__libc_creat): Remove declaration.
18809         * io/creat.c (__libc_creat): Rename to creat.
18810         (creat): Do not define as alias.
18811         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
18812         of creat instead of __libc_creat.
18813         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
18814         to creat.
18815         (creat): Do not define as alias.
18816         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
18817         __libc_creat.
18818         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
18819         __libc_creat name.
18820         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
18821         Likewise.
18823 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
18825         * manual/llio.texi: Add comments discussing why write() may be
18826         considered MT-unsafe on Linux.
18828 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
18830         * dl-load.c (local_strdup): Remove.
18831         (expand_dynamic_string_token): Use __strdup.
18832         (decompose_rpath): Likewise.
18833         (_dl_map_object): Likewise.
18835 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
18837         [BZ #14132]
18838         * sysdeps/generic/unwind-dw2-fde.c
18839         (__register_frame_info_bases_internal): Do not declare.
18840         (__register_frame_info_table_bases_internal): Likewise.
18841         (__deregister_frame_info_bases_internal): Likewise.
18842         (__register_frame_info_bases): Declare and use hidden_proto before
18843         definition.  Use hidden_def instead of INTDEF.
18844         (__register_frame_info_table_bases): Likewise.
18845         (__deregister_frame_info_bases): Likewise.
18846         (__register_frame_info): Do not use INTUSE.
18847         (__register_frame): Likewise.
18848         (__register_frame_info_table): Likewise.
18849         (__register_frame_table): Likewise.
18850         (__deregister_frame_info): Likewise.
18851         (__deregister_frame): Likewise.
18853 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
18855         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18856         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
18857         not undefine.
18858         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
18859         Likewise.
18860         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
18861         Likewise.
18863 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
18865         [BZ #14138]
18866         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
18867         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
18868         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
18869         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
18870         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
18871         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
18872         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
18873         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
18874         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
18875         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
18876         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
18877         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
18878         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
18879         syscall.
18880         (setfsuid): Likewise.
18881         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
18882         (setfsuid): Likewise.
18883         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
18884         (setfsuid): Likewise.
18885         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
18886         Likewise.
18887         (setfsuid): Likewise.
18888         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
18889         (setfsuid): Likewise.
18890         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
18891         Likewise.
18892         (setfsuid): Likewise.
18894 2014-10-27  Andreas Schwab  <schwab@suse.de>
18896         [BZ #17501]
18897         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
18898         check for Slow_SSE4_2 feature bit.
18899         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
18900         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18901         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
18902         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
18904 2014-10-24  Roland McGrath  <roland@hack.frob.com>
18906         * configure.ac: Validate compiler version with a empirical test of
18907         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
18908         $CC -v output.
18909         * configure: Regenerated.
18911         * inet/htons.c (htons): Prototypify.
18912         * inet/htonl.c (htonl): Likewise.
18914 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
18916         * string/strncat.c (strncat): Improve performance by using strlen.
18918 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
18920         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
18922 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
18924         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
18925         Call libc_fetestexcept_aarch64.
18927 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
18929         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
18930         Call libc_feholdexcept_aarch64.
18932 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
18934         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
18935         Call get_rounding_mode.
18937 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
18939         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
18940         Simplify logic.
18942 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
18944         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
18945         Simplify logic.
18947 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
18949         [BZ #14138]
18950         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
18951         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
18952         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
18953         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
18954         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
18955         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
18956         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
18957         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
18958         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
18959         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
18960         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18961         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
18962         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
18963         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
18964         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
18965         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
18966         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
18967         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
18968         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
18969         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
18970         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
18971         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
18972         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
18973         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
18974         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
18975         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
18976         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
18977         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
18978         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
18979         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
18980         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
18981         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
18982         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
18983         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
18984         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
18985         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
18986         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
18987         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
18988         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
18989         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
18990         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
18991         syscall.
18992         (geteuid): Likewise.
18993         (getgid): Likewise.
18994         (getuid): Likewise.
18995         (getresgid): Likewise.
18996         (getresuid): Likewise.
18997         (getgroups): Likewise.
18998         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
18999         (geteuid): Likewise.
19000         (getgid): Likewise.
19001         (getuid): Likewise.
19002         (getresgid): Likewise.
19003         (getresuid): Likewise.
19004         (getgroups): Likewise.
19005         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
19006         (geteuid): Likewise.
19007         (getgid): Likewise.
19008         (getuid): Likewise.
19009         (getresgid): Likewise.
19010         (getresuid): Likewise.
19011         (getgroups): Likewise.
19012         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
19013         Likewise.
19014         (geteuid): Likewise.
19015         (getgid): Likewise.
19016         (getuid): Likewise.
19017         (getresgid): Likewise.
19018         (getresuid): Likewise.
19019         (getgroups): Likewise.
19020         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
19021         (geteuid): Likewise.
19022         (getgid): Likewise.
19023         (getuid): Likewise.
19024         (getresgid): Likewise.
19025         (getresuid): Likewise.
19026         (getgroups): Likewise.
19027         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
19028         Likewise.
19029         (geteuid): Likewise.
19030         (getgid): Likewise.
19031         (getuid): Likewise.
19032         (getgroups): Likewise.
19034         [BZ #14138]
19035         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
19036         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
19037         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
19038         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19039         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
19040         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
19041         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
19042         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
19043         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
19044         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
19045         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
19046         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
19047         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
19048         __chown.
19049         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
19050         (lchown): Likewise.
19051         (fchown): Likewise.
19052         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
19053         Likewise.
19054         (lchown): Likewise.
19055         (fchown): Likewise.
19056         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
19057         (lchown): Likewise.
19058         (fchown): Likewise.
19059         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
19060         Likewise.
19061         (lchown): Likewise.
19062         (fchown): Likewise.
19064 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19066         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
19067         Simplify logic.
19069 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19071         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
19072         Cleanup logic.
19074 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19076         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
19077         Remove unused include.
19079 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19081         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
19082         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
19083         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
19084         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
19086 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
19087             Helge Deller <deller@gmx.de>
19089         [BZ #17508]
19090         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
19091         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
19092         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
19094 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
19096         [BZ #14132]
19097         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
19098         Remove macro definition.
19099         (__ashrdi3_v_glibc20): Likewise.
19100         (__lshrdi3_v_glibc20): Likewise.
19101         (__cmpdi2_v_glibc20): Likewise.
19102         (__ucmpdi2_v_glibc20): Likewise.
19103         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
19104         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19105         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19106         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19107         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19108         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
19110 2014-10-22  Roland McGrath  <roland@hack.frob.com>
19112         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
19113         old GNU extension [0] syntax.
19114         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
19115         alloca rather than an array member with variable length.
19116         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
19117         * nscd/nscd.c (invalidate_db): New function, broken out of ...
19118         (parse_opt): ... here.  Likewise use alloca there.
19119         Validate the -i argument before checking for rootness.
19120         (send_shutdown): New function, broken out of ...
19121         (parse_opt): ... here.
19123 2014-10-22  Roland McGrath  <roland@hack.frob.com>
19125         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
19126         macro to get at the _rt_local_ro field.
19127         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
19128         ([PIC] case) or _dl_hwcap ([!PIC] case).
19129         * sysdeps/arm/setjmp.S: Likewise.
19131         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
19132         * sysdeps/arm/configure.ac: New check to define it.
19133         * sysdeps/arm/configure: Regenerated.
19134         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
19135         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
19136         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
19137         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
19138         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
19139         Use move/movt pair instead of a load.
19140         (LDST_GLOBAL): Macro removed.
19141         (LDR_GLOBAL): New macro replaces it.
19142         (LDR_HIDDEN): New macro.
19143         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
19144         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
19146         * setjmp/tst-setjmp-static.c: New file.
19147         * setjmp/Makefile (tests): Add it.
19148         (tests-static): New variable.
19150 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
19152         [BZ #17485]
19153         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
19155 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
19157         [BZ #14132]
19158         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
19160 2014-10-21  Roland McGrath  <roland@hack.frob.com>
19162         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
19164 2014-10-20  Roland McGrath  <roland@hack.frob.com>
19166         * io/fts.c (dirent_not_directory): New function.
19167         (fts_build): Call it.
19169 2014-10-20  Roland McGrath  <roland@hack.frob.com>
19171         * nptl/version.c (__nptl_main): Use normal __write rather than
19172         INTERNAL_SYSCALL.
19173         (banner): Update copyright years.
19175         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
19176         gettimeofday.
19177         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
19178         * nptl/pthread_cond_timedwait.c: Likewise.
19179         * nptl/pthread_mutex_timedlock.c: Likewise.
19180         * nptl/sem_timedwait.c: Likewise.
19182         * sysdeps/nptl/bits/libc-lock.h
19183         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
19184         (__libc_lock_init_recursive): Return void, not 0.
19185         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
19186         (__libc_rwlock_init): Likewise.
19187         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
19189 2014-10-20  Torvald Riegel  <triegel@redhat.com>
19191         [BZ #15215]
19192         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
19193         (__pthread_once_slow): ... here.
19194         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
19195         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
19197 2014-10-20  Torvald Riegel  <triegel@redhat.com>
19199         [BZ #15215]
19200         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
19201         __PTHREAD_ONCE_FORK_GEN_INCR): New.
19202         * sysdeps/nptl/fork.c (__libc_fork): Use them.
19203         * nptl/pthread_once.c (__pthread_once): Likewise.
19204         Update comments.
19206 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
19208         [BZ #14138]
19209         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
19210         name.
19211         (writev): Use __libc_writev as strong name.
19212         * sysdeps/unix/sysv/linux/readv.c: Remove file.
19213         * sysdeps/unix/sysv/linux/writev.c: Likewise.
19215 2014-10-17  Roland McGrath  <roland@hack.frob.com>
19217         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
19219         * sysdeps/i386/nptl/tls.h
19220         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
19221         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
19222         New macros.
19223         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
19224         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
19225         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
19226         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
19227         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
19228         Call CHECK_THREAD_SYSINFO instead of doing an assert.
19230         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
19231         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
19232         on [__NR_futex].
19233         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
19234         broken out of ...
19235         (__pthread_mutex_init): ... here.  Call it.
19236         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
19237         Conditionalize PI cases on [__NR_futex].
19238         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
19239         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
19240         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19242         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
19243         conditional on [SIGSETXID].
19244         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
19245         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
19246         is defined.  Likewise for SIGSETXID.
19247         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
19248         Conditionalize definitions on [SIGSETXID].
19249         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
19250         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
19251         unblocking on [SIGCANCEL].
19253         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
19254         [__NR_set_robust_list].
19256 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19258         * string/strcoll_l.c (get_next_seq): Fix up formatting.
19259         (do_compare): Likewise.
19261 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
19263         [BZ #15884]
19264         * string/strcoll_l.c: Don't include stdio.h.
19265         (coll_seq): Remove members idxarr and rulearr.
19266         (get_next_seq_cached): Remove function.
19267         (get_next_seq): Likewise.
19268         (get_next_seq_nocache): Rename to get_next_seq.
19269         (do_compare): Remove function.
19270         (do_compare_nocache): Rename to do_compare.
19271         (STRCOLL): Remove weight and rules cache.
19273 2014-10-16  Roland McGrath  <roland@hack.frob.com>
19275         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
19276         * sysdeps/arm/sfp-machine.h: ... to here.
19277         * sysdeps/arm/Implies: Remove arm/soft-fp.
19279 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
19281         * conform/data/sys/utsname.h-data (*_t): Allow.
19282         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
19283         [POSIX] (WEXITED): Do not expect constant.
19284         [POSIX] (WSTOPPED): Likewise.
19285         [POSIX] (WNOHANG): Likewise.
19286         [POSIX] (WNOWAIT): Likewise.
19287         [POSIX] (siginfo_t): Do not expect type or elements.
19288         [POSIX] (pid_t): Do not expect type.
19289         [POSIX] (signal.h): Do not allow header.
19290         [POSIX] (sys/resource.h): Likewise.
19291         [POSIX] (si_*): Do not allow pattern.
19292         [POSIX] (W*): Likewise.
19293         [POSIX] (P_*): Likewise.
19294         [POSIX] (BUS_*): Likewise.
19295         [POSIX] (CLD_*): Likewise.
19296         [POSIX] (FPE_*): Likewise.
19297         [POSIX] (ILL_*): Likewise.
19298         [POSIX] (POLL_*): Likewise.
19299         [POSIX] (SEGV_*): Likewise.
19300         [POSIX] (SI_*): Likewise.
19301         [POSIX] (TRAP_*): Likewise.
19302         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
19303         variable.
19305 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
19307         [BZ #12926]
19308         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
19309         infinite loop when __recvmsg returns 0.
19311 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
19313         * CANCEL-FCT-WAIVE: Remove file.
19314         * CANCEL-FILE-WAIVE: Likewise.
19316         [BZ #14132]
19317         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
19318         instead of INTVARDEF.
19319         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
19320         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
19321         rtld_hidden_data_def instead of INTVARDEF.
19322         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
19323         * elf/dl-deps.c (expand_dst): Likewise.
19324         * elf/dl-load.c (_dl_dst_count): Likewise.
19325         (_dl_dst_substitute): Likewise.
19326         (decompose_rpath): Likewise.
19327         (_dl_init_paths): Likewise.
19328         (open_path): Likewise.
19329         (_dl_map_object): Likewise.
19330         * elf/rtld.c (dl_main): Likewise.
19331         (process_dl_audit): Likewise.
19332         (process_envvars): Likewise.
19333         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
19334         Remove declaration.
19335         (__libc_enable_secure): Use rtld_hidden_proto.
19337 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19339         * elf/dl-load.c
19340         (add_path): New function broken out of _dl_rtld_di_serinfo.
19341         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
19343 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
19345         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
19346         parentheses around macro arguments.
19347         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
19348         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
19349         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
19350         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
19351         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
19352         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
19353         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
19354         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
19355         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
19356         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
19357         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
19358         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
19359         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
19360         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
19361         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
19362         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
19363         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
19364         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
19365         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
19366         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
19367         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
19368         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
19369         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
19370         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
19371         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
19372         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
19373         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
19374         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
19375         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
19376         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
19377         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
19378         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
19379         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
19380         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
19381         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
19382         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
19383         Likewise.
19384         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
19385         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
19386         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
19387         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
19388         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
19389         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
19390         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
19391         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
19392         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
19393         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
19394         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
19395         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
19396         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
19397         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
19398         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
19399         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
19400         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
19401         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
19402         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
19403         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
19404         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
19405         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
19406         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
19407         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
19408         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
19409         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
19410         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
19411         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
19412         (_FP_FRAC_SRS_1): Likewise.
19413         (_FP_FRAC_CLZ_1): Likewise.
19414         (_FP_MUL_MEAT_1_imm): Likewise.
19415         (_FP_MUL_MEAT_1_wide): Likewise.
19416         (_FP_MUL_MEAT_1_hard): Likewise.
19417         (_FP_SQRT_MEAT_1): Likewise.
19418         (_FP_FRAC_ASSEMBLE_1): Likewise.
19419         (_FP_FRAC_DISASSEMBLE_1): Likewise.
19420         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
19421         (__FP_CLZ_2): Likewise.
19422         (_FP_MUL_MEAT_2_wide): Likewise.
19423         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
19424         (_FP_MUL_MEAT_2_gmp): Likewise.
19425         (_FP_MUL_MEAT_2_120_240_double): Likewise.
19426         (_FP_SQRT_MEAT_2): Likewise.
19427         (_FP_FRAC_ASSEMBLE_2): Likewise.
19428         (_FP_FRAC_DISASSEMBLE_2): Likewise.
19429         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
19430         (_FP_FRAC_CLZ_4): Likewise.
19431         (_FP_MUL_MEAT_4_wide): Likewise.
19432         (_FP_MUL_MEAT_4_gmp): Likewise.
19433         (_FP_SQRT_MEAT_4): Likewise.
19434         (_FP_FRAC_ASSEMBLE_4): Likewise.
19435         (_FP_FRAC_DISASSEMBLE_4): Likewise.
19436         * soft-fp/op-common.h (_FP_CMP): Likewise.
19437         (_FP_CMP_EQ): Likewise.
19438         (_FP_CMP_UNORD): Likewise.
19439         (_FP_TO_INT): Likewise.
19440         (_FP_FROM_INT): Likewise.
19441         [!__FP_CLZ] (__FP_CLZ): Likewise.
19442         (_FP_DIV_HELP_imm): Likewise.
19443         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
19444         Likewise.
19445         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
19446         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
19447         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
19448         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
19449         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
19450         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
19451         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
19452         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
19453         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
19454         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
19455         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
19456         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
19457         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
19458         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
19459         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
19460         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
19461         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
19462         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
19463         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
19464         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
19465         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
19466         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
19467         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
19468         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
19469         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
19470         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
19471         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
19472         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
19473         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
19474         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
19475         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
19476         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
19477         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
19478         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
19479         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
19480         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
19481         (FP_UNPACK_RAW_SP): Likewise.
19482         (FP_PACK_RAW_S): Likewise.
19483         (FP_PACK_RAW_SP): Likewise.
19484         (FP_UNPACK_S): Likewise.
19485         (FP_UNPACK_SP): Likewise.
19486         (FP_UNPACK_SEMIRAW_S): Likewise.
19487         (FP_UNPACK_SEMIRAW_SP): Likewise.
19488         (FP_PACK_S): Likewise.
19489         (FP_PACK_SP): Likewise.
19490         (FP_PACK_SEMIRAW_S): Likewise.
19491         (FP_PACK_SEMIRAW_SP): Likewise.
19492         (_FP_SQRT_MEAT_S): Likewise.
19493         (FP_CMP_S): Likewise.
19494         (FP_CMP_EQ_S): Likewise.
19495         (FP_CMP_UNORD_S): Likewise.
19496         (FP_TO_INT_S): Likewise.
19497         (FP_FROM_INT_S): Likewise.
19499         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
19501         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
19502         (FP_EX_INVALID_IMZ): Likewise.
19503         (FP_EX_INVALID_IMZ_FMA): Likewise.
19504         (FP_EX_INVALID_ISI): Likewise.
19505         (FP_EX_INVALID_ZDZ): Likewise.
19506         (FP_EX_INVALID_IDI): Likewise.
19507         (FP_EX_INVALID_SQRT): Likewise.
19508         (FP_EX_INVALID_CVI): Likewise.
19509         (FP_EX_INVALID_VC): Likewise.
19510         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
19511         "invalid" exceptions.
19512         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
19513         (_FP_ADD_INTERNAL): Likewise.
19514         (_FP_MUL): Likewise.
19515         (_FP_FMA): Likewise.
19516         (_FP_DIV): Likewise.
19517         (_FP_CMP_CHECK_NAN): Likewise.
19518         (_FP_SQRT): Likewise.
19519         (_FP_TO_INT): Likewise.
19520         (FP_EXTEND): Likewise.
19522 2014-10-09  Allan McRae  <allan@archlinux.org>
19524         * po/fr.po: Update French translation from translation project.
19526 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
19528         [BZ #14132]
19529         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
19530         of INTDEF.
19531         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
19532         (__cxa_atexit): Use libc_hidden_proto.
19533         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
19535         [BZ #14132]
19536         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
19537         declaration.
19538         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
19539         [!_ISOMAC] (__iswspace_l_internal): Likewise.
19540         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
19541         [!_ISOMAC] (__iswctype_internal): Likewise.
19542         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
19543         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
19544         alias.
19545         (fcntl): Remove __fcntl_internal alias.
19546         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
19547         __connect_internal alias.
19548         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
19549         Likewise.
19551         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
19552         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
19553         FP_DENORM_ZERO.
19554         (_FP_CHECK_FLUSH_ZERO): New macro.
19555         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
19556         (_FP_CMP): Likewise.
19557         (_FP_CMP_EQ): Likewise.
19558         (_FP_TO_INT): Do not set inexact for subnormal arguments if
19559         FP_DENORM_ZERO.
19560         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
19561         (FP_TRUNC): Likewise.
19563         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
19564         treated as invalid conversion, not as normal exponent.
19566         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
19567         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
19568         (_FP_CMP_EQ): Likewise.
19569         (_FP_CMP_UNORD): Likewise.
19570         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
19571         (FP_CMP_EQ_D): Likewise.
19572         (FP_CMP_UNORD_D): Likewise.
19573         * soft-fp/extended.h (FP_CMP_E): Likewise.
19574         (FP_CMP_EQ_E): Likewise.
19575         (FP_CMP_UNORD_E): Likewise.
19576         * soft-fp/quad.h (FP_CMP_Q): Likewise.
19577         (FP_CMP_EQ_Q): Likewise.
19578         (FP_CMP_UNORD_Q): Likewise.
19579         * soft-fp/single.h (FP_CMP_S): Likewise.
19580         (FP_CMP_EQ_S): Likewise.
19581         (FP_CMP_UNORD_S): Likewise.
19582         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
19583         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
19584         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
19585         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
19586         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
19587         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
19588         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
19589         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
19590         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
19591         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
19592         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
19593         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
19594         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
19595         to FP_CMP_Q.
19596         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
19597         FP_CMP_Q.
19598         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
19599         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
19600         FP_CMP_EQ_Q.
19601         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
19602         FP_CMP_Q.
19603         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
19604         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
19605         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
19606         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
19607         FP_CMP_EQ_Q.
19608         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
19609         FP_CMP_Q.
19610         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
19611         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
19612         FP_CMP_EQ_Q.
19613         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
19614         FP_CMP_Q.
19615         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
19616         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
19617         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
19618         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
19619         FP_CMP_EQ_Q.
19621         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
19622         a subnormal result, set the underflow exception if trapping on
19623         underflow is enabled.
19624         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
19625         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
19626         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
19627         redefine to 0.
19628         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
19629         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
19630         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
19631         * soft-fp/extendxftf2.c (__extendxftf2): Use
19632         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
19634         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
19635         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
19636         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19637         FP_HANDLE_EXCEPTIONS.
19638         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
19639         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19640         FP_HANDLE_EXCEPTIONS.
19641         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
19642         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19643         FP_HANDLE_EXCEPTIONS.
19644         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
19645         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19646         FP_HANDLE_EXCEPTIONS.
19648 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
19650         [BZ #14132]
19651         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
19652         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
19653         use INTUSE.
19654         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
19655         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
19656         Remove alias.
19657         (__adjtimex): Define using libc_hidden_ver.
19658         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
19659         Remove declaration.
19660         (ntp_gettime): Call __adjtimex directly.
19661         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
19662         Remove declaration.
19663         (ntp_gettimex): Call __adjtimex directly.
19664         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
19665         __adjtimex_internal alias.
19667 2014-10-08  Roland McGrath  <roland@hack.frob.com>
19669         [BZ #17460]
19670         * nscd/nscd.c (more_help): Rewrite list of tables collection
19671         using xstrdup and asprintf.
19673         * nscd/nscd_conf.c: Remove local xstrdup declaration.
19675 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19676             Roland McGrath  <roland@hack.frob.com>
19678         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
19679         (do_lookup_unique): ... local function 'enter' here; update callers.
19681 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
19683         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
19684         compat_symbol calls on [SHARED].
19685         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
19686         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
19687         Remove.
19688         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19689         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
19690         (oldsetrlimit): Remove.
19691         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
19693         (lchown): New syscall entry.
19694         (oldsetrlimit): Remove.
19695         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19696         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
19697         (oldsetrlimit): Remove.
19698         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19700         [BZ #14138]
19701         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
19702         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
19703         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
19704         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
19705         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
19706         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
19707         (fchown): Likewise.
19708         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
19709         (fchown): Likewise.
19710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
19711         Likewise.
19713 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19715         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
19716         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
19717         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
19718         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
19719         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
19720         Likewise.
19721         (__old_sem_post): Likewise.
19723 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
19725         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
19726         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
19727         HAVE_CLOCK_GETTIME_VSYSCALL macros.
19728         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
19729         Use INLINE_VSYSCALL macro.
19730         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
19731         __vdso_clock_gettime.
19732         * sysdeps/unix/sysv/linux/tile/init-first.c
19733         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
19734         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
19735         __vdso_clock_gettime.
19737         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
19738         to set up frame more cleanly.
19740         * sysdeps/tile/memcmp.c: New file.
19742         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
19744         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
19745         * sysdeps/tile/tilegx/strcasestr.c: New file.
19746         * sysdeps/tile/tilegx/strnlen.c: New file.
19747         * sysdeps/tile/tilegx/strstr.c: New file.
19749         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
19751 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
19753         * nptl/tst-setuid3.c: Write errors to stdout.
19755 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19757         * elf/dl-deps.c
19758         (preload): New functions broken out of _dl_map_object_deps.
19759         (_dl_map_object_deps):  Remove a nested function. Update call sites.
19761 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
19763         [BZ #14138]
19764         * sysdeps/unix/sysv/linux/execve.c: Remove file.
19765         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
19767 2014-10-01  Steve Ellcey  <sellcey@mips.com>
19769         * sysdeps/mips/strcmp.S: New.
19771 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
19773         [BZ #14138]
19774         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
19775         (linkat): Likewise.
19776         (mkdirat): Likewise.
19777         (readlinkat): Likewise.
19778         (renameat): Likewise.
19779         (symlinkat): Likewise.
19780         (unlinkat): Likewise.
19781         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
19782         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
19783         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
19784         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
19785         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
19786         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
19787         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
19789 2014-09-30  Will Newton  <will.newton@linaro.org>
19791         * math/math.h: Define long double math functions if
19792         _LIBC_TEST is defined.
19793         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
19795         * localedata/Makefile: Move assignment to tests-special
19796         into an ifdef testing run-built-tests.
19797         * timezone/Makefile: Likewise.
19799 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
19801         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
19802         with $(BASH) not $(SHELL).
19804 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
19805             Matthew LeGendre  <legendre1@llnl.gov>
19807         [BZ #17411]
19808         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
19809         l_reloc_result.
19811 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19813         * stdio-common/printf_fp.c
19814         (hack_digit): New function, broken out of ...
19815         (__printf_fp): ... local function here.  Update call sites.
19816         hack_digit now takes an additional parameter that is a pointer
19817         to a struct of the referenced locals.  Those locals moved inside
19818         the struct and references updated.
19820 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
19822         * aclocal.m4: Require autoconf 2.69.
19823         * configure: Regenerated.
19824         * sysdeps/aarch64/configure: Likewise.
19825         * sysdeps/alpha/configure: Likewise.
19826         * sysdeps/arm/armv7/configure: Likewise.
19827         * sysdeps/arm/configure: Likewise.
19828         * sysdeps/ia64/configure: Likewise.
19829         * sysdeps/mach/configure: Likewise.
19830         * sysdeps/mips/configure: Likewise.
19831         * sysdeps/s390/configure: Likewise.
19832         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
19833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
19835         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
19836         file.
19837         * sysdeps/ia64/configure.ac: Likewise.
19839 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
19841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
19842         specify symbol version for ld.so.  Do not include entry for
19843         libpthread.
19844         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
19845         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
19846         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
19848         [BZ #14171]
19849         * Makeconfig [$(build-shared) = yes]
19850         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
19851         makefiles.
19852         [$(build-shared) = yes && $(soversions.mk-done) = t]
19853         ($(common-objpfx)gnu/lib-names.h): Remove rule.
19854         [$(build-shared) = yes && $(soversions.mk-done) = t]
19855         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
19856         to Makerules.
19857         [$(build-shared) = yes && $(soversions.mk-done) = t]
19858         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
19859         here.
19860         [$(build-shared) = yes && $(soversions.mk-done) = t]
19861         (common-generated): Don't append gnu/lib-names.h and
19862         gnu/lib-names.stmp here.
19863         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
19864         (lib-names-h-abi): New variable.
19865         [$(build-shared) = yes && $(soversions.mk-done) = t]
19866         (lib-names-stmp-abi): Likewise.
19867         [$(build-shared) = yes && $(soversions.mk-done) = t &&
19868         abi-variants] (before-compile): Append
19869         $(common-objpfx)$(lib-names-h-abi).
19870         [$(build-shared) = yes && $(soversions.mk-done) = t &&
19871         abi-variants] (common-generated): Append gnu/lib-names.h.
19872         [$(build-shared) = yes && $(soversions.mk-done) = t &&
19873         abi-variants] (install-others-nosubdir): Depend on
19874         $(inst_includedir)/$(lib-names-h-abi).
19875         [$(build-shared) = yes && $(soversions.mk-done) = t &&
19876         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
19877         [$(build-shared) = yes && $(soversions.mk-done) = t]
19878         ($(common-objpfx)$(lib-names-h-abi)): New rule.
19879         [$(build-shared) = yes && $(soversions.mk-done) = t]
19880         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
19881         [$(build-shared) = yes && $(soversions.mk-done) = t]
19882         (common-generated): Append $(lib-names-h-abi) and
19883         $(lib-names-stmp-abi).
19884         * scripts/lib-names.awk: Do not handle multi being set.
19885         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
19886         Remove variable.
19887         (abi-lp64_be-ld-soname): Likewise.
19888         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
19889         Likewise.
19890         (abi-hard-ld-soname): Likewise.
19891         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
19892         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
19893         Remove variable.
19894         (abi-o32_hard-ld-soname): Likewise.
19895         (abi-o32_soft_2008-ld-soname): Likewise.
19896         (abi-o32_hard_2008-ld-soname): Likewise.
19897         (abi-n32_soft-ld-soname): Likewise.
19898         (abi-n32_hard-ld-soname): Likewise.
19899         (abi-n32_soft_2008-ld-soname): Likewise.
19900         (abi-n32_hard_2008-ld-soname): Likewise.
19901         (abi-n64_soft-ld-soname): Likewise.
19902         (abi-n64_hard-ld-soname): Likewise.
19903         (abi-n64_soft_2008-ld-soname): Likewise.
19904         (abi-n64_hard_2008-ld-soname): Likewise.
19905         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
19906         Likewise.
19907         (abi-64-v2-ld-soname): Likewise.
19908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
19909         ld.so entries.
19910         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
19911         variable.
19912         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
19913         entry.
19914         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
19915         variable.
19916         (abi-64-ld-soname): Likewise.
19917         (abi-x32-ld-soname): Likewise.
19918         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
19919         entry.
19920         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
19922 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
19924         [BZ #14138]
19925         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
19926         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
19927         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
19928         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
19929         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
19930         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
19931         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
19932         syscall entry for GLIBC_2.2 symbol version.
19933         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
19934         Likewise.
19935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
19936         (setrlimit): Likewise.
19937         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
19938         Likewise.
19940 2014-09-23  Will Newton  <will.newton@linaro.org>
19942         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
19943         _LINUX_ARM_SYSDEP_H include guard too.
19944         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
19945         define.
19947 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
19949         * sysdeps/unix/sysv/linux/eventfd.c:
19950         Make first argument unsigned.
19951         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
19952         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
19954 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
19956         * socket/recvmmsg.c (recvmmsg): Drop const argument.
19957         * socket/sys/socket.h: Likewise
19958         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
19960 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19962         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
19964 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
19966         * time/tst-ftime.c: New test.
19967         * time/Makefile (tests): Add tst-ftime.
19969 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
19971         * soft-fp/extended.h: Fix comment formatting.
19972         * soft-fp/op-1.h: Likewise.
19973         * soft-fp/op-2.h: Likewise.
19974         * soft-fp/op-4.h: Likewise.
19975         * soft-fp/op-8.h: Likewise.
19976         * soft-fp/op-common.h: Likewise.
19977         * soft-fp/soft-fp.h: Likewise.
19979         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
19981 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
19983         [BZ #6652]
19984         * Makeconfig (soversions-default-setname): Remove variable.
19985         ($(common-objpfx)soversions.i): Don't pass default_setname to
19986         soversions.awk.
19987         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
19988         oldest_abi to abi-versions.awk.
19989         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
19990         * config.make.in (oldest-abi): Remove variable.
19991         * configure.ac (--enable-oldest-abi): Remove configure option.
19992         * configure: Regenerated.
19993         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
19994         text.
19995         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
19996         * scripts/soversions.awk: Do not handle default_setname variable.
19997         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
19998         variable.
19999         * sysdeps/mach/hurd/configure: Regenerated.
20000         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
20001         variable.
20002         * sysdeps/unix/sysv/linux/configure: Regenerated.
20004 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20006         * elf/Makefile (CFLAGS-interp.c): Remove.
20007         ($(elf-objpfx)runtime-linker.h): Generate header with linker
20008         path string.
20009         * elf/interp.c: Include generated runtime-linker.h
20011         * Makerules (lib%.so): Don't include $(+interp) in
20012         prerequisites.
20013         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
20014         * dlfcn/eval.c: Remove file.
20016         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
20017         macros.
20019         [BZ #17266]
20020         * misc/sys/cdefs.h: Define __extern_always_inline for clang
20021         4.2 and newer.
20023         [BZ #17370]
20024         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
20026 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20027             Jakub Jelinek  <jakub@redhat.com>
20029         [BZ #17266]
20030         * libio/stdio.h: Check definition of __fortify_function
20031         instead of __extern_always_inline to include bits/stdio2.h.
20032         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
20033         check if __extern_always_inline is defined.
20034         [__USE_MISC || __USE_XOPEN]: Likewise.
20035         [__USE_ISOC99] Likewise.
20036         * misc/sys/cdefs.h (__fortify_function): Define only if
20037         __extern_always_inline is defined.
20038         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
20039         __extern_always_inline and __extern_inline only for g++-4.3
20040         and newer or a compatible gcc.
20042 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
20044         [BZ #17371]
20045         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
20046         last change to handle zero prefix length.
20048 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20050         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
20051         _SC_REGEX_VERSION.
20053         * posix/getconf.c (vars): Add _POSIX_IPV6 and
20054         _POSIX_RAW_SOCKETS.
20056 2014-09-13  Allan McRae  <allan@archlinux.org>
20058         * po/ru.po: Update Russian translation from translation project.
20060 2014-09-12  Roland McGrath  <roland@hack.frob.com>
20062         * locale/programs/locale.c (show_locale_vars): Inline local function
20063         into its sole call site.  Clean up some style nits.
20064         (print_item): New function, broken out of ...
20065         (show_info): ... local function here.  Clean up style nits.
20067         * locale/programs/ld-ctype.c (set_one_default): New function, broken
20068         out of ...
20069         (set_class_defaults): ... local function set_default here.
20070         Define set_default as a macro locally to pass constant parameters.
20071         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
20072         rather than a shared local.
20074         * stdlib/rpmatch.c (try): New function, broken out of ...
20075         (rpmatch): ... local function here.  Also, prototypify definition.
20077 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
20079         * scripts/soversions.awk: Do not handle configuration names.
20080         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
20081         vendor and os variables to soversions.awk.
20082         * configure.ac: Do not modify gnu-* host_os.
20083         * configure: Regenerated
20084         * shlib-versions: Remove first column with configuration names.
20085         * nptl/shlib-versions: Likewise.
20086         * nptl_db/shlib-versions: Likewise.
20087         * sysdeps/hppa/shlib-versions: Likewise.
20088         * sysdeps/m68k/shlib-versions: Likewise.
20089         * sysdeps/mach/hurd/shlib-versions: Likewise.
20090         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
20091         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
20092         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
20093         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
20094         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
20095         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
20096         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
20097         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
20098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
20099         Likewise.
20100         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
20101         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
20102         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
20103         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
20104         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
20105         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
20106         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
20107         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
20110         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
20111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
20112         Regenerated.
20113         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
20114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
20115         Condition symbol version definitions on [HAVE_ELFV2_ABI].
20117         * shlib-versions: Remove OS-specific entries.  Moved to files in
20118         sysdeps.
20119         * sysdeps/mach/hurd/shlib-versions: New file.
20120         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
20122         * nptl/shlib-versions: Remove architecture-specific entries.
20123         Moved to files in sysdeps.
20124         * shlib-versions: Likewise.
20125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
20126         file.
20127         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
20128         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
20129         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
20130         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
20132         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
20133         (UDP_NO_CHECK6_RX): Likewise.
20135 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20137         * sysdeps/posix/sysconf.c (__sysconf): Spell
20138         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
20140 2014-08-12  Florian Weimer  <fweimer@redhat.com>
20142         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
20143         loading.
20144         * iconv/Versions (__gconv_transliterate): Export for use from
20145         gconv modules.
20146         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
20147         (struct __gconv_trans_data, __gconv_trans_fct,
20148         __gconv_trans_context_fct, __gconv_trans_query_fct,
20149         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
20150         definitions.
20151         (struct __gconv_step_data): Remove __trans member.
20152         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
20153         longer hidden.  Remove unused trans_data argument.
20154         * iconv/gconv_int.h (struct trans_struct): Remove definition.
20155         (__gconv_translit_find): Remove declaration.
20156         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
20157         prototype.
20158         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
20159         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
20160         trans_data argument.  Add hidden definition.
20161         (__gconv_translit_find): Remove.
20162         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
20163         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
20164         * iconv/skeleton.c: Remove transliteration initialization.
20165         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
20166         __gconv_step_data initialization.
20167         * libio/iofwide.c (__libio_translit_): Remove.
20168         (_IO_fwide): Adjust struct __gconv_step_data initialization.
20169         * wcsmbs/btowc.c (__btowc): Likewise.
20170         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
20171         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
20172         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
20173         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
20174         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
20175         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
20176         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
20177         * wcsmbs/wctob.c (wctob): Likewise.
20179 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20181         [BZ #16194]
20182         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
20183         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
20184         register usage.
20185         * sysdeps/x86/Makefile: Adjust.
20187 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20188             Roland McGrath  <roland@hack.frob.com>
20190         * locale/weight.h: Add include guard.
20191         (findidx): Make static rather than auto; take new parameters
20192         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
20193         * locale/weightwc.h: Likewise.
20194         * posix/fnmatch_loop.c
20195         (FCT): Change type of EXTRA from int32_t to wint_t.
20196         Don't include either header inside the function.
20197         Call FINDIDX rather than findidx, and pass new arguments.
20198         #undef FINDIDX at the end of the file.
20199         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
20200         FINDIDX before including fnmatch_loop.c for the non-wide version.
20201         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
20202         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
20203         for the wide version.
20204         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
20205         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
20206         Pass new arguments to findidx.
20207         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
20208         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
20209         Don't #include it inside the function.  Pass new arguments to findidx.
20210         * posix/regex_internal.h
20211         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
20212         (re_string_elem_size_at): Don't #include it inside the function.
20213         Pass new arguments to findidx.
20214         * string/strcoll_l.c: #include WEIGHT_H at top level.
20215         (get_next_seq): Don't #include it inside the function.
20216         Pass new arguments to findidx.
20217         (get_next_seq_nocache): Likewise.
20218         * string/strxfrm_l.c: #include WEIGHT_H at top level.
20219         (STRXFRM): Don't #include it inside the function.
20220         Pass new arguments to findidx.
20222 2014-09-11  Florian Weimer  <fweimer@redhat.com>
20224         [BZ #17344]
20225         * malloc/malloc.c (unlink): Turn asserts into a call to
20226         malloc_printerr.
20228 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
20230         [BZ #17370]
20231         * libio/wfileops (do_ftell_wide): Free OUT.
20233 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
20235         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
20237 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20239         [BZ #17363]
20240         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
20241         group if the current group is empty.
20243 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20245         * benchtests/bench-memset.c (test_main): Add more test from size
20246         from 32 to 512 bytes.
20247         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20248         Add POWER8 memset object.
20249         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20250         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
20251         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
20252         implementation.
20253         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
20254         Likewise.
20255         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
20256         multiarch POWER8 memset optimization.
20257         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
20258         POWER8 memset optimization.
20260         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20261         Remove bzero multiarch objects.
20262         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
20263         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
20264         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
20265         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
20266         Remove define.
20267         [__bzero]: Redefine to specific name.
20268         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
20269         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
20270         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
20271         define.
20272         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20273         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20275 2014-09-10  Florian Weimer  <fweimer@redhat.com>
20277         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
20278         warnings into errors.
20280         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
20281         __cxa_thread_atexit_impl prototype.
20283 2014-09-09  Steve Ellcey  <sellcey@mips.com>
20285         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
20286         Fix capitalization of error message.
20288 2014-09-09  Steve Ellcey  <sellcey@mips.com>
20290         * sysdeps/mips/preconfigure: Modify ABI tests.
20292 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
20294         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
20296 2014-09-07  Roland McGrath  <roland@hack.frob.com>
20297             Carlos O'Donell  <carlos@systemhalted.org>
20299         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
20300         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
20301         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
20302         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
20303         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
20304         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
20305         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
20306         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
20307         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
20308         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
20309         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
20310         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
20311         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
20312         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
20313         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
20314         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
20315         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
20316         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
20317         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
20318         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
20319         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
20320         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
20321         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
20322         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
20323         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
20324         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
20325         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
20326         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
20327         Deconditionalize the code that was previously under [RESET_PID].
20328         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
20329         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
20330         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
20331         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
20332         include sysdep.h.
20334 2014-09-08  Allan McRae  <allan@archlinux.org>
20336         * version.h (RELEASE): Set to "development".
20337         (VERSION): Set to "2.20.90"
20339 2014-09-07  Allan McRae  <allan@archlinux.org
20341         * version.h (RELEASE): Set to "stable".
20342         (VERSION): Set to "2.20"
20343         * include/features.h (__GLIBC_MINOR__): Set to 20.
20345         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
20346         Liebler.
20348         * po/ko.po: Update Korean translation from translation project.
20350 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
20352         [BZ #17354]
20353         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
20354         macro for handling signed relocations.
20356 2014-09-03  Florian Weimer  <fweimer@redhat.com>
20358         [BZ #17325]
20359         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
20360         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
20361         assert.
20362         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
20363         * iconvdata/ibm935.c (BODY): Likewise.
20364         * iconvdata/ibm937.c (BODY): Likewise.
20365         * iconvdata/ibm939.c (BODY): Likewise.
20366         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
20367         assert.
20368         * iconvdata/Makefile (iconv-test.out): Pass module list to test
20369         script.
20370         * iconvdata/run-iconv-test.sh: New test loop for checking for
20371         decoder crashers.
20373 2014-09-02  Khem Raj  <raj.khem@gmail.com>
20375         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
20376         libm_hidden_ver.
20378 2014-09-01  Allan McRae  <allan@archlinux.org>
20380         * po/eo.po: Update Esperanto translation from translation project.
20382         * po/ca.po: Update Catalan translation from translation project.
20384 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20386         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
20387         __proc_dostop call.
20389 2014-08-27  Mark Wielaard  <mjw@redhat.com>
20391         [BZ #17319]
20392         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
20393         to call set_thread_area instead of hand written asm.
20394         (__NR_set_thread_area): Removed define.
20395         (TLS_FLAG_WRITABLE): Likewise.
20396         (__ASSUME_SET_THREAD_AREA): Remove check.
20397         (TLS_EBX_ARG): Remove define.
20398         (TLS_LOAD_EBX): Likewise.
20400 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20402         Simplify atomicity of socket creation in bind.
20404         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
20405         looking up the name after linking the file.
20407 2014-08-27  Allan McRae  <allan@archlinux.org>
20409         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
20411 2014-08-26  Florian Weimer  <fweimer@redhat.com>
20413         [BZ #17187]
20414         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
20415         trans_compare, open_translit, __gconv_translit_find):
20416         Remove module loading code.
20418 2014-08-26  Allan McRae  <allan@archlinux.org>
20420         * po/vi.po: Update Vietnamese translation from translation project.
20422         * po/uk.po: Update Ukrainian translation from translation project.
20424         * po/fr.po: Update French translation from translation project.
20426         * po/ru.po: Update Russian translation from translation project.
20428         * po/pl.po: Update Polish translation from translation project.
20430         * po/cs.po: Update Czech translation from translation project.
20432         * po/de.po: Update German translation from translation project.
20434         * po/bg.po: Update Bulgarian translation from translation project.
20436         * po/sv.po: Update Sweedish translation from translation project.
20438         * po/nl.po: Update Dutch translation from translation project.
20440         * po/es.po: Update Spanish translation from translation project.
20442 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20444         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
20446         * catgets/Makefile (CPPFLAGS-gencat): Remove.
20447         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
20448         (CPPFLAGS-iconvconfig): Likewise.
20449         * timezone/Makefile (CPPFLAGS-zic): Likewise.
20451         * include/libc-symbols.h: Remove unnecessary check for
20452         NOT_IN_libc.
20453         * nptl/pthreadP.h: Likewise.
20454         * sysdeps/aarch64/setjmp.S: Likewise.
20455         * sysdeps/alpha/setjmp.S: Likewise.
20456         * sysdeps/arm/sysdep.h: Likewise.
20457         * sysdeps/i386/setjmp.S: Likewise.
20458         * sysdeps/m68k/setjmp.c: Likewise.
20459         * sysdeps/posix/getcwd.c: Likewise.
20460         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20461         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
20462         * sysdeps/s390/s390-32/setjmp.S: Likewise.
20463         * sysdeps/s390/s390-64/setjmp.S: Likewise.
20464         * sysdeps/sh/sh3/setjmp.S: Likewise.
20465         * sysdeps/sh/sh4/setjmp.S: Likewise.
20466         * sysdeps/unix/alpha/sysdep.h: Likewise.
20467         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20468         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20469         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
20470         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20473         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20474         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20475         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20476         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20477         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20478         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20479         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20480         * sysdeps/x86_64/setjmp.S: Likewise.
20482 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
20484         [BZ #17263]
20485         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
20486         <stdint.h>.
20487         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
20488         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
20490 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20492         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
20494         [BZ #17262]
20495         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
20496         and __x86_64__ when disabling x87 inline functions.
20498 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
20500         [BZ #17259]
20501         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
20502         asm statement with __cpuid_count.
20504 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
20506         * configure.ac: Change __ehdr_start code to dereference the struct.
20507         Run readelf on the output to look for relocations.
20508         * configure: Regenerated.
20510 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
20512         [BZ #17261]
20513         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
20514         value to 0.
20515         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
20517 2014-08-12  Roland McGrath  <roland@hack.frob.com>
20519         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
20521 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
20523         [BZ #16892]
20524         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
20525         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
20527 2014-08-12  Sean Anderson  <seanga2@gmail.com>
20529         * malloc/malloc.c: Fix typo in comment.
20531 2014-08-09  Allan McRae  <allan@archlinux.org>
20533         * Regenerate libc.po.
20535 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
20537         * intl/tst-gettext2.sh: Check every lang file for creation.
20539 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
20541         * sysdeps/aarch64/fpu/math_private.h
20542         (libc_feholdsetround_noex_aarch64_ctx): New function.
20544 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
20546         * sysdeps/arm/armv6/strcpy.S (strcpy):
20547         Fix performance issue in misaligned cases.
20549 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20551         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
20552         Move definition from termios.h.
20553         (struct termio): Likewise.
20554         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20555         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
20556         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
20557         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
20558         Likewise.
20559         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
20560         Move definition to ioctl-types.h
20561         (struct termio): Likewise.
20562         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20563         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
20564         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
20565         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
20566         Likewise.
20568 2014-08-05  Richard Henderson  <rth@redhat.com>
20570         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
20571         exceptions.
20572         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
20573         Add fraiseexcpt.
20574         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
20575         Use __feraiseexcept.
20576         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
20577         Protect libm symbols with IS_IN_libm.
20579         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
20581 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
20583         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
20585 2014-08-04  Will Newton  <will.newton@linaro.org>
20587         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
20588         file.
20590 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
20592         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
20593         variants for each function.
20595 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20597         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
20598         appended ...
20599         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
20600         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
20601         appended ...
20602         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
20603         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
20604         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
20605         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
20606         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
20607         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
20608         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
20609         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
20610         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
20611         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
20612         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
20613         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
20614         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
20615         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
20616         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
20617         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
20618         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
20619         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
20620         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
20621         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
20622         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
20623         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
20624         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
20625         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
20626         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
20627         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
20628         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
20629         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
20630         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
20631         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
20632         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
20633         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
20634         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
20635         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
20636         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
20637         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
20638         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
20639         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
20640         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
20641         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
20642         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
20643         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
20644         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
20645         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
20646         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
20647         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
20648         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
20649         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
20650         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
20651         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
20652         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
20653         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
20654         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
20655         Update #include.
20656         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
20657         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
20659 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20661         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
20662         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
20663         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
20664         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
20665         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
20666         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
20668 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20670         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
20671         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
20672         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20673         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
20675 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20677         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
20678         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
20679         (__libc_vfork): Define function under this name.
20680         (__vfork): Define as an alias.
20681         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
20682         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
20684 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20686         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
20687         that was previously under [RESET_PID].
20688         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
20690 2014-08-04  Andreas Schwab  <schwab@suse.de>
20692         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
20694 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
20696         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
20697         (main): Likewise.
20699 2014-08-01  Roland McGrath  <roland@hack.frob.com>
20701         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
20703 2014-08-01  Richard Henderon  <rth@redhat.com>
20705         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
20706         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
20707         typo in exact zero test.
20708         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20709         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20710         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20712 2014-08-01  Roland McGrath  <roland@hack.frob.com>
20714         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
20715         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
20716         * sysdeps/arm/sysdep.h: ... here.
20717         [!__ASSEMBLER__]: Include <stdint.h>.
20719 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20721         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
20722         (HAVE_WCTYPE_H): Likewise.
20723         (HAVE_ISWCTYPE): Likewise.
20724         (ENABLE_NLS): Likewise.
20725         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
20726         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
20728         * posix/regex_internal.c: Check if DEBUG is defined and is
20729         set.
20731         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
20732         (HAVE_MBSRTOWCS): Likewise.
20733         * posix/fnmatch.c: Include string.h unconditionally.
20735 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
20737         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
20738         reversal.
20740 2014-07-31  Roland McGrath  <roland@hack.frob.com>
20742         * sysdeps/generic/safe-fatal.h: New file.
20743         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
20744         * nptl/forward.c: Include it.
20745         (__pthread_unwind): Use __safe_fatal as default action, rather
20746         than a bogus use of INTERNAL_SYSCALL that could never work.
20748         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
20749         * configure.ac (libc_cv_builtin_trap): New test.
20750         * configure: Regenerated.
20751         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
20752         (ABORT_INSTRUCTION): Define using __builtin_trap.
20754         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
20755         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
20756         * sysdeps/nptl/nptl-signals.h: New file.
20757         * nptl/pthreadP.h: Include <nptl-signals.h>.
20759 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
20761         * sysdeps/s390/s390-64/utf16-utf32-z9.c
20762         (ONE_DIRECTION): Define.
20763         * sysdeps/s390/s390-64/utf8-utf16-z9.c
20764         (ONE_DIRECTION): Define.
20765         * sysdeps/s390/s390-64/utf8-utf32-z9.c
20766         (ONE_DIRECTION): Define.
20768 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
20770         * sysdeps/s390/Makefile: Delete file.
20771         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
20772         * sysdeps/s390/__longjmp.c: Delete file.
20773         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
20774         Remove fields __flags and __reserved.
20775         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
20776         and add versioning.
20777         * sysdeps/s390/rtld-__longjmp.c: Delete file.
20778         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
20779         * sysdeps/s390/rtld-setjmp.S: Likewise.
20780         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
20781         * sysdeps/s390/s390-32/__longjmp.c: ... here.
20782         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
20783         * sysdeps/s390/s390-32/setjmp.S: ... here.
20784         Add versioning.
20785         (__sigsetjmp): Remove setting __flags field.
20786         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
20787         * sysdeps/s390/s390-64/__longjmp.c: ... here.
20788         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
20789         * sysdeps/s390/s390-64/setjmp.S: ... here.
20790         Add versioning.
20791         (__sigsetjmp): Remove setting __flags field.
20792         * sysdeps/s390/setjmp.S: Delete file.
20793         * sysdeps/s390/sigjmp.c: Likewise.
20794         * sysdeps/s390/v1-longjmp.c: Likewise.
20795         * sysdeps/s390/v1-setjmp.h: Likewise.
20796         * sysdeps/s390/v1-sigjmp.c: Likewise.
20797         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
20798         Remove v1-longjmp_chk.
20799         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
20800         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
20801         Include debug/longjmp_chk.c and add versioning.
20802         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
20803         Include nptl/pt-longjmp.c and add versioning.
20804         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
20805         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
20806         Include __longjmp.c.
20807         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
20808         Move to ...
20809         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
20810         (__getcontext): Remove setting __flags field.
20811         Add versioning.
20812         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20813         Don't restore upper high grps.
20814         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
20815         Likewise.
20816         (__swapcontext): Remove setting uc_flags field.
20817         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
20818         Delete file.
20819         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
20820         Include __longjmp.c.
20821         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
20822         Move to ...
20823         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
20824         (__getcontext): Remove setting __flags field.
20825         Add versioning.
20826         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
20827         (__swapcontext): Remove setting uc_flags field.
20828         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
20829         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
20830         Remove fields uc_high_gprs and __reserved.
20831         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
20832         New file with reverted content.
20833         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
20834         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
20835         Regenerated.
20836         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
20837         Regenerated.
20839 2014-07-31  Andreas Schwab  <schwab@suse.de>
20841         * config.h.in (HAVE_IFUNC): Define to 0.
20842         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
20843         definedness.
20845 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
20847         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20848         memmove-avx-unaligned, memcpy-avx-unaligned and
20849         mempcpy-avx-unaligned.
20850         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20851         Add tests for AVX memcpy functions.
20852         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
20853         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
20854         memcpy_chk.
20855         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
20856         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
20857         memmove_chk.
20858         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
20859         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
20860         mempcpy_chk.
20861         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
20862         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
20863         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
20865 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20867         [BZ #17213]
20868         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
20869         powerpc64le.
20871 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
20873         [BZ #16839]
20874         * manual/llio.texi: Add section about open file description locks.
20875         * manual/examples/ofdlocks.c: Example of open file description
20876         lock usage.
20877         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
20878         F_OFD_SETLK, and F_OFD_SETLKW.
20880 2014-07-23  Allan McRae  <allan@archlinux.org>
20882         * po/es.po: Update Spanish translation from translation project.
20884 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
20886         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
20888 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
20890         [BZ #17078]
20891         * sysdeps/arm/dl-machine.h (elf_machine_rela)
20892         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
20893         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
20895 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
20897         [BZ #17088]
20898         * math/fesetenv.c (__fesetenv)
20899         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
20900         * math/feupdateenv.c (__feupdateenv)
20901         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
20903         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
20904         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
20905         (__ASSUME_SOCKETCALL): Do not define.
20907         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
20908         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
20909         (__ASSUME_SOCKETCALL): Do not define.
20910         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
20911         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
20912         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20913         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
20914         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20915         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
20916         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20917         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20919         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
20920         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
20921         (__ASSUME_SOCKETCALL): Do not define.
20922         (__ASSUME_IPC64): Define unconditionally.
20923         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
20924         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20925         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
20926         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20927         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
20928         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20929         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
20930         Likewise.
20932         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
20933         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
20934         (__ASSUME_SOCKETCALL): Do not define.
20935         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
20936         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20937         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20938         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
20939         (__ASSUME_REQUEUE_PI): Define unconditionally.
20940         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
20941         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
20942         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20943         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
20944         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20945         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20947         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
20948         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
20949         (__ASSUME_SOCKETCALL): Do not define.
20950         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
20951         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20952         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20953         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
20954         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20955         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20957         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
20958         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
20959         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20960         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
20961         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20962         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
20963         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20964         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
20965         (__ASSUME_GETCPU_SYSCALL): Likewise.
20967         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
20968         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
20969         cases for individual architectures.
20970         * sysdeps/gnu/configure: Regenerated.
20971         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
20972         LIBC_SLIBDIR_RTLDDIR.
20973         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
20974         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
20975         LIBC_SLIBDIR_RTLDDIR.
20976         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
20977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
20978         LIBC_SLIBDIR_RTLDDIR.
20979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
20980         Regenerated.
20981         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
20982         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
20983         file.
20984         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
20985         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
20986         file.
20987         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
20988         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
20989         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
20990         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
20992         * sysdeps/aarch64/shlib-versions: Move to ...
20993         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
20994         * sysdeps/alpha/shlib-versions: Move to ...
20995         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
20996         * sysdeps/arm/shlib-versions: Move to ...
20997         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
20998         * sysdeps/hppa/shlib-versions: Move all contents except for
20999         libgcc_s entry to ...
21000         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
21001         entry from ...
21002         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
21003         * sysdeps/ia64/shlib-versions: Move to ...
21004         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
21005         entry from ...
21006         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
21007         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
21008         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
21009         * sysdeps/microblaze/shlib-versions: Move to ...
21010         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
21011         * sysdeps/mips/shlib-versions: Move to ...
21012         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
21013         entry from ...
21014         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
21015         * sysdeps/tile/shlib-versions: Move to ...
21016         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
21017         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
21018         from ...
21019         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
21020         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
21021         entry from ...
21022         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
21024 2014-07-17  Will Newton  <will.newton@linaro.org>
21026         * sysdeps/arm/bits/atomic.h
21027         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
21028         (__arch_compare_and_exchange_bool_16_int): Likewise.
21029         (__arch_compare_and_exchange_bool_64_int): Likewise.
21031         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
21032         into an #else block.
21034 2014-07-16  Roland McGrath  <roland@hack.frob.com>
21036         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
21037         just Linux configurations.  Test empirically that the compiler sets
21038         __ARM_EABI__, rather than using the tuple to decide.
21039         * sysdeps/arm/preconfigure: Regenerated.
21040         * sysdeps/unix/sysv/linux/arm/configure: File removed.
21041         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
21042         contents appended ...
21043         * sysdeps/arm/configure.ac: ... here.
21044         * sysdeps/arm/configure: Regenerated.
21046 2014-07-15  Roland McGrath  <roland@hack.frob.com>
21048         * nptl/pthread_kill.c: New file.
21049         * nptl/pthread_sigmask.c: New file.
21050         * nptl/pthread_sigqueue.c: New file.
21052         * sysdeps/nptl/lowlevellock.h: New file.
21053         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
21054         * sysdeps/nptl/lowlevellock-futex.h: New file.
21056         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
21057         Remove dead declarations.
21059 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
21061         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
21062         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
21063         config-cflags-avx2.
21064         * sysdeps/x86_64/configure.ac: Likewise.
21065         * sysdeps/i386/configure: Regenerated.
21066         * sysdeps/x86_64/configure: Likewise.
21067         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21068         memset-avx2 only if config-cflags-avx2 is yes.
21069         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21070         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
21071         defined.
21072         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
21073         only if HAVE_AVX2_SUPPORT is defined.
21074         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21076 2014-07-14  Alan Modra  <amodra@gmail.com>
21078         [BZ #17153]
21079         * elf/elf.h (DT_PPC64_NUM): Correct value.
21080         * NEWS: Add to fixed bug list.
21082 2014-07-13  Jim Meyering  <meyering@fb.com>
21084         [BZ 17150]
21085         regex: don't deref NULL upon heap allocation failure
21086         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
21087         failure in one more place.
21088         To trigger the segfault, configure grep -with-included-regex,
21089         build it, and run these commands:
21090         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
21092 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
21094         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
21096 2014-07-11  Richard Henderson  <rth@redhat.com>
21098         * sysdeps/aarch64/libm-test-ulps: Update.
21100 2014-07-10  Florian Weimer  <fweimer@redhat.com>
21102         [BZ #17135]
21103         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
21104         * nptl/allocatestack.c (__nptl_setxid_error): New function.
21105         (__nptl_setxid): Initialize error member.  Call
21106         __nptl_setxid_error.
21107         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
21108         * nptl/descr.h (struct xid_command): Add error member.
21109         * nptl/tst-setuid3.c: New file.
21110         * nptl/Makefile (tests): Add it.
21112 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21114         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
21115         New define.
21116         (__lll_trylock): Use __lll_base_trylock.
21117         (__lll_cond_trylock): Likewise.
21119 2014-07-10  Roland McGrath  <roland@hack.frob.com>
21121         * nptl/pthread_create.c (start_thread): Use atomic_or and
21122         lll_futex_wake directly rather than lll_robust_dead.
21123         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
21124         (lll_robust_dead): Macro removed.
21125         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
21126         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
21127         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
21128         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
21129         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
21130         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
21131         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
21132         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
21133         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
21134         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
21135         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21136         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21137         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
21138         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21139         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21141         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
21142         Use atomic_compare_and_exchange_val_acq directly rather than
21143         lll_robust_trylock.
21144         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
21145         (__lll_robust_trylock, lll_robust_trylock): Removed.
21146         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
21147         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
21148         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
21149         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
21150         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
21151         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
21152         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
21153         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
21154         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
21155         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21156         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21157         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
21158         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21159         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21161 2014-07-02  Florian Weimer  <fweimer@redhat.com>
21163         * manual/locale.texi (Locale Names): New section documenting
21164         locale name syntax.  Adjust menu and node chaining accordingly.
21165         (Choosing Locale): Reference Locale Names, Locale Categories.
21166         Mention setting LC_ALL=C.  Reflect that name syntax is now
21167         documented.
21168         (Locale Categories): New section title.  Reference Locale Names.
21169         LC_ALL is an environment variable, but not a category.
21170         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
21171         description, now in Locale Name.  Reference that section.  Locale
21172         name syntax is now documented.
21174 2014-07-02  Florian Weimer  <fweimer@redhat.com>
21176         [BZ #17137]
21177         * locale/findlocale.c (name_present, valid_locale_name): New
21178         functions.
21179         (_nl_find_locale): Use the loc_name variable to store name
21180         candidates.  Call name_present and valid_locale_name to check and
21181         validate locale names.  Return an error if the locale is invalid.
21183 2014-07-02  Florian Weimer  <fweimer@redhat.com>
21185         * locale/setlocale.c (setlocale): Use strdup for allocating
21186         composite name copy.
21188 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21190         Sync up with gnulib.
21191         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
21192         [!_LIBC && ENABLE_NLS]: Include gettext.h.
21193         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
21194         and _GL_ARG_NONNULL.
21195         [USE_UNLOCKED_IO]: Include unlocked-io.h.
21196         [!_LIBC]: Include code for Windows and Cygwin.
21197         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
21198         Include prototype for int strerror_r.
21199         [!_LIBC] (is_open): New function.
21200         (flush_stdout): New function.
21201         (print_errno_message): Use it.
21202         (error): Likewise.
21203         (error_at_line): Likewise.
21204         (error_tail) Add function attribute macros.  Use
21205         __builtin_expect.
21207         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
21209         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
21211         * io/ftw.c: Include sys/param.h unconditionally.
21213         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
21215         [BZ #17125]
21216         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
21217         libc_freeres_ptr.
21218         (freecache): New function to free CACHE on exit.
21220         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
21221         initialization.
21223 2014-07-09  David S. Miller  <davem@davemloft.net>
21225         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21227         * sysdeps/sparc/nptl/internaltypes.h: Delete.
21228         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
21229         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
21230         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
21231         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
21232         * sysdeps/sparc/nptl/sem_init.c: Likewise.
21233         * sysdeps/sparc/nptl/sem_post.c: Likewise.
21234         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
21235         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
21236         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
21237         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
21238         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
21239         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
21241 2014-07-09  Andreas Schwab  <schwab@suse.de>
21243         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
21244         output.
21245         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
21246         (do_test): Likewise.
21248         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21250 2014-07-09  Will Newton  <will.newton@linaro.org>
21252         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
21253         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
21254         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
21255         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
21256         * sysdeps/hppa/start.S (_start): Likewise.
21258 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
21260         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
21262         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
21263         defined.
21265 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21267         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
21268         after checking that it is non-NULL.
21270         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
21272 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21274         * sysdeps/powerpc/memmove.c: Remove file.
21275         * sysdeps/powerpc/powerpc32/power4/memcopy.h
21276         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
21277         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
21278         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
21279         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
21280         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
21281         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
21282         string memmove instead of removed powerpc one.
21284         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21285         [weak_alias]: Fix compiler warning due trailing data.
21286         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
21287         [weak_alias]: Likewise.
21288         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
21289         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
21291         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21292         (__libc_ifunc_impl_list): Add memmove functions.
21294 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21296         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
21297         Remove code.
21298         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
21299         Likewise
21300         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
21301         Likewise
21302         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
21303         Likewise
21304         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
21305         Likewise
21306         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
21307         Likewise
21308         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
21309         Likewise
21310         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
21311         Likewise
21312         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
21313         Likewise
21314         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
21315         Likewise
21316         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
21317         Likewise
21318         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
21319         Likewise
21320         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
21321         Likewise
21322         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
21323         Likewise
21324         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
21325         Likewise
21326         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
21327         Likewise
21328         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
21329         Likewise
21331 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21333         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
21334         to avoid alignment traps in non-cacheable memory.
21335         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21337         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
21338         multiarch objects.
21339         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
21340         file: multiarch power7 memmove.
21341         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
21342         multiarch default memmove.
21343         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
21344         multiarch memove for powerpc32/power4.
21346         * string/bcopy.c: Use full path to include memmove.c.
21347         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
21348         multiarch objects.
21349         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
21350         bcopy for powerpc64.
21351         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
21352         bcopy for powerpc64.
21353         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
21354         and memmove implementations.
21355         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
21356         optimized multiarch memmove for POWER7/powerpc64.
21357         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
21358         default multiarch memmove for powerpc64.
21359         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
21360         multiarch for powerpc64.
21361         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
21362         for POWER7/powerpc64.
21363         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
21364         memmove for POWER7/powerpc64.
21366         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
21367         glibc default one.
21369         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
21370         __ELF_NATIVE_CLASS equal to 64.
21372 2014-07-07  Roland McGrath  <roland@hack.frob.com>
21374         * sysdeps/nptl/lowlevellock.h: File removed.
21376         * NEWS: NPTL is no longer an add-on!
21377         * nptl/internaltypes.h: Moved ...
21378         * sysdeps/nptl/internaltypes.h: ... here.
21379         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
21380         * sysdeps/nptl/fork.c: Likewise.
21381         * sysdeps/nptl/gai_misc.h: Likewise.
21382         * sysdeps/nptl/librt-cancellation.c: Likewise.
21383         * sysdeps/nptl/jmp-unwind.c: Likewise.
21384         * sysdeps/nptl/setxid.h: Likewise.
21385         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
21386         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
21387         * sysdeps/unix/sysv/linux/arm/Implies: New file.
21388         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
21389         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
21390         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
21391         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
21392         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
21393         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
21394         * sysdeps/unix/sysv/linux/mips/Implies: New file.
21395         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
21396         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
21397         * sysdeps/unix/sysv/linux/sh/Implies: New file.
21398         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
21399         * sysdeps/unix/sysv/linux/tile/Implies: New file.
21400         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
21401         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
21402         * nptl/Makeconfig: Moved ...
21403         * sysdeps/nptl/Makeconfig: ... here.
21404         * nptl/configure: File removed.
21405         * nptl/ANNOUNCE: File removed.
21406         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
21407         * sysdeps/unix/sysv/linux/configure: Regenerated.
21409         * nptl/Makefile (routines): Add libc_pthread_init,
21410         libc_multiple_threads, register-atfork and unregister-atfork.
21411         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
21412         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
21413         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
21414         pthread-pi-defines.sym, structsem.sym.
21415         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
21416         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
21417         [$(subdir) = nptl] (tests): Add tst-setgetname.
21418         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
21419         * sysdeps/unix/sysv/linux/sigaction.c: Just include
21420         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
21421         [!LIBC_SIGACTION]: Remove aliases.
21422         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
21423         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
21424         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
21425         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
21426         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
21427         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
21428         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21429         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21430         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
21431         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
21432         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
21433         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
21434         __libc_allocate_rtsig_private.
21435         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
21436         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
21437         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
21438         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
21439         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
21440         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
21441         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
21442         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
21443         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
21444         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
21445         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
21446         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
21447         * nptl/internaltypes.h: ... here.
21448         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
21449         * sysdeps/nptl/jmp-unwind.c: ... here.
21450         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
21451         * nptl/libc-lowlevellock.c: ... here.
21452         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
21453         * nptl/libc_multiple_threads.c: ... here.
21454         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
21455         * nptl/libc_pthread_init.c: ... here.
21456         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
21457         * nptl/lowlevelbarrier.sym: ... here.
21458         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
21459         * nptl/lowlevelcond.sym: ... here.
21460         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
21461         * nptl/lowlevellock.c: ... here.
21462         * nptl/lowlevellock.h: Moved ...
21463         * sysdeps/nptl/lowlevellock.h: ... here.
21464         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
21465         * nptl/lowlevelrobustlock.c: ... here.
21466         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
21467         * nptl/lowlevelrobustlock.sym: ... here.
21468         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
21469         * nptl/lowlevelrwlock.sym: ... here.
21470         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
21471         * nptl/pt-fork.c: ... here.
21472         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
21473         * nptl/pthread-pi-defines.sym: ... here.
21474         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
21475         * nptl/pthread_attr_getaffinity.c: ... here.
21476         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
21477         * nptl/pthread_attr_setaffinity.c: ... here.
21478         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
21479         * nptl/pthread_mutex_cond_lock.c: ... here.
21480         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
21481         Update #include.
21482         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
21483         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
21484         * nptl/pthread_once.c: ... here, replacing old file.
21485         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
21486         * nptl/pthread_yield.c: ... here.
21487         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
21488         * nptl/register-atfork.c: ... here.
21489         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
21490         * nptl/sem_post.c: ... here.
21491         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
21492         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
21493         * nptl/sem_timedwait.c: ... here.
21494         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
21495         * nptl/sem_trywait.c: ... here.
21496         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
21497         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
21498         * nptl/sem_wait.c: ... here.
21499         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
21500         * nptl/structsem.sym: ... here.
21501         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
21502         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
21503         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
21504         * nptl/unregister-atfork.c: ... here.
21505         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
21506         * nptl/unwindbuf.sym: ... here.
21507         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
21508         * sysdeps/nptl/fork.c: ... here.
21509         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
21510         * sysdeps/nptl/fork.h: ... here.
21511         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
21512         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
21513         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
21514         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
21515         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
21516         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
21517         * sysdeps/unix/sysv/linux/getpid.c: ... here.
21518         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
21519         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
21520         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
21521         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
21522         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
21523         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
21524         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
21525         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
21526         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
21527         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
21528         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
21529         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
21530         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
21531         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
21532         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
21533         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
21534         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
21535         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
21536         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
21537         * sysdeps/unix/sysv/linux/raise.c: ... here.
21538         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
21539         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
21540         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
21541         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
21542         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
21543         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
21544         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
21545         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
21546         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
21547         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
21548         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
21549         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
21550         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
21551         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
21552         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
21554 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21556         * sysdeps/generic/memcopy.h: Add comment for
21557         MEMCPY_OK_FOR_FWD_MEMMOVE.
21559 2014-07-04  Will Newton  <will.newton@linaro.org>
21561         * string/memchr.c: Merge from gnulib.
21562         [_LIBC]: Remove conditionals.
21563         (__ptr_t): Remove define.
21564         (LONG_MAX_32_BITS): Likewise.
21565         (LONG_MAX): Likewise.
21566         (MEMCHR): Use ANSI prototype and optimize algorithm.
21568         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
21570 2014-07-03  Roland McGrath  <roland@hack.frob.com>
21572         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
21573         (lll_futex_timed_wait_bitset): Fix syscall argument count.
21575         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
21576         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
21577         in a bare environment with no <stdlib.h> installed.
21578         * sysdeps/nptl/configure: Regenerated.
21580         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
21582         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
21583         AC_EGREP_CPP for kernel header checks, so they only succeed if
21584         including <linux/version.h> actually works right.
21585         * sysdeps/unix/sysv/linux/configure: Regenerated.
21587         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
21588         value so it's not diagnosed as unused.
21590         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
21591         thing) with "ifeq ($(subdir),rt)".
21593 2014-07-03  Richard Henderson  <rth@redhat.com>
21595         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
21596         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
21597         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
21599         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
21600         (math_force_eval): New.
21602         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
21603         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
21605         * sysdeps/alpha/fpu/s_round.c: Remove file.
21606         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
21608         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
21609         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
21610         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
21611         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
21612         (_dl_start, print_statistics): Likewise.
21613         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
21614         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
21616         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21617         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21618         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21619         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21620         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
21621         (HP_SMALL_TIMING_AVAIL): Define.
21622         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21623         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
21624         (HP_SMALL_TIMING_AVAIL): Define.
21625         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21626         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21628         * sysdeps/aarch64/hp-timing.h: New file.
21630         * sysdeps/generic/hp-timing.h: Remove dead comment.
21631         * sysdeps/generic/hp-timing-common.h: New file.
21632         * sysdeps/alpha/hp-timing.h: Include it.
21633         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
21634         * sysdeps/i386/i686/hp-timing.h: Likewise.
21635         * sysdeps/ia64/hp-timing.h: Likewise.
21636         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21637         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21638         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21639         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21640         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
21641         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
21642         (hp_timing_t): New.
21644         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
21645         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
21646         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
21647         * elf/rtld.c (_dl_start_final): Likewise.
21648         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
21649         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21650         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21651         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21652         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21653         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
21654         (HP_TIMING_DIFF_INIT): Remove.
21655         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21656         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
21657         (HP_TIMING_DIFF_INIT): Remove.
21658         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21659         * sysdeps/i386/i686/hp-timing.c: Remove file.
21660         * sysdeps/x86_64/hp-timing.c: Remove file.
21661         * sysdeps/ia64/hp-timing.c: Remove file.
21662         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
21663         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
21664         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
21665         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
21667         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
21668         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
21669         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
21670         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
21671         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
21672         (HP_TIMING_ACCUM): Remove.
21673         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
21674         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
21675         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
21677         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
21678         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
21679         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
21680         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
21681         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
21682         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
21683         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
21684         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
21686         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
21688 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
21690         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
21692 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21694         Sync up with gettext.
21695         * intl/loadmsgcat.c: Define O_BINARY if not defined.
21696         [_MSC_VER]: Include malloc.h
21697         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
21698         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
21699         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
21700         TEMP_FAILURE_RETRY.  Cast return of alloca.
21701         [!_LIBC] Call gl_rwlock_init.
21702         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
21704 2014-07-02  Roland McGrath  <roland@hack.frob.com>
21706         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
21707         before checking its value.
21709 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21711         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
21713         * debug/memcpy_chk.c: Don't include pagecopy.h.
21714         * debug/mempcpy_chk.c: Likewise.
21715         * string/memcpy.c: Likewise.
21716         * string/memmove.c: Likewise.
21717         * sysdeps/powerpc/memmove.c: Likewise.
21718         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
21719         definition of PAGE_COPY_FWD_MAYBE here...
21720         * sysdeps/generic/pagecopy.h: ... from here.
21721         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
21723 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21724             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21726         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
21727         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
21728         optimizations.
21729         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21730         (__libc_ifunc_impl_list): Likewise.
21731         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
21732         multiarch strcat for PPC64.
21733         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
21734         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
21736 2014-07-02  Roland McGrath  <roland@hack.frob.com>
21738         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
21740 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21742         * intl/loadmsgcat.c: Remove declaration of
21743         get_sysdep_segment_value.
21744         (get_sysdep_segment_value): Use ISO C style.
21745         (_nl_load_domain): Use ISO C style.  Get rid of redundant
21746         semicolon.  Fix typo and formatting in comment.
21747         (_nl_unload_domain): Use ISO C style.
21749         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
21751 2014-07-02  Will Newton  <will.newton@linaro.org>
21753         * malloc/obstack.c: Merge from gnulib master.
21754         [HAVE_CONFIG_H]: Remove conditional code.
21755         [!_LIBC]: Include config.h.
21756         [!ELIDE_CODE]: Don't include inttypes.h, include
21757         stdint.h unconditionally.
21758         (print_and_abort): Mark as _Noreturn.
21759         (_obstack_allocated_p): Mark as __attribute_pure__.
21760         (obstack_free): Rename to __obstack_free.
21761         [!__attribute__]: Remove conditional code.
21762         * malloc/obstack.h: Merge from gnulib master.
21763         [__cplusplus]: Move conditional down.
21764         [!__attribute_pure__]: Define __attribute_pure__ here
21765         if it is not already defined.
21766         (_obstack_memory_used): Mark as __attribute_pure__.
21767         [!__obstack_free]: Define as obstack_free.
21768         [__GNUC__]: Remove check for ancient NeXT gcc.
21770 2014-07-02  Will Newton  <will.newton@linaro.org>
21771             Paul Eggert  <eggert@cs.ucla.edu>
21773         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
21775 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21777         * resolv/gethnamaddr.c: Add comment warning that the file is
21778         not maintained.
21780 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
21782         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
21783         entries.
21785         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
21786         entry for aio_cancel and aio_cancel64.
21787         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
21788         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
21789         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
21790         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
21791         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
21792         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
21793         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
21794         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
21795         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
21796         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
21797         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
21798         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
21799         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
21801 2014-07-01  Roland McGrath  <roland@hack.frob.com>
21803         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
21804         * nptl/pthread_mutex_lock.c: Likewise.
21805         * nptl/pthread_mutex_timedlock.c: Likewise.
21806         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
21808 2014-07-01  Richard henderson  <rth@redhat.com>
21810         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
21811         (__isnan, __isnanl): Remove.
21812         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
21814         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21816 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
21818         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21820 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21822         * resolv/nss_dns/dns-host.c (getanswer_r)
21823         [MULTI_PTRS_ARE_ALIASES]: Remove code.
21825 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
21827         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21828         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
21829         undefine.
21830         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
21831         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
21833 2014-07-01  Roland McGrath <roland@hack.frob.com>
21835         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
21836         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
21838         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
21839         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
21841         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
21842         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
21843         ... here.
21844         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
21845         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
21847         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
21848         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
21849         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
21850         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
21852         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
21853         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
21854         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
21855         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
21856         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
21857         Moved ...
21858         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
21859         ... here.
21860         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
21861         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
21862         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
21863         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
21864         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
21865         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
21866         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
21867         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
21868         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
21869         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
21870         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
21871         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
21872         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
21873         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
21874         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
21875         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
21876         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
21877         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
21878         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
21879         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
21880         ... here.
21881         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
21882         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
21883         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
21884         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
21885         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
21886         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
21887         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
21888         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
21890 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
21892         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
21893         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
21894         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
21895         Add sysdep.
21897 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21899         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21901 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
21903         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21904         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21906         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21908         * sysdeps/arm/libm-test-ulps: Regenerated.
21910 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
21911             Roland McGrath <roland@hack.frob.com>
21913         * test-skeleton.c (signal_handler): Kill the whole process group
21914         before killing the child individually.
21915         (main): Report any failure on `setpgid'.
21917 2014-06-30  Roland McGrath  <roland@hack.frob.com>
21919         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
21920         from _TLS_H to _ARM_NPTL_TLS_H.
21921         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
21922         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
21924 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
21926         [BZ #16539]
21927         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
21928         (__expm1l): Return argument unchanged when small but not
21929         subnormal.
21931         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
21932         include macro name.
21933         (_FP_UNPACK_RAW_1_P): Likewise.
21934         (_FP_PACK_RAW_1): Likewise.
21935         (_FP_PACK_RAW_1_P): Likewise.
21936         (_FP_MUL_MEAT_1_wide): Likewise.
21937         (_FP_MUL_MEAT_DW_1_hard): Likewise.
21938         (_FP_MUL_MEAT_1_hard): Likewise.
21939         (_FP_DIV_MEAT_1_imm): Likewise.
21940         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
21941         (_FP_DIV_MEAT_1_udiv): Likewise.
21942         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
21943         (_FP_UNPACK_RAW_2): Likewise.
21944         (_FP_UNPACK_RAW_2_P): Likewise.
21945         (_FP_PACK_RAW_2): Likewise.
21946         (_FP_PACK_RAW_2_P): Likewise.
21947         (_FP_MUL_MEAT_DW_2_wide): Likewise.
21948         (_FP_MUL_MEAT_2_wide): Likewise.
21949         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
21950         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
21951         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
21952         (_FP_MUL_MEAT_2_gmp): Likewise.
21953         (_FP_DIV_MEAT_2_udiv): Likewise.
21954         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
21955         (_FP_FRAC_SRL_4): Likewise.
21956         (_FP_FRAC_SRST_4): Likewise.
21957         (_FP_FRAC_SRS_4): Likewise.
21958         (_FP_UNPACK_RAW_4): Likewise.
21959         (_FP_UNPACK_RAW_4_P): Likewise.
21960         (_FP_PACK_RAW_4): Likewise.
21961         (_FP_PACK_RAW_4_P): Likewise.
21962         (_FP_MUL_MEAT_DW_4_wide): Likewise.
21963         (_FP_MUL_MEAT_4_wide): Likewise.
21964         (_FP_MUL_MEAT_4_gmp): Likewise.
21965         (umul_ppppmnnn): Likewise.
21966         (_FP_DIV_MEAT_4_udiv): Likewise.
21967         (__FP_FRAC_ADD_4): Likewise.
21968         (__FP_FRAC_SUB_3): Likewise.
21969         (__FP_FRAC_SUB_4): Likewise.
21970         (__FP_FRAC_DEC_3): Likewise.
21971         (__FP_FRAC_DEC_4): Likewise.
21972         (__FP_FRAC_ADDI_4): Likewise.
21973         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
21974         (_FP_FRAC_SRL_8): Likewise.
21975         (_FP_FRAC_SRS_8): Likewise.
21977         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
21978         include macro name.
21979         (FP_UNPACK_RAW_EP): Likewise.
21980         (FP_PACK_RAW_E): Likewise.
21981         (FP_PACK_RAW_EP): Likewise.
21982         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
21983         (_FP_ISSIGNAN): Likewise.
21984         (_FP_ADD_INTERNAL): Likewise.
21985         (_FP_FMA): Likewise.
21986         (_FP_CMP): Likewise.
21987         (_FP_SQRT): Likewise.
21988         (_FP_TO_INT): Likewise.
21989         (_FP_FROM_INT): Likewise.
21990         (FP_EXTEND): Likewise.
21991         (_FP_DIV_MEAT_N_loop): Likewise.
21993 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
21995         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
21996         throughout.
21998 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
22000         [BZ #17097]
22001         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
22002         result with correct sign in case of exponents that produce
22003         overflow except for X very close to 1.
22005 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
22007         mktime: merge #if/#ifdef usage from glibc
22008         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
22009         as that works with both Glibc's and Gnulib's style.
22010         See thread starting at Siddhesh Poyarekar's bug report at:
22011         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
22013 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22015         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
22016         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
22017         * sysdeps/tile/tilegx/memmove.c: Remove file.
22019 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
22021         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
22022         abi-name definition.
22023         * scripts/soversions.awk: Do not handle or generate ABI lines.
22024         * shlib-versions: Remove ABI entries.
22025         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
22026         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
22028 2014-06-27  Roland McGrath  <roland@hack.frob.com>
22030         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
22031         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
22032         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
22033         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
22034         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
22035         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
22036         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
22037         Moved ...
22038         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
22039         ... here.
22040         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
22041         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
22042         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
22043         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
22044         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
22045         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
22046         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
22047         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
22048         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
22049         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
22050         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
22051         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
22052         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
22053         Moved ...
22054         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
22055         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
22056         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
22057         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
22058         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
22059         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
22060         Moved ...
22061         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
22062         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
22063         Moved ...
22064         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
22065         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
22066         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
22067         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
22068         Moved ...
22069         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
22070         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
22071         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
22072         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
22073         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
22074         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
22075         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
22076         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
22077         Moved ...
22078         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
22079         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
22080         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
22081         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
22082         Moved ...
22083         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
22084         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
22085         Moved ...
22086         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
22087         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
22088         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
22089         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
22090         Moved ...
22091         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
22092         ... here.
22093         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
22094         Identical file removed.
22095         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
22096         Moved ...
22097         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
22098         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
22099         Identical file removed.
22100         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
22101         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
22102         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
22103         Moved ...
22104         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
22105         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
22106         Identical file removed.
22107         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
22108         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
22109         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
22110         Identical file removed.
22111         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
22112         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
22113         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
22114         Identical file removed.
22115         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
22116         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
22117         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
22118         Identical file removed.
22119         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
22120         Moved ...
22121         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
22122         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
22123         Identical file removed.
22124         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
22125         Moved ...
22126         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
22127         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
22128         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
22129         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
22130         Identical file removed.
22131         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
22132         Moved ...
22133         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
22134         ... here.
22135         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
22136         Identical file removed.
22137         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
22138         Moved ...
22139         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
22140         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
22141         Identical file removed.
22142         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
22143         Moved ...
22144         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
22145         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
22146         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
22147         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
22148         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
22149         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
22150         Moved ...
22151         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
22152         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
22153         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
22155         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
22156         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
22157         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
22158         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
22159         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
22161 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
22163         [BZ #17092]
22164         * nscd/nscd.c (monitor_child): Return exit status of child
22165         instead of return value from wait syscall.
22167 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
22169         * configure.ac (libc_commonpagesize): Remove variable.
22170         (libc_relro_required): Likewise.
22171         (libc_cv_z_relro): Remove configure test.
22172         * configure: Regenerated.
22173         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
22174         variable.
22175         (libc_relro_required): Likewise.
22176         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
22177         (libc_relro_required): Likewise.
22178         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
22179         (libc_relro_required): Likewise.
22180         * sysdeps/arm/preconfigure: Regenerated.
22181         * sysdeps/ia64/preconfigure: Remove file.
22182         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
22183         variable.
22184         (libc_relro_required): Likewise.
22186         [BZ #16561]
22187         [BZ #16562]
22188         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
22189         (__ieee754_yn): Set FE_TONEAREST mode internally and then
22190         recompute overflowing results in original rounding mode.
22191         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
22192         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
22193         recompute overflowing results in original rounding mode.
22194         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
22195         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
22196         recompute overflowing results in original rounding mode.
22197         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
22198         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
22199         recompute overflowing results in original rounding mode.
22200         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
22201         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
22202         recompute overflowing results in original rounding mode.
22203         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
22204         (libc_feholdsetround_ctx): New macro.
22205         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
22206         * sysdeps/i386/fpu/libm-test-ulps: Update.
22207         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
22209 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22211         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
22212         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
22213         corresponding .cpsetup call.
22215 2014-06-26  Roland McGrath  <roland@hack.frob.com>
22217         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
22218         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
22219         * sysdeps/arm/Makefile [$(subdir) = csu]
22220         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
22221         (static-only-routines): Add aeabi_read_tp here.
22222         (shared-only-routines): Add libc-aeabi_read_tp here.
22223         (CFLAGS-libc-start.c): Add -fexceptions here.
22224         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
22225         (sysdep_routines, static-only-routines, shared-only-routines):
22226         Don't add to these here.
22227         (CFLAGS-libc-start.c): Likewise.
22229         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
22230         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
22231         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
22232         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
22233         * sysdeps/arm/Makefile [$(subdir) = rt]
22234         (librt-sysdep_routines, librt-shared-only-routines):
22235         Append rt-aeabi_unwind_cpp_pr1 here.
22236         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
22237         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
22238         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
22239         (libpthread-sysdep_routines, libpthread-shared-only-routines):
22240         Append nptl-aeabi_unwind_cpp_pr1 here.
22241         (tests): Filter out tst-cleanupx4 here.
22242         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
22243         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
22244         Don't do those here.
22246 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22248         * scripts/list-sources.sh: Do not handle ports specially.
22250 2014-06-26  Roland McGrath  <roland@hack.frob.com>
22252         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
22253         * sysdeps/arm/feupdateenv.c: Likewise.
22255         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
22257 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22259         * manual/texinfo.tex: Update to version 2014-05-05.10 with
22260         trailing whitespace removed.
22261         * scripts/config.guess: Update to version 2014-03-23.
22262         * scripts/config.sub: Update to version 2014-05-01
22263         * scripts/install-sh: Update to version 2013-12-25.23.
22264         * scripts/move-if-change: Update from gnulib.
22266 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22268         * debug/memmove_chk.c: Remove pagecopy.h include.
22270 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
22272         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
22273         identical to gnulib mktime.
22275 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22277         * configure.ac: Do not test for machine being rs6000.  Do not test
22278         for powerpc*-*soft.
22279         * configure: Regenerated.
22281         [BZ #11505]
22282         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
22283         test.
22284         * configure: Regenerated.
22285         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
22286         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
22287         Remove configure test.
22288         * sysdeps/arm/configure: Regenerated.
22289         * sysdeps/nptl/configure.ac: Do not check
22290         libc_cv_asm_cfi_directives.
22291         * sysdeps/nptl/configure: Regenerated.
22292         * sysdeps/x86_64/nptl/configure.ac: Remove file.
22293         * sysdeps/x86_64/nptl/configure: Remove generated file.
22294         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
22295         unconditional.
22296         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
22298 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22300         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
22301         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
22302         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
22303         it is defined.
22305         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
22306         instead of whether it is defined.
22307         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
22308         * sysdeps/hppa/dl-machine.h: Likewise.
22309         * sysdeps/ia64/dl-machine.h: Likewise.
22310         * sysdeps/m68k/dl-machine.h: Likewise.
22311         * sysdeps/microblaze/dl-machine.h: Likewise.
22312         * sysdeps/mips/dl-machine.: Likewise.
22313         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22314         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22315         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22316         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22317         * sysdeps/sh/dl-machine.h: Likewise.
22318         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22319         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22320         * sysdeps/tile/dl-machine.h: Likewise.
22321         * sysdeps/x86_64/dl-machine.h: Likewise.
22323         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
22324         code.
22325         (verify_persistent_db): Likewise.
22327 2014-06-26  Roland McGrath  <roland@hack.frob.com>
22329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
22330         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
22331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
22332         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
22333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22334         Moved ...
22335         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
22336         ... here.
22337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
22338         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
22339         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
22340         Identical file removed.
22341         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
22342         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
22343         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
22344         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
22345         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
22346         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
22347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
22348         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
22349         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
22350         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
22351         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22352         Moved ...
22353         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
22354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
22355         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
22356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
22357         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
22358         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22359         Moved ...
22360         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
22361         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
22362         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
22363         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
22364         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
22365         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22366         Identical file removed.
22367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
22368         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
22369         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
22370         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
22371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22372         Moved ...
22373         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
22374         ... here.
22375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
22376         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
22377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
22378         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
22379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
22380         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
22381         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
22382         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
22383         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
22384         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
22385         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22386         Moved ...
22387         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
22388         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
22389         Moved ...
22390         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
22391         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
22392         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
22393         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22394         Moved ...
22395         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
22396         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
22397         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
22399         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
22400         folded into ...
22401         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
22402         * sysdeps/unix/sysv/linux/s390/Versions
22403         (libpthread: GLIBC_2.19): New version set.
22404         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
22405         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
22406         (librt: GLIBC_2.3.3): New version set.
22407         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
22408         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
22409         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
22410         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
22411         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
22412         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
22413         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
22414         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
22415         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
22416         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
22417         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
22418         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
22419         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
22420         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
22421         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
22422         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
22423         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
22424         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
22425         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
22426         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
22427         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
22428         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
22429         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
22430         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
22431         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
22432         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
22433         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
22434         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
22435         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
22436         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
22437         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
22438         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
22439         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
22440         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
22441         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
22442         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
22443         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
22444         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
22445         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
22446         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
22447         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
22448         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
22449         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
22450         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
22451         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
22453         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
22454         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
22455         (__libc_vfork): Define the function under this name.
22456         [!NOT_IN_libc] (__vfork): Make this an alias.
22457         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
22458         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
22459         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
22460         (__libc_vfork): Define the function under this name.
22461         [!NOT_IN_libc] (__vfork): Make this an alias.
22462         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
22463         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
22464         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
22465         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
22466         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
22467         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22469         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
22470         code that was previously under [RESET_PID].
22471         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
22472         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
22473         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
22475         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
22476         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
22477         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
22478         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
22479         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
22480         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
22481         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
22482         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
22483         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
22484         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
22485         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
22486         Moved ...
22487         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
22488         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
22489         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
22490         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
22491         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
22492         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
22493         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
22494         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
22495         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
22496         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
22497         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
22498         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
22499         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
22500         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
22501         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
22502         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
22503         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
22504         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
22505         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
22506         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
22507         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
22508         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
22509         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
22510         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
22511         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
22512         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
22513         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
22514         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
22515         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
22517 2014-06-25  Roland McGrath  <roland@hack.frob.com>
22519         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
22520         that was previously under [RESET_PID].
22521         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
22523 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
22525         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
22526         not undefine and redefine.
22527         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
22528         [O_CLOEXEC]: Make code unconditional.
22529         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
22530         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
22531         <kernel-features.h>.
22532         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
22533         conditional variable definition.
22534         (shm_open) [O_CLOEXEC]: Make code unconditional.
22535         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
22536         code.
22538         * configure.ac (USE_REGPARMS): Don't define here.
22539         * configure: Regenerated.
22540         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
22541         * sysdeps/i386/configure: Regenerated.
22543         * nptl/createthread.c: Don't include kernel-features.h.
22544         * nptl/pthread_cancel.c: Likewise.
22545         * nptl/pthread_condattr_setclock.c: Likewise.
22546         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
22547         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
22548         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
22549         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
22550         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
22551         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
22552         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
22553         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
22554         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
22555         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
22556         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
22557         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
22558         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
22559         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
22560         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
22561         * nscd/gai.c: Likewise.
22562         * nss/nss_db/db-open.c: Likewise.
22563         * sysdeps/generic/ldsodefs.h: Likewise.
22564         * sysdeps/sh/nptl/tls.h: Likewise.
22565         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
22566         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
22567         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
22568         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
22569         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
22570         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
22571         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
22572         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22573         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22574         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
22575         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
22576         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22577         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
22578         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
22579         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
22580         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
22581         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
22582         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
22583         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
22584         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
22585         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
22586         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
22587         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
22588         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
22589         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
22590         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
22591         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
22592         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
22593         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
22594         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
22595         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
22596         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
22597         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
22598         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22599         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22600         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
22601         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22602         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
22603         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
22604         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
22605         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22606         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
22607         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
22608         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22609         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
22610         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
22611         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
22612         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
22613         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
22614         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
22615         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
22616         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
22617         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
22618         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
22619         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
22620         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22621         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
22622         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
22623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
22624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
22625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
22626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
22627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
22628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
22629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
22630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
22631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
22632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
22633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
22634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
22635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
22636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
22637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
22643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
22644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
22645         * sysdeps/unix/sysv/linux/pread.c: Likewise.
22646         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
22647         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
22648         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
22649         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
22650         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
22651         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
22652         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
22653         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
22654         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
22655         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
22656         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
22657         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
22658         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
22659         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
22660         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
22661         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22662         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
22663         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
22664         * sysdeps/unix/sysv/linux/system.c: Likewise.
22665         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
22666         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
22667         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22668         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22669         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22670         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
22671         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22673         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
22674         * configure: Regenerated.
22675         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
22677         * configure.ac (base_machine): Do not set specially for particular
22678         machines here.
22679         * configure: Regenerated.
22680         * sysdeps/powerpc/preconfigure: Move machine and base_machine
22681         settings from configure.ac.
22682         * sysdeps/i386/preconfigure: New file.
22683         * sysdeps/s390/preconfigure: Likewise.
22684         * sysdeps/sh/preconfigure: Likewise.
22685         * sysdeps/sparc/preconfigure: Likewise.
22687 2014-06-25  Roland McGrath  <roland@hack.frob.com>
22689         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
22690         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
22691         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
22692         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
22693         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
22694         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
22695         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
22696         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
22697         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
22698         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
22699         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
22700         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
22701         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
22702         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
22703         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
22704         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
22705         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
22706         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
22707         * sysdeps/sparc/sparc64/Makefile: ... appended here.
22709         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
22710         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
22711         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
22712         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
22713         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
22714         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
22715         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
22716         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
22717         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
22718         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
22719         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
22720         * sysdeps/sparc/sparc32/sem_post.c: ... here.
22721         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
22722         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
22723         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
22724         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
22725         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
22726         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
22727         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
22728         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
22729         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
22730         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
22731         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
22732         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
22733         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
22734         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
22735         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
22736         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
22737         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
22738         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
22739         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
22740         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
22741         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
22742         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
22743         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
22744         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
22745         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
22746         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
22748         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
22749         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
22750         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
22751         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
22752         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22753         Moved ...
22754         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
22755         ... here.
22756         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
22757         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
22758         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
22759         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
22760         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
22761         Moved ...
22762         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
22763         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
22764         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
22765         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
22766         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
22767         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
22768         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
22769         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22770         Moved ...
22771         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
22772         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22773         Moved ...
22774         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
22775         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
22776         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
22777         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22778         Moved ...
22779         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
22780         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
22781         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
22782         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
22783         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
22784         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
22785         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
22786         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
22787         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
22788         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22789         Moved ...
22790         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
22791         ... here.
22792         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
22793         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
22794         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
22795         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
22796         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
22797         Moved ...
22798         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
22799         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
22800         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
22801         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
22802         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
22803         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
22804         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
22805         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22806         Moved ...
22807         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
22808         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22809         Moved ...
22810         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
22811         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
22812         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
22813         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22814         Moved ...
22815         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
22816         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
22817         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
22818         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
22819         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
22821 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
22823         * timezone/checktab.awk: Update from tzcode 2014e.
22824         * timezone/private.h: Likewise.
22825         * timezone/tzfile.h: Likewise.
22826         * timezone/zdump.c: Likewise.
22827         * timezone/zic.c: Likewise.
22829         * sysdeps/unix/sysv/linux/kernel-features.h
22830         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
22831         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
22832         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
22833         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22834         Remove conditional code.
22836 2014-06-25  Will Newton  <will.newton@linaro.org>
22838         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
22839         (_dl_arm_cap_flags): Add HWCAP2 values.
22840         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
22841         (_DL_HWCAP_COUNT): Increase to 37.
22842         (_DL_HWCAP_LAST): New define.
22843         (_DL_HWCAP2_LAST): New define.
22844         (_dl_procinfo): Add support for printing
22845         AT_HWCAP2 entries.
22846         (_dl_string_hwcap): Use _dl_hwcap_string.
22848 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22850         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22852 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
22854         * README: Do not mention ports directory.
22856         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
22857         Remove macro.
22858         * sysdeps/unix/sysv/linux/futimes.c: Do not include
22859         <kernel-features.h>.
22860         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
22861         conditional variable definition.
22862         (__futimes): Update comment.
22863         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
22864         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
22866         [BZ #16560]
22867         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
22868         arguments close to 0.
22869         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
22870         Likewise.
22871         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
22872         Likewise.
22873         * math/auto-libm-test-in: Add more tests of exp10.
22874         * math/auto-libm-test-out: Regenerated.
22875         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22877         * sysdeps/unix/sysv/linux/kernel-features.h
22878         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
22879         * sysdeps/unix/sysv/linux/readv.c: Do not include
22880         <kernel-features.h>.
22881         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
22882         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
22883         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
22884         unconditional.
22885         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
22886         conditional code.
22887         * sysdeps/unix/sysv/linux/writev.c: Do not include
22888         <kernel-features.h>.
22889         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
22890         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
22891         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
22892         unconditional.
22893         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
22894         conditional code.
22896 2014-06-25  Will Newton  <will.newton@linaro.org>
22898         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
22899         comment changes throughout the file.  Remove checks
22900         for HAVE_*_H definitions that are not required.
22901         (__gen_tempname): Call abort if an unknown kind value is
22902         passed.
22904 2014-06-25  Andreas Schwab  <schwab@suse.de>
22906         [BZ #17086]
22907         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
22908         scalbln, scalblnf, scalblnl in libc.
22910 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22912         [BZ #17086]
22913         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
22914         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
22915         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
22917 2014-06-24  Roland McGrath  <roland@hack.frob.com>
22919         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
22920         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
22921         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
22922         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
22923         Update #include.
22924         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
22925         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
22926         Update #include.
22927         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
22928         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
22929         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
22930         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
22931         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
22932         * sysdeps/x86/bits/pthreadtypes.h: ... here.
22933         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
22934         * sysdeps/x86/bits/semaphore.h: ... here.
22935         * sysdeps/x86/nptl/elide.h: Moved ...
22936         * sysdeps/x86/elide.h: ... here.
22937         * sysdeps/x86_64/nptl/Implies: File removed.
22938         * sysdeps/i386/nptl/Implies: File removed.
22940 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
22942         [BZ #16539]
22943         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
22944         return the argument for normal arguments with exponent below -64.
22945         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22946         Likewise.
22947         * math/auto-libm-test-in: Add another test of expm1.
22948         * math/auto-libm-test-out: Regenerated.
22950         [BZ #16287]
22951         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
22952         calling __erfcl for arguments at least 16.
22953         * math/auto-libm-test-in: Add more tests of erf.
22954         * math/auto-libm-test-out: Regenerated.
22956         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
22957         individual architectures.
22958         * sysdeps/unix/sysv/linux/configure: Regenerated.
22959         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
22960         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
22961         * sysdeps/unix/sysv/linux/powerpc/configure.ac
22962         (ldd_rewrite_script): Define variable.
22963         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
22965         file.
22966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
22967         generated file.
22968         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
22969         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
22970         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
22971         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
22972         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
22973         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
22974         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
22975         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
22977 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22979         [BZ #17084]
22980         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
22981         Rename member __data.d to __data.__elision_data.
22983 2014-06-24  Wilco  <wdijkstr@arm.com>
22985         * NEWS: Add 16918 to fixed bug list.
22987 2014-06-24  Wilco  <wdijkstr@arm.com>
22989         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
22991 2014-06-24  Wilco  <wdijkstr@arm.com>
22993         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
22994         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
22995         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
22996         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
22997         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
22998         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
22999         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
23000         Use _FPU_MASK_RM.
23002 2014-06-24  Wilco  <wdijkstr@arm.com>
23004         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
23006 2014-06-24  Wilco  <wdijkstr@arm.com>
23008         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
23009         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
23010         * sysdeps/arm/fesetround.c (fesetround): Remove space.
23011         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
23013 2014-06-24  Wilco  <wdijkstr@arm.com>
23015         [BZ #16918]
23016         * sysdeps/arm/feupdateenv.c (feupdateenv):
23017         Rewrite to reduce FPSCR accesses and fix return value.
23019 2014-06-24  Wilco  <wdijkstr@arm.com>
23021         * sysdeps/arm/fclrexcpt.c (feclearexcept):
23022         Optimize to avoid unnecessary FPSCR writes.
23023         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
23024         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
23025         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
23026         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
23028 2014-06-24  Wilco  <wdijkstr@arm.com>
23030         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
23031         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
23032         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
23033         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
23034         Call libc_fetestexcept_vfp.
23035         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
23036         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
23037         __SOFTFP__ ifdef so that they can be built for softfp.
23039 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23041         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
23042         argument type signed char.
23044         * Makerules (check-abi): Dump diff of symlist if the test
23045         fails.
23047 2014-06-23  Roland McGrath  <roland@hack.frob.com>
23049         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
23050         using abort.
23052         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
23053         Remove unused variable ST.
23055 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
23057         [BZ #16354]
23058         [BZ #17061]
23059         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
23060         small arguments before calling __expm1.
23061         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
23062         small arguments before calling __expm1f.
23063         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
23064         small arguments before calling __expm1l.
23065         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23066         Likewise.
23067         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
23068         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
23069         spurious underflow for some cosh tests.
23070         * math/auto-libm-test-out: Regenerated.
23071         * sysdeps/i386/fpu/libm-test-ulps: Update.
23073         [BZ #17050]
23074         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
23075         (__ieee754_y1): Set errno if return value overflows.
23076         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
23077         (__ieee754_y1f): Set errno if return value overflows.
23078         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
23079         (__ieee754_y1l): Set errno if return value overflows.
23080         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
23081         (__ieee754_y1l): Set errno if return value overflows.
23082         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
23083         * math/auto-libm-test-out: Regenerated.
23085         * math/gen-auto-libm-tests.c: Document use of
23086         ignore-zero-inf-sign.
23087         (input_flag_type): Add value flag_ignore_zero_inf_sign.
23088         (input_flags): Add ignore-zero-inf-sign.
23089         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
23090         * math/gen-libm-test.pl (generate_testfile): Handle
23091         ignore-zero-inf-sign.
23092         * math/auto-libm-test-in: Mark some cpow tests with
23093         ignore-zero-inf-sign and some with xfail-rounding.
23094         * math/auto-libm-test-out: Regenerated.
23095         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
23096         * sysdeps/i386/fpu/libm-test-ulps: Update.
23097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23099         [BZ #16315]
23100         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
23101         overflowing or underflowing operations take place with sign of
23102         result.
23103         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23104         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23105         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
23106         (__ieee754_pow): Recompute overflowing and underflowing results in
23107         original rounding mode.
23108         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
23109         (__powl_helper): Allow negative argument X and scale negated value
23110         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
23111         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
23112         overflowing or underflowing operations take place with sign of
23113         result.
23114         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
23115         Include <math.h>.
23116         * math/auto-libm-test-in: Add more tests of pow.
23117         * math/auto-libm-test-out: Regenerated.
23118         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
23119         (pow_tonearest_test_data): Remove.
23120         (pow_test_tonearest): Likewise.
23121         (pow_towardzero_test_data): Likewise.
23122         (pow_test_towardzero): Likewise.
23123         (pow_downward_test_data): Likewise.
23124         (pow_test_downward): Likewise.
23125         (pow_upward_test_data): Likewise.
23126         (pow_test_upward): Likewise.
23127         (main): Don't call removed functions.
23128         * sysdeps/i386/fpu/libm-test-ulps: Update.
23129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23131 2014-06-23  Roland McGrath  <roland@hack.frob.com>
23133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
23134         Moved ...
23135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
23136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23137         Moved ...
23138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
23139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23140         Moved ...
23141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
23142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
23143         Moved ...
23144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
23145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
23146         File removed.
23147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23148         File removed.
23149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
23150         File removed.
23151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
23152         File removed.
23153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
23154         File removed.
23155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
23156         File removed.
23157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
23158         File removed.
23159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23160         File removed.
23161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
23162         File removed.
23163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23164         File removed.
23165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
23166         File removed.
23167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
23168         File removed.
23169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
23170         Moved ...
23171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
23172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
23173         Moved ...
23174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
23175         ... here.
23176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
23177         Moved ...
23178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
23179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
23180         Moved ...
23181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
23182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
23183         Moved ...
23184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
23185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
23186         Moved ...
23187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
23188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
23189         Moved ...
23190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
23191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
23192         Moved ...
23193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
23194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
23195         Moved ...
23196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
23197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
23198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
23199         ... here.
23200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
23201         Moved ...
23202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
23203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
23204         Moved ...
23205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23206         ... here.
23207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
23208         Moved ...
23209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23210         ... here.
23211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23212         Moved ...
23213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
23214         ... here.
23215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
23216         Moved ...
23217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
23218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23219         Moved ...
23220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
23221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
23222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
23223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23224         Moved ...
23225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
23226         ... here.
23227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23228         Moved ...
23229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
23230         ... here.
23231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23232         Moved ...
23233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
23234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23235         Moved ...
23236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
23237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23238         Moved ...
23239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
23240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23241         Moved ...
23242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
23243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23244         Moved ...
23245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
23246         ... here.
23247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23248         Moved ...
23249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
23250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23251         Moved ...
23252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
23253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23254         Moved ...
23255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
23256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23257         Moved ...
23258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
23259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
23260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
23261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23262         Moved ...
23263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
23264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23265         Moved ...
23266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
23267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23268         Moved ...
23269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
23270         ... here.
23271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23272         Moved ...
23273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
23274         ... here.
23275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23276         Moved ...
23277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
23278         ... here.
23279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23280         Moved ...
23281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
23282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23283         Moved ...
23284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
23285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23286         Moved ...
23287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
23288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23289         Moved ...
23290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
23291         ... here.
23292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23293         Moved ...
23294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
23295         ... here.
23296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23297         Moved ...
23298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
23299         ... here.
23300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23301         Moved ...
23302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
23303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
23304         Moved ...
23305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
23307 2014-06-23  Will Newton  <will.newton@linaro.org>
23308             Wilco  <wdijkstr@arm.com>
23310         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
23311         implementation.  Include get-rounding-mode.h.
23312         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
23313         [!libc_feholdsetround_noex_ctx]: Define
23314         libc_feholdsetround_noex_ctx.
23315         [!libc_feholdsetround_noexf_ctx]: Define
23316         libc_feholdsetround_noexf_ctx.
23317         [!libc_feholdsetround_noexl_ctx]: Define
23318         libc_feholdsetround_noexl_ctx.
23319         (libc_feholdsetround_ctx): New function.
23320         (libc_feresetround_ctx): New function.
23321         (libc_feholdsetround_noex_ctx): New function.
23322         (libc_feresetround_noex_ctx): New function.
23324 2014-06-23  Roland McGrath  <roland@hack.frob.com>
23326         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
23327         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
23328         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
23329         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
23330         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
23331         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
23333         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
23334         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
23335         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
23336         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
23337         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
23338         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
23339         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
23340         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
23341         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
23342         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
23343         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
23344         Moved ...
23345         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
23346         ... here.
23347         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
23348         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
23349         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
23350         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
23351         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
23352         Moved ...
23353         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
23354         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
23355         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
23356         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
23357         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
23358         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
23359         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
23360         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
23361         Moved ...
23362         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
23363         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
23364         Moved ...
23365         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
23366         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
23367         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
23368         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
23369         Moved ...
23370         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
23371         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
23372         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
23373         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
23374         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
23375         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
23376         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
23377         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
23378         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
23379         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
23380         Moved ...
23381         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
23382         ... here.
23383         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
23384         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
23385         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
23386         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
23387         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
23388         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
23389         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
23390         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
23391         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
23392         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
23393         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
23394         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
23395         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
23396         Moved ...
23397         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
23398         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
23399         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
23400         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
23401         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
23402         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
23403         Moved ...
23404         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
23405         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
23406         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
23407         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
23408         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
23410         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
23411         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
23412         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
23413         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
23414         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
23415         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
23416         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
23417         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
23418         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
23419         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
23420         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
23421         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
23422         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
23423         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
23424         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
23425         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
23426         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
23427         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
23428         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
23429         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
23430         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
23431         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
23432         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
23433         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
23434         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
23435         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
23436         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
23437         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
23439 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
23441         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
23442         (FALLOC_FL_COLLAPSE_RANGE): New macro.
23443         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
23444         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
23445         (IPV6_PMTUDISC_INTERFACE): Likewise.
23446         (IPV6_PMTUDISC_OMIT): Likewise.
23448 2014-06-23  Andreas Schwab  <schwab@suse.de>
23450         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
23451         Remove unused errout label.
23453 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23455         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
23456         macro: hardware supports Vector Crypto instructions.
23458 2014-06-23  Will Newton  <will.newton@linaro.org>
23460         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
23461         rather than __builtin_expect.
23463         * elf/dl-lookup.c (undefined_msg): Remove variable.
23464         (_dl_lookup_symbol_x): Replace undefined_msg with string
23465         literal.
23467         * elf/dl-lookup.c (do_lookup_unique): New function.
23468         (do_lookup_x): Move STB_GNU_UNIQUE handling code
23469         to a separate function.
23471 2014-06-23  Andreas Schwab  <schwab@suse.de>
23473         [BZ #17079]
23474         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
23475         before reading the next line.
23477 2014-06-23  Will Newton  <will.newton@linaro.org>
23479         * test-skeleton.c (signal_handler): Use printf and %m
23480         rather than perror.  Use printf rather than fprintf to
23481         stderr.  Use puts rather than fputs to stderr.
23482         (main): Likewise.
23484 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
23486         * nscd/nscd.c (thread_info_t): Remove typedef.
23487         (thread_info): Remove variable.
23489 2014-06-21  Allan McRae  <allan@archlinux.org>
23491         * NEWS: Mention CVE-2014-4043.
23493 2014-06-20  Roland McGrath  <roland@hack.frob.com>
23495         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
23496         * nptl/smp.h: ... here.
23498         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
23500         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
23501         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
23502         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
23503         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
23505         * nptl/allocatestack.c: Include <stack-aliasing.h>.
23506         * nptl/stack-aliasing.h: New file.
23507         * sysdeps/i386/i686/stack-aliasing.h: New file.
23508         * sysdeps/i386/i686/nptl/Makefile: File removed.
23509         * sysdeps/x86_64/stack-aliasing.h: New file.
23510         * sysdeps/x86_64/nptl/Makefile
23511         (CFLAGS-pthread_create.c): Variable removed.
23513         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
23514         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
23515         old file.
23516         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
23517         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
23518         old file.
23520 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
23522         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23523         (__ASSUME_SIGFRAME_V2): Remove macro.
23524         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
23525         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
23526         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
23527         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
23528         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
23529         Declare as function.  Remove conditional macro definitions.
23530         (__default_rt_sa_restorer): Likewise.
23531         (__default_sa_restorer_v1): Remove declaration.
23532         (__default_sa_restorer_v2): Likewise.
23533         (__default_rt_sa_restorer_v1): Likewise.
23534         (__default_rt_sa_restorer_v2): Likewise.
23535         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
23536         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
23537         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
23539 2014-06-20  Roland McGrath  <roland@hack.frob.com>
23541         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
23542         (libpthread-routines): Add sysdep.
23543         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
23544         * sysdeps/unix/sysv/linux/sparc/Versions
23545         (libpthread: GLIBC_2.3.3): New version set.
23546         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
23547         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
23548         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
23549         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
23550         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
23551         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
23552         Moved ...
23553         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
23554         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
23555         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
23556         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
23557         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
23558         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
23559         * sysdeps/sparc/nptl/sem_init.c: ... here.
23560         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
23561         * sysdeps/sparc/nptl/sem_post.c: ... here.
23562         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
23563         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
23564         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
23565         * sysdeps/sparc/nptl/sem_wait.c: ... here.
23566         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
23567         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
23568         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
23569         (libpthread-routines): Add cpu_relax.
23570         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
23571         File removed.
23572         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
23573         (librt: GLIBC_2.3.3): New version set.
23574         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
23575         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
23576         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
23577         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
23578         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
23579         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
23580         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
23581         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
23582         Moved ...
23583         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
23584         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
23585         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
23586         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
23587         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
23588         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
23589         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
23590         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
23591         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
23592         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
23593         Moved ...
23594         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
23595         Update #include.
23596         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
23597         Moved ...
23598         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
23599         Update #include.
23600         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
23601         Moved ...
23602         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
23603         Update #include.
23604         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
23605         Moved ...
23606         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
23607         Update #include.
23608         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
23609         Moved ...
23610         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
23611         Update #include.
23612         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
23613         Moved ...
23614         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
23615         Update #include.
23616         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
23617         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
23618         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
23619         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
23620         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
23621         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
23622         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
23623         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
23624         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
23625         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
23626         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
23627         Moved ...
23628         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
23629         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
23630         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
23631         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
23632         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
23634 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
23636         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
23637         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
23638         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
23639         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
23640         * nscd/nscd.c: Likewise.
23641         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
23642         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
23643         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
23644         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
23646         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
23647         <kernel-features.h>.
23648         (init_mq_netlink): Remove conditional have_sock_cloexec
23649         definitions.  Remove code conditional on have_sock_cloexec < 0.
23650         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
23651         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
23652         * sysdeps/unix/sysv/linux/opensock.c: Do not include
23653         <kernel-features.h>.
23654         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
23655         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
23657 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
23659         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23660         Add tests for memset_chk and memset.
23662         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
23663         with AVX2_Usable.
23665 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
23667         [BZ #16046]
23668         * elf/tst-dl-iter-static.c: New file.
23669         * elf/Makefile (tests-static): Add tst-dl-iter-static.
23671         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
23672         error.
23674 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
23676         * sysdeps/unix/sysv/linux/kernel-features.h
23677         (__ASSUME_F_GETOWN_EX): Remove macro.
23678         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
23679         <kernel-features.h>.
23680         (miss_F_GETOWN_EX): Remove variable or macro.
23681         (do_fcntl): Do not check miss_F_GETOWN_EX.
23682         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
23684         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
23685         Remove macro.
23686         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
23687         [!__ASSUME_AT_RANDOM]: Remove conditional code.
23688         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
23690         * sysdeps/unix/sysv/linux/kernel-features.h
23691         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
23692         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
23693         [ADJ_OFFSET_SS_READ]: Make code unconditional.
23694         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
23696 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
23698         [BZ #17075]
23699         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
23700         Fix calculation of the symbol's value.
23701         * sysdeps/arm/tst-armtlsdescloc.c: New file.
23702         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
23703         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
23704         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
23705         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
23706         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
23707         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
23708         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
23709         (modules-names): Add `tst-armtlsdescmod',
23710         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
23711         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
23712         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
23713         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
23714         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
23715         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
23716         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
23717         ($(objpfx)tst-armtlsdescloc): New dependency.
23718         ($(objpfx)tst-armtlsdescextnow): Likewise.
23719         ($(objpfx)tst-armtlsdescextlazy): Likewise.
23720         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
23721         TLS scheme support.
23722         * sysdeps/arm/configure: Regenerate.
23724 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
23726         * include/fcntl.h (__atfct_seterrno): Remove prototype.
23727         (__atfct_seterrno_2): Likewise.
23728         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
23729         <kernel-features.h>.
23730         (__ASSUME_ATFCTS): Do not undefine and redefine.
23731         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
23732         (__have_atfcts): Remove conditional definition.
23733         (__fxstatat([__NR_fstatat64]: Make code unconditional.
23734         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
23735         unreachable if [__ASSUME_ATFCTS].
23736         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
23737         not undefine and redefine.
23738         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
23739         <kernel-features.h>.
23740         (faccessat) [__NR_faccessat]: Make code unconditional.
23741         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
23742         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
23743         <kernel-features.h>.
23744         (fchmodat) [__NR_fchmodat]: Make code unconditional.
23745         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
23746         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
23747         <kernel-features.h>.
23748         (fchownat) [__NR_fchownat]: Make code unconditional.
23749         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
23750         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
23751         <kernel-features.h>.
23752         (futimesat) [__NR_futimesat]: Make code unconditional.
23753         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
23754         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23755         <kernel-features.h>.
23756         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
23757         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
23758         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23759         <kernel-features.h>.
23760         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
23761         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
23762         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
23763         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23764         <kernel-features.h>.
23765         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
23766         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
23767         * sysdeps/unix/sysv/linux/linkat.c: Do not include
23768         <kernel-features.h>.
23769         (linkat) [__NR_linkat]: Make code unconditional.
23770         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
23771         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
23772         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
23773         <kernel-features.h>.
23774         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
23775         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
23776         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
23777         <kernel-features.h>.
23778         (mkdirat) [__NR_mkdirat]: Make code unconditional.
23779         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
23780         * sysdeps/unix/sysv/linux/openat.c: Do not include
23781         <kernel-features.h>.
23782         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
23783         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
23784         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
23785         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
23786         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
23787         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
23788         <kernel-features.h>.
23789         (readlinkat) [__NR_readlinkat]: Make code unconditional.
23790         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
23791         result of INLINE_SYSCALL directly, not via int variable.
23792         * sysdeps/unix/sysv/linux/renameat.c: Do not include
23793         <kernel-features.h>.
23794         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
23795         (renameat) [__NR_renameat]: Make code unconditional.
23796         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
23797         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
23798         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
23799         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
23800         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
23801         (__ASSUME_ATFCTS): Do not undefine and redefine.
23802         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
23803         <kernel-features.h>.
23804         (symlinkat) [__NR_symlinkat]: Make code unconditional.
23805         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
23806         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
23807         <kernel-features.h>.
23808         (unlinkat) [__NR_unlinkat]: Make code unconditional.
23809         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
23810         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
23811         (__ASSUME_ATFCTS): Do not undefine and redefine.
23812         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23813         <kernel-features.h>.
23814         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
23815         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
23816         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23817         <kernel-features.h>.
23818         (__xmknodat) [__NR_mknodat]: Make code unconditional.
23819         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
23821 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
23823         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
23825 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
23827         [BZ #17069]
23828         * posix/regcomp.c (parse_reg_exp): Deallocate partially
23829         constructed tree before returning error.
23830         * posix/bug-regexp36.c: Expand test case.
23832 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
23834         [BZ #6803]
23835         * math/libm-test.inc (scalbln_test_date):
23836         Add errno expectations.
23837         * math/w_scalblnf.c: New File.
23838         Add wrapper which checks for setting errno to ERANGE.
23839         Add weak_alias for corresponding scalbln function.
23840         * math/w_scalbln.c: Likewise.
23841         * math/w_scalblnl.c: Likewise.
23842         * math/Makefile (libm-calls): Add w_scalbln.
23843         * sysdeps/ieee754/flt-32/s_scalblnf.c:
23844         Remove weak_alias for corresponding scalbln function.
23845         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23846         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23847         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23848         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23849         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
23850         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
23851         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
23852         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
23853         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
23854         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
23855         Remove long_double_symbol for scalblnl function in libm, libc.
23856         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
23857         Add wrapper which checks for setting errno to ERANGE.
23858         Add long_double_symbol for scalblnl function in libm, libc.
23859         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
23860         Remove long_double_symbol for scalblnl in libm.
23861         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
23862         Add wrapper which checks for setting errno to ERANGE.
23863         Add long_double_symbol for scalblnl function in libm.
23864         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
23865         Do not use wrapper because of own implementation.
23867 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
23869         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
23870         3 bytes for __pad1 for x32.
23871         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
23873 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
23874             H.J. Lu  <hongjiu.lu@intel.com>
23876         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
23877         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
23878         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23879         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23880         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
23882 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
23884         [BZ #17069]
23885         * posix/regcomp.c (parse_expression): Deallocate partially
23886         constructed tree before returning error.
23887         * posix/Makefile.c (tests): Add bug-regex36.
23888         (generated): Add bug-regex36.mtrace.
23889         (tests-special): Add $(objpfx)bug-regex36-mem.out
23890         (bug-regex36-ENV): New variable.
23891         ($(objpfx)bug-regex36-mem.out): New rule.
23892         * posix/bug-regex36.c: New file.
23894 2014-06-19  Will Newton  <will.newton@linaro.org>
23896         * malloc/malloc.c (systrim): If extra is zero then return
23897         early.
23899 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23901         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
23903 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
23905         * sysdeps/aarch64/strchr.S: New file.
23907 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
23909         [BZ #17022]
23910         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
23911         from arguments -2 or below.
23912         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
23913         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
23915 2014-06-18  Andreas Schwab  <schwab@suse.de>
23917         [BZ #17062]
23918         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
23919         of a bracket expr not to run off the end of the string.
23920         * posix/Makefile (tests): Add tst-fnmatch3.
23921         * posix/tst-fnmatch3.c: New file.
23923 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
23925         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
23926         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
23927         [$(cross-compiling) = no]: Likewise.
23928         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
23929         [$(cross-compiling) = no]: Likewise.
23931 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23933         [BZ #17031]
23934         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
23935         double, adjusted for any remainder from the high double.
23936         * math/libm-test.inc (nearbyint): Add tests.
23937         (rint): Likewise.
23939 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23941         * nptl/sysdeps/powerpc/Makefile: Moved ...
23942         * sysdeps/powerpc/nptl/Makefile: ... here.
23943         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
23944         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
23945         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
23946         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
23947         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
23948         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
23949         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
23950         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
23951         * nptl/sysdeps/powerpc/tls.h: Moved ...
23952         * sysdeps/powerpc/nptl/tls.h: ... here.
23954 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
23956         [BZ #16681]
23957         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
23958         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
23959         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
23960         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
23961         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
23962         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
23963         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
23964         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
23965         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
23967 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
23969         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
23971 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
23973         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
23974         defined operator.
23976         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
23977         $TIMEOUTFACTOR.
23979 2014-06-16  Florian Weimer  <fweimer@redhat.com>
23981         [BZ #17058]
23982         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
23983         non-executed part of the test.
23985 2014-06-16  Andreas Schwab  <schwab@suse.de>
23987         * string/bits/string2.h (strdup, strndup): Update feature guard.
23989 2014-06-14  David S. Miller  <davem@davemloft.net>
23991         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23993 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
23995         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
23996         that was previously under [RESET_PID].
23997         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
23999         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
24000         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
24001         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
24002         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24003         (__libc_vfork): New strong alias.
24004         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
24006 2014-06-14 Andi Kleen  <ak@linux.intel.com>
24008         * sysdeps/generic/elide.h: New file.
24010 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24012         * Makefile (installed-headers): Adjust path of pthread.h header.
24014 2014-06-13  Roland McGrath  <roland@hack.frob.com>
24016         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
24017         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
24018         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
24019         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
24021         * nptl/sysdeps/s390/Makefile: Moved ...
24022         * sysdeps/s390/nptl/Makefile: ... here.
24023         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
24024         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
24025         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
24026         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
24027         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
24028         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
24029         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
24030         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
24031         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
24032         * sysdeps/s390/nptl/pthreaddef.h: ... here.
24033         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
24034         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
24035         * nptl/sysdeps/s390/tls.h: Moved ...
24036         * sysdeps/s390/nptl/tls.h: ... here.
24038         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
24039         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
24041 2014-06-13  David S. Miller  <davem@davemloft.net>
24043         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
24044         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
24045         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
24046         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
24047         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
24048         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
24049         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
24050         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
24051         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
24052         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
24053         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
24054         Remove RESET_PID cpp guards.
24055         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
24056         Remove RESET_PID cpp guards.
24057         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
24059 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
24061         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
24062         __sp to uintptr_t.
24064 2014-06-13  Andi Kleen  <ak@linux.intel.com>
24066         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
24067         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
24068         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
24069         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
24070         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
24071         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
24072         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
24073         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
24074         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
24075         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
24076         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
24077         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
24078         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
24079         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
24080         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
24081         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
24082         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
24083         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
24084         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
24085         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
24087         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
24088         (pthread_rwlock_rdlock): Add elision.
24089         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
24090         (pthread_rwlock_wrlock): Add elision.
24091         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
24092         (pthread_rwlock_trywrlock): Add elision.
24093         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
24094         (pthread_rwlock_tryrdlock): Add elision.
24095         * nptl/pthread_rwlock_unlock.c: Include elide.h.
24096         (pthread_rwlock_tryrdlock): Add elision unlock.
24097         * nptl/sysdeps/pthread/pthread.h:
24098         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
24099         (PTHREAD_RWLOCK_INITIALIZER,
24100         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
24101         Handle new elision field.
24102         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
24103         * sysdeps/arm/nptl/bits/pthreadtypes.h
24104         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24105         * sysdeps/sh/nptl/bits/pthreadtypes.h
24106         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24107         * sysdeps/tile/nptl/bits/pthreadtypes.h
24108         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24109         * sysdeps/a/nptl/bits/pthreadtypes.h
24110         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24111         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
24112         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24113         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
24114         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24115         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
24116         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24117         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
24118         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24119         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
24120         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24121         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
24122         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24123         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
24124         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24125         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
24126         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24127         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
24128         (elision_init): Set try_xbegin to zero when no RTM.
24129         * sysdeps/x86/nptl/bits/pthreadtypes.h
24130         (pthread_rwlock_t): Change __pad1 to __rwelision.
24131         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24133 2014-06-13  Andi Kleen  <ak@linux.intel.com>
24135         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
24136         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
24137         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
24138         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
24140 2014-06-13  Meador Inge  <meadori@codesourcery.com>
24142         [BZ #16996]
24143         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
24144         that the cached result has been set before returning it.
24146 2014-06-12  Roland McGrath  <roland@hack.frob.com>
24148         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
24149         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
24150         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
24151         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
24152         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
24153         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
24155         * nptl/sysdeps/sparc/Makefile: Moved ...
24156         * sysdeps/sparc/nptl/Makefile: ... here.
24157         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
24158         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
24159         * nptl/sysdeps/sparc/tls.h: Moved ...
24160         * sysdeps/sparc/nptl/tls.h: ... here.
24161         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
24162         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
24163         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
24164         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
24165         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
24166         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
24167         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
24168         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
24169         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
24170         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
24171         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
24172         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
24173         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
24174         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
24175         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
24176         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
24177         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
24178         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
24179         Update #include.
24180         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
24181         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
24182         Update #include.
24183         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
24184         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
24185         Update #include.
24186         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
24187         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
24188         Update #include.
24190         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
24192         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
24193         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
24195         * sysdeps/pthread/posix-timer.h: Include <list.h>.
24196         (struct list_links): Type removed.
24197         (struct thread_node, struct timer_node): Replace struct list_links
24198         with struct list_head.
24199         (list_unlink_ip): Likewise.
24200         * sysdeps/pthread/timer_routines.c
24201         (timer_free_list, thread_free_list, thread_active_list): Likewise.
24202         (list_append, list_insbefore): Likewise.
24203         (list_init): Function removed.
24204         (thread_init, init_module): Use INIT_LIST_HEAD instead.
24205         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
24206         * sysdeps/pthread/Makefile: ... here, new file.
24208         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
24209         * sysdeps/nptl/Implies: ... here.
24210         * sysdeps/unix/sysv/linux/Implies: Add nptl.
24211         * nptl/sysdeps/pthread/list.h: Moved ...
24212         * include/list.h: ... here.
24213         * nptl/sysdeps/pthread/createthread.c: Moved ...
24214         * nptl/createthread.c: ... here.
24215         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
24216         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
24217         * nptl/pt-longjmp.c: ... here.
24218         * nptl/sysdeps/pthread/Makefile: Moved ...
24219         * sysdeps/nptl/Makefile: ... here.
24220         * nptl/sysdeps/pthread/Subdirs: Moved ...
24221         * sysdeps/nptl/Subdirs: ... here.
24222         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
24223         * sysdeps/nptl/aio_misc.h: ... here.
24224         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
24225         * sysdeps/nptl/bits/libc-lock.h: ... here.
24226         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
24227         * sysdeps/nptl/bits/libc-lockP.h: ... here.
24228         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
24229         * sysdeps/nptl/bits/stdio-lock.h: ... here.
24230         * nptl/sysdeps/pthread/configure: Moved ...
24231         * sysdeps/nptl/configure: ... here.
24232         * nptl/sysdeps/pthread/configure.ac: Moved ...
24233         * sysdeps/nptl/configure.ac: ... here.
24234         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
24235         * sysdeps/nptl/gai_misc.h: ... here.
24236         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
24237         * sysdeps/nptl/librt-cancellation.c: ... here.
24238         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
24239         * sysdeps/nptl/malloc-machine.h: ... here.
24240         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
24241         * sysdeps/nptl/pthread-functions.h: ... here.
24242         * nptl/sysdeps/pthread/pthread.h: Moved ...
24243         * sysdeps/nptl/pthread.h: ... here.
24244         * nptl/sysdeps/pthread/setxid.h: Moved ...
24245         * sysdeps/nptl/setxid.h: ... here.
24246         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
24247         * sysdeps/nptl/sigfillset.c: ... here.
24248         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
24249         * sysdeps/nptl/tcb-offsets.h: ... here.
24250         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
24251         * sysdeps/nptl/tst-mqueue8x.c: ... here.
24252         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
24253         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
24254         * nptl/sysdeps/pthread/allocalim.h: Moved ...
24255         * sysdeps/pthread/allocalim.h: ... here.
24256         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
24257         * sysdeps/pthread/bits/sigthread.h: ... here.
24258         * nptl/sysdeps/pthread/flockfile.c: Moved ...
24259         * sysdeps/pthread/flockfile.c: ... here.
24260         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
24261         * sysdeps/pthread/ftrylockfile.c: ... here.
24262         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
24263         * sysdeps/pthread/funlockfile.c: ... here.
24264         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
24265         * sysdeps/pthread/posix-timer.h: ... here.
24266         * nptl/sysdeps/pthread/timer_create.c: Moved ...
24267         * sysdeps/pthread/timer_create.c: ... here.
24268         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
24269         * sysdeps/pthread/timer_delete.c: ... here.
24270         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
24271         * sysdeps/pthread/timer_getoverr.c: ... here.
24272         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
24273         * sysdeps/pthread/timer_gettime.c: ... here.
24274         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
24275         * sysdeps/pthread/timer_routines.c: ... here.
24276         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
24277         * sysdeps/pthread/timer_settime.c: ... here.
24278         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
24279         * sysdeps/pthread/tst-timer.c: ... here.
24280         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
24281         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
24283         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
24284         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
24286         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
24287         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
24288         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
24289         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
24290         Update #include target.
24291         * nptl/sysdeps/i386/i686/Makefile: Moved ...
24292         * sysdeps/i386/i686/nptl/Makefile: ... here.
24293         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
24294         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
24295         Update #include target.
24296         * nptl/sysdeps/i386/i686/tls.h: Moved ...
24297         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
24298         * nptl/sysdeps/i386/Makefile: Moved ...
24299         * sysdeps/i386/nptl/Makefile: ... here.
24300         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
24301         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
24302         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
24303         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
24304         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
24305         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
24306         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
24307         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
24308         * sysdeps/i386/nptl/pthreaddef.h: ... here.
24309         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
24310         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
24311         * nptl/sysdeps/i386/tls.h: Moved ...
24312         * sysdeps/i386/nptl/tls.h: ... here.
24314         * sysdeps/sh/Makefile [$(subdir) = csu]
24315         (gen-as-const-headers): Add tcb-offsets.sym.
24316         * nptl/sysdeps/sh/Makefile: File removed.
24317         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
24318         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
24319         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
24320         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
24321         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
24322         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
24323         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
24324         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
24325         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
24326         * sysdeps/sh/nptl/pthreaddef.h: ... here.
24327         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
24328         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
24329         * nptl/sysdeps/sh/tls.h: Moved ...
24330         * sysdeps/sh/nptl/tls.h: ... here.
24331         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
24332         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
24333         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
24334         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
24335         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
24336         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
24337         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
24338         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
24339         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
24340         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
24341         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
24342         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
24343         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
24344         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
24345         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
24346         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
24347         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
24348         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
24349         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
24350         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
24351         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
24352         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
24353         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
24354         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
24355         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
24356         Moved ...
24357         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
24358         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
24359         Moved ...
24360         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
24361         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
24362         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
24363         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
24364         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
24365         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
24366         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
24367         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
24368         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
24369         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
24370         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
24371         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
24372         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
24373         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
24374         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
24375         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
24376         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
24377         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
24378         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
24380 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24382         * posix/spawn_faction_addopen.c: Include string.h.
24384 2014-06-11  Roland McGrath  <roland@hack.frob.com>
24386         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
24387         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
24388         * nptl/sysdeps/x86_64/Makefile: Moved ...
24389         * sysdeps/x86_64/nptl/Makefile: ... here.
24390         * nptl/sysdeps/x86_64/configure: Moved ...
24391         * sysdeps/x86_64/nptl/configure: ... here.
24392         * nptl/sysdeps/x86_64/configure.ac: Moved ...
24393         * sysdeps/x86_64/nptl/configure.ac: ... here.
24394         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
24395         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
24396         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
24397         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
24398         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
24399         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
24400         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
24401         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
24402         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
24403         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
24404         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
24405         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
24406         * nptl/sysdeps/x86_64/tls.h: Moved ...
24407         * sysdeps/x86_64/nptl/tls.h: ... here.
24408         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
24409         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
24410         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
24411         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
24413         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
24415 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24417         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24419 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
24421         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
24422         type.
24423         [POSIX] (off_t): Likewise.
24424         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
24425         [POSIX] (S_ISBLK): Require macro.
24426         [POSIX] (S_ISCHR): Likewise.
24427         [POSIX] (S_ISDIR): Likewise.
24428         [POSIX] (S_ISFIFO): Likewise.
24429         [POSIX] (S_ISREG): Likewise.
24430         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
24431         optional-macro.
24432         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
24433         type.
24434         [POSIX] (time_t): Likewise.
24435         [POSIX] (timer_t): Likewise.
24437 2014-06-11  Florian Weimer  <fweimer@redhat.com>
24439         [BZ #17048]
24440         * posix/spawn_int.h (struct __spawn_action): Make the path string
24441         non-const to support deallocation.
24442         * posix/spawn_faction_addopen.c
24443         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
24444         * posix/spawn_faction_destroy.c
24445         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
24446         path in all spawn_do_open actions.
24447         * posix/tst-spawn.c (do_test): Exercise the copy operation in
24448         posix_spawn_file_actions_addopen.
24450 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
24452         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
24453         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
24454         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
24455         conditional code always true.
24456         (__libc_vfork): New alias.
24458 2014-06-11  Roland McGrath  <roland@hack.frob.com>
24460         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24461         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
24463         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
24465         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24466         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
24468         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
24469         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
24471         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24472         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
24474 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24476         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
24477         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
24478         multiarch strcmp for PPC64.
24479         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
24480         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
24481         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
24482         multiarch optimizations.
24483         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24484         (__libc_ifunc_impl_list): Likewise.
24486 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24488         * benchtests/scripts/validate_benchout.py: New script.
24489         * benchtests/Makefile (bench-func): Call it.
24490         * benchtests/scripts/benchout.schema.json: New file.
24492 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
24494         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
24495         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
24496         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
24497         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
24498         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
24499         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
24500         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
24501         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
24502         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
24503         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
24504         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
24505         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
24506         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
24507         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
24508         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
24509         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
24510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
24511         Moved ...
24512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
24513         ... here.
24514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
24515         Moved ...
24516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
24517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
24518         Moved ...
24519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
24520         ... here.
24521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
24522         Moved ...
24523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
24524         ... here.
24525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
24526         Moved ...
24527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
24528         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
24529         Moved ...
24530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
24531         ... here.
24532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
24533         Moved ...
24534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
24535         ... here.
24536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
24537         Moved ...
24538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
24539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
24540         Moved ...
24541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
24542         ... here.
24543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
24544         Moved ...
24545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
24546         ... here.
24547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
24548         Moved ...
24549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
24550         ... here.
24551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
24552         Moved ...
24553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
24554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
24555         Moved ...
24556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
24557         ... here.
24558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
24559         Moved ...
24560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
24561         ... here.
24562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
24563         Moved ...
24564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
24565         ... here.
24566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
24567         Moved ...
24568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
24569         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
24570         Moved ...
24571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
24572         ... here.
24573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
24574         Moved ...
24575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
24576         ... here.
24577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
24578         Moved ...
24579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
24580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
24581         Moved ...
24582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
24583         ... here.
24584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
24585         Moved ...
24586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
24587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
24588         Moved ...
24589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
24590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
24591         Moved ...
24592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
24593         ... here.
24594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
24595         Moved ...
24596         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
24597         ... here.
24598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
24599         Moved ...
24600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
24601         ... here.
24602         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
24603         Moved ...
24604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
24605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
24606         Moved ...
24607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
24608         ... here.
24609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
24610         Moved ...
24611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
24612         ... here.
24613         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
24614         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
24615         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
24616         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
24617         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
24618         Moved ...
24619         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
24620         ... here.
24621         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
24622         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
24623         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
24624         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
24625         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
24626         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
24627         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
24628         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
24629         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
24630         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
24631         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
24632         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
24633         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
24634         Moved ...
24635         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
24636         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
24637         Moved ...
24638         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
24639         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
24640         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
24641         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
24642         Moved ...
24643         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
24644         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
24645         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
24646         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
24647         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
24648         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
24649         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
24651 2014-06-10  Wilco  <wdijkstr@arm.com>
24653         * math/test-fenv-return.c: New file.
24654         * math/Makefile: Add new test test-fenv-return.
24656 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
24658         [BZ #17042]
24659         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
24660         when x - 1 is zero.
24661         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
24662         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
24663         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
24664         0.0L for an argument of 1.0L.
24665         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
24666         Likewise.
24667         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
24668         value when x - 1 is zero.
24669         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
24670         * sysdeps/i386/fpu/libm-test-ulps: Update.
24671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24673 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
24675         [BZ #15119]
24676         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
24678 2014-06-09  Roland McGrath  <roland@hack.frob.com>
24680         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
24681         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
24683 2014-06-09  Roland McGrath  <roland@hack.frob.com>
24685         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24686         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
24688         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24689         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
24691         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24692         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
24694         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24695         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
24697         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
24698         if not already defined.
24699         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
24700         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
24701         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
24702         (TLS_INIT_TP): Use it.
24703         (TLS_DEFINE_INIT_TP): New macro.
24704         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
24706 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
24708         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
24709         constant.
24710         [POSIX] (IXANY): Likewise.
24711         [POSIX] (OLCUC): Likewise.
24712         [POSIX || POSIX2008] (CBAUD): Do not allow.
24713         [POSIX || POSIX2008] (DEFECHO): Likewise.
24714         [POSIX || POSIX2008] (ECHOCTL): Likewise.
24715         [POSIX || POSIX2008] (ECHOKE): Likewise.
24716         [POSIX || POSIX2008] (ECHOPRT): Likewise.
24717         [POSIX || POSIX2008] (EXTA): Likewise.
24718         [POSIX || POSIX2008] (EXTB): Likewise.
24719         [POSIX || POSIX2008] (FLUSHO): Likewise.
24720         [POSIX || POSIX2008] (LOBLK): Likewise.
24721         [POSIX || POSIX2008] (PENDIN): Likewise.
24722         [POSIX || POSIX2008] (SWTCH): Likewise.
24723         [POSIX || POSIX2008] (VDISCARD): Likewise.
24724         [POSIX || POSIX2008] (VDSUSP): Likewise.
24725         [POSIX || POSIX2008] (VLNEXT): Likewise.
24726         [POSIX || POSIX2008] (VREPRINT): Likewise.
24727         [POSIX || POSIX2008] (VSTATUS): Likewise.
24728         [POSIX || POSIX2008] (VWERASE): Likewise.
24729         (B*): Change to B[0123456789]*.
24730         * conform/data/time.h-data [POSIX || UNIX98]
24731         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
24732         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24733         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
24734         [POSIX] (tm_*): Do not allow.
24736 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
24738         * Makefile (install): Don't set LANGUAGE.
24739         * Makefile.in (install): Likewise.
24740         * assert/Makefile (test-assert-ENV): Remove variable.
24741         (test-assert-perr-ENV): Likewise.
24742         * elf/Makefile (neededtest4-ENV): Likewise.
24743         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
24744         [$(cross-compiling) = no]: Don't set LANGUAGE.
24745         * io/ftwtest-sh (LANG): Remove variable.
24746         * libio/Makefile (tst-widetext-ENV): Likewise.
24747         * manual/install.texi (Running make install): Don't refer to
24748         environment settings for make install.
24749         * INSTALL: Regenerated.
24750         * nptl/tst-tls6.sh: Don't set LANG.
24751         * posix/globtest.sh (LANG): Remove variable.
24752         * string/Makefile (tester-ENV): Likewise.
24753         (inl-tester-ENV): Likewise.
24754         (noinl-tester-ENV): Likewise.
24755         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
24756         [$(cross-compiling) = no]: Don't set LANGUAGE.
24757         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
24758         without explicit environment settings.
24760 2014-06-06  Roland McGrath  <roland@hack.frob.com>
24762         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
24763         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
24764         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
24765         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
24767 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
24769         * crypt/crypt-private.h [DOS]: Add some includes taken from the
24770         other files in the crypt directory.
24771         * crypt/crypt.c: Remove duplicate includes.
24772         * crypt/crypt-entry.c: Likewise.
24773         * crypt/crypt_util.c: Likewise.
24775 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
24777         * Makeconfig (run-program-env): New variable.
24778         (run-program-prefix-before-env): Likewise.
24779         (run-program-prefix-after-env): Likewise.
24780         (run-program-prefix): Define in terms of new variables.
24781         (built-program-cmd-before-env): New variable.
24782         (built-program-cmd-after-env): Likewise.
24783         (built-program-cmd): Define in terms of new variables.
24784         (test-program-prefix-before-env): New variable.
24785         (test-program-prefix-after-env): Likewise.
24786         (test-program-prefix): Define in terms of new variables.
24787         (test-program-cmd-before-env): New variable.
24788         (test-program-cmd-after-env): Likewise.
24789         (test-program-cmd): Define in terms of new variables.
24790         * Rules (make-test-out): Use $(run-program-env).
24791         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
24792         (help): Do not mention environment variables.  Mention
24793         --timeoutfactor option.
24794         (timeoutfactor): New variable.
24795         (blacklist_exports): Remove function.
24796         (exports): Remove variable.
24797         (command): Do not include ${exports}.
24798         * manual/install.texi (Configuring and compiling): Do not mention
24799         test wrappers preserving environment variables.  Mention that last
24800         assignment to a variable must take precedence.
24801         * INSTALL: Regenerated.
24802         * benchtests/Makefile (run-bench): Use $(run-program-env).
24803         * catgets/Makefile ($(objpfx)test1.cat): Use
24804         $(built-program-cmd-before-env), $(run-program-env) and
24805         $(built-program-cmd-after-env).
24806         ($(objpfx)test2.cat): Do not specify environment variables
24807         explicitly.
24808         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
24809         $(run-program-env) and $(built-program-cmd-after-env).
24810         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
24811         $(run-program-env) and $(test-program-cmd-after-env).
24812         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
24813         explicitly.
24814         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
24815         run_program_env and test_program_cmd_after_env arguments.
24816         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
24817         * elf/tst-pathopt.sh: Use run_program_env argument.
24818         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
24819         $(test-wrapper-env) and $(run-program-env).
24820         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
24821         run_program_env arguments.
24822         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
24823         * intl/Makefile ($(objpfx)tst-gettext.out): Use
24824         $(test-program-prefix-before-env), $(run-program-env) and
24825         $(test-program-prefix-after-env).
24826         ($(objpfx)tst-gettext2.out): Likewise.
24827         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
24828         run_program_env and test_program_prefix_after_env arguments.
24829         * intl/tst-gettext2.sh: Likewise.
24830         * intl/tst-gettext4.sh: Do not set environment variables
24831         explicitly.
24832         * intl/tst-gettext6.sh: Likewise.
24833         * intl/tst-translit.sh: Likewise.
24834         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
24835         $(test-program-prefix-before-env), $(run-program-env) and
24836         $(test-program-prefix-after-env).
24837         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
24838         run_program_env and test_program_prefix_after_env arguments.
24839         * math/Makefile (run-regen-ulps): Use $(run-program-env).
24840         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
24841         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
24842         explicitly with each use of ${test_wrapper_env}.
24843         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
24844         $(test-program-prefix-before-env), $(run-program-env) and
24845         $(test-program-prefix-after-env).
24846         * posix/tst-getconf.sh: Do not set environment variables
24847         explicitly.
24848         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
24849         run_program_env and test_program_prefix_after_env arguments.
24850         * stdio-common/tst-printf.sh: Do not set environment variables
24851         explicitly.
24852         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
24853         $(test-program-prefix-before-env), $(run-program-env) and
24854         $(test-program-prefix-after-env).
24855         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
24856         run_program_env and test_program_prefix_after_env arguments.
24857         Split $test calls into $test_pre and $test.
24858         * timezone/Makefile (build-testdata): Use
24859         $(built-program-cmd-before-env), $(run-program-env) and
24860         $(built-program-cmd-after-env).
24862 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24864         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
24865         strlen for non SHARED builds.
24867 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24869         * nptl/allocatestack.c (check_list): Inlined function...
24870         (__reclaim_stacks): ... here.
24872 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
24874         [BZ #15698]
24875         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
24876         memory overrun.
24878 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
24880         * Rules (make-test-out): Include
24881         LOCPATH=$(common-objpfx)localedata in default environment.
24882         * debug/Makefile (tst-chk1-ENV): Remove variable.
24883         (tst-chk2-ENV): Likewise.
24884         (tst-chk3-ENV): Likewise.
24885         (tst-chk4-ENV): Likewise.
24886         (tst-chk5-ENV): Likewise.
24887         (tst-chk6-ENV): Likewise.
24888         (tst-lfschk1-ENV): Likewise.
24889         (tst-lfschk2-ENV): Likewise.
24890         (tst-lfschk3-ENV): Likewise.
24891         (tst-lfschk4-ENV): Likewise.
24892         (tst-lfschk5-ENV): Likewise.
24893         (tst-lfschk6-ENV): Likewise.
24894         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
24895         (tst-iconv7-ENV): Likewise.
24896         * intl/Makefile (LOCPATH-ENV): Likewise.
24897         (tst-codeset-ENV): Likewise.
24898         (tst-gettext3-ENV): Likewise.
24899         (tst-gettext5-ENV): Likewise.
24900         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
24901         (tst-fopenloc-ENV): Likewise.
24902         (tst-fgetws-ENV): Remove variable.
24903         (tst-ungetwc1-ENV): Likewise.
24904         (tst-ungetwc2-ENV): Likewise.
24905         (bug-ungetwc2-ENV): Likewise.
24906         (tst-swscanf-ENV): Likewise.
24907         (bug-ftell-ENV): Likewise.
24908         (tst-fgetwc-ENV): Likewise.
24909         (tst-fseek-ENV): Likewise.
24910         (tst-ftell-partial-wide-ENV): Likewise.
24911         (tst-ftell-active-handler-ENV): Likewise.
24912         (tst-ftell-append-ENV): Likewise.
24913         * posix/Makefile (tst-fnmatch-ENV): Likewise.
24914         (tst-regexloc-ENV): Likewise.
24915         (bug-regex1-ENV): Likewise.
24916         (tst-regex-ENV): Likewise.
24917         (tst-regex2-ENV): Likewise.
24918         (bug-regex5-ENV): Likewise.
24919         (bug-regex6-ENV): Likewise.
24920         (bug-regex17-ENV): Likewise.
24921         (bug-regex18-ENV): Likewise.
24922         (bug-regex19-ENV): Likewise.
24923         (bug-regex20-ENV): Likewise.
24924         (bug-regex22-ENV): Likewise.
24925         (bug-regex23-ENV): Likewise.
24926         (bug-regex25-ENV): Likewise.
24927         (bug-regex26-ENV): Likewise.
24928         (bug-regex30-ENV): Likewise.
24929         (bug-regex32-ENV): Likewise.
24930         (bug-regex33-ENV): Likewise.
24931         (bug-regex34-ENV): Likewise.
24932         (bug-regex35-ENV): Likewise.
24933         (tst-rxspencer-ENV): Likewise.
24934         (tst-rxspencer-no-utf8-ENV): Likewise.
24935         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
24936         (tst-sscanf-ENV): Likewise.
24937         (tst-swprintf-ENV): Likewise.
24938         (tst-swscanf-ENV): Likewise.
24939         (test-vfprintf-ENV): Likewise.
24940         (scanf13-ENV): Likewise.
24941         (bug14-ENV): Likewise.
24942         (tst-grouping-ENV): Likewise.
24943         * stdlib/Makefile (tst-strtod-ENV): Likewise.
24944         (tst-strtod3-ENV): Likewise.
24945         (tst-strtod4-ENV): Likewise.
24946         (tst-strtod5-ENV): Likewise.
24947         (testmb2-ENV): Likewise./
24948         * string/Makefile (tst-strxfrm-ENV): Likewise.
24949         (tst-strxfrm2-ENV): Likewise.
24950         (bug-strcoll1-ENV): Likewise.
24951         (test-strcasecmp-ENV): Likewise.
24952         (test-strncasecmp-ENV): Likewise.
24953         * time/Makefile (tst-strptime-ENV): Likewise.
24954         (tst-ftime_l-ENV): Likewise.
24955         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
24956         (tst-mbrtowc-ENV): Likewise.
24957         (tst-wcrtomb-ENV): Likewise.
24958         (tst-mbrtowc2-ENV): Likewise.
24959         (tst-c16c32-1-ENV): Likewise.
24960         (tst-mbsnrtowcs-ENV): Likewise.
24962 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
24964         * manual/resource.texi (How to get information about the memory
24965         subsystem?): Fix typo.
24966         Reported by Peon de la Parra Ivan <peon@keba.com>
24968 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
24970         [BZ #16882]
24971         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
24972         (pthread_spin_lock): Branch out of spin loop to proper location.
24973         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
24974         (pthread_spin_lock): Likewise.
24976         * nptl/tst-spin4.c: New test.
24977         * nptl/Makefile (tests): Add tst-spin4.
24979 2014-06-03  Andreas Schwab  <schwab@suse.de>
24981         [BZ #15946]
24982         * resolv/res_send.c (send_dg): Reload file descriptor after
24983         calling reopen.
24985 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
24987         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24989 2014-06-03  Richard Henderson  <rth@redhat.com>
24991         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
24992         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
24993         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
24994         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
24995         in the SAVE_PID block.
24996         (__libc_vfork): New alias.
24997         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
24999         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
25000         child in registers, not on the stack.  Remove RESET_PID conditionals.
25001         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
25003 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25005         * sysdeps/aarch64/libm-test-ulps: Regenerate.
25007 2014-06-03  Wilco  <wdijkstr@arm.com>
25009         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
25010         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
25011         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
25012         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
25013         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
25014         Likewise.
25016 2014-06-03  Wilco  <wdijkstr@arm.com>
25018         * sysdeps/aarch64/fpu/math_private.h
25019         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
25020         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
25021         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
25022         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
25023         Fix declarations.
25025 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25027         * crypt/crypt-private.h: Include ufc-crypt.h.
25028         (__b64_from_24bit): Declare extern.
25029         * crypt/crypt_util.c(__b64_from_24bit): New function.
25030         (b64t): New static const variable.
25031         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
25032         (b64t): Remove variable.
25033         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
25034         * crypt/sha256-crypt.c: Include crypt-private.h.
25035         (b64t): Remove variable.
25036         (__sha256_crypt_r): Remove b64_from_24bit and replace
25037         with __b64_from_24bit.
25038         * crypt/sha512-crypt.c: Likewise.
25040 2014-06-02  Roland McGrath  <roland@hack.frob.com>
25042         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
25043         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
25044         Label the code __libc_vfork rather than __vfork.
25045         [!NOT_IN_libc] (vfork): Define as weak alias.
25046         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
25047         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
25048         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
25050 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25052         * malloc/malloc.c (malloc_info): Fix format specifier for
25053         n_mmaps.
25055 2014-06-02  Wilco  <wdijkstr@arm.com>
25057         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
25058         FPCR write.
25060 2014-06-02  Wilco  <wdijkstr@arm.com>
25062         [BZ #17009]
25063         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
25064         Rewrite to reduce FPCR/FPSR accesses.
25066 2014-06-01  David S. Miller  <davem@davemloft.net>
25068         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25070 2014-05-31  David S. Miller  <davem@davemloft.net>
25072         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
25073         to occur in round to nearest mode when |x| >= 2.0
25075 2014-05-30  Richard Henderson  <rth@twiddle.net>
25077         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
25078         (PSEUDO_RET_NOERRNO): Remove.
25079         (ret): Don't redefine.
25080         (ret_NOERRNO): Define in terms of ret.
25081         (ret_ERRVAL): Likewise.
25083         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
25084         use of PSEUDO_RET; perform the error check directly.
25086 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
25088         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
25089         with __int128_t.
25091 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25093         * malloc/malloc (malloc_info): Fix formatting.
25095 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25096             Roland McGrath  <roland@hack.frob.com>
25098         * malloc/malloc (malloc_info): Also print mmapped statistics.
25100 2014-05-30  Roland McGrath  <roland@hack.frob.com>
25102         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
25103         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
25105 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
25107         * malloc/malloc.c (malloc_info): Inline mi_arena.
25109 2014-05-29  Richard Henderson  <rth@twiddle.net>
25111         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
25112         Remove comma before expanding ASM_ARGS_##nr.
25113         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
25114         Make _x0 a strict output; make _x8 a strict input; adjust expansion
25115         of ASM_ARGS_##nr.
25116         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
25117         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
25118         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
25119         (ASM_ARGS_1): Add leading comma.
25121         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
25122         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
25123         to __errno_location.
25124         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
25125         Remove the expected plt for __errno_location.
25127         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25128         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
25129         call to __read_tp.
25131         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25132         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
25133         it and break it down.
25134         (DOCARGS_0, DOCARGS_1): Do nothing.
25135         (DOCARGS_2): Update to store into the new stack frame.
25136         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
25137         (UNDOCARGS_1): Update to restore from the new stack frame.
25138         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
25139         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
25141         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25142         (SINGLE_THREAD_P): New parameter for result regno.
25143         (PSEUDO): Update to match; use cbz instead of beq.
25145         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25146         Use ENTRY to define the _nocancel entry point.  Share the syscall
25147         and syscall error check paths with the cancel path.
25148         (PSEUDO_END): New.
25150         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
25151         whitespace; tabs before and after asm mnemonics.
25153 2014-05-29  Eric Wong  <normalperson@yhbt.net>
25155         [BZ #15132]
25156         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25157         Call fstat64 or stat64 internally, depending on arguments passed.
25158         Replace stat buffer argument with file descriptor argument.
25159         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
25160         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
25161         Pass fd to __internal_statvfs instead of calling fstat64.
25162         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
25163         Pass fd to __internal_statvfs64 instead of calling fstat64.
25164         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
25165         Pass -1 to __internal_statvfs instead of calling stat64.
25166         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
25167         Pass -1 to __internal_statvfs64 instead of calling stat64.
25169 2014-05-28  Roland McGrath  <roland@hack.frob.com>
25171         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
25172         that was previously under [RESET_PID].
25173         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
25175         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
25176         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
25178 2014-05-27  Roland McGrath  <roland@hack.frob.com>
25180         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
25182         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
25183         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
25185 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
25187         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
25189 2014-05-27  Andreas Schwab  <schwab@suse.de>
25191         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
25192         TLS_INIT_TP macro.
25193         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
25194         * elf/rtld.c (init_tls, dl_main): Likewise.
25195         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
25196         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
25197         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
25198         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
25199         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
25200         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
25201         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
25202         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
25203         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
25204         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
25205         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
25206         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
25207         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
25208         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
25209         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
25210         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
25211         * sysdeps/generic/tls.h: Update description.
25213 2014-05-27  Will Newton  <will.newton@linaro.org>
25215         [BZ #16990]
25216         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
25217         and restore r2 rather than just restoring.
25219 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25221         [BZ #16724]
25222         * libio/tst-ftell-append.c: New test case.
25223         * libio/Makefile (tests): Add test case.
25224         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
25225         append mode.
25226         * libio/wfileops.c (do_ftell_wide): Likewise.
25228 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25230         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25232         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
25233         ...
25234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
25235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25236         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
25237         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
25238         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
25239         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
25240         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
25241         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
25242         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
25243         Moved ...
25244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
25245         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
25246         Moved ...
25247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
25248         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
25249         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
25250         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
25251         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
25252         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
25253         ...
25254         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
25255         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
25256         Moved ...
25257         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
25258         here.
25259         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
25260         ...
25261         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
25262         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
25263         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
25265         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
25266         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
25267         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
25268         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
25270         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
25271         merge into ...
25272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
25273         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
25274         ...
25275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
25276         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
25277         ...
25278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
25279         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
25280         Moved ...
25281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
25282         here.
25283         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
25284         Moved ...
25285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
25286         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
25287         Moved ...
25288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
25290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
25291         conditional [RESET_PID].
25292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
25293         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
25294         removed.
25295         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
25296         removed.
25298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
25299         <tcb-offsets.h>.
25300         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25301         (__libc_vfork): New strong alias.
25302         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
25303         removed.
25304         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
25305         Removed.
25307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
25308         <tcb-offsets.h>.
25309         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
25310         (__libc_vfork): New strong alias.
25311         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
25312         removed.
25313         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
25314         removed.
25316 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
25318         * malloc/malloc.c (mi_arena): New function.
25319         (malloc_info): Remove nested function mi_arena. Call non-nosted
25320         function mi_arena.
25322 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25324         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
25325         by insrwi.
25326         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
25327         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
25328         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
25329         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
25330         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
25331         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
25332         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
25334 2014-05-26  Andreas Schwab  <schwab@suse.de>
25336         [BZ #16984]
25337         * locale/programs/repertoire.c (repertoire_read): Add slash
25338         between I18NPATH element and file name.
25339         * locale/programs/locfile.c (locfile_read): Likewise.
25341 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
25343         * nptl/pthread_mutexattr_settype.c
25344         (__pthread_mutexattr_settype):
25345         Disable lock elision for PTHREAD_MUTEX_NORMAL.
25347 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
25349         * nptl/tst-mutex5 (do_test):
25350         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
25352 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25354         * benchtests/README: Document 'init' directive.
25355         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
25356         BENCH_INIT.
25357         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
25358         (parse_file): Recognize 'init' directive.
25360 2014-05-26  Kyle McMartin  <kyle@redhat.com>
25362         [BZ #16796]
25363         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
25364         alignment of struct pthread.
25366 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25368         [BZ #16878]
25369         * nscd/netgroupcache.c (addgetnetgrentX): Look for
25370         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
25371         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
25372         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
25374 2014-05-25  Richard Henderson  <rth@twiddle.net>
25376         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25377         (SINGLE_THREAD_P_PIC): Remove.
25378         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
25379         (SINGLE_THREAD_P_PIC): Remove.
25381         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
25382         branch to syscall error ...
25383         (PSEUDO): ... here.
25384         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
25385         from __local_syscall_error to .Lsyscall_error.
25386         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
25387         (SYSCALL_ERROR): Update label name.
25389         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25390         Do not use DOARGS/UNDOARGS.
25391         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
25392         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
25393         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
25394         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
25395         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
25397         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
25398         block comment.
25400         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
25401         define if !NOT_IN_libc.
25402         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
25403         define with non-default symbol versions.
25405 2014-05-23  Richard Henderson  <rth@twiddle.net>
25407         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
25408         (vfork, __vfork): Define via compat_symbol.
25410         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
25411         [!HAVE_IFUNC] (vfork_compat): Remove.
25412         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
25414 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
25416         [BZ #16978]
25417         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
25418         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
25419         variable.
25421 2014-05-23  Richard Henderson  <rth@twiddle.net>
25423         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
25424         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
25425         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
25426         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
25428         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
25429         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
25430         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
25431         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
25432         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
25433         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
25434         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
25435         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
25436         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
25437         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
25438         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
25439         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
25440         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
25441         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
25442         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
25443         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
25444         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
25445         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
25446         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
25447         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
25448         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
25449         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
25450         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
25451         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
25452         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
25453         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
25454         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
25455         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
25456         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
25457         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
25458         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
25459         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
25460         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
25461         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
25462         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
25463         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
25464         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
25465         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
25466         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
25467         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
25468         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
25469         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
25470         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
25471         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
25472         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
25473         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
25474         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
25475         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
25476         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
25477         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
25478         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
25479         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
25480         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
25481         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
25482         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
25483         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
25485         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
25486         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
25487         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
25488         before exiting on error.
25489         (__libc_vfork): New strong alias.
25490         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
25491         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
25493         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
25494         that was previously under [RESET_PID].
25495         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
25497         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
25499 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
25501         [BZ #16977]
25502         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
25503         value when x - 1 is zero.
25504         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
25505         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
25506         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
25507         0.0L for an argument of 1.0L.
25508         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
25509         Likewise.
25510         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
25511         value when x - 1 is zero.
25512         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
25513         * sysdeps/i386/fpu/libm-test-ulps: Update.
25514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25516 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25518         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
25519         alphasort and versionsort.
25521 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25523         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
25524         macro.
25525         [copysignf]: Likewise.
25527 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25529         * crypt/md5-crypt.c: Fix formatting.
25531 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25533         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
25534         (b64_from_24bit): New function.
25536 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25538         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
25539         libc_hidden_builtin_def to ifunc.
25540         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
25541         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
25543 2014-05-21  Roland McGrath  <roland@hack.frob.com>
25545         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
25546         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
25548 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
25550         * nscd/Depend (linuxthreads): Remove.
25551         (nptl): Add.
25552         * resolv/Depend (linuxthreads): Remove.
25553         * rt/Depend (linuxthreads): Remove.
25555         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
25556         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
25557         $(common-objpfx)elf/.
25558         (link-libc-before-gnulib): Likewise.
25559         (elfobjdir): Remove variable.
25560         * Makefile (install): Use $(elf-objpfx) instead of
25561         $(common-objpfx)elf/.
25562         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
25563         $(elfobjdir)/.
25564         (link-libc-deps): Likewise.
25565         ($(common-objpfx)libc.so): Likewise.
25566         ($(common-objpfx)linkobj/libc.so): Likewise.
25567         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
25568         instead of $(common-objpfx)elf/.
25569         (symbolic-link-list): Likewise.
25570         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25571         [$(cross-compiling) = no]: Likewise.
25572         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
25573         $(elfobjdir)/.
25574         (static-gnulib-arch): Likewise.
25575         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25576         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
25577         $(common-objpfx)elf/.
25579 2014-05-21  Richard Henderson  <rth@redhat.com>
25581         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25582         (SINGLE_THREAD_P): Use the correct width load.  Fold
25583         into the ldr offset.
25585         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
25586         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
25588 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
25590         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
25591         (libgcc_s_resume): Use __attribute_used__.
25592         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
25593         Likewise.
25595 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25597         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
25598         optimization when used with float constants.
25600         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25602 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
25604         [BZ #16915]
25605         * locale/nl_langinfo_l.c: Make direct reference to every
25606         _nl_current_CATEGORY symbol.
25607         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
25608         (tests-static): Add tst-langinfo-static.
25609         (tests-special): Add tst-langinfo-static.out.
25610         ($(objpfx)tst-langinfo.out): Redirect output.
25611         ($(objpfx)tst-langinfo-static.out): New.
25612         * localedata/tst-langinfo.sh: Send output to stdout.
25613         * localedata/tst-langinfo-static.c: New file.
25615         [BZ #16965]
25616         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
25617         when the shift amount is modulo the limb size.
25619 2014-05-20  Richard Henderson  <rth@redhat.com>
25621         [BZ #16967]
25622         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
25623         Change type of sa_flags from unsigned int to int.
25625         [BZ #16966]
25626         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
25628         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
25630 2014-05-20  Will Newton  <will.newton@linaro.org>
25632         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25633         Test the return value of the system call in the nocancel case.
25635 2014-05-20  Will Newton  <will.newton@linaro.org>
25636             Yvan Roux  <yvan.roux@linaro.org>
25638         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
25639         #include of asm/ptrace.h.
25640         (PTRACE_GET_THREAD_AREA): Remove #undef.
25641         (PTRACE_GETHBPREGS): Likewise.
25642         (PTRACE_SETHBPREGS): Likewise.
25643         (struct user_regs_struct): New structure.
25644         (struct user_fpsimd_struct): New structure.
25645         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
25646         #include of asm/ptrace.h and second #include of sys/user.h.
25647         (PTRACE_GET_THREAD_AREA): Remove #undef.
25648         (PTRACE_GETHBPREGS): Likewise.
25649         (PTRACE_SETHBPREGS): Likewise.
25650         (ELF_NGREG): Use new struct user_regs_struct.
25651         (elf_fpregset_t): Use new struct user_fpsimd_struct.
25653 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25655         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
25656         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
25658 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
25660         [BZ #16958]
25661         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
25662         membar to avoid block loads/stores to overlap previous stores.
25664 2014-05-17  Richard Henderson  <rth@redhat.com>
25666         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
25667         Create the __##syscall_name##_nocancel entry point.
25668         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
25669         Remove; let the sysdep-cancel.h code create it.
25671 2014-05-17  David S. Miller  <davem@davemloft.net>
25673         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
25674         Protect with __USE_GNU.
25675         (TIOCSET_TEMPT): Likewise.
25676         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25677         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
25678         these are already provided in bits/ioctl-types.h
25680 2014-05-16  Roland McGrath  <roland@hack.frob.com>
25682         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
25683         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
25685         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
25686         Use wait4 regardless of [__NR_waitpid].
25688 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
25690         PR libgcc/60166
25691         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
25692         (_FP_NANSIGN_Q): Set the quiet bit.
25694 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
25696         * benchtests/Makefile
25697         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
25698         not $(common-objpfx)math/libm.so.
25699         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
25700         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
25701         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
25702         $(common-objpfx)dlfcn/libdl.so.
25703         ($(objpfx)tst-audit8): Depend on $(libm), not
25704         $(common-objpfx)math/libm.so.
25705         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
25706         not $(common-objpfx)dlfcn/libdl.so.
25707         * math/Makefile
25708         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25709         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
25710         [$(build-shared) = yes].
25711         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
25712         $(common-objpfx)nptl/libpthread.so.
25713         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
25714         $(common-objpfx)math/libm.so$(libm.so-version) or
25715         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
25716         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
25717         $(common-objpfx)dlfcn/libdl.so.
25718         * setjmp/Makefile (link-libm): Remove variable.
25719         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
25720         * stdio-common/Makefile (link-libm): Remove variable.
25721         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
25722         * stdlib/Makefile (link-libm): Remove variable.
25723         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
25724         ($(objpfx)tst-strtod-round): Likewise.
25725         ($(objpfx)tst-tininess): Likewise.
25726         ($(objpfx)tst-strtod-underflow): Likewise.
25727         ($(objpfx)tst-strtod6): Likewise.
25728         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
25729         $(libdl), not $(common-objpfx)nptl/libpthread.so and
25730         $(common-objpfx)dlfcn/libdl.so.
25732 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25734         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
25735         BSD terminal modes definitions.
25737 2014-05-16  Roland McGrath  <roland@hack.frob.com>
25739         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
25740         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
25742         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
25743         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
25744         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
25745         Don't do #include_next.
25746         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
25747         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
25748         Don't do #include_next.
25749         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
25750         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
25751         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
25752         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
25754 2014-05-16  Allan McRae  <allan@archlinux.org>
25756         * po/sv.po: Update Swedish translation from translation project.
25758         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
25759         in sed expression.
25761 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
25763         [BZ #16917]
25764         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
25765         errno if the TIOCGPTN ioctl fails with an error different than
25766         EINVAL.
25767         * login/tst-ptsname.c: New file.
25768         * login/Makefile (tests): Add tst-ptsname.
25770         [BZ #16943]
25771         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
25772         and prlimit64.
25774 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25776         [BZ #16849]
25777         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
25778         herrno to return EAI_AGAIN.
25780 2014-05-14  Roland McGrath  <roland@hack.frob.com>
25782         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
25783         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
25784         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
25785         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
25786         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
25787         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
25788         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
25789         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
25790         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
25791         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
25792         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
25793         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
25794         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
25795         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
25796         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
25797         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
25798         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
25799         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
25800         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
25801         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
25802         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
25803         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
25804         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
25805         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
25806         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
25807         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
25808         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
25809         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
25810         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
25811         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
25812         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
25813         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
25814         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
25815         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
25816         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25817         Moved ...
25818         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
25819         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
25820         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
25821         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
25822         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
25823         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
25824         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
25825         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
25826         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
25827         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
25828         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
25829         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
25830         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
25831         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
25832         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
25833         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
25834         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
25835         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
25836         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
25837         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
25838         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
25839         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
25840         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
25841         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
25842         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
25843         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
25844         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
25845         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
25846         Moved ...
25847         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
25848         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
25849         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
25850         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
25851         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
25852         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
25853         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
25854         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
25855         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
25856         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
25857         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
25858         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
25859         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
25860         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
25861         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
25862         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
25863         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
25864         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
25865         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
25866         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
25867         Moved ...
25868         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
25869         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
25870         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
25872         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
25873         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
25874         (libpthread-sysdep_routines): Add elision-related stuff here instead.
25875         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
25876         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
25877         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
25878         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
25879         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
25880         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
25881         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
25882         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
25883         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
25884         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
25885         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
25886         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
25887         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
25888         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
25889         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
25890         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
25891         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
25892         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
25893         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
25894         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
25895         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
25896         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
25897         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
25898         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
25899         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
25900         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
25901         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
25902         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
25904         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
25905         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
25907         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
25908         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
25909         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
25910         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
25911         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
25912         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
25913         Moved ...
25914         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
25915         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
25916         Moved ...
25917         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
25918         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
25919         Moved ...
25920         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
25921         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
25922         Moved ...
25923         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
25924         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
25925         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
25926         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
25927         Moved ...
25928         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
25929         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
25930         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
25931         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
25932         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
25933         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
25934         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
25935         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
25936         Moved ...
25937         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
25938         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
25939         Moved ...
25940         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
25941         ... here.
25942         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
25943         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
25944         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
25945         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
25946         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
25947         Moved ...
25948         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
25949         ... here.
25950         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
25951         Moved ...
25952         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
25953         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
25954         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
25955         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
25956         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
25957         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
25958         Moved ...
25959         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
25960         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
25961         Moved ...
25962         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
25963         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
25964         Moved ...
25965         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
25966         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
25967         Moved ...
25968         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
25969         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
25970         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
25971         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
25972         Moved ...
25973         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
25974         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
25975         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
25976         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
25977         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
25978         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
25979         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
25980         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
25981         Moved ...
25982         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
25983         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
25984         Moved ...
25985         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
25986         ... here.
25987         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
25988         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
25989         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
25990         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
25991         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
25992         Moved ...
25993         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
25994         ... here.
25995         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
25996         Moved ...
25997         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
25998         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
25999         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
26000         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
26001         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
26002         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
26003         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
26004         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
26005         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
26006         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
26007         Moved ...
26008         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
26009         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
26010         Moved ...
26011         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
26012         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
26013         Moved ...
26014         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
26015         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
26016         Moved ...
26017         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
26018         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
26019         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
26020         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
26021         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
26022         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
26023         Moved ...
26024         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
26025         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
26026         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
26027         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
26028         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
26029         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
26030         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
26031         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
26032         Moved ...
26033         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
26034         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
26035         Moved ...
26036         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
26037         ... here.
26038         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
26039         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
26040         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
26041         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
26042         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
26043         Moved ...
26044         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
26045         ... here.
26046         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
26047         Moved ...
26048         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
26049         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
26050         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
26051         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
26052         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
26053         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
26054         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
26055         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
26056         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
26057         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
26058         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
26060         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
26061         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
26063         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
26064         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
26066         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
26067         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
26068         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
26069         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
26070         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
26071         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
26072         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
26073         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
26074         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
26075         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
26076         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
26077         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
26078         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
26079         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
26080         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
26081         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
26082         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
26083         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
26084         Moved ...
26085         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
26086         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
26087         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
26088         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
26089         Moved ...
26090         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
26091         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
26092         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
26093         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
26094         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
26095         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
26096         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
26097         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
26098         Moved ...
26099         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
26100         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
26101         Moved ...
26102         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
26103         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
26104         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
26105         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
26106         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
26107         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
26108         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
26109         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
26110         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
26111         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
26112         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
26113         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
26114         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
26115         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
26116         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
26117         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
26118         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
26120         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
26121         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
26122         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
26123         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
26124         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
26126         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
26127         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
26128         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
26129         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
26130         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
26131         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
26132         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
26133         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
26134         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
26135         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
26137         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
26138         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
26140         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
26141         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
26142         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
26143         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
26144         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
26145         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
26146         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
26147         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
26148         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
26149         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
26150         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
26151         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
26152         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
26153         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
26154         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
26155         Update #include.
26156         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
26157         Likewise.
26158         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
26159         Likewise.
26160         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
26161         Likewise.
26162         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
26163         Likewise.
26164         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
26165         Likewise.
26166         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
26167         Likewise.
26168         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
26169         Likewise.
26170         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
26171         Likewise.
26172         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
26173         Likewise.
26174         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
26175         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
26176         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
26177         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
26178         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
26179         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
26180         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
26181         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
26182         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
26183         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
26184         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
26185         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
26186         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
26187         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
26188         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
26190         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
26191         that was previously under [RESET_PID].
26192         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26193         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
26194         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
26196         * sysdeps/i386/nptl/Implies: New file.
26197         * sysdeps/x86_64/nptl/Implies: New file.
26198         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
26199         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
26200         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
26201         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
26203         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
26204         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26205         (__libc_vfork): New strong alias.
26206         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
26207         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
26209         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
26210         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26211         (__libc_vfork): New strong alias.
26212         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
26213         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
26215         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
26216         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26217         (__libc_vfork): New strong alias.
26218         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
26219         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
26220         * nptl/pt-vfork.c: New file.
26221         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
26222         (libpthread: GLIBC_2.20): New version set (empty).
26224 2014-05-14  Will Newton  <will.newton@linaro.org>
26226         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
26227         rather than #if.
26229 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
26231         [BZ #16564]
26232         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
26233         arguments with exponent 65 or above.
26234         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
26235         arguments 0x1p113L or above.
26236         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
26237         to arguments 0x1p107L or above.
26238         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
26239         positive arguments with exponent 65 or above.
26240         * math/auto-libm-test-in: Add more tests of log1p.
26241         * math/auto-libm-test-out: Regenerated.
26243         [BZ #16928]
26244         * math/s_cacos.c (__cacos): Ensure zero real part of result from
26245         non-finite arguments is +0.
26246         * math/s_cacosf.c (__cacosf): Likewise.
26247         * math/s_cacosl.c (__cacosl): Likewise.
26248         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
26249         * sysdeps/i386/fpu/libm-test-ulps: Update.
26250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26252         [BZ #16927]
26253         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
26254         value.
26255         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
26256         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
26257         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
26258         for explicit high bit of mantissa when testing for argument equal
26259         to 1.
26260         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
26261         * sysdeps/i386/fpu/libm-test-ulps: Update.
26262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26264         [BZ #16516]
26265         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
26266         (__erf): Scale by 16 instead of 8 in potentially underflowing
26267         case.  Ensure exception if result actually underflows.
26268         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
26269         (__erff): Scale by 16 instead of 8 in potentially underflowing
26270         case.  Ensure exception if result actually underflows.
26271         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
26272         (efx8): Remove variable.
26273         (__erfl): Scale by 16 instead of 8 in potentially underflowing
26274         case.  Ensure exception if result actually underflows.
26275         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
26276         (efx8): Remove variable.
26277         (__erfl): Scale by 16 instead of 8 in potentially underflowing
26278         case.  Ensure exception if result actually underflows.
26279         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
26280         (efx8): Remove variable.
26281         (__erfl): Scale by 16 instead of 8 in potentially underflowing
26282         case.  Ensure exception if result actually underflows.
26283         * math/auto-libm-test-in: Add more tests of erf.
26284         * math/auto-libm-test-out: Regenerated.
26286 2014-05-14  Andreas Schwab  <schwab@suse.de>
26288         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
26289         Remove code conditionalized on USE___THREAD.
26291         * config.h.in (HAVE_PT_CHOWN): Define as 0.
26292         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
26293         not definedness.
26295 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
26297         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
26298         Define unconditionally.
26299         (__ASSUME_O_CLOEXEC): Likewise.
26300         (__ASSUME_SOCK_CLOEXEC): Likewise.
26301         (__ASSUME_IN_NONBLOCK): Likewise.
26302         (__ASSUME_PIPE2): Likewise.
26303         (__ASSUME_EVENTFD2): Likewise.
26304         (__ASSUME_SIGNALFD4): Likewise.
26305         (__ASSUME_DUP3): Likewise.
26306         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26307         (__ASSUME_DUP3): Do not define.
26308         (__ASSUME_EVENTFD2): Likewise.
26309         (__ASSUME_IN_NONBLOCK): Likewise.
26310         (__ASSUME_O_CLOEXEC): Likewise.
26311         (__ASSUME_PIPE2): Likewise.
26312         (__ASSUME_SIGNALFD4): Likewise.
26313         (__ASSUME_SOCK_CLOEXEC): Likewise.
26314         (__ASSUME_UTIMES): Undefine.
26315         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26316         (__ASSUME_UTIMES): Do not define.
26317         (__ASSUME_O_CLOEXEC): Likewise.
26318         (__ASSUME_SOCK_CLOEXEC): Likewise.
26319         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
26320         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
26321         0x020621].
26322         (__ASSUME_PIPE2): Likewise.
26323         (__ASSUME_EVENTFD2): Likewise.
26324         (__ASSUME_SIGNALFD4): Likewise.
26325         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
26326         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
26327         Do not define.
26328         (__ASSUME_EVENTFD2): Likewise.
26329         (__ASSUME_SIGNALFD4): Likewise.
26330         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26331         (__ASSUME_32BITUIDS): Likewise.
26332         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
26333         (__ASSUME_IPC64): Likewise.
26334         (__ASSUME_ST_INO_64_BIT): Likewise.
26335         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
26336         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
26337         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26338         (__ASSUME_UTIMES): Do not define.
26339         (__ASSUME_PSELECT): Likewise.
26340         (__ASSUME_PPOLL): Likewise.
26341         (__ASSUME_O_CLOEXEC): Likewise.
26342         (__ASSUME_SOCK_CLOEXEC): Likewise.
26343         (__ASSUME_IN_NONBLOCK): Likewise.
26344         (__ASSUME_PIPE2): Likewise.
26345         (__ASSUME_EVENTFD2): Likewise.
26346         (__ASSUME_SIGNALFD4): Likewise.
26347         (__ASSUME_DUP3): Likewise.
26348         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26349         (__ASSUME_UTIMES): Likewise.
26350         (__ASSUME_O_CLOEXEC): Likewise.
26351         (__ASSUME_SOCK_CLOEXEC): Likewise.
26352         (__ASSUME_IN_NONBLOCK): Likewise.
26353         (__ASSUME_PIPE2): Likewise.
26354         (__ASSUME_EVENTFD2): Likewise.
26355         (__ASSUME_SIGNALFD4): Likewise.
26356         (__ASSUME_DUP3): Likewise.
26357         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26358         (__ASSUME_UTIMES): Likewise.
26359         (__ASSUME_O_CLOEXEC): Likewise.
26360         (__ASSUME_SOCK_CLOEXEC): Likewise.
26361         (__ASSUME_IN_NONBLOCK): Likewise.
26362         (__ASSUME_PIPE2): Likewise.
26363         (__ASSUME_EVENTFD2): Likewise.
26364         (__ASSUME_SIGNALFD4): Likewise.
26365         (__ASSUME_DUP3): Likewise.
26366         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
26367         Likewise.
26368         (__ASSUME_UTIMES): Likewise.
26369         (__ASSUME_EVENTFD2): Likewise.
26370         (__ASSUME_SIGNALFD4): Likewise.
26371         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26372         (__ASSUME_O_CLOEXEC): Likewise.
26373         (__ASSUME_SOCK_CLOEXEC): Likewise.
26374         (__ASSUME_IN_NONBLOCK): Likewise.
26375         (__ASSUME_PIPE2): Likewise.
26376         (__ASSUME_EVENTFD2): Likewise.
26377         (__ASSUME_SIGNALFD4): Likewise.
26378         (__ASSUME_DUP3): Likewise.
26379         (__ASSUME_UTIMES): Undefine.
26381         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
26382         feclearexcept.  Remove symbol versioning code.
26383         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
26384         symbol versioning code.
26385         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
26386         symbol versioning code.
26387         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
26388         feupdateenv.  Remove symbol versioning code.
26389         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
26390         fegetexceptflag.  Remove symbol versioning code.
26391         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
26392         fesetexceptflag.  Remove symbol versioning code.
26393         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
26394         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
26395         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
26396         (__posix_fadvise64_l32): Remove prototype.
26397         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
26398         code.
26400 2014-05-13  Roland McGrath  <roland@hack.frob.com>
26402         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
26403         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
26404         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
26405         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
26407 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
26409         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
26410         current working directory
26412 2014-05-13  Roland McGrath  <roland@hack.frob.com>
26414         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
26415         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
26416         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
26417         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
26418         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
26419         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
26420         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
26421         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
26422         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
26423         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
26424         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
26425         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
26426         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
26427         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
26428         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
26429         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
26430         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
26431         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
26432         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
26433         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
26434         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
26435         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
26436         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
26437         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
26438         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
26439         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
26440         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
26441         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
26442         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
26443         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
26444         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
26445         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
26446         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
26447         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
26448         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
26449         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
26450         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
26451         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
26452         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
26453         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
26454         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
26455         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
26457         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
26458         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
26460         * sysdeps/unix/sysv/linux/arm/Makefile
26461         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
26462         Add rt-aeabi_unwind_cpp_pr1.
26463         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
26464         Add nptl-aeabi_unwind_cpp_pr1.
26465         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
26466         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
26467         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
26468         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
26469         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
26470         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
26472         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
26473         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
26474         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
26475         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
26477         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
26478         Deconditionalize the code that was previously under [RESET_PID].
26479         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
26481         * sysdeps/generic/exit-thread.h: New file.
26482         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
26483         * include/unistd.h (__exit_thread): Remove declaration.
26484         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
26485         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
26486         * csu/libc-start.c: Include <exit-thread.h>.
26487         (LIBC_START_MAIN): Pass no argument to __exit_thread.
26488         * nptl/pthread_create.c: Include <exit-thread.h>.
26489         (start_thread): Call __exit_thread in place of __exit_thread_inline.
26490         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
26491         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
26492         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
26493         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
26494         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
26495         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
26496         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
26497         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
26498         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
26499         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
26500         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
26501         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
26502         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
26503         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
26504         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
26505         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
26507 2014-05-13  Andreas Schwab  <schwab@suse.de>
26509         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
26511 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
26513         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
26514         (__ASSUME_UTIMES): Do not condition on kernel version.
26515         (__ASSUME_PSELECT): Define unconditionally.
26516         (__ASSUME_PPOLL): Likewise.
26517         (__ASSUME_ATFCTS): Likewise.
26518         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
26519         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
26520         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
26521         (__ASSUME_UTIMENSAT): Define unconditionally.
26522         (__ASSUME_PRIVATE_FUTEX): Likewise.
26523         (__ASSUME_FALLOCATE): Likewise.
26524         (__ASSUME_O_CLOEXEC): Likewise.
26525         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
26526         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
26527         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
26528         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
26529         (__ASSUME_IN_NONBLOCK): Likewise.
26530         (__ASSUME_PIPE2): Likewise.
26531         (__ASSUME_EVENTFD2): Likewise.
26532         (__ASSUME_SIGNALFD4): Likewise.
26533         (__ASSUME_DUP3): Likewise.
26534         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26535         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
26536         (__ASSUME_AT_RANDOM): Likewise.
26537         (__ASSUME_PREADV): Likewise.
26538         (__ASSUME_PWRITEV): Likewise.
26539         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
26540         (__ASSUME_F_GETOWN_EX): Define unconditionally.
26541         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
26542         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26543         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
26544         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26545         (__ASSUME_O_CLOEXEC): Define unconditionally.
26546         (__ASSUME_PSELECT): Do not undefine conditionally.
26547         (__ASSUME_PPOLL): Likewise.
26548         (__ASSUME_ATFCTS): Likewise.
26549         (__ASSUME_SET_ROBUST_LIST): Likewise.
26550         (__ASSUME_UTIMENSAT): Likewise.
26551         (__ASSUME_FDATASYNC): Define unconditionally.
26552         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26553         (__ASSUME_SIGFRAME_V2): Likewise.
26554         )__ASSUME_EVENTFD2): Likewise.
26555         (__ASSUME_SIGNALFD4): Likewise.
26556         (__ASSUME_PSELECT): Do not undefine conditionally.
26557         (__ASSUME_PPOLL): Likewise.
26558         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26559         (__ASSUME_PSELECT): Define unconditionally.
26560         (__ASSUME_PPOLL): Likewise.
26561         (__ASSUME_O_CLOEXEC): Likewise.
26562         (__ASSUME_SOCK_CLOEXEC): Likewise.
26563         (__ASSUME_IN_NONBLOCK): Likewise.
26564         (__ASSUME_PIPE2): Likewise.
26565         (__ASSUME_EVENTFD2): Likewise.
26566         (__ASSUME_SIGNALFD4): Likewise.
26567         (__ASSUME_DUP3): Likewise.
26568         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26569         (__ASSUME_O_CLOEXEC): Likewise.
26570         (__ASSUME_SOCK_CLOEXEC): Likewise.
26571         (__ASSUME_IN_NONBLOCK): Likewise.
26572         (__ASSUME_PIPE2): Likewise.
26573         (__ASSUME_EVENTFD2): Likewise.
26574         (__ASSUME_SIGNALFD4): Likewise.
26575         (__ASSUME_DUP3): Likewise.
26576         * sysdeps/unix/sysv/linux/mips/kernel-features.h
26577         (__ASSUME_EVENTFD2): Likewise.
26578         (__ASSUME_SIGNALFD4): Likewise.
26579         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26581 2014-05-12  Andreas Schwab  <schwab@suse.de>
26583         [BZ #16932]
26584         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
26585         (_nss_nis_gethostbyname4_r): Return error if item length is larger
26586         than maximum RPC packet size.
26587         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
26588         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
26589         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
26590         (_nss_nis_getservbyport_r): Likewise.
26592 2014-05-12  Will Newton  <will.newton@linaro.org>
26594         * malloc/Makefile (tests): Add tst-mallopt.
26595         * malloc/tst-mallopt.c: New file.
26597 2014-05-09  Roland McGrath  <roland@hack.frob.com>
26599         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
26600         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
26602 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26604         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
26605         (tst-tlsmod6.so): Likewise.
26607 2014-05-09  Roland McGrath  <roland@hack.frob.com>
26609         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
26611 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
26613         [BZ #16064]
26614         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
26615         and <dl-procinfo.h>.
26616         (__fegetenv): Save SSE state in envp->__eip if supported.
26617         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
26618         envp->__eip if supported.
26619         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
26620         and <dl-procinfo.h>.
26621         (__fesetenv): Always set __eip, __cs_selector, __opcode,
26622         __data_offset and __data_selector in environment to 0.  Set SSE
26623         state if supported.
26624         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
26625         test-fenv-sse.
26626         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
26627         -mfpmath=sse.
26628         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
26630 2014-05-09  Will Newton  <will.newton@linaro.org>
26632         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
26633         and libc_relro_required for ARM.
26634         * sysdeps/arm/preconfigure: Regenerate.
26636 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
26637             Stefan Liebler  <stli@linux.vnet.ibm.com>
26639         * config.make.in (enable-lock-elision): New Makefile variable.
26640         * configure.ac: Likewise.
26641         * configure: Regenerate.
26642         * sysdeps/s390/configure.ac:
26643         Add check for gcc transactions support.
26644         * sysdeps/s390/configure: Regenerate.
26645         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
26646         Build elision files if enabled.
26647         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
26648         Add lock elision support for s390.
26649         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
26650         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
26651         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
26652         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
26653         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
26654         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
26655         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
26656         Likewise.
26657         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
26658         Likewise.
26659         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
26660         Likewise.
26661         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
26662         Likewise.
26663         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
26664         (__lll_timedlock_elision, __lll_lock_elision)
26665         (__lll_unlock_elision, __lll_trylock_elision)
26666         (lll_timedlock_elision, lll_lock_elision)
26667         (lll_unlock_elision, lll_trylock_elision): Add.
26668         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
26669         (pthread_mutex_t): Add lock elision support for s390.
26671 2014-05-14  Wilco  <wdijkstr@arm.com>
26673         * sysdeps/arm/fclrexcpt.c: Cleanup.
26674         * sysdeps/arm/fedisblxcpt.c: Cleanup.
26675         * sysdeps/arm/feenablxcpt.c: Cleanup.
26676         * sysdeps/arm/fegetenv.c: Cleanup.
26677         * sysdeps/arm/fegetexcept.c: Cleanup.
26678         * sysdeps/arm/fegetround.c: Cleanup.
26679         * sysdeps/arm/feholdexcpt.c: Cleanup.
26680         * sysdeps/arm/fesetenv.c: Cleanup.
26681         * sysdeps/arm/fesetround.c: Cleanup.
26682         * sysdeps/arm/feupdateenv.c: Cleanup.
26683         * sysdeps/arm/fgetexcptflg.c: Cleanup.
26684         * sysdeps/arm/fraiseexcpt.c: Cleanup.
26685         * sysdeps/arm/fsetexcptflg.c: Cleanup.
26686         * sysdeps/arm/ftestexcept.c: Cleanup.
26687         * sysdeps/arm/get-rounding-mode.h: Cleanup.
26688         * sysdeps/arm/setfpucw.c: Cleanup.
26690 2014-05-09  Will Newton  <will.newton@linaro.org>
26692         * sysdeps/arm/armv7/strcmp.S: New file.
26693         * NEWS: Mention addition of ARMv7 optimized strcmp.
26695 2014-05-08  Roland McGrath  <roland@hack.frob.com>
26697         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
26698         look for %.ac rather than %.in.
26700         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
26701         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
26702         * sysdeps/mach/hurd/configure: Regenerated.
26703         * sysdeps/unix/sysv/linux/configure: Regenerated.
26705         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
26707 2014-05-07  Steve Ellcey  <sellcey@mips.com>
26709         [BZ# 16922]
26710         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
26711         (LONG_SUB): Ditto.
26712         (PTR_SUB): Ditto.
26714 2014-05-07  Andreas Schwab  <schwab@suse.de>
26716         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
26717         when skipping over non-matching result from nscd.
26719 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
26721         [BZ #16876]
26722         * nptl/sockperf.c (client): Check socket return value.
26724         [BZ #16877]
26725         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
26726         nscd security class.
26728 2014-05-06  Roland McGrath  <roland@hack.frob.com>
26730         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
26731         * sysdeps/arm/unwind.h: ... here.
26733 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
26735         [BZ# 16916]
26736         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
26737         Define.
26739 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26741         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
26742         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
26743         multiarch strncpy for PPC64.
26744         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
26745         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
26746         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
26747         multiarch optimizations.
26748         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26749         (__libc_ifunc_impl_list): Likewise.
26750         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
26751         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
26752         multiarch stpncpy for PPC64.
26753         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
26754         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
26756 2014-05-06  Andreas Schwab  <schwab@suse.de>
26758         [BZ #16912]
26759         * gmon/mcount.c (_MCOUNT_DECL): Use
26760         atomic_compare_and_exchange_bool_acq instead of
26761         catomic_compare_and_exchange_bool_acq.
26763 2014-05-05  Roland McGrath  <roland@hack.frob.com>
26765         * elf/Makefile (others, install-bin): Remove pldd.
26766         (pldd-modules): Variable removed.
26767         ($(objpfx)pldd): Target removed.
26768         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
26769         (others, install-bin): Append pldd here.
26770         ($(objpfx)pldd): New target.
26772         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
26773         to 0, so the first #if test emitted later doesn't see it undefined.
26774         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
26775         * sysdeps/gnu/errlist.c: Regenerated.
26777 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26779         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
26780         [libc_hidden_builtin_def]: Define to empty value.
26781         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
26782         [libc_hidden_builtin_def]: Likewise.
26783         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
26784         [libc_hidden_builtin_def]: Likewise.
26785         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
26786         [libc_hidden_builtin_def]: Likewise.
26787         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
26788         __redirect_memcpy and define ifunc as default hidden symbol.
26789         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
26790         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
26792 2014-05-04  Adam Conrad  <adconrad@0c3.net>
26794         * locale/iso-4217.def: Reintroduce XDR currency.
26796 2014-05-04  Allan McRae  <allan@archlinux.org>
26798         * po/eo.po: Update Esperanto translation from translation project.
26800 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
26802         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
26803         and FEATURE_INDEX_MAX to 1.
26804         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
26806 2014-05-01  Steve Ellcey  <sellcey@mips.com>
26808         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
26809         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
26810         * iconvdata/big5.c (ONE_DIRECTION): Define.
26811         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
26812         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
26813         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
26814         * iconvdata/cp932.c (ONE_DIRECTION): Define.
26815         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
26816         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
26817         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
26818         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
26819         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
26820         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
26821         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
26822         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
26823         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
26824         * iconvdata/gbk.c (ONE_DIRECTION): Define.
26825         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
26826         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
26827         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
26828         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
26829         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
26830         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
26831         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
26832         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
26833         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
26834         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
26835         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
26836         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
26837         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
26838         * iconvdata/iso646.c (ONE_DIRECTION): Define.
26839         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
26840         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
26841         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
26842         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
26843         * iconvdata/johab.c (ONE_DIRECTION): Define.
26844         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
26845         * iconvdata/sjis.c (ONE_DIRECTION): Define.
26846         * iconvdata/t.61.c (ONE_DIRECTION): Define.
26847         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
26848         * iconvdata/tscii.c (ONE_DIRECTION): Define.
26849         * iconvdata/uhc.c (ONE_DIRECTION): Define.
26850         * iconvdata/unicode.c (ONE_DIRECTION): Define.
26851         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
26852         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
26853         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
26855 2014-05-01  Roland McGrath  <roland@hack.frob.com>
26857         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
26858         (_IO_JUMPS_OFFSET): Define to 0.
26860         * nptl/sysdeps/pthread/bits/libc-lock.h
26861         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
26862         (__libc_lock_define_initialized_recursive): Always define using
26863         initializer.  Modern compilers treat uninitialized (implicit zero) and
26864         explicit zero initializers the same (i.e. put the datum in bss).
26866 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26868         * nscd/nscd-client.h: Include <string.h>.
26870 2014-05-01  David S. Miller  <davem@davemloft.net>
26872         [BZ #16885]
26873         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
26874         multiple zero bytes exist at the end of a string.
26875         Reported by Aurelien Jarno <aurelien@aurel32.net>
26877         * string/test-strcmp.c (check): Add explicit test for situations where
26878         there are multiple zero bytes after the first.
26880 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26882         [BZ #16890]
26883         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
26884         when compiling wprintf.
26885         * stdio-common/tstdiomisc.c (t3): New function.
26886         (main): Call it.
26888 2014-05-01  Steve Ellcey  <sellcey@mips.com>
26890         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
26891         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
26892         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
26893         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
26895 2014-05-01  Steve Ellcey  <sellcey@mips.com>
26897         * stdlib/longlong.h: Updated from GCC.
26899 2014-05-01  Will Newton  <will.newton@linaro.org>
26900             Bernard Ogden  <bernie.ogden@linaro.org>
26902         * NEWS: Update fixed bug list.
26904         [BZ #15119]
26905         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
26907 2014-04-30  David S. Miller  <davem@davemloft.net>
26909         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
26910         (libc_feholdexcept_setround_sparc_ctx): New function.
26911         (libc_fesetenv_sparc_ctx): Likewise.
26912         (libc_feupdateenv_sparc_ctx): Likewise.
26913         (libc_feholdsetround_sparc_ctx): Likewise.
26914         (libc_feholdexcept_setround_ctx): Define.
26915         (libc_feholdexcept_setroundf_ctx): Likewise.
26916         (libc_feholdexcept_setroundl_ctx): Likewise.
26917         (libc_fesetenv_ctx): Likewise.
26918         (libc_fesetenvf_ctx): Likewise.
26919         (libc_fesetenvl_ctx): Likewise.
26920         (libc_feupdateenv_ctx): Likewise.
26921         (libc_feupdateenvf_ctx): Likewise.
26922         (libc_feupdateenvl_ctx): Likewise.
26923         (libc_feresetround_ctx): Likewise.
26924         (libc_feresetroundf_ctx): Likewise.
26925         (libc_feresetroundl_ctx): Likewise.
26926         (libc_feholdsetround_ctx): Likewise.
26927         (libc_feholdsetroundf_ctx): Likewise.
26928         (libc_feholdsetroundl_ctx): Likewise.
26930         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
26931         with __USE_GNU instead of XOPEN cpp guards.
26933         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
26934         0.
26936         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
26937         with XOPEN cpp guards.
26939 2014-04-30  Julian Brown  <julian@codesourcery.com>
26941         [BZ #16888]
26942         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
26943         handling.
26945 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
26947         [BZ #9894]
26948         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
26949         Change to 2.6.32.
26950         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
26951         * sysdeps/unix/sysv/linux/configure: Regenerated.
26952         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
26953         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
26954         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
26955         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
26956         * README: Update reference to required Linux kernel version.
26957         * manual/install.texi (Linux): Update reference to required Linux
26958         kernel headers version.
26959         * INSTALL: Regenerated.
26961         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
26962         header inclusion.
26963         [POSIX] (limits.h): Likewise.
26964         [POSIX] (math.h): Likewise.
26965         [POSIX] (sys/wait.h): Likewise.
26966         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
26967         function.
26968         [POSIX] (stddef.h): Do not allow header inclusion.
26970 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26972         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
26974 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
26976         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
26977         Return immediately after lll_futex_wake.
26979 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26981         [BZ #16791]
26982         * nscd/nscd-client.h (datahead_init_common): Initialize entire
26983         structure.
26984         (datahead_init_pos): Call datahead_init_common early.
26985         (datahead_init_neg): Likewise.
26987         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
26988         datahead_init_neg): New functions.
26989         * nscd/aicache.c (addhstaiX): Use them.
26990         * nscd/grpcache.c (cache_addgr): Likewise.
26991         * nscd/hstcache.c (cache_addhst): Likewise.
26992         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26993         * nscd/netgroupcache.c (do_notfound): Likewise.
26994         (addgetnetgrentX): Likewise.
26995         (addinnetgrX): Likewise.
26996         * nscd/pwdcache.c (cache_addpw): Likewise.
26997         * nscd/servicescache.c (cache_addserv): Likewise.
26999 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27000             Atsushi Onoe  <atsushi@onoe.org>
27002         [BZ #14308]
27003         [BZ #12994]
27004         [BZ #13651]
27005         * resolv/res_query.c (__libc_res_nsearch): Return if at least
27006         one response is valid.
27007         * resolv/res_send.c (send_dg): Check for validity of other
27008         response if the current response is a referral.
27010 2014-04-29  Steve Ellcey  <sellcey@mips.com>
27012         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
27014 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
27016         [BZ #16823]
27017         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
27018         Always divide by positive zero when computing -Inf result.
27019         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
27020         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
27022 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27024         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
27025         FPSCR if value do not change.
27026         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27027         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
27028         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
27029         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
27030         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
27031         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
27032         function.
27034 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
27036         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
27037         * sysdeps/unix/sysv/linux/hppa: Move directory from
27038         ports/systeps/unix/sysv/linux/hppa.
27039         * README: Update listing for hppa-*-linux-gnu.
27041 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
27043         [BZ #16754]
27044         * manual/stdio.texi (Hook functions): Fix types of stream hook
27045         functions.
27046         [BZ #16854]
27047         * socket/sys/socket.h: Fix typo in comment.
27049 2014-04-28  Wilco  <wdijkstr@arm.com>
27051         * sysdeps/arm/fenv_private.h: New file.
27052         * sysdeps/arm/math_private.h: New file.
27053         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
27055 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
27057         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
27058         with __int128_t.
27059         (La_x86_64_retval): Likewise.
27061 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
27063         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
27064         fpsr if value didn't change.
27065         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
27066         to fpcr if value didn't change.
27067         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
27068         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
27069         fpsr or fpcr if value didn't change.
27070         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
27071         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
27072         fpcr if value didn't change.
27073         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
27074         to fpsr if value didn't change.
27076 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27078         * nptl/tst-sem3.c: Use test-skeleton.c
27079         (main): Rename to do_test.  Use return instead of
27080         exit.
27081         * nptl/tst-sem4.c: Use test-skeleton.c
27082         (main): Rename to do_test.
27084 2014-04-22  David S. Miller  <davem@davemloft.net>
27086         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
27087         (struct sigaction): New struct member __glibc_reserved0, change
27088         type of sa_flags to int.
27090 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
27092         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
27093         (COUNT_LEADING_ZEROS_0): Define for AArch64.
27095 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27097         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
27098         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
27100 2014-04-22  Will Newton  <will.newton@linaro.org>
27101             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
27103         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
27104         (__longjmp): Add longjmp and longjmp_target SystemTap
27105         probes.
27106         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
27107         (__sigsetjmp): Add setjmp SystemTap probe.
27109 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
27111         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
27112         match manual order.
27114 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27116         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
27118         * sysdeps/powerpc/fpu/fenv_private.h
27119         (libc_feholdexcept_setroundl_ctx): Define to
27120         libc_feholdexcept_setround_ppc_ctx.
27121         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
27122         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
27123         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
27124         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
27126 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
27128         * sysdeps/aarch64/math-tests.h: New file.
27130 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
27132         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
27133         New.
27134         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27135         Check and set bit_AVX2_Usable.
27136         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
27137         macro.
27138         (bit_AVX2): Likewise.
27139         (index_AVX2_Usable): Likewise.
27140         (CPUID_AVX2): Likewise.
27141         (HAS_AVX2): Likewise.
27143 2014-04-17  Will Newton  <will.newton@linaro.org>
27145         * manual/setjmp.texi (System V contexts): Add note that
27146         calling setcontext on a context created by a call to a
27147         signal handler is undefined.  Update text to note that
27148         setcontext from a signal handler is possible but not
27149         recommended.
27151         [BZ #16629]
27152         * stdlib/tst-setcontext.c: Include signal.h.
27153         (main): Check that the signal stack before and
27154         after swapcontext is the same.
27156         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
27157         Re-implement to restore registers in user code and avoid
27158         rt_sigreturn system call.
27160 2014-04-17  Wilco  <wdijkstr@arm.com>
27162         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
27163         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
27164         * math/test-fenv.c: Skip exception trap tests on targets which only
27165         support non-stop mode.
27167 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
27168             Wilco Dijkstra  <wilco.dijkstra@arm.com>
27170         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
27171         (libc_feholdsetround_aarch64_ctx)
27172         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
27173         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
27174         (libc_feresetround_ctx, libc_feresetroundf_ctx)
27175         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
27176         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
27177         (libc_feresetround_noexl_ctx): Define.
27179 2014-04-16  Richard Henderson  <rth@redhat.com>
27181         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
27183         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
27184         unwind tables.
27186         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
27187         const from the non-libc, non-ldso copy.
27189         * sysdeps/alpha/libm-test-ulps: Regenerate.
27191 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
27192             Wilco Dijkstra  <wilco.dijkstra@arm.com>
27194         * sysdeps/aarch64/fpu/math_private.h: New file.
27196 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
27198         * sysdeps/aarch64/libm-test-ulps: Regenerate.
27200 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
27202         [BZ #16275]
27203         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
27204         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
27205         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
27206         Intel MPX bound registers before _dl_profile_fixup.
27207         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
27208         registers after _dl_profile_fixup.  Save and restore bound
27209         registers bnd0/bnd1 when calling _dl_call_pltexit.
27210         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
27211         (LR_BND_OFFSET): Likewise.
27212         (LRV_BND0_OFFSET): Likewise.
27213         (LRV_BND1_OFFSET): Likewise.
27215 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27217         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
27218         to...
27219         * sysdeps/mach/hurd/i386/tls.h: ... here.
27220         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
27221         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
27222         fields.
27224 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27226         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
27228 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27230         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27232 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27234         [BZ #14770]
27235         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
27236         * sysdeps/s390/configure: Regenerate.
27238         [BZ #16824]
27239         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
27240         Set round-to-nearest internally to reduce error accumulation.
27242 2014-04-16  Alan Modra  <amodra@gmail.com>
27244         [BZ #16740]
27245         [BZ #16619]
27246         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
27247         * math/libm-test.inc (frexp_test_data): Add tests.
27248         * NEWS: Update fixed bug list.
27250 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27252         * benchtests/Makefile: Depend on libraries in build directory.
27253         (bench-math): Separate out math tests.
27254         (bench-pthread): Separate out pthread tests.
27255         (bench): Include math and pthread tests.
27257 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
27259         [BZ #16831]
27260         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
27261         _dl_debug_initialize.
27263         * configure.ac: Remove SELinux header check.
27264         * configure: Regenerate.
27265         * nscd/selinux.c (perms): Array of const char* to permission names.
27266         (nscd_request_avc_has_perm): Call security_deny_unknown to find
27267         default policy. Call string_to_security_class and string_to_av_perm to
27268         translate strings. Enforce default policy and call avs_has_perm with
27269         results of translated strings.
27271 2014-04-13  David S. Miller  <davem@davemloft.net>
27273         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27275 2014-04-12  Allan McRae  <allan@archlinux.org>
27277         [BZ #16838]
27278         * manual/string.texi (Collation Functions): Fix qsort argument
27279         order in example.
27280         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
27282 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
27284         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
27285         Make the test a no-op if there are no exceptions defined.
27287 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
27289         * elf/Makefile (tests): make tst-dlopen-aout conditional on
27290         enable-hardcoded-path-in-tests
27292 2014-04-11  Will Newton  <will.newton@linaro.org>
27294         * benchtests/Makefile (extra-objs): Add json-lib.o.
27295         (bench-func): Tidy up JSON output.
27296         * benchtests/bench-skeleton.c: Include json-lib.h.
27297         (main): Use JSON library functions to do output of
27298         benchmark results.
27299         * benchtests/bench-timing-type.c (main): Output the
27300         timing type simply, leaving formatting to the user.
27301         * benchtests/json-lib.c: New file.
27302         * benchtests/json-lib.h: Likewise.
27304 2014-04-11  Torvald Riegel  <triegel@redhat.com>
27306         [BZ #15215]
27307         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
27308         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
27309         memory barriers.  Add comments.
27310         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
27311         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
27312         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
27313         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
27314         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
27315         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
27317 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27319         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
27320         * sysdeps/s390/s390-64/configure.ac: ... this ...
27321         * sysdeps/s390/configure.ac: ... to here.
27322         * sysdeps/s390/s390-32/configure: Delete file.
27323         * sysdeps/s390/s390-64/configure: Delete file.
27324         * sysdeps/s390/configure: Regenerate.
27326 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
27328         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
27330 2014-04-11  Will Newton  <will.newton@linaro.org>
27332         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
27333         to zero if it is not defined elsewhere.  (mtrim): Test
27334         the value of MALLOC_DEBUG with #if rather than #ifdef.
27336 2014-04-10 Torvald Riegel  <triegel@redhat.com>
27338         * benchtests/pthread_once-inputs: New file.
27339         * benchtests/pthread_once-source.c: New file.
27340         * benchtests/README: Update documentation.
27342 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
27343             H.J. Lu  <hongjiu.lu@intel.com>
27345         [BZ #16275]
27346         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
27347         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
27348         * sysdeps/x86_64/configure: Regenerated.
27349         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
27350         macro.
27351         (REGISTER_SAVE_RAX): Likewise.
27352         (REGISTER_SAVE_RCX): Likewise.
27353         (REGISTER_SAVE_RDX): Likewise.
27354         (REGISTER_SAVE_RSI): Likewise.
27355         (REGISTER_SAVE_RDI): Likewise.
27356         (REGISTER_SAVE_R8): Likewise.
27357         (REGISTER_SAVE_R9): Likewise.
27358         (REGISTER_SAVE_BND0): Likewise.
27359         (REGISTER_SAVE_BND1): Likewise.
27360         (REGISTER_SAVE_BND2): Likewise.
27361         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
27362         bound registers when calling _dl_fixup.
27364 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27366         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
27367         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
27368         of its definition.
27369         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
27370         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
27371         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
27372         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
27373         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
27374         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
27375         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
27377 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
27379         [BZ #15514]
27380         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
27381         pathconf(_PC_NAME_MAX).
27383 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27385         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
27386         Remove macro usage.
27387         (__PTHREAD_SPINS): Move definition to ...
27388         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27389         (__PTHREAD_SPINS): ... here.
27390         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
27391         (__PTHREAD_SPIN): Likewise.
27392         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
27393         (__PTHREAD_SPIN): Likewise.
27394         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
27395         (__PTHREAD_SPIN): Likewise.
27396         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
27397         (__PTHREAD_SPIN): Likewise.
27398         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
27399         (__PTHREAD_SPIN): Likewise.
27400         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
27401         (__PTHREAD_SPIN): Likewise.
27402         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
27403         (__PTHREAD_SPIN): Likewise.
27404         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
27405         (__PTHREAD_SPIN): Likewise.
27406         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
27407         (__PTHREAD_SPIN): Likewise.
27408         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
27409         (__PTHREAD_SPIN): Likewise.
27410         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
27411         (__PTHREAD_SPIN): Likewise.
27412         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
27413         (__PTHREAD_SPIN): Likewise.
27415         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
27416         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
27417         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
27418         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
27419         imply folder.
27420         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
27421         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
27422         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
27423         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
27424         correct imply path.
27425         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
27426         strlen symbol for non multi-arch builds.
27427         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
27428         missing hidden_def and weak_alias.
27430 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
27432         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
27434 2014-04-07  Will Newton  <will.newton@linaro.org>
27436         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
27437         and contents.  [!_LIBC] Remove #ifndef and contents.
27438         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
27439         * string/memccpy.c (__memccpy): Use ANSI prototype.
27440         * string/memfrob.c (memfrob): Likewise.
27441         * string/strcoll.c (STRCOLL): Likewise.
27442         * string/strlen.c (strlen): Likewise.
27443         * string/strtok.c (STRTOK): Likewise.
27444         * string/strcat.c: Remove unused #include of memcopy.h.
27445         (strcat): Use ANSI prototype.
27446         * string/strchr.c: Remove unused #include of memcopy.h.
27447         (strchr): Use ANSI prototype.
27448         * string/strcmp.c: Remove unused #include of memcopy.h.
27449         (strcmp): Use ANSI prototype.
27450         * string/strcpy.c: Remove unused #include of memcopy.h.
27451         (strcpy): Use ANSI prototype.
27453 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27455         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
27456         * config.make.in (config-extra-cppflags): Set it from
27457         libc_extra_cppflags.
27458         * configure.ac (libc_extra_cflags): Make it accumulate over
27459         configure fragments.
27460         (libc_extra_cppflags): New flag.
27461         * configure. Regenerate.
27462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
27463         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
27464         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
27465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
27467         [BZ #16815]
27468         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
27469         result for FE_DOWNWARD rounding mode.
27470         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
27471         Likewise.
27472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27474 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
27476         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
27477         in function argument name.
27479 2014-04-03  David Svoboda  <svoboda@cert.org>
27481         [BZ #5666]
27482         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
27483         explicitly.
27485 2014-04-03  Roland McGrath  <roland@hack.frob.com>
27487         * elf/dl-unmap-segments.h: New file.
27488         * sysdeps/generic/ldsodefs.h
27489         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
27490         * elf/dl-close.c: Include <dl-unmap-segments.h>.
27491         * elf/dl-fptr.c: Likewise.
27492         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
27493         * sysdeps/aarch64/tlsdesc.c: Likewise.
27494         * sysdeps/arm/tlsdesc.c: Likewise.
27495         * sysdeps/i386/tlsdesc.c: Likewise.
27496         * sysdeps/tile/dl-runtime.c: Likewise.
27497         * sysdeps/x86_64/tlsdesc.c: Likewise.
27498         * elf/dl-load.h: New file.
27499         * elf/dl-load.c: Include it.
27500         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
27501         Macros moved to dl-load.h.
27502         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
27503         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
27504         Use _dl_unmap_segments in place of __munmap.
27505         Break out segment-mapping loop into ...
27506         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
27508 2014-04-03  Will Newton  <will.newton@linaro.org>
27510         * elf/dl-lookup.c (do_lookup_x): Remove comment
27511         referring to nested function and move variable
27512         declarations down to before first use.
27514 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
27516         [BZ #16799]
27517         [BZ #16800]
27518         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
27519         with 0 numerator.
27520         * math/s_catanf.c (__catanf): Likewise.
27521         * math/s_catanh.c (__catanh): Likewise.
27522         * math/s_catanhf.c (__catanhf): Likewise.
27523         * math/s_catanhl.c (__catanhl): Likewise.
27524         * math/s_catanl.c (__catanl): Likewise.
27525         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
27526         by positive zero when computing -Inf result.
27527         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
27528         (catanh_test): Likewise.
27529         * sysdeps/i386/fpu/libm-test-ulps: Update.
27530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27532         [BZ #16789]
27533         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
27534         instead of using underflowing value in computing result.
27535         * math/s_clog10.c (__clog10): Likewise.
27536         * math/s_clog10f.c (__clog10f): Likewise.
27537         * math/s_clog10l.c (__clog10l): Likewise.
27538         * math/s_clogf.c (__clogf): Likewise.
27539         * math/s_clogl.c (__clogl): Likewise.
27540         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
27541         (clog10_test): Likewise.
27542         * sysdeps/i386/fpu/libm-test-ulps: Update.
27543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27545 2014-04-02  Alan Modra  <amodra@gmail.com>
27547         [BZ #16739]
27548         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
27549         output when value is near a power of two.  Use int64_t for lx and
27550         remove casts.  Use decimal rather than hex exponent constants.
27551         Don't use long double multiplication when double will suffice.
27552         * math/libm-test.inc (nextafter_test_data): Add tests.
27553         * NEWS: Add 16739 and 16786 to bug list.
27555         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
27557         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
27559 2014-04-01  Will Newton  <will.newton@linaro.org>
27561         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
27562         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
27564 2014-04-01  Florian Weimer  <fweimer@redhat.com>
27566         [BZ #13347]
27567         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
27568         * nptl/tst-setuid2.c: New file.
27569         * nptl/Makefile (xtests): Add tst-setuid2.
27571 2014-04-01  Alan Modra  <amodra@gmail.com>
27573         [BZ #16786]
27574         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
27576 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
27578         [BZ #6803]
27579         [BZ #6804]
27580         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
27581         set errno as appropriate.
27582         * math/w_scalbf.c (__scalbf): Likewise.
27583         * math/w_scalbl.c (__scalbl): Likewise.
27584         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
27585         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
27586         * math/libm-test.inc (scalb_test_data): Add errno expectations.
27587         Add more NaN tests.
27589         [BZ #16349]
27590         * math/w_atan2.c: Include <errno.h>.
27591         (__atan2): Set errno for result underflowing to zero.
27592         * math/w_atan2f.c: Include <errno.h>.
27593         (__atan2f): Set errno for result underflowing to zero.
27594         * math/w_atan2l.c: Include <errno.h>.
27595         (__atan2l): Set errno for result underflowing to zero.
27596         * math/auto-libm-test-in: Don't allow missing errno for some atan2
27597         tests.
27598         * math/auto-libm-test-out: Regenerated.
27600 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27602         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
27603         Encode instruction correctly in little endian.
27604         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
27605         Likewise.
27606         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
27607         Likewise.
27608         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
27609         Likewise.
27610         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
27611         Likewise.
27613 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
27615         [BZ #9894]
27616         * sysdeps/unix/sysv/linux/kernel-features.h
27617         [__sparc__ && !__arch64__ && !__sparc_v9__]
27618         (__ASSUME_SET_ROBUST_LIST): Do not define.
27619         [__sparc__ && !__arch64__ && !__sparc_v9__]
27620         (__ASSUME_FUTEX_LOCK_PI): Likewise.
27621         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
27622         Likewise.
27623         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27624         (__ASSUME_FUTEX_LOCK_PI): Undefine.
27625         (__ASSUME_REQUEUE_PI): Likewise.
27626         (__ASSUME_SET_ROBUST_LIST): Likewise.
27627         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27628         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
27629         Undefine.
27630         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27631         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
27632         Likewise.
27633         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
27634         Likewise.
27635         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
27636         Likewise.
27637         * sysdeps/unix/sysv/linux/mips/kernel-features.h
27638         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
27639         Undefine.
27640         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
27641         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
27642         Likewise.
27644         [BZ #16648]
27645         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27646         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
27647         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
27649 2014-03-31  Will Newton  <will.newton@linaro.org>
27651         * benchtests/Makefile (bench): Add ffs and ffsll to list
27652         of tests.
27653         * benchtests/ffs-inputs: New file.
27654         * benchtests/ffsll-inputs: Likewise.
27656 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
27658         [BZ #16770]
27659         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
27660         too large before casting to int.
27661         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
27662         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
27663         * math/libm-test.inc (scalb_test_data): Add more tests.
27665 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27667         * benchtests/Makefile (DETAILED_OPT): New make option.
27668         (bench-func): Run benchmark program with -d if DETAILED_OPT is
27669         set.
27670         * benchtests/bench-skeleton.c: Include stdbool.h.
27671         (main): Store and print timings per input.
27672         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
27673         member to each argument value.
27674         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
27675         (_print_arg_data): Initialize per-input timing to 0.
27677         * benchtests/Makefile (timing-type): New binary.
27678         (bench-clean): Also remove bench-timing-type.
27679         (bench): New target for timing-type.
27680         (bench-func): Print output in JSON format.
27681         * benchtests/bench-skeleton.c (main): Print output in JSON
27682         format.
27683         * benchtests/bench-timing-type.c: New file.
27684         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
27685         (TIMING_PRINT_STATS): Remove.
27686         * benchtests/scripts/bench.py (_print_arg_data): Store variant
27687         name separately.
27689         * benchtests/bench-modf.c: Remove.
27690         * benchtests/modf-inputs: New inputs file.
27692 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
27694         [BZ #16362]
27695         * math/s_clog10.c (M_PI_LOG10E): New macro.
27696         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
27697         imaginary parts are 0.
27698         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
27699         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
27700         imaginary parts are 0.
27701         * math/s_clog10l.c (M_PI_LOG10El): New macro.
27702         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
27703         imaginary parts are 0.
27704         * math/libm-test.inc (clog10_test_data): Update expected results
27705         for when real and imaginary parts are 0.
27707 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
27709         * elf/dl-load.c: Finish conversion of __builtin_expect into
27710         __glibc_{un}likely.
27712 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
27714         [BZ #16348]
27715         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
27716         1+x for argument with exponent below -67.
27717         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
27718         Likewise.
27719         * math/auto-libm-test-in: Add more tests of exp.
27720         * math/auto-libm-test-out: Regenerated.
27722 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27724         [BZ #16759]
27725         * inet/getnetgrent_r.c (get_nonempty_val): New function.
27726         (nscd_getnetgrent): Use it.
27728         [BZ #16760]
27729         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
27730         of stpcpy.
27732 2014-03-27  Andi Kleen  <ak@linux.intel.com>
27734         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
27735         (lll_robust_lock, lll_cond_lock, lll_timedlock)
27736         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
27737         (lll_robust_unlock): Remove out of line section. Use cfi
27738         intrinsics.
27739         (LLL_STUB_UNWIND_INFO*): Remove.
27740         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
27741         (lll_robust_lock, lll_cond_lock, lll_timedlock)
27742         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
27743         (lll_robust_unlock): Remove out of line section. Use cfi
27744         intrinsics.
27745         (LLL_STUB_UNWIND_INFO*): Remove.
27747 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27749         [BZ #16758]
27750         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
27751         blank values.
27753 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
27755         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
27757 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
27759         [BZ #16198]
27760         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
27761         fnstenv.
27762         * math/test-fenv-preserve.c: New file.
27763         * math/Makefile (tests): Add test-fenv-preserve.
27765 2014-03-26  Will Newton <will.newton@linaro.org>
27767         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
27769 2014-03-25  Roland McGrath  <roland@hack.frob.com>
27771         * scripts/versionlist.awk: Partition the version sets and emit all
27772         GLIBC_* (sorted) before all others (sorted).
27774 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
27776         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
27777         GLIBC_2.2.5 version.
27779 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27781         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
27782         calls.
27784         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
27785         previous change.
27787         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27789 2014-03-25  Andreas Schwab  <schwab@suse.de>
27791         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
27792         label to be used after in6ailist is initialized.
27794 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27796         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27797         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
27799 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
27801         [BZ #16357]
27802         [BZ #16599]
27803         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
27804         min_plus_half.
27805         (fp_formats): Update initializers.
27806         (init_fp_formats): Initialize new field.
27807         (output_for_one_input_case): Allow underflow for results up to
27808         min_plus_half.
27809         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
27810         * math/auto-libm-test-in: Don't mark some underflows from asin and
27811         atanh as spurious.
27812         * math/auto-libm-test-out: Regenerated.
27813         * sysdeps/i386/fpu/libm-test-ulps: Update.
27814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27816 2014-03-25  Andreas Schwab  <schwab@suse.de>
27818         * libio/Makefile (tst-ftell-partial-wide-ENV)
27819         (tst-ftell-active-handler-ENV): Define.
27821 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
27823         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
27825 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
27827         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
27829 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
27831         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
27832         * sysdeps/x86_64/fpu/multiarch/e_exp.c
27833         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27835 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
27837         [BZ #16634]
27838         * elf/dl-load.c (open_verify): Add mode parameter.
27839         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
27840         (open_path): Change from boolean 'secure' to complete flag 'mode'
27841         (_dl_map_object): Adjust.
27842         * elf/Makefile (tests): Add tst-dlopen-aout.
27843         * elf/tst-dlopen-aout.c: New test.
27845 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
27847         [BZ #16714]
27848         * sysdeps/unix/sysv/linux/s390/bits/stat.h
27849         (struct stat): Rename member pad0 to __glibc_reserved0.
27851         [BZ #16712]
27852         * sysdeps/s390/s390-32/bits/wordsize.h
27853         (__WORDSIZE32_SIZE_ULONG): New define.
27854         * sysdeps/s390/s390-64/bits/wordsize.h
27855         (__WORDSIZE32_SIZE_ULONG): Likewise.
27856         * sysdeps/generic/stdint.h (SIZE_MAX):
27857         Define as UL if __WORDSIZE32_SIZE_ULONG.
27859         [BZ #16713]
27860         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
27861         (__glibc_reserved0): New variable.
27862         (sa_flags): Change type to int.
27864         * posix/Makefile (before-compile): Use += before-compile instead
27865         of a :=.
27867         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
27868         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
27870 2014-03-20  Andreas Schwab  <schwab@suse.de>
27872         [BZ #16743]
27873         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
27874         non-matching result from nscd.
27876 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27878         * scripts/bench.py: Moved to ...
27879         * benchtests/scripts/bench.py: ... here.
27880         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
27882 2014-03-24  Andreas Schwab  <schwab@suse.de>
27884         [BZ #16002]
27885         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
27886         alloca_account and account alloca use for struct in6ailist.
27888 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
27890         [BZ #16284]
27891         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
27892         rounding mode to recompute results that overflow to infinity or
27893         underflow to zero.
27894         * math/auto-libm-test-in: Don't mark tests as expected to fail for
27895         bug 16284.
27896         * math/auto-libm-test-out: Regenerated.
27897         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
27898         (ccosh_test): Likewise.
27899         (csin_test_data): Use plus_oflow.
27900         (csin_test): Use ALL_RM_TEST.
27901         (csinh_test_data): Use plus_oflow.
27902         (csinh_test): Use ALL_RM_TEST.
27903         * sysdeps/i386/fpu/libm-test-ulps: Update.
27904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27906 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
27908         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
27909         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
27910         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
27912         [BZ #16731]
27913         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
27914         when x - 1 is zero.
27915         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
27916         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
27917         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
27918         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
27919         argument is 1.
27920         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
27921         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
27922         zero.
27923         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
27924         * sysdeps/i386/fpu/libm-test-ulps: Update.
27925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27927 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27929         * scripts/bench.pl: Remove file.
27930         * scripts/bench.py: New benchmark script.
27931         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
27932         * benchtests/README: Mention python dependency.
27933         * scripts/pylintrc: New file.
27934         * scripts/pylint: New file.
27936         * bits/mathdef.h: Use #ifdef instead of #if.
27937         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
27938         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
27939         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
27940         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
27941         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
27942         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
27944 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27945             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27947         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
27948         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
27949         and strpbrk-ppc64 objects.
27950         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27951         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
27952         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
27953         multiarch strpbrk for POWER7.
27954         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
27955         multiarch strpbrk for PPC64.
27956         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
27957         ifunc selector.
27958         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
27959         strpbrk for POWER7.
27961 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
27963         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
27964         (atan_test): Likewise.
27965         (atanh_test_data): Use NO_TEST_INLINE for two tests.
27966         (atanh_test): Use ALL_RM_TEST.
27967         (atan2_test_data): Likewise.
27968         (cabs_test): Likewise.
27969         (cacosh_test): Likewise.
27970         (carg_test): Likewise.
27971         (casin_test): Likewise.
27972         (casinh_test): Likewise.
27973         (cbrt_test): Likewise.
27974         (csqrt_test): Likewise.
27975         (erf_test): Likewise.
27976         (erfc_test): Likewise.
27977         (pow10_test): Likewise.
27978         (exp2_test): Likewise.
27979         (hypot_test): Likewise.
27980         (j0_test): Likewise.
27981         (j1_test): Likewise.
27982         (lgamma_test): Likewise.
27983         (gamma_test): Likewise.
27984         (sincos_test): Likewise.
27985         (tanh_test): Likewise.
27986         (y0_test): Likewise.
27987         (y1_test): Likewise.
27988         * sysdeps/i386/fpu/libm-test-ulps: Update.
27989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27991 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27993         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
27994         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
27995         and strcspn-ppc64 objects.
27996         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27997         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
27998         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
27999         multiarch strcspn for POWER7.
28000         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
28001         multiarch strcspn for PPC64.
28002         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
28003         ifunc selector.
28004         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
28005         strcspn for POWER7.
28007 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
28009         * math/gen-libm-test.pl (generate_testfile): Expect only function
28010         name as argument to AUTO_TESTS_* and pass results for all rounding
28011         modes to parse_args.
28012         (parse_auto_input): Separate inputs of automatic tests from
28013         outputs before storing in %auto_tests.
28014         * math/libm-test.inc (acos_test_data): Update call to
28015         AUTO_TESTS_f_f.
28016         (acos_test): Use ALL_RM_TEST.
28017         (acos_tonearest_test_data): Remove.
28018         (acos_test_tonearest): Likewise.
28019         (acos_towardzero_test_data): Likewise.
28020         (acos_test_towardzero): Likewise.
28021         (acos_downward_test_data): Likewise.
28022         (acos_test_downward): Likewise.
28023         (acos_upward_test_data): Likewise.
28024         (acos_test_upward): Likewise.
28025         (acosh_test_data): Update call to AUTO_TESTS_f_f.
28026         (asin_test_data): Likewise.
28027         (asin_test): Use ALL_RM_TEST.
28028         (asin_tonearest_test_data): Remove.
28029         (asin_test_tonearest): Likewise.
28030         (asin_towardzero_test_data): Likewise.
28031         (asin_test_towardzero): Likewise.
28032         (asin_downward_test_data): Likewise.
28033         (asin_test_downward): Likewise.
28034         (asin_upward_test_data): Likewise.
28035         (asin_test_upward): Likewise.
28036         (asinh_test_data): Update call to AUTO_TESTS_f_f.
28037         (atan_test_data): Likewise.
28038         (atanh_test_data): Likewise.
28039         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
28040         (cabs_test_data): Update call to AUTO_TESTS_c_f.
28041         (carg_test_data): Likewise.
28042         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
28043         (ccos_test_data): Update call to AUTO_TESTS_c_c.
28044         (ccosh_test_data): Likewise.
28045         (cexp_test_data): Likewise.
28046         (clog_test_data): Likewise.
28047         (clog10_test_data): Likewise.
28048         (cos_test_data): Update call to AUTO_TESTS_f_f.
28049         (cos_test): Use ALL_RM_TEST.
28050         (cos_tonearest_test_data): Remove.
28051         (cos_test_tonearest): Likewise.
28052         (cos_towardzero_test_data): Likewise.
28053         (cos_test_towardzero): Likewise.
28054         (cos_downward_test_data): Likewise.
28055         (cos_test_downward): Likewise.
28056         (cos_upward_test_data): Likewise.
28057         (cos_test_upward): Likewise.
28058         (cosh_test_data): Update call to AUTO_TESTS_f_f.
28059         (cosh_test): Use ALL_RM_TEST.
28060         (cosh_tonearest_test_data): Remove.
28061         (cosh_test_tonearest): Likewise.
28062         (cosh_towardzero_test_data): Likewise.
28063         (cosh_test_towardzero): Likewise.
28064         (cosh_downward_test_data): Likewise.
28065         (cosh_test_downward): Likewise.
28066         (cosh_upward_test_data): Likewise.
28067         (cosh_test_upward): Likewise.
28068         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
28069         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
28070         (ctan_test_data): Likewise.
28071         (ctan_test): Use ALL_RM_TEST.
28072         (ctan_tonearest_test_data): Remove.
28073         (ctan_test_tonearest): Likewise.
28074         (ctan_towardzero_test_data): Likewise.
28075         (ctan_test_towardzero): Likewise.
28076         (ctan_downward_test_data): Likewise.
28077         (ctan_test_downward): Likewise.
28078         (ctan_upward_test_data): Likewise.
28079         (ctan_test_upward): Likewise.
28080         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
28081         (ctanh_test): Use ALL_RM_TEST.
28082         (ctanh_tonearest_test_data): Remove.
28083         (ctanh_test_tonearest): Likewise.
28084         (ctanh_towardzero_test_data): Likewise.
28085         (ctanh_test_towardzero): Likewise.
28086         (ctanh_downward_test_data): Likewise.
28087         (ctanh_test_downward): Likewise.
28088         (ctanh_upward_test_data): Likewise.
28089         (ctanh_test_upward): Likewise.
28090         (erf_test_data): Update call to AUTO_TESTS_f_f.
28091         (erfc_test_data): Likewise.
28092         (exp_test_data): Likewise.
28093         (exp_test): Use ALL_RM_TEST.
28094         (exp_tonearest_test_data): Remove.
28095         (exp_test_tonearest): Likewise.
28096         (exp_towardzero_test_data): Likewise.
28097         (exp_test_towardzero): Likewise.
28098         (exp_downward_test_data): Likewise.
28099         (exp_test_downward): Likewise.
28100         (exp_upward_test_data): Likewise.
28101         (exp_test_upward): Likewise.
28102         (exp10_test_data): Update call to AUTO_TESTS_f_f.
28103         (exp10_test): Use ALL_RM_TEST.
28104         (exp10_tonearest_test_data): Remove.
28105         (exp10_test_tonearest): Likewise.
28106         (exp10_towardzero_test_data): Likewise.
28107         (exp10_test_towardzero): Likewise.
28108         (exp10_downward_test_data): Likewise.
28109         (exp10_test_downward): Likewise.
28110         (exp10_upward_test_data): Likewise.
28111         (exp10_test_upward): Likewise.
28112         (exp2_test_data): Update call to AUTO_TESTS_f_f.
28113         (expm1_test_data): Likewise.
28114         (expm1_test): Use ALL_RM_TEST.
28115         (expm1_tonearest_test_data): Remove.
28116         (expm1_test_tonearest): Likewise.
28117         (expm1_towardzero_test_data): Likewise.
28118         (expm1_test_towardzero): Likewise.
28119         (expm1_downward_test_data): Likewise.
28120         (expm1_test_downward): Likewise.
28121         (expm1_upward_test_data): Likewise.
28122         (expm1_test_upward): Likewise.
28123         (fma_test_data): Update call to AUTO_TESTS_fff_f.
28124         (fma_test): Use ALL_RM_TEST.
28125         (fma_towardzero_test_data): Remove.
28126         (fma_test_towardzero): Likewise.
28127         (fma_downward_test_data): Likewise.
28128         (fma_test_downward): Likewise.
28129         (fma_upward_test_data): Likewise.
28130         (fma_test_upward): Likewise.
28131         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
28132         (j0_test_data): Update call to AUTO_TESTS_f_f.
28133         (j1_test_data): Likewise.
28134         (jn_test_data): Update call to AUTO_TESTS_if_f.
28135         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
28136         (log_test_data): Update call to AUTO_TESTS_f_f.
28137         (log10_test_data): Likewise.
28138         (log1p_test_data): Likewise.
28139         (log2_test_data): Likewise.
28140         (pow_test_data): Update call to AUTO_TESTS_ff_f.
28141         (pow_tonearest_test_data): Likewise.
28142         (sin_test_data): Update call to AUTO_TESTS_f_f.
28143         (sin_test): Use ALL_RM_TEST.
28144         (sin_tonearest_test_data): Remove.
28145         (sin_test_tonearest): Likewise.
28146         (sin_towardzero_test_data): Likewise.
28147         (sin_test_towardzero): Likewise.
28148         (sin_downward_test_data): Likewise.
28149         (sin_test_downward): Likewise.
28150         (sin_upward_test_data): Likewise.
28151         (sin_test_upward): Likewise.
28152         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
28153         (sinh_test_data): Update call to AUTO_TESTS_f_f.
28154         (sinh_test): Use ALL_RM_TEST.
28155         (sinh_tonearest_test_data): Remove.
28156         (sinh_test_tonearest): Likewise.
28157         (sinh_towardzero_test_data): Likewise.
28158         (sinh_test_towardzero): Likewise.
28159         (sinh_downward_test_data): Likewise.
28160         (sinh_test_downward): Likewise.
28161         (sinh_upward_test_data): Likewise.
28162         (sinh_test_upward): Likewise.
28163         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
28164         (sqrt_test): Use ALL_RM_TEST.
28165         (sqrt_tonearest_test_data): Remove.
28166         (sqrt_test_tonearest): Likewise.
28167         (sqrt_towardzero_test_data): Likewise.
28168         (sqrt_test_towardzero): Likewise.
28169         (sqrt_downward_test_data): Likewise.
28170         (sqrt_test_downward): Likewise.
28171         (sqrt_upward_test_data): Likewise.
28172         (sqrt_test_upward): Likewise.
28173         (tan_test_data): Update call to AUTO_TESTS_f_f.
28174         (tan_test): Use ALL_RM_TEST.
28175         (tan_tonearest_test_data): Remove.
28176         (tan_test_tonearest): Likewise.
28177         (tan_towardzero_test_data): Likewise.
28178         (tan_test_towardzero): Likewise.
28179         (tan_downward_test_data): Likewise.
28180         (tan_test_downward): Likewise.
28181         (tan_upward_test_data): Likewise.
28182         (tan_test_upward): Likewise.
28183         (tanh_test_data): Update call to AUTO_TESTS_f_f.
28184         (tgamma_test_data): Likewise.
28185         (y0_test_data): Likewise.
28186         (y1_test_data): Likewise.
28187         (yn_test_data): Update call to AUTO_TESTS_if_f.
28188         (main): Do not call removed functions.
28190 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
28192         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
28193         (ldexp_test_data): Remove.
28194         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
28195         scalbn_test_data.
28196         (scalb_test): Use ALL_RM_TEST.
28198 2014-03-19  Andreas Schwab  <schwab@suse.de>
28200         * nscd/nscd.service: Also invalidate netgroup cache on reload.
28202 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
28204         [BZ #16649]
28205         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28206         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
28207         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
28208         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28209         (__ASSUME_PREADV): Undefine.
28210         (__ASSUME_PWRITEV): Likewise.
28212 2014-03-18  Roland McGrath  <roland@hack.frob.com>
28214         * bits/mman-linux.h: Add comment about non-Linux use.
28215         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
28216         bits/mman-linux.h resting place.
28218         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
28219         * bits/mman-linux.h: ... here.
28221 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28223         * conform/conformtest.pl: Add standard definition when calling C
28224         preprocessor on data files.
28225         (checknamespace): Remove unused variable.
28227 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
28229         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
28230         minus_oflow, plus_uflow and minus_uflow in expected results.
28231         * math/libm-test.inc (scalbn_test_data): Add more tests of
28232         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
28233         minus_uflow.
28234         (scalbn_test): Use ALL_RM_TEST.
28235         (scalbln_test_data): Add more tests of negative arguments.  Use
28236         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
28237         (scalbln_test): Use ALL_RM_TEST.
28239 2014-03-18  Roland McGrath  <roland@hack.frob.com>
28241         * scripts/abilist.awk: Ignore symbols marked with .hidden.
28243 2014-03-18  Will Newton  <will.newton@linaro.org>
28245         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
28246         inaccurate comment.
28248 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
28250         * Makerules [!subdir] (check-abi): Exit with error status if a
28251         test failed.
28253 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
28255         * math/libm-test.inc (nearbyint_test_data): Include all tests used
28256         for rint.  Include results for all rounding modes.
28257         (nearbyint_test): Use ALL_RM_TEST.
28258         (rint_test_data): Include all tests used for nearbyint.
28260 2014-03-17  Will Newton  <will.newton@linaro.org>
28262         * nptl/sysdeps/pthread/pthread.h: Revert previous
28263         change.
28265         * sysdeps/generic/ldsodefs.h: Revert previous
28266         change.
28268         * libio/genops.c: Revert previous change.
28269         * libio/libioP.h: Likewise.
28270         * stdio-common/vfprintf.c: Likewise.
28272         * sysdeps/generic/math_private.h: Revert previous
28273         change.
28275         * sysdeps/generic/math_private.h: Check whether
28276         HAVE_RM_CTX is defined with #ifdef rather
28277         than #if.
28279         * argp/argp-fmtstream.h: Check whether
28280         __STRICT_ANSI__ is defined with #ifdef rather
28281         than #if.
28282         * argp/argp.h: Likewise.
28284         * libio/genops.c: Check whether
28285         _IO_JUMPS_OFFSET is defined with #ifdef rather
28286         than #if.
28287         * libio/libioP.h: Likewise.
28288         * stdio-common/vfprintf.c: Likewise.
28290         * sysdeps/generic/ldsodefs.h: Check whether
28291         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
28292         than #if.
28294         * nptl/sysdeps/pthread/pthread.h: Check
28295         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
28296         its value.
28298 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28300         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
28301         setting O_APPEND.
28302         * libio/tst-ftell-active-handler.c (do_append_test): Add a
28303         test case.
28305         [BZ #16680]
28306         * libio/fileops.c (_IO_file_open): Seek to end of file but
28307         don't cache the offset.
28308         (get_file_offset): Remove function.
28309         (do_ftell): Use cached offset when available.
28310         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
28311         don't cache the offset.
28312         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
28313         case.
28314         (do_one_test): Call it.
28315         (do_ftell_test): Fix up expected old offset for a+ mode.
28316         * libio/wfileops.c (do_ftell_wide): Used cached offset when
28317         available.
28319         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
28320         up test status with function return status.
28321         (do_write_test): Likewise.
28322         (do_append_test): Likewise.
28324         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
28325         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
28326         Remove.
28328 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
28330         * math/gen-libm-test.pl (parse_args): Handle results specified for
28331         each rounding mode separately.
28332         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
28333         tests and results from lrint_tonearest_test_data,
28334         lrint_towardzero_test_data, lrint_downward_test_data and
28335         lrint_upward_test_data.
28336         (lrint_test): Use ALL_RM_TEST.
28337         (lrint_tonearest_test_data): Remove.
28338         (lrint_test_tonearest): Likewise.
28339         (lrint_towardzero_test_data): Likewise.
28340         (lrint_test_towardzero): Likewise.
28341         (lrint_downward_test_data): Likewise.
28342         (lrint_test_downward): Likewise.
28343         (lrint_upward_test_data): Likewise.
28344         (lrint_test_upward): Likewise.
28345         (llrint_test_data): Merge in per-rounding-mode tests and results
28346         from llrint_tonearest_test_data, llrint_towardzero_test_data,
28347         llrint_downward_test_data and llrint_upward_test_data.
28348         (llrint_test): Use ALL_RM_TEST.
28349         (llrint_tonearest_test_data): Remove.
28350         (llrint_test_tonearest): Likewise.
28351         (llrint_towardzero_test_data): Likewise.
28352         (llrint_test_towardzero): Likewise.
28353         (llrint_downward_test_data): Likewise.
28354         (llrint_test_downward): Likewise.
28355         (llrint_upward_test_data): Likewise.
28356         (llrint_test_upward): Likewise.
28357         (rint_test_data): Merge in per-rounding-mode tests and results
28358         from rint_tonearest_test_data, rint_towardzero_test_data,
28359         rint_downward_test_data and rint_upward_test_data.  Add
28360         per-rounding-mode results for tests not in those arrays.
28361         (rint_test): Use ALL_RM_TEST.
28362         (rint_tonearest_test_data): Remove.
28363         (rint_test_tonearest): Likewise.
28364         (rint_towardzero_test_data): Likewise.
28365         (rint_test_towardzero): Likewise.
28366         (rint_downward_test_data): Likewise.
28367         (rint_test_downward): Likewise.
28368         (rint_upward_test_data): Likewise.
28369         (rint_test_upward): Likewise.
28370         (main): Don't call removed functions.
28372 2014-03-14  Roland McGrath  <roland@hack.frob.com>
28374         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
28375         "Compiled on ..." crapola.  It is anti-useful.
28377 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
28379         * scripts/evaluate-test.sh: Handle fourth argument to determine
28380         whether test run should stop on failure.
28381         * Makeconfig (stop-on-test-failure): New variable.
28382         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
28383         $(stop-on-test-failure).
28384         * Makefile (tests): Give a summary of results from testing and
28385         exit with failure status if they include an ERROR or FAIL.
28386         (xtests): Likewise.
28387         * manual/install.texi (Configuring and compiling): Mention
28388         stop-on-test-failure=y.
28389         * INSTALL: Regenerated.
28391 2014-03-14  Roland McGrath  <roland@hack.frob.com>
28393         * scripts/versionlist.awk: New file.
28394         * Makerules [$(build-shared) = yes]
28395         (postclean-generated): Add Versions.def, not Versions.def.v and
28396         Versions.def.v.i.
28397         ($(common-objpfx)Versions.def.v.i): Target removed.
28398         ($(common-objpfx)Versions.def): New target.
28399         ($(common-objpfx)Versions.all): Depend on that rather that
28400         $(common-objpfx)Versions.def.v.
28401         * Versions.def: File removed.
28403         * Makeconfig (+gccwarn): Add -Wundef.
28404         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
28405         a dl-sysdep.h breaking its contract.
28406         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
28407         * include/stackinfo.h: New file.
28408         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
28409         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
28410         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
28411         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
28412         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
28413         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
28414         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28415         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28416         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28417         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28418         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28419         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
28420         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28421         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28422         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28424 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28426         [BZ #16707]
28427         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
28428         implementation.
28429         * math/libm-test.inc (round_test_data): Add more tests.
28431         [BZ #16706]
28432         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
28433         implementation.
28434         * math/libm-test.inc (nearbyint_test_data): Add more tests.
28436         [BZ #16701]
28437         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
28438         implementation.
28439         * math/libm-test.inc (ceil_test_data): Add more tests.
28441         * math/libm-test.inc (trunc_test_data): Add more tests related to
28442         BZ#16414.
28444 2014-03-14  Roland McGrath  <roland@hack.frob.com>
28446         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
28447         with #if rather than #ifdef.
28448         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
28450 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
28452         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
28453         first.  Disable AVX-512 GCC support if assembler doesn't support
28454         it.
28455         * sysdeps/x86_64/configure: Regenerated.
28457 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
28459         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
28460         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
28461         (__old_pthread_attr_setstack): Likewise.
28462         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
28463         [!_STACK_GROWS_DOWN]: Likewise.
28465 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
28467         * config.make.in (have-bash2): Delete.
28468         * configure.ac (libc_cv_have_bash2): Delete.
28469         * configure: Regenerate.
28470         * elf/Makefile (common-ldd-rewrite): Rename to ...
28471         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
28472         (sh-ldd-rewrite): Delete.
28473         (bash-ldd-rewrite): Delete.
28474         (have-bash2): Delete checks.
28475         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
28476         ldd-rewrite.
28478         * config.make.in (have-ksh): Delete.
28479         (KSH): Delete.
28480         * configure.ac (libc_cv_have_ksh): Delete.
28481         * configure: Regenerate.
28483         * elf/Makefile: Delete $(have-ksh) check.
28484         ($(objpfx)sotruss): Change KSH to BASH.
28485         * elf/sotruss.ksh: Rename to ...
28486         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
28487         function style to match POSIX.  Drop ksh vim mode setting.
28489         * manual/time.texi (Specifying the Time Zone with TZ): Change
28490         Tuesday to Thursday.
28492         * debug/tst-longjmp_chk2.c: Update header comment.
28493         (stackoverflow_handler): Add comment.  Call assert on pass value.
28495 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
28497         [BZ #16194]
28498         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
28499         (HAVE_AVX512_ASM_SUPPORT): Likewise.
28500         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
28501         (La_x86_64_vector): Add zmm.
28502         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
28503         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
28504         ($(objpfx)tst-audit10): New target.
28505         ($(objpfx)tst-audit10.out): Likewise.
28506         (tst-audit10-ENV): New.
28507         (AVX512-CFLAGS): Likewise.
28508         (CFLAGS-tst-audit10.c): Likewise.
28509         (CFLAGS-tst-auditmod10a.c): Likewise.
28510         (CFLAGS-tst-auditmod10b.c): Likewise.
28511         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
28512         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
28513         * sysdeps/x86_64/configure: Regenerated.
28514         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
28515         AVX-512 zmm register support.
28516         (_dl_x86_64_save_sse): Likewise.
28517         (_dl_x86_64_restore_sse): Likewise.
28518         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
28519         size vector registers.
28520         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
28521         (ZMM_SIZE): Likewise.
28522         * sysdeps/x86_64/tst-audit10.c: New file.
28523         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
28524         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
28526 2014-03-13  Roland McGrath  <roland@hack.frob.com>
28528         * configure.ac (HAVE_EHDR_START): New check.
28529         * configure: Regenerated.
28530         * config.h.in (HAVE_EHDR_START): New #undef.
28531         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
28532         assuming the lowest-addressed segment maps the start of the file.
28534 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
28536         * INSTALL: Regenerated.
28538 2014-03-13  Will Newton  <will.newton@linaro.org>
28540         * manual/setjmp.texi (System V contexts): Improve
28541         clarity and grammar of documentation.
28543 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
28545         [BZ #16381]
28546         * elf/Makefile (tests): Add tst-pie2.
28547         (tests-pie): Add tst-pie2.
28548         * elf/tst-pie2.c: New file.
28549         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
28550         for ET_EXEC.
28551         * elf/rtld.c (map_doit): Load executable as lt_executable.
28552         (dl_main): Likewise.
28554 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
28556         [BZ #16642]
28557         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28558         (__ASSUME_PSELECT): Undefine.
28560 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28562         [BZ #16689]
28563         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
28564         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
28565         static build.
28566         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
28567         selector for static builds.
28569 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28571         [BZ #16695]
28572         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
28573         key in the buffer.
28575 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28577         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
28578         IFUNC selector for static builds.
28580 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
28582         * sysdeps/mips/math_private.h [__mips_hard_float]
28583         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
28584         libc_feresetround_mips_ctx.
28585         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
28586         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
28587         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
28589         [BZ #16677]
28590         * math/s_nextafter.c (__nextafter): Do not return value from
28591         overflowing computation.
28592         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
28593         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
28594         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
28595         Likewise.
28596         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
28597         Likewise.
28598         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
28599         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
28601 2014-03-11  Roland McGrath  <roland@hack.frob.com>
28603         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
28604         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
28605         Move sfi_sp use from the load-multiple (that no longer sets sp) to
28606         the new mov targetting sp.
28608 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28610         [BZ #16683]
28611         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
28612         Define it for static builds as well.
28613         (NO_BZERO_IMPL): Likewise.
28615 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28617         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
28618         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
28619         multiarch strspn for PPC64.
28620         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
28621         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
28622         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28623         (__libc_ifunc_impl_list): Likewise.
28624         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
28625         multiarch optimizations
28626         * string/strspn.c (strspn): Using macro to redefine symbol name.
28628 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28629             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28631         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
28632         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
28633         multiarch strncat for PPC64.
28634         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
28635         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
28636         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28637         (__libc_ifunc_impl_list): Likewise.
28638         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
28639         multiarch optimizations
28641 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28643         [BZ #16639]
28644         * nscd/nscd.service: Make service type forking.
28646 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28648         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
28649         sign in non default rounding modes.
28650         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
28652 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
28654         * math/libm-test.inc (ALL_RM_TEST): New macro.
28655         (ceil_test): Use ALL_RM_TEST.
28656         (cimag_test): Likewise.
28657         (conj_test): Likewise.
28658         (copysign_test): Likewise.
28659         (cproj_test): Likewise.
28660         (creal_test): Likewise.
28661         (fabs_test): Likewise.
28662         (floor_test): Likewise.
28663         (fmax_test): Likewise.
28664         (fmin_test): Likewise.
28665         (fmod_test): Likewise.
28666         (fpclassify_test): Likewise.
28667         (frexp_test): Likewise.
28668         (ilogb_test): Likewise.
28669         (isfinite_test): Likewise.
28670         (finite_test): Likewise.
28671         (isgreater_test): Likewise.
28672         (isgreaterequal_test): Likewise.
28673         (isinf_test): Likewise.
28674         (isless_test): Likewise.
28675         (islessequal_test): Likewise.
28676         (islessgreater_test): Likewise.
28677         (isnan_test): Likewise.
28678         (isnormal_test): Likewise.
28679         (issignaling_test): Likewise.
28680         (isunordered_test): Likewise.
28681         (logb_test): Likewise.
28682         (logb_downward_test_data): Remove.
28683         (logb_test_downward): Likewise.
28684         (lround_test): Use ALL_RM_TEST.
28685         (llround_test): Likewise.
28686         (modf_test): Likewise.
28687         (nexttoward_test): Likewise.
28688         (remainder_test): Likewise.
28689         (drem_test): Likewise.
28690         (remainder_tonearest_test_data): Likewise.
28691         (remainder_test_tonearest): Likewise.
28692         (drem_test_tonearest): Likewise.
28693         (remainder_towardzero_test_data): Likewise.
28694         (remainder_test_towardzero): Likewise.
28695         (drem_test_towardzero): Likewise.
28696         (remainder_downward_test_data): Likewise.
28697         (remainder_test_downward): Likewise.
28698         (drem_test_downward): Likewise.
28699         (remainder_upward_test_data): Likewise.
28700         (remainder_test_upward): Likewise.
28701         (drem_test_upward): Likewise.
28702         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
28703         (round_test): Use ALL_RM_TEST.
28704         (signbit_test): Likewise.
28705         (trunc_test): Likewise.
28706         (significand_test): Likewise.
28707         (main): Don't call removed functions.
28709 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
28711         [BZ #16674]
28712         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
28713         || __USE_XOPEN2K8].
28714         (ILL_ILLOPN): Likewise.
28715         (ILL_ILLADR): Likewise.
28716         (ILL_ILLTRP): Likewise.
28717         (ILL_PRVOPC): Likewise.
28718         (ILL_PRVREG): Likewise.
28719         (ILL_COPROC): Likewise.
28720         (ILL_BADSTK): Likewise.
28721         (FPE_INTDIV): Likewise.
28722         (FPE_INTOVF): Likewise.
28723         (FPE_FLTDIV): Likewise.
28724         (FPE_FLTOVF): Likewise.
28725         (FPE_FLTUND): Likewise.
28726         (FPE_FLTRES): Likewise.
28727         (FPE_FLTINV): Likewise.
28728         (FPE_FLTSUB): Likewise.
28729         (SEGV_MAPERR): Likewise.
28730         (SEGV_ACCERR): Likewise.
28731         (BUS_ADRALN): Likewise.
28732         (BUS_ADRERR): Likewise.
28733         (BUS_OBJERR): Likewise.
28734         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28735         (TRAP_TRACE): Likewise.
28736         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28737         __USE_XOPEN2K8].
28738         (CLD_KILLED): Likewise.
28739         (CLD_DUMPED): Likewise.
28740         (CLD_TRAPPED): Likewise.
28741         (CLD_STOPPED): Likewise.
28742         (CLD_CONTINUED): Likewise.
28743         (POLL_IN): Likewise.
28744         (POLL_OUT): Likewise.
28745         (POLL_MSG): Likewise.
28746         (POLL_ERR): Likewise.
28747         (POLL_PRI): Likewise.
28748         (POLL_HUP): Likewise.
28749         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
28750         Likewise.
28751         (ILL_ILLOPN): Likewise.
28752         (ILL_ILLADR): Likewise.
28753         (ILL_ILLTRP): Likewise.
28754         (ILL_PRVOPC): Likewise.
28755         (ILL_PRVREG): Likewise.
28756         (ILL_COPROC): Likewise.
28757         (ILL_BADSTK): Likewise.
28758         (FPE_INTDIV): Likewise.
28759         (FPE_INTOVF): Likewise.
28760         (FPE_FLTDIV): Likewise.
28761         (FPE_FLTOVF): Likewise.
28762         (FPE_FLTUND): Likewise.
28763         (FPE_FLTRES): Likewise.
28764         (FPE_FLTINV): Likewise.
28765         (FPE_FLTSUB): Likewise.
28766         (SEGV_MAPERR): Likewise.
28767         (SEGV_ACCERR): Likewise.
28768         (BUS_ADRALN): Likewise.
28769         (BUS_ADRERR): Likewise.
28770         (BUS_OBJERR): Likewise.
28771         (BUS_MCEERR_AR): Likewise.
28772         (BUS_MCEERR_AO): Likewise.
28773         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28774         (TRAP_TRACE): Likewise.
28775         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28776         __USE_XOPEN2K8].
28777         (CLD_KILLED): Likewise.
28778         (CLD_DUMPED): Likewise.
28779         (CLD_TRAPPED): Likewise.
28780         (CLD_STOPPED): Likewise.
28781         (CLD_CONTINUED): Likewise.
28782         (POLL_IN): Likewise.
28783         (POLL_OUT): Likewise.
28784         (POLL_MSG): Likewise.
28785         (POLL_ERR): Likewise.
28786         (POLL_PRI): Likewise.
28787         (POLL_HUP): Likewise.
28788         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
28789         (ILL_ILLOPN): Likewise.
28790         (ILL_ILLADR): Likewise.
28791         (ILL_ILLTRP): Likewise.
28792         (ILL_PRVOPC): Likewise.
28793         (ILL_PRVREG): Likewise.
28794         (ILL_COPROC): Likewise.
28795         (ILL_BADSTK): Likewise.
28796         (FPE_INTDIV): Likewise.
28797         (FPE_INTOVF): Likewise.
28798         (FPE_FLTDIV): Likewise.
28799         (FPE_FLTOVF): Likewise.
28800         (FPE_FLTUND): Likewise.
28801         (FPE_FLTRES): Likewise.
28802         (FPE_FLTINV): Likewise.
28803         (FPE_FLTSUB): Likewise.
28804         (SEGV_MAPERR): Likewise.
28805         (SEGV_ACCERR): Likewise.
28806         (BUS_ADRALN): Likewise.
28807         (BUS_ADRERR): Likewise.
28808         (BUS_OBJERR): Likewise.
28809         (BUS_MCEERR_AR): Likewise.
28810         (BUS_MCEERR_AO): Likewise.
28811         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28812         (TRAP_TRACE): Likewise.
28813         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28814         __USE_XOPEN2K8].
28815         (CLD_KILLED): Likewise.
28816         (CLD_DUMPED): Likewise.
28817         (CLD_TRAPPED): Likewise.
28818         (CLD_STOPPED): Likewise.
28819         (CLD_CONTINUED): Likewise.
28820         (POLL_IN): Likewise.
28821         (POLL_OUT): Likewise.
28822         (POLL_MSG): Likewise.
28823         (POLL_ERR): Likewise.
28824         (POLL_PRI): Likewise.
28825         (POLL_HUP): Likewise.
28826         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
28827         Likewise.
28828         (ILL_ILLOPN): Likewise.
28829         (ILL_ILLADR): Likewise.
28830         (ILL_ILLTRP): Likewise.
28831         (ILL_PRVOPC): Likewise.
28832         (ILL_PRVREG): Likewise.
28833         (ILL_COPROC): Likewise.
28834         (ILL_BADSTK): Likewise.
28835         (ILL_BADIADDR): Likewise.
28836         (ILL_BREAK): Likewise.
28837         (FPE_INTDIV): Likewise.
28838         (FPE_INTOVF): Likewise.
28839         (FPE_FLTDIV): Likewise.
28840         (FPE_FLTOVF): Likewise.
28841         (FPE_FLTUND): Likewise.
28842         (FPE_FLTRES): Likewise.
28843         (FPE_FLTINV): Likewise.
28844         (FPE_FLTSUB): Likewise.
28845         (FPE_DECOVF): Likewise.
28846         (FPE_DECDIV): Likewise.
28847         (FPE_DECERR): Likewise.
28848         (FPE_INVASC): Likewise.
28849         (FPE_INVDEC): Likewise.
28850         (SEGV_MAPERR): Likewise.
28851         (SEGV_ACCERR): Likewise.
28852         (SEGV_PSTKOVF): Likewise.
28853         (BUS_ADRALN): Likewise.
28854         (BUS_ADRERR): Likewise.
28855         (BUS_OBJERR): Likewise.
28856         (BUS_MCEERR_AR): Likewise.
28857         (BUS_MCEERR_AO): Likewise.
28858         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28859         (TRAP_TRACE): Likewise.
28860         (TRAP_BRANCH): Likewise.
28861         (TRAP_HWBKPT): Likewise.
28862         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28863         __USE_XOPEN2K8].
28864         (CLD_KILLED): Likewise.
28865         (CLD_DUMPED): Likewise.
28866         (CLD_TRAPPED): Likewise.
28867         (CLD_STOPPED): Likewise.
28868         (CLD_CONTINUED): Likewise.
28869         (POLL_IN): Likewise.
28870         (POLL_OUT): Likewise.
28871         (POLL_MSG): Likewise.
28872         (POLL_ERR): Likewise.
28873         (POLL_PRI): Likewise.
28874         (POLL_HUP): Likewise.
28875         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
28876         (ILL_ILLOPN): Likewise.
28877         (ILL_ILLADR): Likewise.
28878         (ILL_ILLTRP): Likewise.
28879         (ILL_PRVOPC): Likewise.
28880         (ILL_PRVREG): Likewise.
28881         (ILL_COPROC): Likewise.
28882         (ILL_BADSTK): Likewise.
28883         (FPE_INTDIV): Likewise.
28884         (FPE_INTOVF): Likewise.
28885         (FPE_FLTDIV): Likewise.
28886         (FPE_FLTOVF): Likewise.
28887         (FPE_FLTUND): Likewise.
28888         (FPE_FLTRES): Likewise.
28889         (FPE_FLTINV): Likewise.
28890         (FPE_FLTSUB): Likewise.
28891         (SEGV_MAPERR): Likewise.
28892         (SEGV_ACCERR): Likewise.
28893         (BUS_ADRALN): Likewise.
28894         (BUS_ADRERR): Likewise.
28895         (BUS_OBJERR): Likewise.
28896         (BUS_MCEERR_AR): Likewise.
28897         (BUS_MCEERR_AO): Likewise.
28898         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28899         (TRAP_TRACE): Likewise.
28900         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28901         __USE_XOPEN2K8].
28902         (CLD_KILLED): Likewise.
28903         (CLD_DUMPED): Likewise.
28904         (CLD_TRAPPED): Likewise.
28905         (CLD_STOPPED): Likewise.
28906         (CLD_CONTINUED): Likewise.
28907         (POLL_IN): Likewise.
28908         (POLL_OUT): Likewise.
28909         (POLL_MSG): Likewise.
28910         (POLL_ERR): Likewise.
28911         (POLL_PRI): Likewise.
28912         (POLL_HUP): Likewise.
28913         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
28914         (ILL_ILLOPN): Likewise.
28915         (ILL_ILLADR): Likewise.
28916         (ILL_ILLTRP): Likewise.
28917         (ILL_PRVOPC): Likewise.
28918         (ILL_PRVREG): Likewise.
28919         (ILL_COPROC): Likewise.
28920         (ILL_BADSTK): Likewise.
28921         (FPE_INTDIV): Likewise.
28922         (FPE_INTOVF): Likewise.
28923         (FPE_FLTDIV): Likewise.
28924         (FPE_FLTOVF): Likewise.
28925         (FPE_FLTUND): Likewise.
28926         (FPE_FLTRES): Likewise.
28927         (FPE_FLTINV): Likewise.
28928         (FPE_FLTSUB): Likewise.
28929         (SEGV_MAPERR): Likewise.
28930         (SEGV_ACCERR): Likewise.
28931         (BUS_ADRALN): Likewise.
28932         (BUS_ADRERR): Likewise.
28933         (BUS_OBJERR): Likewise.
28934         (BUS_MCEERR_AR): Likewise.
28935         (BUS_MCEERR_AO): Likewise.
28936         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28937         (TRAP_TRACE): Likewise.
28938         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28939         __USE_XOPEN2K8].
28940         (CLD_KILLED): Likewise.
28941         (CLD_DUMPED): Likewise.
28942         (CLD_TRAPPED): Likewise.
28943         (CLD_STOPPED): Likewise.
28944         (CLD_CONTINUED): Likewise.
28945         (POLL_IN): Likewise.
28946         (POLL_OUT): Likewise.
28947         (POLL_MSG): Likewise.
28948         (POLL_ERR): Likewise.
28949         (POLL_PRI): Likewise.
28950         (POLL_HUP): Likewise.
28951         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
28952         (ILL_ILLOPN): Likewise.
28953         (ILL_ILLADR): Likewise.
28954         (ILL_ILLTRP): Likewise.
28955         (ILL_PRVOPC): Likewise.
28956         (ILL_PRVREG): Likewise.
28957         (ILL_COPROC): Likewise.
28958         (ILL_BADSTK): Likewise.
28959         (FPE_INTDIV): Likewise.
28960         (FPE_INTOVF): Likewise.
28961         (FPE_FLTDIV): Likewise.
28962         (FPE_FLTOVF): Likewise.
28963         (FPE_FLTUND): Likewise.
28964         (FPE_FLTRES): Likewise.
28965         (FPE_FLTINV): Likewise.
28966         (FPE_FLTSUB): Likewise.
28967         (SEGV_MAPERR): Likewise.
28968         (SEGV_ACCERR): Likewise.
28969         (BUS_ADRALN): Likewise.
28970         (BUS_ADRERR): Likewise.
28971         (BUS_OBJERR): Likewise.
28972         (BUS_MCEERR_AR): Likewise.
28973         (BUS_MCEERR_AO): Likewise.
28974         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28975         (TRAP_TRACE): Likewise.
28976         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28977         __USE_XOPEN2K8].
28978         (CLD_KILLED): Likewise.
28979         (CLD_DUMPED): Likewise.
28980         (CLD_TRAPPED): Likewise.
28981         (CLD_STOPPED): Likewise.
28982         (CLD_CONTINUED): Likewise.
28983         (POLL_IN): Likewise.
28984         (POLL_OUT): Likewise.
28985         (POLL_MSG): Likewise.
28986         (POLL_ERR): Likewise.
28987         (POLL_PRI): Likewise.
28988         (POLL_HUP): Likewise.
28989         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
28990         (ILL_ILLOPN): Likewise.
28991         (ILL_ILLADR): Likewise.
28992         (ILL_ILLTRP): Likewise.
28993         (ILL_PRVOPC): Likewise.
28994         (ILL_PRVREG): Likewise.
28995         (ILL_COPROC): Likewise.
28996         (ILL_BADSTK): Likewise.
28997         (ILL_DBLFLT): Likewise.
28998         (ILL_HARDWALL): Likewise.
28999         (FPE_INTDIV): Likewise.
29000         (FPE_INTOVF): Likewise.
29001         (FPE_FLTDIV): Likewise.
29002         (FPE_FLTOVF): Likewise.
29003         (FPE_FLTUND): Likewise.
29004         (FPE_FLTRES): Likewise.
29005         (FPE_FLTINV): Likewise.
29006         (FPE_FLTSUB): Likewise.
29007         (SEGV_MAPERR): Likewise.
29008         (SEGV_ACCERR): Likewise.
29009         (BUS_ADRALN): Likewise.
29010         (BUS_ADRERR): Likewise.
29011         (BUS_OBJERR): Likewise.
29012         (BUS_MCEERR_AR): Likewise.
29013         (BUS_MCEERR_AO): Likewise.
29014         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29015         (TRAP_TRACE): Likewise.
29016         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29017         __USE_XOPEN2K8].
29018         (CLD_KILLED): Likewise.
29019         (CLD_DUMPED): Likewise.
29020         (CLD_TRAPPED): Likewise.
29021         (CLD_STOPPED): Likewise.
29022         (CLD_CONTINUED): Likewise.
29023         (POLL_IN): Likewise.
29024         (POLL_OUT): Likewise.
29025         (POLL_MSG): Likewise.
29026         (POLL_ERR): Likewise.
29027         (POLL_PRI): Likewise.
29028         (POLL_HUP): Likewise.
29029         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
29030         (ILL_ILLOPN): Likewise.
29031         (ILL_ILLADR): Likewise.
29032         (ILL_ILLTRP): Likewise.
29033         (ILL_PRVOPC): Likewise.
29034         (ILL_PRVREG): Likewise.
29035         (ILL_COPROC): Likewise.
29036         (ILL_BADSTK): Likewise.
29037         (FPE_INTDIV): Likewise.
29038         (FPE_INTOVF): Likewise.
29039         (FPE_FLTDIV): Likewise.
29040         (FPE_FLTOVF): Likewise.
29041         (FPE_FLTUND): Likewise.
29042         (FPE_FLTRES): Likewise.
29043         (FPE_FLTINV): Likewise.
29044         (FPE_FLTSUB): Likewise.
29045         (SEGV_MAPERR): Likewise.
29046         (SEGV_ACCERR): Likewise.
29047         (BUS_ADRALN): Likewise.
29048         (BUS_ADRERR): Likewise.
29049         (BUS_OBJERR): Likewise.
29050         (BUS_MCEERR_AR): Likewise.
29051         (BUS_MCEERR_AO): Likewise.
29052         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29053         (TRAP_TRACE): Likewise.
29054         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29055         __USE_XOPEN2K8].
29056         (CLD_KILLED): Likewise.
29057         (CLD_DUMPED): Likewise.
29058         (CLD_TRAPPED): Likewise.
29059         (CLD_STOPPED): Likewise.
29060         (CLD_CONTINUED): Likewise.
29061         (POLL_IN): Likewise.
29062         (POLL_OUT): Likewise.
29063         (POLL_MSG): Likewise.
29064         (POLL_ERR): Likewise.
29065         (POLL_PRI): Likewise.
29066         (POLL_HUP): Likewise.
29067         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
29068         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
29070         [BZ #16670]
29071         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
29072         before #include of <time.h>.
29073         [!__USE_XOPEN2K] (__need_timespec): Likewise.
29074         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
29075         (test-xfail-UNIX98/sched.h/conform): Likewise.
29077 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29079         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
29080         error absence of trapping exception support.
29081         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
29083 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
29085         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
29086         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
29087         * timezone/Makefile (testdata): Move definition above include of
29088         Rules.
29089         (test-zones): New variable.
29090         (tests-special): Add zone files.
29091         (build-testdata): Use $(evaluate-test).
29093         * elf/Makefile (tests-special): Rename tests to end with .out.
29094         ($(objpfx)noload-mem): Likewise.
29095         ($(objpfx)tst-leaks1-mem): Likewise.
29096         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
29097         * iconv/Makefile (xtests-special): Change test-iconvconfig to
29098         $(objpfx)test-iconvconfig.out.
29099         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
29100         set -e inside subshell and redirect output to file.
29101         * iconvdata/Makefile (generated): Rename tests to end with .out.
29102         Correct type.
29103         (tests-special): Rename tests to end with .out.
29104         ($(objpfx)mtrace-tst-loading): Likewise.
29105         * intl/Makefile (generated): Likewise.
29106         (tests-special): Likewise.
29107         ($(objpfx)mtrace-tst-gettext): Likewise.
29108         * misc/Makefile (generated): Likewise.
29109         (tests-special): Likewise.
29110         ($(objpfx)tst-error1-mem): Likewise.
29111         * nptl/Makefile (tests-special): Likewise.
29112         ($(objpfx)tst-stack3-mem): Likewise.
29113         (generated): Likewise.
29114         * posix/Makefile (generated): Likewise.
29115         (tests-special): Likewise.
29116         (xtests-special): Likewise.
29117         ($(objpfx)tst-fnmatch-mem): Likewise.
29118         ($(objpfx)bug-regex2-mem): Likewise.
29119         ($(objpfx)bug-regex14-mem): Likewise.
29120         ($(objpfx)bug-regex21-mem): Likewise.
29121         ($(objpfx)bug-regex31-mem): Likewise.
29122         ($(objpfx)tst-vfork3-mem): Likewise.
29123         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
29124         ($(objpfx)tst-pcre-mem): Likewise.
29125         ($(objpfx)tst-boost-mem): Likewise.
29126         ($(objpfx)bug-ga2-mem): Likewise.
29127         ($(objpfx)bug-glob2-mem): Likewise.
29128         * resolv/Makefile (generate): Likewise.
29129         (tests-special): Likewise.
29130         (xtests-special): Likewise.
29131         (generated): Likewise.
29132         ($(objpfx)mtrace-tst-leaks): Likewise.
29133         ($(objpfx)mtrace-tst-leaks2): Likewise.
29135         * scripts/merge-test-results.sh: New file.
29136         * Makefile (tests-special-notdir): New variable.
29137         (tests): Run merge-test-results.sh.
29138         (xtests): Likewise.
29139         * Rules (tests-special-notdir): New variable.
29140         (xtests-special-notdir): Likewise.
29141         (tests): Run merge-test-results.sh
29142         (xtests): Likewise.
29144         * Makeconfig (test-xfail-name): New variable.
29145         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
29146         compute variable name for expected failures.
29147         * conform/Makefile (conformtest-headers-data): New variable.
29148         (conformtest-standards): Likewise.
29149         (conformtest-headers-ISO): Likewise.
29150         (conformtest-headers-ISO99): Likewise.
29151         (conformtest-headers-ISO11): Likewise.
29152         (conformtest-headers-POSIX): Likewise.
29153         (conformtest-headers-XPG3): Likewise.
29154         (conformtest-headers-XPG4): Likewise.
29155         (conformtest-headers-UNIX98): Likewise.
29156         (conformtest-headers-XOPEN2K): Likewise.
29157         (conformtest-headers-POSIX2008): Likewise.
29158         (conformtest-headers-XOPEN2K8): Likewise.
29159         (conformtest-header-list-base): Likewise.
29160         (conformtest-header-list-tests): Likewise.
29161         (conformtest-header-base): Likewise.
29162         (conformtest-header-tests): Likewise.
29163         (tests-special): Add $(conformtest-header-list-tests).  If
29164         [$(fast-check) && !$(cross-compiling)], add
29165         $(conformtest-header-tests) instead of
29166         $(objpfx)run-conformtest.out.
29167         (generated): Add $(conformtest-header-list-base).  If
29168         [$(fast-check) && !$(cross-compiling)], add
29169         $(conformtest-header-base).  Remove previous setting.
29170         ($(conformtest-header-list-tests)): New target.
29171         (test-xfail-run-conformtest): Remove variable.
29172         ($(objpfx)run-conformtest.out): Remove target.
29173         (test-xfail-ISO11/complex.h/conform): New variable.
29174         (test-xfail-ISO11/stdalign.h/conform): Likewise.
29175         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
29176         (test-xfail-XPG3/varargs.h/conform): Likewise.
29177         (test-xfail-XPG4/varargs.h/conform): Likewise.
29178         (test-xfail-UNIX98/varargs.h/conform): Likewise.
29179         (test-xfail-XPG4/ndbm.h/conform): Likewise.
29180         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
29181         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
29182         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
29183         (test-xfail-XPG3/fcntl.h/conform): Likewise.
29184         (test-xfail-XPG3/ftw.h/conform): Likewise.
29185         (test-xfail-XPG3/grp.h/conform): Likewise.
29186         (test-xfail-XPG3/langinfo.h/conform): Likewise.
29187         (test-xfail-XPG3/limits.h/conform): Likewise.
29188         (test-xfail-XPG3/pwd.h/conform): Likewise.
29189         (test-xfail-XPG3/search.h/conform): Likewise.
29190         (test-xfail-XPG3/signal.h/conform): Likewise.
29191         (test-xfail-XPG3/stdio.h/conform): Likewise.
29192         (test-xfail-XPG3/stdlib.h/conform): Likewise.
29193         (test-xfail-XPG3/string.h/conform): Likewise.
29194         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
29195         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
29196         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
29197         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
29198         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
29199         (test-xfail-XPG3/sys/types.h/conform): Likewise.
29200         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
29201         (test-xfail-XPG3/termios.h/conform): Likewise.
29202         (test-xfail-XPG3/time.h/conform): Likewise.
29203         (test-xfail-XPG3/unistd.h/conform): Likewise.
29204         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
29205         (test-xfail-XPG4/fcntl.h/conform): Likewise.
29206         (test-xfail-XPG4/langinfo.h/conform): Likewise.
29207         (test-xfail-XPG4/netdb.h/conform): Likewise.
29208         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
29209         (test-xfail-XPG4/signal.h/conform): Likewise.
29210         (test-xfail-XPG4/stdio.h/conform): Likewise.
29211         (test-xfail-XPG4/stdlib.h/conform): Likewise.
29212         (test-xfail-XPG4/stropts.h/conform): Likewise.
29213         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
29214         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
29215         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
29216         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
29217         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
29218         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
29219         (test-xfail-XPG4/sys/time.h/conform): Likewise.
29220         (test-xfail-XPG4/sys/types.h/conform): Likewise.
29221         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
29222         (test-xfail-XPG4/termios.h/conform): Likewise.
29223         (test-xfail-XPG4/ucontext.h/conform): Likewise.
29224         (test-xfail-XPG4/unistd.h/conform): Likewise.
29225         (test-xfail-XPG4/utmpx.h/conform): Likewise.
29226         (test-xfail-POSIX/sched.h/conform): Likewise.
29227         (test-xfail-POSIX/signal.h/conform): Likewise.
29228         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
29229         (test-xfail-POSIX/tar.h/conform): Likewise.
29230         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
29231         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
29232         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
29233         (test-xfail-UNIX98/netdb.h/conform): Likewise.
29234         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
29235         (test-xfail-UNIX98/sched.h/conform): Likewise.
29236         (test-xfail-UNIX98/signal.h/conform): Likewise.
29237         (test-xfail-UNIX98/stdio.h/conform): Likewise.
29238         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
29239         (test-xfail-UNIX98/stropts.h/conform): Likewise.
29240         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
29241         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
29242         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
29243         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
29244         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
29245         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
29246         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
29247         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
29248         (test-xfail-UNIX98/unistd.h/conform): Likewise.
29249         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
29250         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
29251         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
29252         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
29253         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
29254         (test-xfail-XOPEN2K/math.h/conform): Likewise.
29255         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
29256         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
29257         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
29258         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
29259         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
29260         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
29261         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
29262         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
29263         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
29264         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
29265         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
29266         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
29267         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
29268         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
29269         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
29270         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
29271         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
29272         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
29273         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
29274         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
29275         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
29276         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
29277         (test-xfail-POSIX2008/signal.h/conform): Likewise.
29278         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
29279         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
29280         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
29281         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
29282         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
29283         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
29284         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
29285         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
29286         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
29287         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
29288         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
29289         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
29290         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
29291         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
29292         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
29293         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
29294         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
29295         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
29296         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
29297         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
29298         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
29299         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
29300         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
29301         (conformtest-cc-flags): Likewise.
29302         ($(conformtest-header-tests): New target.
29303         * conform/check-header-lists.sh: New file.
29304         * conform/run-conformtest.sh: Remove.
29306         * conform/conformtest.pl: Allow ' and \ in values given for
29307         constants.
29308         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
29309         inclusion.
29310         [POSIX] (sys/types.h): Likewise.
29311         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
29312         inclusion.
29313         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
29314         inclusion.
29315         * conform/data/signal.h-data (SIGIO): Remove expectation.
29316         [XPG3] (SIGBUS): Do not expect.
29317         [POSIX || XPG3] (SIGPOLL): Likewise.
29318         [POSIX || XPG3] (SIGPROF): Likewise.
29319         [POSIX || XPG3] (SIGSYS): Likewise.
29320         [XPG3] (SIGTRAP): Likewise.
29321         [POSIX || XPG3] (SIGURG): Likewise.
29322         [POSIX || XPG3] (SIGVTALRM): Likewise.
29323         [POSIX || XPG3] (SIGXCPU): Likewise.
29324         [POSIX || XPG3] (SIGXFSZ): Likewise.
29325         [POSIX] (SA_SIGINFO): Expect.
29326         [XPG3] (siginfo_t): Do not expect type or contents.
29327         [POSIX] (si_pid): Do not expect element.
29328         [POSIX] (si_uid): Likewise.
29329         [POSIX] (si_addr): Likewise.
29330         [POSIX] (si_status): Likewise.
29331         [POSIX] (si_band): Likewise.
29332         [XPG4] (si_value): Likewise.
29333         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
29334         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
29335         [POSIX || XPG3] (ILL_ILLADR): Likewise.
29336         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
29337         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
29338         [POSIX || XPG3] (ILL_PRVREG): Likewise.
29339         [POSIX || XPG3] (ILL_COPROC): Likewise.
29340         [POSIX || XPG3] (ILL_BADSTK): Likewise.
29341         [POSIX || XPG3] (FPE_INTDIV): Likewise.
29342         [POSIX || XPG3] (FPE_INTOVF): Likewise.
29343         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
29344         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
29345         [POSIX || XPG3] (FPE_FLTUND): Likewise.
29346         [POSIX || XPG3] (FPE_FLTRES): Likewise.
29347         [POSIX || XPG3] (FPE_FLTINV): Likewise.
29348         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
29349         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
29350         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
29351         [POSIX || XPG3] (BUS_ADRALN): Likewise.
29352         [POSIX || XPG3] (BUS_ADRERR): Likewise.
29353         [POSIX || XPG3] (BUS_OBJERR): Likewise.
29354         [POSIX || XPG3] (CLD_EXITED): Likewise.
29355         [POSIX || XPG3] (CLD_KILLED): Likewise.
29356         [POSIX || XPG3] (CLD_DUMPED): Likewise.
29357         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
29358         [POSIX || XPG3] (CLD_STOPPED): Likewise.
29359         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
29360         [POSIX || XPG3] (POLL_IN): Likewise.
29361         [POSIX || XPG3] (POLL_OUT): Likewise.
29362         [POSIX || XPG3] (POLL_MSG): Likewise.
29363         [POSIX || XPG3] (POLL_ERR): Likewise.
29364         [POSIX || XPG3] (POLL_PRI): Likewise.
29365         [POSIX || XPG3] (POLL_HUP): Likewise.
29366         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
29367         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
29368         (SIG*): Do not allow.
29369         [XPG3] (si_*): Likewise.
29370         [XPG3] (SI_*): Likewise.
29371         [XPG3 || XPG4] (sigev_*): Likewise.
29372         [XPG3 || XPG4] (SIGEV_*): Likewise.
29373         [XPG3 || XPG4] (sival_*): Likewise.
29374         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
29375         [POSIX || XPG3] (BUS_*): Likewise.
29376         [POSIX || XPG3] (CLD_*): Likewise.
29377         [POSIX || XPG3] (FPE_*): Likewise.
29378         [POSIX || XPG3] (ILL_*): Likewise.
29379         [POSIX || XPG3] (POLL_*): Likewise.
29380         [POSIX || XPG3] (SEGV_*): Likewise.
29381         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
29382         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
29383         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
29384         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
29385         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
29386         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
29387         Specify type and value.
29388         (TVERSLEN): Likewise.
29389         (REGTYPE): Likewise.
29390         (AREGTYPE): Likewise.
29391         (LNKTYPE): Likewise.
29392         (SYMTYPE): Likewise.
29393         (CHRTYPE): Likewise.
29394         (BLKTYPE): Likewise.
29395         (DIRTYPE): Likewise.
29396         (FIFOTYPE): Likewise.
29397         (CONTTYPE): Likewise.
29398         (TSUID): Likewise.
29399         (TSGID): Likewise.
29400         (TSVTX): Likewise.
29401         (TUREAD): Likewise.
29402         (TUWRITE): Likewise.
29403         (TUEXEC): Likewise.
29404         (TGREAD): Likewise.
29405         (TGWRITE): Likewise.
29406         (TGEXEC): Likewise.
29407         (TOREAD): Likewise.
29408         (TOWRITE): Likewise.
29409         (TOEXEC): Likewise.
29410         [POSIX] (TSVTX): Expect constant.
29412 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
29414         * Makefile (tests): Change dependencies to ....
29415         (tests-special): ... additions to this variable.
29416         (tests): Depend on $(tests-special).
29417         * Makerules (check-abi-list): New variable.
29418         (check-abi): Depend on $(check-abi-list).
29419         [$(subdir) = elf] (tests-special): Add
29420         $(objpfx)check-abi-libc.out.
29421         [$(build-shared) = yes && subdir] (tests-special): Add
29422         $(check-abi-list).
29423         [$(build-shared) = yes && subdir] (tests): Do not depend on
29424         check-abi.
29425         * Rules (tests): Depend on $(tests-special).
29426         (xtests): Depend on $(xtests-special).
29427         * catgets/Makefile (tests): Change dependencies to ....
29428         (tests-special): ... additions to this variable.
29429         * conform/Makefile (tests): Change dependencies to ....
29430         (tests-special): ... additions to this variable.
29431         * elf/Makefile (tests): Change dependencies to ....
29432         (tests-special): ... additions to this variable.
29433         * grp/Makefile (tests): Change dependencies to ....
29434         (tests-special): ... additions to this variable.
29435         * iconv/Makefile (xtests): Change dependencies to ....
29436         (xtests-special): ... additions to this variable.
29437         * iconvdata/Makefile (tests): Change dependencies to ....
29438         (tests-special): ... additions to this variable.
29439         * intl/Makefile (tests): Change dependencies to ....
29440         (tests-special): ... additions to this variable.  Also add
29441         $(objpfx)tst-gettext.out.
29442         * io/Makefile (tests): Change dependencies to ....
29443         (tests-special): ... additions to this variable.
29444         * libio/Makefile (tests): Change dependencies to ....
29445         (tests-special): ... additions to this variable.
29446         * malloc/Makefile (tests): Change dependencies to ....
29447         (tests-special): ... additions to this variable.
29448         * misc/Makefile (tests): Change dependencies to ....
29449         (tests-special): ... additions to this variable.
29450         * nptl/Makefile (tests): Change dependencies to ....
29451         (tests-special): ... additions to this variable.
29452         * nptl_db/Makefile (tests): Change dependencies to ....
29453         (tests-special): ... additions to this variable.
29454         * posix/Makefile (tests): Change dependencies to ....
29455         (tests-special): ... additions to this variable.
29456         (xtests): Change dependencies to ....
29457         (xtests-special): ... additions to this variable.
29458         * resolv/Makefile (tests): Change dependencies to ....
29459         (tests-special): ... additions to this variable.
29460         (xtests): Change dependencies to ....
29461         (xtests-special): ... additions to this variable.
29462         * stdio-common/Makefile (tests): Change dependencies to ....
29463         (tests-special): ... additions to this variable.
29464         (do-tst-unbputc): Remove target.
29465         (do-tst-printf): Likewise.
29466         * stdlib/Makefile (tests): Change dependencies to ....
29467         (tests-special): ... additions to this variable.
29468         * string/Makefile (tests): Change dependencies to ....
29469         (tests-special): ... additions to this variable.
29470         * sysdeps/x86/Makefile (tests): Change dependencies to ....
29471         (tests-special): ... additions to this variable.
29473         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
29474         whole file.
29475         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
29476         whole file.
29477         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
29478         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
29480         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
29481         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
29482         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
29483         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
29484         * conform/data/libgen.h-data [XPG3]: Likewise.
29485         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
29486         * conform/data/ndbm.h-data [XPG3]: Likewise.
29487         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
29488         * conform/data/netdb.h-data [XPG3]: Likewise.
29489         * conform/data/netinet/in.h-data [XPG3]: Likewise.
29490         * conform/data/poll.h-data [XPG3]: Likewise.
29491         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
29492         * conform/data/strings.h-data [XPG3]: Likewise.
29493         * conform/data/stropts.h-data [XPG3]: Likewise.
29494         * conform/data/sys/mman.h-data [XPG3]: Likewise.
29495         * conform/data/sys/resource.h-data [XPG3]: Likewise.
29496         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
29497         Likewise.
29498         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
29499         * conform/data/sys/time.h-data [XPG3]: Likewise.
29500         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
29501         * conform/data/sys/uio.h-data [XPG3]: Likewise.
29502         * conform/data/sys/un.h-data [XPG3]: Likewise.
29503         * conform/data/syslog.h-data [XPG3]: Likewise.
29504         * conform/data/ucontext.h-data [XPG3]: Likewise.
29505         * conform/data/utmpx.h-data [XPG3]: Likewise.
29506         * conform/data/varargs.h-data [UNIX98]: Enable file.
29508         * manual/Makefile (INSTALL_INFO): Remove variable setting.
29510         * math/libm-test.inc (struct test_f_f_data): Move expected results
29511         into structure for each rounding mode.
29512         (struct test_ff_f_data): Likewise.
29513         (struct test_ff_f_data_nexttoward): Likewise.
29514         (struct test_fi_f_data): Likewise.
29515         (struct test_fl_f_data): Likewise.
29516         (struct test_if_f_data): Likewise.
29517         (struct test_fff_f_data): Likewise.
29518         (struct test_c_f_data): Likewise.
29519         (struct test_f_f1_data): Likewise.
29520         (struct test_fF_f1_data): Likewise.
29521         (struct test_ffI_f1_data): Likewise.
29522         (struct test_c_c_data): Likewise.
29523         (struct test_cc_c_data): Likewise.
29524         (struct test_f_i_data): Likewise.
29525         (struct test_ff_i_data): Likewise.
29526         (struct test_f_l_data): Likewise.
29527         (struct test_f_L_data): Likewise.
29528         (struct test_fFF_11_data): Likewise.
29529         (RM_): New macro.
29530         (RM_FE_DOWNWARD): Likewise.
29531         (RM_FE_TONEAREST): Likewise.
29532         (RM_FE_TOWARDZERO): Likewise.
29533         (RM_FE_UPWARD): Likewise.
29534         (RUN_TEST_LOOP_f_f): Update references to expected results.
29535         (RUN_TEST_LOOP_2_f): Likewise.
29536         (RUN_TEST_LOOP_fff_f): Likewise.
29537         (RUN_TEST_LOOP_c_f): Likewise.
29538         (RUN_TEST_LOOP_f_f1): Likewise.
29539         (RUN_TEST_LOOP_fF_f1): Likewise.
29540         (RUN_TEST_LOOP_fI_f1): Likewise.
29541         (RUN_TEST_LOOP_ffI_f1): Likewise.
29542         (RUN_TEST_LOOP_c_c): Likewise.
29543         (RUN_TEST_LOOP_cc_c): Likewise.
29544         (RUN_TEST_LOOP_f_i): Likewise.
29545         (RUN_TEST_LOOP_f_i_tg): Likewise.
29546         (RUN_TEST_LOOP_ff_i_tg): Likewise.
29547         (RUN_TEST_LOOP_f_b): Likewise.
29548         (RUN_TEST_LOOP_f_b_tg): Likewise.
29549         (RUN_TEST_LOOP_f_l): Likewise.
29550         (RUN_TEST_LOOP_f_L): Likewise.
29551         (RUN_TEST_LOOP_fFF_11): Likewise.
29552         * math/gen-libm-test.pl (parse_args): Output four copies of
29553         expected results for each test.
29555         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29556         (__ASSUME_UTIMES): Remove.
29557         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29558         (__ASSUME_UTIMES): Likewise.
29560         * math/gen-auto-libm-tests.c: Update comment on output format.
29561         (output_for_one_input_case): Generate before-rounding and
29562         after-rounding information as conditions on output flags not
29563         floating-point format.
29564         * math/auto-libm-test-out: Regenerated.
29565         * math/gen-libm-test.pl (cond_value): New function.
29566         (or_cond_value): Use cond_value.
29567         (generate_testfile): Handle conditional exceptions.
29569 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
29571         * math/libm-test.inc (max_valid_error): New variable.
29572         (init_max_error): Take new argument specifying whether function
29573         results are exactly determined.  Set max_valid_error and bound
29574         other variables for errors based on this argument.
29575         (set_max_error): Do not record results above max_valid_error.
29576         (check_float_internal): Only accept errors of up to 0.5ulps if
29577         also at most max_valid_error.
29578         (START): Take new argument EXACT and pass it to init_max_error.
29579         (acos_test): Update call to START.
29580         (acos_test_tonearest): Likewise.
29581         (acos_test_towardzero): Likewise.
29582         (acos_test_downward): Likewise.
29583         (acos_test_upward): Likewise.
29584         (acosh_test): Likewise.
29585         (asin_test): Likewise.
29586         (asin_test_tonearest): Likewise.
29587         (asin_test_towardzero): Likewise.
29588         (asin_test_downward): Likewise.
29589         (asin_test_upward): Likewise.
29590         (asinh_test): Likewise.
29591         (atan_test): Likewise.
29592         (atanh_test): Likewise.
29593         (atan2_test): Likewise.
29594         (cabs_test): Likewise.
29595         (cacos_test): Likewise.
29596         (cacosh_test): Likewise.
29597         (carg_test): Likewise.
29598         (casin_test): Likewise.
29599         (casinh_test): Likewise.
29600         (catan_test): Likewise.
29601         (catanh_test): Likewise.
29602         (cbrt_test): Likewise.
29603         (ccos_test): Likewise.
29604         (ccosh_test): Likewise.
29605         (ceil_test): Likewise.
29606         (cexp_test): Likewise.
29607         (cimag_test): Likewise.
29608         (clog_test): Likewise.
29609         (clog10_test): Likewise.
29610         (conj_test): Likewise.
29611         (copysign_test): Likewise.
29612         (cos_test): Likewise.
29613         (cos_test_tonearest): Likewise.
29614         (cos_test_towardzero): Likewise.
29615         (cos_test_downward): Likewise.
29616         (cos_test_upward): Likewise.
29617         (cosh_test): Likewise.
29618         (cosh_test_tonearest): Likewise.
29619         (cosh_test_towardzero): Likewise.
29620         (cosh_test_downward): Likewise.
29621         (cosh_test_upward): Likewise.
29622         (cpow_test): Likewise.
29623         (cproj_test): Likewise.
29624         (creal_test): Likewise.
29625         (csin_test): Likewise.
29626         (csinh_test): Likewise.
29627         (csqrt_test): Likewise.
29628         (ctan_test): Likewise.
29629         (ctan_test_tonearest): Likewise.
29630         (ctan_test_towardzero): Likewise.
29631         (ctan_test_downward): Likewise.
29632         (ctan_test_upward): Likewise.
29633         (ctanh_test): Likewise.
29634         (ctanh_test_tonearest): Likewise.
29635         (ctanh_test_towardzero): Likewise.
29636         (ctanh_test_downward): Likewise.
29637         (ctanh_test_upward): Likewise.
29638         (erf_test): Likewise.
29639         (erfc_test): Likewise.
29640         (exp_test): Likewise.
29641         (exp_test_tonearest): Likewise.
29642         (exp_test_towardzero): Likewise.
29643         (exp_test_downward): Likewise.
29644         (exp_test_upward): Likewise.
29645         (exp10_test): Likewise.
29646         (exp10_test_tonearest): Likewise.
29647         (exp10_test_towardzero): Likewise.
29648         (exp10_test_downward): Likewise.
29649         (exp10_test_upward): Likewise.
29650         (pow10_test): Likewise.
29651         (exp2_test): Likewise.
29652         (expm1_test): Likewise.
29653         (expm1_test_tonearest): Likewise.
29654         (expm1_test_towardzero): Likewise.
29655         (expm1_test_downward): Likewise.
29656         (expm1_test_upward): Likewise.
29657         (fabs_test): Likewise.
29658         (fdim_test): Likewise.
29659         (floor_test): Likewise.
29660         (fma_test): Likewise.
29661         (fma_test_towardzero): Likewise.
29662         (fma_test_downward): Likewise.
29663         (fma_test_upward): Likewise.
29664         (fmax_test): Likewise.
29665         (fmin_test): Likewise.
29666         (fmod_test): Likewise.
29667         (fpclassify_test): Likewise.
29668         (frexp_test): Likewise.
29669         (hypot_test): Likewise.
29670         (ilogb_test): Likewise.
29671         (isfinite_test): Likewise.
29672         (finite_test): Likewise.
29673         (isgreater_test): Likewise.
29674         (isgreaterequal_test): Likewise.
29675         (isinf_test): Likewise.
29676         (isless_test): Likewise.
29677         (islessequal_test): Likewise.
29678         (islessgreater_test): Likewise.
29679         (isnan_test): Likewise.
29680         (isnormal_test): Likewise.
29681         (issignaling_test): Likewise.
29682         (isunordered_test): Likewise.
29683         (j0_test): Likewise.
29684         (j1_test): Likewise.
29685         (jn_test): Likewise.
29686         (ldexp_test): Likewise.
29687         (lgamma_test): Likewise.
29688         (gamma_test): Likewise.
29689         (lrint_test): Likewise.
29690         (lrint_test_tonearest): Likewise.
29691         (lrint_test_towardzero): Likewise.
29692         (lrint_test_downward): Likewise.
29693         (lrint_test_upward): Likewise.
29694         (llrint_test): Likewise.
29695         (llrint_test_tonearest): Likewise.
29696         (llrint_test_towardzero): Likewise.
29697         (llrint_test_downward): Likewise.
29698         (llrint_test_upward): Likewise.
29699         (log_test): Likewise.
29700         (log10_test): Likewise.
29701         (log1p_test): Likewise.
29702         (log2_test): Likewise.
29703         (logb_test): Likewise.
29704         (logb_test_downward): Likewise.
29705         (lround_test): Likewise.
29706         (llround_test): Likewise.
29707         (modf_test): Likewise.
29708         (nearbyint_test): Likewise.
29709         (nextafter_test): Likewise.
29710         (nexttoward_test): Likewise.
29711         (pow_test): Likewise.
29712         (pow_test_tonearest): Likewise.
29713         (pow_test_towardzero): Likewise.
29714         (pow_test_downward): Likewise.
29715         (pow_test_upward): Likewise.
29716         (remainder_test): Likewise.
29717         (drem_test): Likewise.
29718         (remainder_test_tonearest): Likewise.
29719         (drem_test_tonearest): Likewise.
29720         (remainder_test_towardzero): Likewise.
29721         (drem_test_towardzero): Likewise.
29722         (remainder_test_downward): Likewise.
29723         (drem_test_downward): Likewise.
29724         (remainder_test_upward): Likewise.
29725         (drem_test_upward): Likewise.
29726         (remquo_test): Likewise.
29727         (rint_test): Likewise.
29728         (rint_test_tonearest): Likewise.
29729         (rint_test_towardzero): Likewise.
29730         (rint_test_downward): Likewise.
29731         (rint_test_upward): Likewise.
29732         (round_test): Likewise.
29733         (scalb_test): Likewise.
29734         (scalbn_test): Likewise.
29735         (scalbln_test): Likewise.
29736         (signbit_test): Likewise.
29737         (sin_test): Likewise.
29738         (sin_test_tonearest): Likewise.
29739         (sin_test_towardzero): Likewise.
29740         (sin_test_downward): Likewise.
29741         (sin_test_upward): Likewise.
29742         (sincos_test): Likewise.
29743         (sinh_test): Likewise.
29744         (sinh_test_tonearest): Likewise.
29745         (sinh_test_towardzero): Likewise.
29746         (sinh_test_downward): Likewise.
29747         (sinh_test_upward): Likewise.
29748         (sqrt_test): Likewise.
29749         (sqrt_test_tonearest): Likewise.
29750         (sqrt_test_towardzero): Likewise.
29751         (sqrt_test_downward): Likewise.
29752         (sqrt_test_upward): Likewise.
29753         (tan_test): Likewise.
29754         (tan_test_tonearest): Likewise.
29755         (tan_test_towardzero): Likewise.
29756         (tan_test_downward): Likewise.
29757         (tan_test_upward): Likewise.
29758         (tanh_test): Likewise.
29759         (tgamma_test): Likewise.
29760         (trunc_test): Likewise.
29761         (y0_test): Likewise.
29762         (y1_test): Likewise.
29763         (yn_test): Likewise.
29764         (significand_test): Likewise.
29766         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
29767         individual tests in comment.
29768         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
29769         (prev_max_error): New variable.
29770         (prev_real_max_error): Likewise.
29771         (prev_imag_max_error): Likewise.
29772         (compare_ulp_data): Don't refer to test names in comment.
29773         (find_test_ulps): Remove function.
29774         (find_function_ulps): Likewise.
29775         (find_complex_function_ulps): Likewise.
29776         (init_max_error): Take function name as argument.  Look up ulps
29777         for that function.
29778         (print_ulps): Remove function.
29779         (print_max_error): Use prev_max_error instead of calling
29780         find_function_ulps.
29781         (print_complex_max_error): Use prev_real_max_error and
29782         prev_imag_max_error instead of calling find_complex_function_ulps.
29783         (check_float_internal): Take max_ulp parameter instead of calling
29784         find_test_ulps.  Don't call print_ulps.
29785         (check_float): Update call to check_float_internal.
29786         (check_complex): Update calls to check_float_internal.
29787         (START): Pass argument to init_max_error.
29788         * math/gen-libm-test.pl (%results): Don't include "kind"
29789         information.
29790         (parse_ulps): Don't handle ulps of individual tests.
29791         (print_ulps_file): Likewise.
29792         (output_ulps): Likewise.
29793         * math/README.libm-test: Update.
29794         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
29795         individual tests.
29796         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
29797         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
29798         * sysdeps/arm/libm-test-ulps: Likewise.
29799         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
29800         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
29801         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
29802         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
29803         * sysdeps/microblaze/libm-test-ulps: Likewise.
29804         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29805         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29806         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29807         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
29808         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29809         * sysdeps/sh/libm-test-ulps: Likewise.
29810         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29811         * sysdeps/tile/libm-test-ulps: Likewise.
29812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29814 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
29816         * math/libm-test.inc (print_complex_max_error): Check separately
29817         whether real and imaginary errors are within allowed range and
29818         pass 0 to print_complex_function_ulps instead of value within
29819         allowed range.
29821 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29823         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
29824         formatting.
29825         (get_handles_fopen): Likewise.
29826         (do_write_test): Likewise.
29828         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
29830         * libio/fileops.c (do_ftell): Use cached offset when
29831         available.
29832         * libio/iofwide.c (do_ftell_wide): Likewise.
29833         * libio/iofdopen.c (_IO_new_fdopen): Don't use
29834         _IO_file_attach.
29835         * libio/wfileops.c (_IO_fwide): Don't cache offset.
29837         [BZ #16532]
29838         * libio/libioP.h (get_file_offset): New function.
29839         * libio/fileops.c (get_file_offset): Likewise.
29840         (do_ftell): Likewise.
29841         (_IO_new_file_seekoff): Split out ftell logic.
29842         * libio/wfileops.c (do_ftell_wide): Likewise.
29843         (_IO_wfile_seekoff): Split out ftell logic.
29844         * libio/tst-ftell-active-handler.c: New test case.
29845         * libio/Makefile (tests): Add it.
29847 2014-03-03  Roland McGrath  <roland@hack.frob.com>
29849         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
29850         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
29852 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
29854         [BZ #16639]
29855         * nscd/connections.c (nscd_init): Call do_exit.
29856         (start_threads): Call do_exit and notify_parent.
29857         (begin_drop_privileges): Call do_exit.
29858         (finish_drop_privileges): Likewise.
29859         * nscd/selinux.c (preserve_capabilities): Likewise.
29860         (install_real_capabilities): Likewise.
29861         (nscd_selinux_enabled): Likewise.
29862         (avc_create_thread): Likewise.
29863         (avc_alloc_lock): Likewise.
29864         (nscd_avc_init): Likewise.
29865         * nscd/nscd.c (parent_fd): New static variable.
29866         (main): Create a pipe between parent and child processes.
29867         Skip closing parent_fd.
29868         (monitor_child): New function.
29869         (do_exit): Likewise.
29870         (notify_parent): Likewise.
29871         * nscd/nscd.h (notify_parent): Likewise.
29872         (do_exit): Likewise.
29874 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
29876         * malloc/malloc.c (__libc_calloc): Revert last change.
29878 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29882 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29884         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
29885         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
29886         implementation.
29887         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29888         (__libc_ifunc_impl_list): Likewise.
29889         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
29890         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
29891         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
29892         * string/strrchr.c: Define STRRCHR.
29894 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
29896         * benchtest/bench-strtok.c (simple_strtok): Delete.
29897         (strtok_string): Use as benchmark.
29898         * string/strtok (STRTOK): New macro.
29900 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
29902         * manual/threads.texi: Add header and standard comments to all
29903         functions.
29905         * elf/dl-lookup.c (check_match): New function.
29906         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
29907         (do_lookup_x): Remove nested function check_match. Use non-nested
29908         function check_match.
29910 2014-02-28  Roland McGrath  <roland@hack.frob.com>
29912         * csu/Makefile (generated, before-compile): Use += rather than =.
29913         * catgets/Makefile (generated, generated-dirs): Likewise.
29914         * debug/Makefile (generated): Likewise.
29915         * dlfcn/Makefile (generated): Likewise.
29916         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
29917         * iconvdata/Makefile (before-compile, generated): Likewise.
29918         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
29919         * libio/Makefile (generated): Likewise.
29920         * malloc/Makefile (generated): Likewise.
29921         * manual/Makefile (generated, generated-dirs): Likewise.
29922         * misc/Makefile (generated): Likewise.
29923         * posix/Makefile (generated): Likewise.
29924         * resolv/Makefile (generated): Likewise.
29925         * sunrpc/Makefile (generated, generated-dirs): Likewise.
29926         * timezone/Makefile (generated, generated-dirs): Likewise.
29928         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
29930 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29932         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
29933         power8 implementation.
29934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
29935         file: POWER8 llround ifunc implementation.
29936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
29937         (__lllround): Add POWER8 implementation.
29938         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
29939         POWER8 llround implementation.
29941         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
29942         power8 implementation.
29943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
29944         file: POWER8 llrint ifunc implementation.
29945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
29946         Add POWER8 implementation.
29947         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
29948         POWER8 llrint implementation.
29950         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
29951         power8 implementation.
29952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
29953         file: POWER8 finite ifunc implementation.
29954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
29955         Add POWER8 implementation.
29956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
29957         Likewise.
29958         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
29959         POWER8 finite implementation.
29960         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
29962         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
29963         power8 implementation.
29964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
29965         file: POWER8 isinf ifunc implementation.
29966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
29967         POWER8 implementation.
29968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
29969         Likewise.
29970         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
29971         isinf implementation.
29972         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
29974         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
29975         (INIT_ARCH): Add hwcap2 initialization.
29976         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
29977         power8 implementation.
29978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
29979         file: POWER8 isnan ifunc implementation.
29980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
29981         POWER8 implementation.
29982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
29983         Likewise.
29984         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
29985         isnan implementation.
29986         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
29988 2014-02-27  Joey Ye  <joey.ye@arm.com>
29990         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
29991         (_FP_NANFRAC_Q): Set to zero.
29993 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29995         [BZ #16623]
29996         * math/auto-libm-test-in: New test inputs.
29997         * math/auto-libm-test-out: Regenerate.
29998         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
29999         and DA.
30000         (__cos): Likewise.
30001         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30003 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
30005         * scripts/evaluate-test.sh: Take new argument indicating whether
30006         failure is expected.
30007         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
30008         indicating whether failure is expected.
30009         * conform/Makefile (test-xfail-run-conformtest): New variable.
30010         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
30011         level.
30012         * posix/Makefile (test-xfail-annexc): New variable.
30013         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
30015 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
30017         * argp/Makefile: Include Makeconfig immediately after defining
30018         subdir.
30019         * assert/Makefile: Likewise.
30020         * benchtests/Makefile: Likewise.
30021         * catgets/Makefile: Likewise.
30022         * conform/Makefile: Likewise.
30023         * crypt/Makefile: Likewise.
30024         * csu/Makefile: Likewise.
30025         (all): Remove target.
30026         * ctype/Makefile: Include Makeconfig immediately after defining
30027         subdir.
30028         * debug/Makefile: Likewise.
30029         * dirent/Makefile: Likewise.
30030         * dlfcn/Makefile: Likewise.
30031         * gmon/Makefile: Likewise.
30032         * gnulib/Makefile: Likewise.
30033         * grp/Makefile: Likewise.
30034         * gshadow/Makefile: Likewise.
30035         * hesiod/Makefile: Likewise.
30036         * hurd/Makefile: Likewise.
30037         (all): Remove target.
30038         * iconvdata/Makefile: Include Makeconfig immediately after
30039         defining subdir.
30040         * inet/Makefile: Likewise.
30041         * intl/Makefile: Likewise.
30042         * io/Makefile: Likewise.
30043         * libio/Makefile: Likewise.
30044         (all): Remove target.
30045         * locale/Makefile: Include Makeconfig immediately after defining
30046         subdir.
30047         * login/Makefile: Likewise.
30048         * mach/Makefile: Likewise.
30049         (all): Remove target.
30050         * malloc/Makefile: Include Makeconfig immediately after defining
30051         subdir.
30052         (all): Remove target.
30053         * manual/Makefile: Include Makeconfig immediately after defining
30054         subdir.
30055         * math/Makefile: Likewise.
30056         * misc/Makefile: Likewise.
30057         * nis/Makefile: Likewise.
30058         * nss/Makefile: Likewise.
30059         * po/Makefile: Likewise.
30060         (all): Remove target.
30061         * posix/Makefile: Include Makeconfig immediately after defining
30062         subdir.
30063         * pwd/Makefile: Likewise.
30064         * resolv/Makefile: Likewise.
30065         * resource/Makefile: Likewise.
30066         * rt/Makefile: Likewise.
30067         * setjmp/Makefile: Likewise.
30068         * shadow/Makefile: Likewise.
30069         * signal/Makefile: Likewise.
30070         * socket/Makefile: Likewise.
30071         * soft-fp/Makefile: Likewise.
30072         * stdio-common/Makefile: Likewise.
30073         * stdlib/Makefile: Likewise.
30074         * streams/Makefile: Likewise.
30075         * string/Makefile: Likewise.
30076         * sunrpc/Makefile: Likewise.
30077         (all): Remove target.
30078         * sysvipc/Makefile: Include Makeconfig immediately after defining
30079         subdir.
30080         * termios/Makefile: Likewise.
30081         * time/Makefile: Likewise.
30082         * timezone/Makefile: Likewise.
30083         (all): Remove target.
30084         * wcsmbs/Makefile: Include Makeconfig immediately after defining
30085         subdir.
30086         * wctype/Makefile: Likewise.
30088 2014-02-26  Steve Ellcey  <sellcey@mips.com>
30090         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
30091         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
30092         (libc_feholdexcept_setround_mips): Ditto.
30093         (libc_feholdsetround): New.
30094         (libc_feholdsetroundf): New.
30095         (libc_feholdsetroundl): New.
30096         (libc_feupdateenv_test_mips): New.
30097         (libc_feupdateenv_test): New.
30098         (libc_feupdateenv_testf): New.
30099         (libc_feupdateenv_testl): New.
30100         (libc_feresetround): New.
30101         (libc_feresetroundf): New.
30102         (libc_feresetroundl): New.
30103         (libc_fetestexcept_mips): New.
30104         (libc_fetestexcept): New.
30105         (libc_fetestexceptf): New.
30106         (libc_fetestexceptl): New.
30107         (HAVE_RM_CTX): New.
30108         (libc_feholdexcept_setround_mips_ctx): New.
30109         (libc_feholdexcept_setround_ctx): New.
30110         (libc_feholdexcept_setroundf_ctx): New.
30111         (libc_feholdexcept_setroundl_ctx): New.
30112         (libc_fesetenv_mips_ctx): New.
30113         (libc_fesetenv_ctx): New.
30114         (libc_fesetenv_ctxf): New.
30115         (libc_fesetenv_ctxl): New.
30116         (libc_feupdateenv_mips_ctx): New.
30117         (libc_feupdateenv_ctx): New.
30118         (libc_feupdateenvf_ctx): New.
30119         (libc_feupdateenvl_ctx): New.
30120         (libc_feholdsetround_mips_ctx): New.
30121         (libc_feholdsetround_ctx): New.
30122         (libc_feholdsetroundf_ctx): New.
30123         (libc_feholdsetroundl_ctx): New.
30124         (libc_feresetround_mips_ctx): New.
30125         (libc_feresetround_ctx): New.
30126         (libc_feresetroundf_ctx): New.
30127         (libc_feresetroundl_ctx): New.
30129 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
30131         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
30133         * manual/ipc.texi: New file.
30134         * manual/Makefile (chapters): Add ipc.
30135         * manual/job.texi: Add "Inter-Process Communication" to next.
30136         * manual/process.texi: Add "Inter-Process Communication" to prev.
30138 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30140         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30142 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
30144         * malloc/malloc.c (__libc_calloc): Simplify implementation.
30146         * manual/arith.texi: Fix spaces after sentences.
30147         * manual/charset.texi: Likewise.
30148         * manual/errno.texi: Likewise.
30149         * manual/install.texi: Likewise.
30150         * manual/llio.texi: Likewise.
30151         * manual/locale.texi: Likewise.
30152         * manual/maint.texi: Likewise.
30153         * manual/math.texi: Likewise.
30154         * manual/memory.texi: Likewise.
30155         * manual/message.texi: Likewise.
30156         * manual/probes.texi: Likewise.
30157         * manual/resource.texi: Likewise.
30158         * manual/signal.texi: Likewise.
30159         * manual/socket.texi: Likewise.
30160         * manual/stdio.texi: Likewise.
30161         * manual/string.texi: Likewise.
30162         * manual/time.texi: Likewise.
30163         * manual/users.texi: Likewise.
30165 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
30167         [BZ #16632]
30168         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
30169         _DEFAULT_SOURCE is defined.
30171 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
30172             Carlos O'Donell  <carlos@redhat.com>
30174         [BZ #16613]
30175         * elf/dl-tls.c (_dl_count_modids): New function.
30176         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
30177         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
30178         audit library and increment generation counter.
30179         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
30180         * elf/tst-audit9.c: New file.
30181         * elf/tst-auditmod9a.c: New file.
30182         * elf/tst-auditmod9b.c: New file.
30183         * elf/Makefile: Add rules to build and run tst-audit9.
30185 2014-02-25  Florian Weimer  <fweimer@redhat.com>
30187         [BZ #15347]
30188         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
30190 2014-02-25  Will Newton  <will.newton@linaro.org>
30192         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
30193         (__longjmp): Restore sp and lr before restoring callee
30194         saved registers.  Add longjmp and longjmp_target
30195         SystemTap probe point.
30196         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
30197         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
30198         Define to zero to match jmpbuf layout.
30199         * sysdeps/arm/setjmp.S: Include stap-probe.h.
30200         (__sigsetjmp): Save sp and lr before saving callee
30201         saved registers.  Add setjmp SystemTap probe point.
30203 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
30205         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30207 2014-02-24  Andreas Schwab  <schwab@suse.de>
30209         [BZ #15804]
30210         * elf/pldd.c (wait_for_ptrace_stop): New function.
30211         (main): Call it after attaching.
30213 2014-02-22  Roland McGrath  <roland@hack.frob.com>
30215         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
30216         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
30217         Versions files is now verboten.
30218         * hurd/Versions (libc: GLIBC_2.0):
30219         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
30220         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
30221         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
30222         * mach/Versions: Likewise.
30224         * csu/Versions: Remove unused %include.
30225         * resolv/Versions: Likewise.
30227 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
30229         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
30230         ($(objpfx)check-local-headers.out): Likewise.
30231         ($(objpfx)begin-end-check.out): Likewise.
30232         * Makerules (check-abi-%.out): Likewise.
30233         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
30234         ($(objpfx)test2.cat): Likewise.
30235         ($(objpfx)de/libc.cat): Likewise.
30236         ($(objpfx)test-gencat.out): Likewise.
30237         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
30238         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
30239         ($(objpfx)noload-mem): Likewise.
30240         ($(objpfx)tst-pathopt.out): Likewise.
30241         ($(objpfx)tst-rtld-load-self.out): Likewise.
30242         ($(objpfx)tst-array1-cmp.out): Likewise.
30243         ($(objpfx)tst-array1-static-cmp.out): Likewise.
30244         ($(objpfx)tst-array2-cmp.out): Likewise.
30245         ($(objpfx)tst-array3-cmp.out): Likewise.
30246         ($(objpfx)tst-array4-cmp.out): Likewise.
30247         ($(objpfx)tst-array5-cmp.out): Likewise.
30248         ($(objpfx)tst-array5-static-cmp.out): Likewise.
30249         ($(objpfx)check-textrel.out): Likewise.
30250         ($(objpfx)check-execstack.out): Likewise.
30251         ($(objpfx)check-localplt.out): Likewise.
30252         ($(objpfx)order2-cmp.out): Likewise.
30253         ($(objpfx)tst-leaks1-mem): Likewise.
30254         ($(objpfx)tst-leaks1-static-mem): Likewise.
30255         ($(objpfx)tst-initorder-cmp.out): Likewise.
30256         ($(objpfx)tst-initorder2-cmp.out): Likewise.
30257         ($(objpfx)tst-unused-dep.out): Likewise.
30258         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
30259         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
30260         * iconv/Makefile (test-iconvconfig): Likewise.
30261         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
30262         ($(objpfx)iconv-test.out): Likewise.
30263         ($(objpfx)tst-tables.out): Likewise.
30264         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
30265         ($(objpfx)tst-gettext.out): Likewise.
30266         ($(objpfx)tst-translit.out): Likewise.
30267         ($(objpfx)tst-gettext2.out): Likewise.
30268         ($(objpfx)tst-gettext4.out): Likewise.
30269         ($(objpfx)tst-gettext6.out): Likewise.
30270         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
30271         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
30272         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
30273         ($(objpfx)tst-fopenloc-mem.out): Likewise.
30274         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
30275         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
30276         * posix/Makefile ($(objpfx)globtest.out): Likewise.
30277         ($(objpfx)wordexp-tst.out): Likewise.
30278         ($(objpfx)annexc.out): Likewise.
30279         ($(objpfx)tst-fnmatch-mem): Likewise.
30280         ($(objpfx)bug-regex2-mem): Likewise.
30281         ($(objpfx)bug-regex14-mem): Likewise.
30282         ($(objpfx)bug-regex21-mem): Likewise.
30283         ($(objpfx)bug-regex31-mem): Likewise.
30284         ($(objpfx)tst-vfork3-mem): Likewise.
30285         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
30286         ($(objpfx)tst-pcre-mem): Likewise.
30287         ($(objpfx)tst-boost-mem): Likewise.
30288         ($(objpfx)tst-getconf.out): Likewise.
30289         ($(objpfx)bug-ga2-mem): Likewise.
30290         ($(objpfx)bug-glob2-mem): Likewise.
30291         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
30292         ($(objpfx)mtrace-tst-leaks2): Likewise.
30293         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
30294         ($(objpfx)tst-printf.out): Likewise.
30295         ($(objpfx)tst-setvbuf1.out): Likewise.
30296         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
30297         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
30298         ($(objpfx)tst-fmtmsg.out): Likewise.
30299         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
30300         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
30302         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
30303         * bits/sigaction.h [__USE_MISC]: Likewise.
30304         * bits/waitstatus.h: Update #endif comments.
30305         * ctype/ctype.h: Likewise.
30306         * dirent/dirent.h: Likewise.
30307         [__USE_MISC]: Remove redundant conditionals.
30308         * grp/grp.h: Update #endif comments.
30309         [__USE_GNU]: Remove redundant conditionals.
30310         [__USE_MISC]: Likewise.
30311         * inet/netinet/in.h [__USE_GNU]: Likewise.
30312         * io/sys/stat.h [__USE_MISC]: Likewise.
30313         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
30314         * libio/bits/stdio.h: Update #endif comments.
30315         [__USE_MISC]: Remove redundant conditionals.
30316         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
30317         * libio/stdio.h: Update #endif comments.
30318         [__USE_MISC]: Remove redundant conditionals.
30319         * math/bits/math-finite.h [__USE_MISC]: Likewise.
30320         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
30321         * math/math.h: Update #else and #endif comments.
30322         [__USE_MISC]: Remove redundant conditionals.
30323         * misc/sys/uio.h: Update #endif comments.
30324         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
30325         * posix/glob.h [__USE_MISC]: Likewise.
30326         * posix/sys/types.h: Update #endif comments.
30327         [__USE_MISC]: Remove redundant conditionals.
30328         * posix/sys/wait.h: Update #endif comments.
30329         [__USE_MISC]: Remove redundant conditionals.
30330         * posix/unistd.h: Update #endif comments.
30331         [__USE_MISC]: Remove redundant conditionals.
30332         * pwd/pwd.h [__USE_GNU]: Likewise.
30333         [__USE_MISC]: Likewise.
30334         * resolv/netdb.h [__USE_GNU]: Likewise.
30335         * signal/signal.h: Update #endif comments.
30336         [__USE_MISC]: Remove redundant conditionals.
30337         * stdlib/stdlib.h: Update #else and #endif comments.
30338         [__USE_MISC]: Remove redundant conditionals.
30339         [__USE_GNU]: Likewise.
30340         * string/bits/string2.h [__USE_MISC]: Likewise.
30341         * string/string.h: Update #endif comments.
30342         [__USE_MISC]: Remove redundant conditionals.
30343         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
30344         Likewise.
30345         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
30346         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
30347         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
30348         Likewise.
30349         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
30350         Likewise.
30351         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
30352         comments.
30353         [__USE_MISC]: Remove redundant conditionals.
30354         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
30355         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
30356         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
30357         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
30358         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
30359         Likewise.
30360         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
30361         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
30362         Likewise.
30363         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
30364         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
30365         Likewise.
30366         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
30367         Likewise.
30368         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
30369         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
30370         Likewise.
30371         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
30372         Likewise.
30373         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
30374         * sysdeps/x86/bits/string.h: Update #endif comments.
30375         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
30376         conditionals.
30377         * time/sys/time.h: Update #endif comments.
30378         * time/time.h: Likewise.
30379         [__USE_MISC]: Remove redundant conditionals.
30381 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
30383         [BZ #16600]
30384         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
30386 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
30388         * Versions.def (librt): Add GLIBC_2.17.
30390 2014-02-21  Adam Conrad  <adconrad@0c3.net>
30392         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
30393         synonym for _SYS_AUXV_H to allow direct inclusion.
30394         * sysdeps/sparc/bits/hwcap.h: Likewise.
30395         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
30396         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
30397         * sysdeps/sparc/sysdep.h: Likewise.
30399 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30401         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
30403 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30405         * benchtests/bench-strrchr.c: Print length instead of position.
30407 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
30409         [BZ #16611]
30410         * sysdeps/unix/sysv/linux/kernel-features.h
30411         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
30412         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
30413         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
30414         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
30415         Likewise.
30416         [__i386__ || __powerpc__ || __sh__ || __sparc__]
30417         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30418         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
30419         (__ASSUME_SENDMMSG): Define instead of using previous
30420         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
30421         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30422         (__ASSUME_SENDMMSG_SYSCALL): Define.
30423         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30424         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
30425         Likewise.
30426         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30427         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30428         Likewise.
30429         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30430         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30431         Likewise.
30432         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
30433         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
30434         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
30435         [__ASSUME_SENDMMSG]: Change conditionals to
30436         [__ASSUME_SENDMMSG_SOCKETCALL].
30437         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30438         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
30439         Define.
30440         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30441         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
30442         Likewise.
30443         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
30444         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
30445         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
30446         [!__ASSUME_SENDMMSG]: Change conditional to
30447         [!__ASSUME_SENDMMSG_SOCKETCALL].
30448         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30449         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30450         Define.
30452         [BZ #16610]
30453         * sysdeps/unix/sysv/linux/kernel-features.h
30454         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
30455         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
30456         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
30457         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
30458         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30459         [__i386__ || __sparc__]
30460         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30461         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
30462         (__ASSUME_RECVMMSG): Define instead of using previous
30463         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
30464         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30465         (__ASSUME_RECVMMSG_SYSCALL): Define.
30466         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30467         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30468         Likewise.
30469         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30470         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30471         Likewise.
30472         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30473         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30474         Likewise.
30475         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
30476         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
30477         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
30478         [__ASSUME_RECVMMSG]: Change condition to
30479         [__ASSUME_RECVMMSG_SOCKETCALL].
30480         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30481         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30482         Define.
30483         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30484         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30485         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30486         Likewise.
30487         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
30488         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
30489         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
30490         [!__ASSUME_RECVMMSG]: Change condition to
30491         [!__ASSUME_RECVMMSG_SOCKETCALL].
30492         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30493         (__ASSUME_RECVMMSG_SYSCALL): Define.
30495         [BZ #16609]
30496         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
30497         __powerpc__ || __s390__ || __sh__ || __sparc__]
30498         (__ASSUME_SOCKETCALL): Define.
30499         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
30500         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
30501         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
30502         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
30503         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
30504         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
30505         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
30506         (__ASSUME_ACCEPT4): Define instead of using previous
30507         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
30508         __powerpc__ || __sparc__ || __s390__)] condition.
30509         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30510         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
30511         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
30512         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
30513         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
30514         [!__ASSUME_ACCEPT4]: Change condition to
30515         [!__ASSUME_ACCEPT4_SOCKETCALL].
30516         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30517         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
30518         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
30519         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30520         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
30521         __ASSUME_ACCEPT4_SYSCALL.
30522         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
30523         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
30524         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30525         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
30526         __ASSUME_ACCEPT4_SYSCALL.
30527         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
30528         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
30529         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
30530         [__ASSUME_ACCEPT4]: Change condition to
30531         [__ASSUME_ACCEPT4_SOCKETCALL].
30532         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30533         (__ASSUME_SOCKETCALL): Define.
30534         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
30535         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30536         (__ASSUME_SOCKETCALL): Define.
30537         (__ASSUME_ACCEPT4): Remove.
30538         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
30539         Define.
30540         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30541         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
30542         Likewise.
30543         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30544         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
30546         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
30547         macro.
30548         (HWCAP_ARM_LPAE): Likewise.
30549         (HWCAP_ARM_EVTSTRM): Likewise.
30550         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
30551         Add vpfd32, lpae and evtstrm.
30552         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
30553         Increase to 22.
30555 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
30557         * math/auto-libm-test-in: Add tests of clog10.
30558         * math/auto-libm-test-out: Regenerated.
30559         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
30560         * sysdeps/i386/fpu/libm-test-ulps: Update.
30561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30563 2014-02-18  Andreas Schwab  <schwab@suse.de>
30565         [BZ #16574]
30566         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
30567         Store non-zero if the second buffer was newly allocated.
30568         (send_dg): Likewise.
30569         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
30570         to send_vc and send_dg.
30571         (res_nsend): Pass NULL for ansp2_malloced.
30572         * resolv/res_query.c (__libc_res_nquery): Add parameter
30573         answerp2_malloced and pass it down to __libc_res_nsend.
30574         (res_nquery): Pass additional NULL to __libc_res_nquery.
30575         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
30576         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
30577         second answer buffer if answerp2_malloced was set.
30578         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
30579         (__libc_res_nquerydomain): Add parameter
30580         answerp2_malloced and pass it down to __libc_res_nquery.
30581         (res_nquerydomain): Pass additional NULL to
30582         __libc_res_nquerydomain.
30583         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
30584         additional NULL to __libc_res_nsend and __libc_res_nquery.
30585         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
30586         additional NULL to __libc_res_nsearch.
30587         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
30588         parameter of __libc_res_nsearch to check for separately allocated
30589         second buffer.
30590         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
30591         __libc_res_nquery.
30592         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
30593         additional NULL to __libc_res_nquery.
30594         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
30595         __libc_res_nsearch.
30596         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
30597         * include/resolv.h: Update prototypes of __libc_res_nquery,
30598         __libc_res_nsearch, __libc_res_nsend.
30600 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
30602         * math/auto-libm-test-in: Add tests of fma.
30603         * math/auto-libm-test-out: Regenerated.
30604         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
30605         (fma_towardzero_test_data): Likewise.
30606         (fma_downward_test_data): Likewise.
30607         (fma_upward_test_data): Likewise.
30608         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
30609         mpc_mode.
30610         (rounding_modes): Add values for new field.
30611         (func_calc_method): Add value mpfr_fff_f.
30612         (func_calc_desc): Add mpfr_fff_f union field.
30613         (test_function): Add field exact_args.
30614         (FUNC): Add macro argument EXACT_ARGS.
30615         (FUNC_mpfr_f_f): Update call to FUNC.
30616         (FUNC_mpfr_f_f): Likewise.
30617         (FUNC_mpfr_ff_f): Likewise.
30618         (FUNC_mpfr_if_f): Likewise.
30619         (FUNC_mpc_c_f): Likewise.
30620         (FUNC_mpc_c_c): Likewise.
30621         (test_functions): Add fma.  Update calls to FUNC.
30622         (handle_input_arg): Add argument exact_args.
30623         (add_test): Update call to handle_input_arg.
30624         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
30625         (output_for_one_input_case): Update call to calc_generic_results.
30626         Recalculate exact zero results in each rounding mode.
30628         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
30629         non-negative before setting low bit.
30630         * math/auto-libm-test-in: Mark one asin test possibly having
30631         spurious underflow.
30632         * math/auto-libm-test-out: Regenerated.
30633         * sysdeps/i386/fpu/libm-test-ulps: Update.
30634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30636 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
30638         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
30639         * sysdeps/unix/sysv/linux/microblaze: Move directory from
30640         ports/sysdeps/unix/sysv/linux/microblaze.
30641         * README: Add missing listing for microblaze*-*-linux-gnu.
30643 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
30645         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
30646         duplicate code
30648 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
30650         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
30651         * sysdeps/unix/sysv/linux/ia64: Move directory from
30652         ports/sysdeps/unix/sysv/linux/ia64.
30653         * README: Update listing for ia64-*-linux-gnu.
30655 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
30656             Joseph Myers  <joseph@codesourcery.com>
30658         * Makeconfig (test-name): New variable.
30659         (evaluate-test): Likewise.
30660         * Makerules (do-test-clean): Remove .test-result files.
30661         (common-mostlyclean): Likewise.
30662         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
30663         * scripts/evaluate-test.sh: New file.
30665 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
30667         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
30668         separate $(objpfx)tst-fopenloc-cmp.out and
30669         $(objpfx)tst-fopenloc-mem.out targets.
30670         (tests): Update dependencies.
30671         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
30672         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
30673         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
30674         (tst-rxspencer-no-utf8-ARGS): New variable.
30675         (tst-rxspencer-no-utf8-ENV): Likewise.
30676         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
30677         instead of $(objpfx)tst-rxspencer-mem.
30678         ($(objpfx)tst-rxspencer-mem): Change target to
30679         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
30680         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
30681         * posix/tst-rxspencer-no-utf8.c: New file.
30683         * elf/Makefile ($(objpfx)order.out): Remove rule.
30684         [$(run-built-tests) = yes] (tests): Depend on
30685         $(objpfx)order-cmp.out.
30686         ($(objpfx)order-cmp.out): New rule.
30687         [$(run-built-tests) = yes] (tests): Depend on
30688         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
30689         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
30690         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
30691         $(objpfx)tst-array5-static-cmp.out.
30692         ($(objpfx)tst-array1.out): Remove rule.
30693         ($(objpfx)tst-array1-cmp.out): New rule.
30694         ($(objpfx)tst-array1-static.out): Remove rule.
30695         ($(objpfx)tst-array1-static-cmp.out): New rule.
30696         ($(objpfx)tst-array2.out): Remove rule.
30697         ($(objpfx)tst-array2-cmp.out): New rule.
30698         ($(objpfx)tst-array3.out): Remove rule.
30699         ($(objpfx)tst-array3-cmp.out): New rule.
30700         ($(objpfx)tst-array4.out): Remove rule.
30701         ($(objpfx)tst-array4-cmp.out): New rule.
30702         ($(objpfx)tst-array5.out): Remove rule.
30703         ($(objpfx)tst-array5-cmp.out): New rule.
30704         ($(objpfx)tst-array5-static.out): Remove rule.
30705         ($(objpfx)tst-array5-static-cmp.out): New rule.
30706         [$(run-built-tests) = yes] (tests): Depend on
30707         $(objpfx)order2-cmp.out.
30708         ($(objpfx)order2.out): Remove rule.
30709         ($(objpfx)order2-cmp.out): New rule.
30710         ($(objpfx)tst-initorder.out): Remove rule.
30711         [$(run-built-tests) = yes] (tests): Depend on
30712         $(objpfx)tst-initorder-cmp.out.
30713         ($(objpfx)tst-initorder-cmp.out): New rule.
30714         ($(objpfx)tst-initorder2.out): Remove rule.
30715         [$(run-built-tests) = yes] (tests): Depend on
30716         $(objpfx)tst-initorder2-cmp.out.
30717         ($(objpfx)tst-initorder2-cmp.out): New rule.
30718         [$(run-built-tests) = yes] (tests): Depend on
30719         $(objpfx)tst-unused-dep-cmp.out.
30720         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
30721         ($(objpfx)tst-unused-dep-cmp.out): New rule.
30722         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
30723         on $(objpfx)tst-setvbuf1-cmp.out.
30724         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
30725         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
30726         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
30727         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
30728         ($(objpfx)tst-svc.out): Remove rule.
30729         ($(objpfx)tst-svc-cmp.out): New rule.
30731 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
30733         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
30734         * ctype/ctype.h [__USE_MISC]: Likewise.
30735         * dirent/dirent.h [__USE_MISC]: Likewise.
30736         * grp/grp.h [__USE_MISC]: Likewise.
30737         * io/fcntl.h [__USE_MISC]: Likewise.
30738         * io/sys/stat.h [__USE_MISC]: Likewise.
30739         * libio/stdio.h [__USE_MISC]: Likewise.
30740         * posix/unistd.h [__USE_MISC]: Likewise.
30741         * pwd/pwd.h [__USE_MISC]: Likewise.
30742         * stdlib.h [__USE_MISC]: Likewise.
30743         * string/bits/string2.h [__USE_MISC]: Likewise.
30744         * string/string.h [__USE_MISC]: Likewise.
30745         * time/time.h [__USE_MISC]: Likewise.
30747 2014-02-13  Andreas Schwab  <schwab@suse.de>
30749         [BZ #16574]
30750         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
30751         second answer buffer if it was separately allocated.
30753 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
30755         * sysdeps/mips/math-tests.h: Include <features.h>.
30756         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
30757         (ROUNDING_TESTS_long_double): Do not define.
30758         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
30759         (EXCEPTION_TESTS_long_double): Likewise.
30760         * sysdeps/mips/mips64/libm-test-ulps: Update.
30762         * include/features.h (__USE_BSD): Remove macro definitions.
30763         (__USE_SVID): Likewise.
30764         (_BSD_SOURCE): Likewise.
30765         (_SVID_SOURCE): Likewise.
30766         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
30767         from definition of _DEFAULT_SOURCE.
30768         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
30769         [_DEFAULT_SOURCE].
30770         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
30771         * bits/mman.h [__USE_BSD]: Likewise.
30772         * bits/termios.h [__USE_BSD]: Likewise.
30773         * bits/waitstatus.h [__USE_BSD]: Likewise.
30774         * ctype/ctype.h [__USE_SVID]: Likewise.
30775         * dirent/dirent.h [__USE_BSD]: Likewise.
30776         * grp/grp.h [__USE_SVID]: Likewise.
30777         [__USE_BSD]: Likewise.
30778         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
30779         * io/fcntl.h [__USE_BSD]: Likewise.
30780         * io/ftw.h [__USE_BSD]: Likewise.
30781         * io/sys/stat.h [__USE_BSD]: Likewise.
30782         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
30783         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
30784         * libio/stdio.h [__USE_SVID]: Likewise.
30785         [__USE_BSD]: Likewise.
30786         * math/math.h [__USE_SVID]: Likewise.
30787         [__USE_BSD]: Likewise.
30788         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
30789         * misc/bits/syslog.h [__USE_BSD]: Likewise.
30790         * misc/search.h [__USE_SVID]: Likewise.
30791         * misc/sys/mman.h [__USE_BSD]: Likewise.
30792         * misc/sys/syslog.h [__USE_BSD]: Likewise.
30793         * misc/sys/uio.h [__USE_BSD]: Likewise.
30794         * posix/bits/unistd.h [__USE_BSD]: Likewise.
30795         * posix/glob.h [__USE_BSD]: Likewise.
30796         * posix/regex.h [__USE_BSD]: Likewise.
30797         * posix/sys/types.h [__USE_BSD]: Likewise.
30798         [__USE_SVID]: Likewise.
30799         * posix/sys/utsname.h [__USE_SVID]: Likewise.
30800         * posix/sys/wait.h [__USE_BSD]: Likewise.
30801         [__USE_SVID]: Likewise.
30802         * posix/unistd.h [__USE_BSD]: Likewise.
30803         [__USE_SVID]: Likewise.
30804         * pwd/pwd.h [__USE_SVID]: Likewise.
30805         * resolv/netdb.h [__USE_BSD]: Likewise.
30806         * setjmp/setjmp.h [__USE_BSD]: Likewise.
30807         * signal/signal.h [__USE_BSD]: Likewise.
30808         [__USE_SVID]: Likewise.
30809         * socket/sys/socket.h [__USE_BSD]: Likewise.
30810         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
30811         * stdlib/stdlib.h [__USE_BSD]: Likewise.
30812         [__USE_SVID]: Likewise.
30813         * string/bits/string2.h [__USE_BSD]: Likewise.
30814         [__USE_SVID]: Likewise.
30815         * string/bits/string3.h [__USE_BSD]: Likewise.
30816         * string/endian.h [__USE_BSD]: Likewise.
30817         * string/string.h [__USE_SVID]: Likewise.
30818         [__USE_BSD]: Likewise.
30819         * string/strings.h [__USE_BSD]: Likewise.
30820         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
30821         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
30822         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
30823         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
30824         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
30825         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
30826         Likewise.
30827         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
30828         Likewise.
30829         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
30830         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
30831         Likewise.
30832         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
30833         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
30834         Likewise.
30835         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
30836         Likewise.
30837         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
30838         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
30839         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
30840         Likewise.
30841         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
30842         Likewise.
30843         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
30844         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
30845         * termios/termios.h [__USE_BSD]: Likewise.
30846         * time/sys/time.h [__USE_BSD]: Likewise.
30847         * time/time.h [__USE_BSD]: Likewise.
30848         [__USE_SVID]: Likewise.
30850         * Makefile (subdir_targets): Remove subdir_lint.out.
30852         * stdio-common/Makefile (do-tst-unbputc): Remove target.
30853         (do-tst-printf): Likewise.
30854         (tests): Depend directly on $(objpfx)tst-unbputc.out and
30855         $(objpfx)tst-printf.out.
30857         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
30859         * Makerules (check-abi-%): Change target to
30860         $(objpfx)check-abi-%.out.
30861         (check-abi target): Update dependencies.
30862         (check-abi-pattern variable): Redirect output of diff to $@.
30863         (check-abi variable): Likewise.
30864         * elf/Makefile (check-abi): Update dependencies.
30866         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
30867         unused.
30868         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
30869         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
30870         subnormal range.
30871         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
30872         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
30873         value has largest subnormal exponent.
30874         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
30875         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
30876         * sysdeps/aarch64/soft-fp/sfp-machine.h
30877         (_FP_TININESS_AFTER_ROUNDING): New macro.
30878         * sysdeps/alpha/soft-fp/sfp-machine.h
30879         (_FP_TININESS_AFTER_ROUNDING): Likewise.
30880         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
30881         Likewise.
30882         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
30883         (_FP_TININESS_AFTER_ROUNDING): Likewise.
30884         * sysdeps/mips/soft-fp/sfp-machine.h
30885         (_FP_TININESS_AFTER_ROUNDING): Likewise.
30886         * sysdeps/powerpc/soft-fp/sfp-machine.h
30887         (_FP_TININESS_AFTER_ROUNDING): Likewise.
30888         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
30889         Likewise.
30890         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30891         (_FP_TININESS_AFTER_ROUNDING): Likewise.
30892         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30893         (_FP_TININESS_AFTER_ROUNDING): Likewise.
30894         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
30895         Likewise.
30897 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
30899         [BZ #16545]
30900         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
30901         model 1.
30903 2014-02-12  Richard Henderson  <rth@redhat.com>
30905         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
30906         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
30907         * sysdeps/unix/sysv/linux/alpha: Move directory from
30908         ports/sysdeps/unix/sysv/linux/alpha.
30909         * README: Update listing for alpha-*-linux-gnu.
30911 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
30913         * include/features.h: Update comment documenting feature test
30914         macros.
30915         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
30916         _DEFAULT_SOURCE.
30917         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
30918         (_SVID_SOURCE): Likewise.
30919         (_DEFAULT_SOURCE): Update description of default features.
30920         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
30921         with _GNU_SOURCE.
30922         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
30923         (S_ISVTX): Likewise.
30924         * manual/math.texi (Mathematical Constants): Likewise.
30925         * manual/signal.texi (Interrupted Primitives): Likewise.
30926         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
30927         * math/test-matherr.c (_SVID_SOURCE): Do not define.
30928         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
30929         Don't refer to _SVID_SOURCE in warning text.
30931         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30933         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
30934         already defined.
30935         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
30936         * sysdeps/mips/dl-lookup.c: Remove.
30937         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
30939 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
30941         [BZ #16447]
30942         * math/auto-libm-test-in: Add testcase for expl.
30943         * math/auto-libm-test-out: Regenerate.
30944         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
30945         calculation of unsafe.
30946         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
30948 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30950         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
30951         * sysdeps/unix/sysv/linux/aarch64: Move directory from
30952         ports/sysdeps/unix/sysv/linux/aarch64.
30953         * README: Update listing for aarch64*-*-linux-gnu.
30955 2014-02-11  Will Newton  <will.newton@linaro.org>
30957         * manual/probes.texi (Mathematical Function Probes): Use
30958         "triggered" instead of "hit".
30960         * manual/probes.texi (Internal Probes): Add documentation
30961         of setjmp, longjmp and longjmp_target probes.
30963         * include/stap-probe.h: Add comment about probe argument
30964         format.
30966         * malloc/mtrace.c (attribute_hidden): Remove unused macro
30967         definition.  (tr_where, tr_freehook, tr_mallochook,
30968         tr_reallochook, tr_memalignhook): Use ANSI protoype.
30970 2014-02-11  David S. Miller  <davem@davemloft.net>
30972         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
30973         processing int_tests.
30975 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
30977         * sysdeps/mips: Move directory from ports/sysdeps/mips.
30978         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
30979         * sysdeps/unix/sysv/linux/mips: Move directory from
30980         ports/sysdeps/unix/sysv/linux/mips.
30981         * README: Update listing for mips-*-linux-gnu and
30982         mips64-*-linux-gnu.
30984 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
30986         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
30987         * sysdeps/unix/sysv/linux/m68k: Move directory from
30988         ports/sysdeps/unix/sysv/linux/m68k.
30989         * README: Update listing for m68k-*-linux-gnu.
30991 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
30993         * sysdeps/tile: Move directory from ports/sysdeps/tile.
30994         * sysdeps/unix/sysv/linux/generic: Move directory from
30995         ports/sysdeps/unix/sysv/linux/generic.
30996         * sysdeps/unix/sysv/linux/tile: Move directory from
30997         ports/sysdeps/unix/sysv/linux/tile.
30998         * README: Update listing for tile*-*-linux-gnu.
31000 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
31002         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
31003         __builtin_expect.
31004         * benchtests/bench-memmem.c (simple_memmem): Likewise.
31005         * catgets/open_catalog.c (__open_catalog): Likewise.
31006         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
31007         * debug/confstr_chk.c: Likewise.
31008         * debug/fread_chk.c (__fread_chk): Likewise.
31009         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
31010         * debug/getgroups_chk.c: Likewise.
31011         * debug/mbsnrtowcs_chk.c: Likewise.
31012         * debug/mbsrtowcs_chk.c: Likewise.
31013         * debug/mbstowcs_chk.c: Likewise.
31014         * debug/memcpy_chk.c: Likewise.
31015         * debug/memmove_chk.c: Likewise.
31016         * debug/mempcpy_chk.c: Likewise.
31017         * debug/memset_chk.c: Likewise.
31018         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31019         * debug/strcat_chk.c (__strcat_chk): Likewise.
31020         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
31021         * debug/strncat_chk.c (__strncat_chk): Likewise.
31022         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
31023         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
31024         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
31025         * debug/wcpncpy_chk.c: Likewise.
31026         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31027         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
31028         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
31029         * debug/wcsncpy_chk.c: Likewise.
31030         * debug/wcsnrtombs_chk.c: Likewise.
31031         * debug/wcsrtombs_chk.c: Likewise.
31032         * debug/wcstombs_chk.c: Likewise.
31033         * debug/wmemcpy_chk.c: Likewise.
31034         * debug/wmemmove_chk.c: Likewise.
31035         * debug/wmempcpy_chk.c: Likewise.
31036         * debug/wmemset_chk.c: Likewise.
31037         * dirent/scandirat.c (SCANDIRAT): Likewise.
31038         * dlfcn/dladdr1.c (dladdr1): Likewise.
31039         * dlfcn/dladdr.c (dladdr): Likewise.
31040         * dlfcn/dlclose.c (dlclose_doit): Likewise.
31041         * dlfcn/dlerror.c (__dlerror): Likewise.
31042         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
31043         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
31044         * dlfcn/dlopen.c (dlopen_doit): Likewise.
31045         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
31046         * dlfcn/dlsym.c (dlsym_doit): Likewise.
31047         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
31048         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
31049         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
31050         Likewise.
31051         * elf/dl-conflict.c: Likewise.
31052         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31053         * elf/dl-dst.h: Likewise.
31054         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
31055         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
31056         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31057         * elf/dl-init.c (call_init, _dl_init): Likewise.
31058         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
31059         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
31060         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
31061         Likewise.
31062         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
31063         Likewise.
31064         * elf/dl-minimal.c (__libc_memalign): Likewise.
31065         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
31066         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31067         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
31068         * elf/dl-sym.c (do_sym): Likewise.
31069         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
31070         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
31071         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
31072         * elf/dl-writev.h (_dl_writev): Likewise.
31073         * elf/ldconfig.c (search_dir): Likewise.
31074         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
31075         (dl_main): Likewise.
31076         * elf/setup-vdso.h (setup_vdso): Likewise.
31077         * grp/compat-initgroups.c (compat_call): Likewise.
31078         * grp/fgetgrent.c (fgetgrent): Likewise.
31079         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
31080         * grp/putgrent.c (putgrent): Likewise.
31081         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
31082         Likewise.
31083         * hurd/hurdinit.c: Likewise.
31084         * iconvdata/8bit-gap.c (struct): Likewise.
31085         * iconvdata/ansi_x3.110.c : Likewise.
31086         * iconvdata/big5.c : Likewise.
31087         * iconvdata/big5hkscs.c : Likewise.
31088         * iconvdata/cp1255.c: Likewise.
31089         * iconvdata/cp1258.c : Likewise.
31090         * iconvdata/cp932.c : Likewise.
31091         * iconvdata/euc-cn.c: Likewise.
31092         * iconvdata/euc-jisx0213.c : Likewise.
31093         * iconvdata/euc-jp.c: Likewise.
31094         * iconvdata/euc-jp-ms.c : Likewise.
31095         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
31096         * iconvdata/gb18030.c : Likewise.
31097         * iconvdata/gbbig5.c (const): Likewise.
31098         * iconvdata/gbgbk.c: Likewise.
31099         * iconvdata/gbk.c : Likewise.
31100         * iconvdata/ibm1364.c : Likewise.
31101         * iconvdata/ibm930.c : Likewise.
31102         * iconvdata/ibm932.c: Likewise.
31103         * iconvdata/ibm933.c : Likewise.
31104         * iconvdata/ibm935.c : Likewise.
31105         * iconvdata/ibm937.c : Likewise.
31106         * iconvdata/ibm939.c : Likewise.
31107         * iconvdata/ibm943.c: Likewise.
31108         * iconvdata/iso_11548-1.c: Likewise.
31109         * iconvdata/iso-2022-cn.c : Likewise.
31110         * iconvdata/iso-2022-cn-ext.c : Likewise.
31111         * iconvdata/iso-2022-jp-3.c: Likewise.
31112         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
31113         * iconvdata/iso-2022-kr.c : Likewise.
31114         * iconvdata/iso646.c (gconv_end): Likewise.
31115         * iconvdata/iso_6937-2.c : Likewise.
31116         * iconvdata/iso_6937.c : Likewise.
31117         * iconvdata/iso8859-1.c: Likewise.
31118         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
31119         * iconvdata/shift_jisx0213.c : Likewise.
31120         * iconvdata/sjis.c : Likewise.
31121         * iconvdata/t.61.c : Likewise.
31122         * iconvdata/tcvn5712-1.c : Likewise.
31123         * iconvdata/tscii.c: Likewise.
31124         * iconvdata/uhc.c : Likewise.
31125         * iconvdata/unicode.c (gconv_end): Likewise.
31126         * iconvdata/utf-16.c (gconv_end): Likewise.
31127         * iconvdata/utf-32.c (gconv_end): Likewise.
31128         * iconvdata/utf-7.c (base64): Likewise.
31129         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
31130         * iconv/gconv_close.c (__gconv_close): Likewise.
31131         * iconv/gconv_open.c (__gconv_open): Likewise.
31132         * iconv/gconv_simple.c (internal_ucs4_loop_single)
31133         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
31134         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
31135         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
31136         (ucs4le_internal_loop_single): Likewise.
31137         * iconv/iconv.c (iconv): Likewise.
31138         * iconv/iconv_close.c: Likewise.
31139         * iconv/loop.c (SINGLE): Likewise.
31140         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
31141         * include/atomic.h: Likewise.
31142         * inet/inet6_option.c (option_alloc): Likewise.
31143         * intl/bindtextdom.c (set_binding_values): Likewise.
31144         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
31145         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
31146         * intl/localealias.c (read_alias_file): Likewise.
31147         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
31148         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
31149         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
31150         * libio/fmemopen.c (fmemopen): Likewise.
31151         * libio/iofgets.c (_IO_fgets): Likewise.
31152         * libio/iofgets_u.c (fgets_unlocked): Likewise.
31153         * libio/iofgetws.c (fgetws): Likewise.
31154         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
31155         * libio/iogetdelim.c (_IO_getdelim): Likewise.
31156         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
31157         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
31158         * locale/findlocale.c (_nl_find_locale): Likewise.
31159         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31160         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
31161         Likewise.
31162         * locale/setlocale.c (setlocale): Likewise.
31163         * login/programs/pt_chown.c (main): Likewise.
31164         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
31165         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
31166         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
31167         (mmap, mmap64, mremap, munmap): Likewise.
31168         * math/e_exp2l.c: Likewise.
31169         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
31170         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
31171         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
31172         * math/s_catan.c (__catan): Likewise.
31173         * math/s_catanf.c (__catanf): Likewise.
31174         * math/s_catanh.c (__catanh): Likewise.
31175         * math/s_catanhf.c (__catanhf): Likewise.
31176         * math/s_catanhl.c (__catanhl): Likewise.
31177         * math/s_catanl.c (__catanl): Likewise.
31178         * math/s_ccosh.c (__ccosh): Likewise.
31179         * math/s_ccoshf.c (__ccoshf): Likewise.
31180         * math/s_ccoshl.c (__ccoshl): Likewise.
31181         * math/s_cexp.c (__cexp): Likewise.
31182         * math/s_cexpf.c (__cexpf): Likewise.
31183         * math/s_cexpl.c (__cexpl): Likewise.
31184         * math/s_clog10.c (__clog10): Likewise.
31185         * math/s_clog10f.c (__clog10f): Likewise.
31186         * math/s_clog10l.c (__clog10l): Likewise.
31187         * math/s_clog.c (__clog): Likewise.
31188         * math/s_clogf.c (__clogf): Likewise.
31189         * math/s_clogl.c (__clogl): Likewise.
31190         * math/s_csin.c (__csin): Likewise.
31191         * math/s_csinf.c (__csinf): Likewise.
31192         * math/s_csinh.c (__csinh): Likewise.
31193         * math/s_csinhf.c (__csinhf): Likewise.
31194         * math/s_csinhl.c (__csinhl): Likewise.
31195         * math/s_csinl.c (__csinl): Likewise.
31196         * math/s_csqrt.c (__csqrt): Likewise.
31197         * math/s_csqrtf.c (__csqrtf): Likewise.
31198         * math/s_csqrtl.c (__csqrtl): Likewise.
31199         * math/s_ctan.c (__ctan): Likewise.
31200         * math/s_ctanf.c (__ctanf): Likewise.
31201         * math/s_ctanh.c (__ctanh): Likewise.
31202         * math/s_ctanhf.c (__ctanhf): Likewise.
31203         * math/s_ctanhl.c (__ctanhl): Likewise.
31204         * math/s_ctanl.c (__ctanl): Likewise.
31205         * math/w_pow.c: Likewise.
31206         * math/w_powf.c: Likewise.
31207         * math/w_powl.c: Likewise.
31208         * math/w_scalb.c (sysv_scalb): Likewise.
31209         * math/w_scalbf.c (sysv_scalbf): Likewise.
31210         * math/w_scalbl.c (sysv_scalbl): Likewise.
31211         * misc/error.c (error_tail): Likewise.
31212         * misc/pselect.c (__pselect): Likewise.
31213         * nis/nis_callback.c (__nis_create_callback): Likewise.
31214         * nis/nis_call.c (__nisfind_server): Likewise.
31215         * nis/nis_creategroup.c (nis_creategroup): Likewise.
31216         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
31217         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
31218         * nis/nis_getservlist.c (nis_getservlist): Likewise.
31219         * nis/nis_lookup.c (nis_lookup): Likewise.
31220         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
31221         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
31222         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
31223         * nis/nis_xdr.c (xdr_endpoint): Likewise.
31224         * nis/nss_compat/compat-grp.c (getgrent_next_file)
31225         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
31226         * nis/nss_compat/compat-initgroups.c (add_group)
31227         (internal_getgrent_r): Likewise.
31228         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
31229         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
31230         * nis/nss_compat/compat-spwd.c (getspent_next_file)
31231         (internal_getspnam_r): Likewise.
31232         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
31233         (_nss_nis_getaliasbyname_r): Likewise.
31234         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
31235         (_nss_nis_getntohost_r): Likewise.
31236         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
31237         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
31238         (_nss_nis_getgrgid_r): Likewise.
31239         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
31240         (internal_nis_gethostent_r, internal_gethostbyname2_r)
31241         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
31242         (_nss_nis_gethostbyname4_r): Likewise.
31243         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
31244         (initgroups_netid): Likewise.
31245         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
31246         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
31247         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
31248         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
31249         (_nss_nis_getprotobynumber_r): Likewise.
31250         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
31251         (_nss_nis_getsecretkey): Likewise.
31252         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
31253         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
31254         (_nss_nis_getpwuid_r): Likewise.
31255         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
31256         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
31257         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
31258         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
31259         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
31260         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
31261         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
31262         Likewise.
31263         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
31264         (_nss_nisplus_getntohost_r): Likewise.
31265         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
31266         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
31267         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
31268         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
31269         Likewise.
31270         * nis/nss_nisplus/nisplus-initgroups.c
31271         (_nss_nisplus_initgroups_dyn): Likewise.
31272         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
31273         (_nss_nisplus_getnetbyaddr_r): Likewise.
31274         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
31275         (_nss_nisplus_getprotobynumber_r): Likewise.
31276         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
31277         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
31278         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
31279         Likewise.
31280         * nis/nss_nisplus/nisplus-service.c
31281         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
31282         (_nss_nisplus_getservbyport_r): Likewise.
31283         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
31284         (_nss_nisplus_getspnam_r): Likewise.
31285         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
31286         Likewise.
31287         * nscd/aicache.c (addhstaiX): Likewise.
31288         * nscd/cache.c (cache_search, prune_cache): Likewise.
31289         * nscd/connections.c (register_traced_file, send_ro_fd)
31290         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
31291         (main_loop_epoll): Likewise.
31292         * nscd/grpcache.c (addgrbyX): Likewise.
31293         * nscd/hstcache.c (addhstbyX): Likewise.
31294         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31295         * nscd/mem.c (gc, mempool_alloc): Likewise.
31296         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
31297         (addinnetgrX): Likewise.
31298         * nscd/nscd-client.h (__nscd_acquire_maplock)
31299         (__nscd_drop_map_ref): Likewise.
31300         * nscd/nscd_getai.c (__nscd_getai): Likewise.
31301         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31302         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
31303         Likewise.
31304         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31305         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31306         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
31307         (__nscd_get_map_ref): Likewise.
31308         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
31309         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
31310         Likewise.
31311         * nscd/pwdcache.c (addpwbyX): Likewise.
31312         * nscd/selinux.c (preserve_capabilities): Likewise.
31313         * nscd/servicescache.c (addservbyX): Likewise.
31314         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
31315         * posix/fnmatch.c (fnmatch): Likewise.
31316         * posix/getopt.c (_getopt_internal_r): Likewise.
31317         * posix/glob.c (glob, glob_in_dir): Likewise.
31318         * posix/wordexp.c (exec_comm_child): Likewise.
31319         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
31320         (getanswer_r, gaih_getanswer_slice): Likewise.
31321         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
31322         * resolv/res_init.c: Likewise.
31323         * resolv/res_mkquery.c (res_nmkquery): Likewise.
31324         * resolv/res_query.c (__libc_res_nquery): Likewise.
31325         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
31326         Likewise.
31327         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
31328         * stdio-common/perror.c (perror): Likewise.
31329         * stdio-common/printf_fp.c (___printf_fp): Likewise.
31330         * stdio-common/tmpnam.c (tmpnam): Likewise.
31331         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31332         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
31333         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
31334         Likewise.
31335         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
31336         * stdlib/putenv.c (putenv): Likewise.
31337         * stdlib/setenv.c (__add_to_environ): Likewise.
31338         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31339         * stdlib/strtol_l.c (INTERNAL): Likewise.
31340         * string/memmem.c (memmem): Likewise.
31341         * string/strerror.c (strerror): Likewise.
31342         * string/strnlen.c (__strnlen): Likewise.
31343         * string/test-memmem.c (simple_memmem): Likewise.
31344         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
31345         * sunrpc/pm_getport.c (__get_socket): Likewise.
31346         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
31347         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
31348         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
31349         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
31350         Likewise.
31351         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
31352         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31353         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
31354         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
31355         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
31356         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
31357         Likewise.
31358         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
31359         Likewise.
31360         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31361         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31362         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31363         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31364         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
31365         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
31366         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
31367         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
31368         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
31369         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
31370         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
31371         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
31372         Likewise.
31373         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
31374         Likewise.
31375         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
31376         Likewise.
31377         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
31378         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31379         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
31380         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
31381         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
31382         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
31383         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31384         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
31385         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
31386         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
31387         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
31388         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31389         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
31390         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
31391         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31392         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31393         Likewise.
31394         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
31395         Likewise.
31396         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
31397         Likewise.
31398         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
31399         Likewise.
31400         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31401         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31402         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
31403         Likewise.
31404         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
31405         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
31406         * sysdeps/posix/opendir.c (__opendirat): Likewise.
31407         * sysdeps/posix/sleep.c: Likewise.
31408         * sysdeps/posix/tempname.c: Likewise.
31409         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
31410         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31411         Likewise.
31412         * sysdeps/powerpc/powerpc32/dl-machine.h
31413         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
31414         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
31415         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31416         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
31417         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
31418         Likewise.
31419         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
31420         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
31421         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
31422         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
31423         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
31424         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
31425         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
31426         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
31427         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31428         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
31429         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
31430         (elf_machine_lazy_rel): Likewise.
31431         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31432         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
31433         (elf_machine_lazy_rel): Likewise.
31434         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
31435         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
31436         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
31437         * sysdeps/unix/grantpt.c (grantpt): Likewise.
31438         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
31439         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
31440         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
31441         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31442         Likewise.
31443         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
31444         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
31445         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
31446         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
31447         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31448         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31449         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
31450         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
31451         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
31452         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31453         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31454         Likewise.
31455         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
31456         (__posix_fallocate64_l64): Likewise.
31457         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
31458         (posix_fallocate): Likewise.
31459         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
31460         Likewise.
31461         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31462         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
31463         (getifaddrs_internal): Likewise.
31464         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
31465         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
31466         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
31467         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
31468         * sysdeps/unix/sysv/linux/posix_fallocate64.c
31469         (__posix_fallocate64_l64): Likewise.
31470         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
31471         Likewise.
31472         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
31473         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
31474         (__get_clockfreq): Likewise.
31475         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
31476         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
31477         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
31478         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31479         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31480         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
31481         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
31482         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
31483         Likewise.
31484         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
31485         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
31486         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
31487         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
31488         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31489         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
31490         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
31491         Likewise.
31492         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31493         (posix_fallocate): Likewise.
31494         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31495         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
31496         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
31497         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
31498         (elf_machine_rela, elf_machine_rela_relative)
31499         (elf_machine_lazy_rel): Likewise.
31500         * time/asctime.c (asctime_internal): Likewise.
31501         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
31502         * time/tzset.c (__tzset_parse_tz): Likewise.
31503         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
31504         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
31505         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
31506         * wcsmbs/wcsmbsload.h: Likewise.
31508         [BZ #15894]
31509         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
31511         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
31512         (arena_get2): Remove THREAD_STATS conditionals.
31513         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
31514         (__malloc_stats, int): Likewise.
31516 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
31518         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
31519         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
31521         * manual/setjmp.texi: Fix typos/grammar errors.
31523         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
31524         Only return early when n is <= 0.  Delete unused return statement.
31526         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
31527         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
31528         * debug/tst-longjmp_chk3.c: New file.
31530         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
31531         (test_main): Replace code with set_fortify_handler call.
31532         * debug/test-strcpy_chk.c: Likewise.
31533         * debug/tst-chk1.c: Likewise.
31534         * debug/tst-longjmp_chk.c: Likewise.
31535         * test-skeleton.c: Include fcntl.h & paths.h
31536         (set_fortify_handler): Define.
31538         * debug/tst-longjmp_chk.c: Add header comment and include
31539         ../test-skeleton.c.
31540         (do_test): Mark static.
31541         (TEST_FUNCTION): Define.
31543         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
31544         (IP_PMTUDISC_INTERFACE): Likewise.
31545         (IP_MULTICAST_IF): Likewise.
31546         (IP_MULTICAST_TTL): Likewise.
31547         (IP_MULTICAST_LOOP): Likewise.
31548         (IP_ADD_MEMBERSHIP): Likewise.
31549         (IP_DROP_MEMBERSHIP): Likewise.
31550         (IP_UNBLOCK_SOURCE): Likewise.
31551         (IP_BLOCK_SOURCE): Likewise.
31552         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
31553         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
31554         (IP_MSFILTER): Likewise.
31555         (MCAST_JOIN_GROUP): Likewise.
31556         (MCAST_BLOCK_SOURCE): Likewise.
31557         (MCAST_UNBLOCK_SOURCE): Likewise.
31558         (MCAST_LEAVE_GROUP): Likewise.
31559         (MCAST_JOIN_SOURCE_GROUP): Likewise.
31560         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
31561         (MCAST_MSFILTER): Likewise.
31562         (IP_MULTICAST_ALL): Likewise.
31563         (IP_UNICAST_IF): Likewise.
31565         * timezone/Makefile: Delete $(have-ksh) check.
31566         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
31567         * timezone/tzselect.ksh: Add +x mode bits.
31569         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
31570         (ANON_INODE_FS_MAGIC): Likewise.
31571         (BDEVFS_MAGIC): Likewise.
31572         (BINFMTFS_MAGIC): Likewise.
31573         (BTRFS_TEST_MAGIC): Likewise.
31574         (CRAMFS_MAGIC_WEND): Likewise.
31575         (DEBUGFS_MAGIC): Likewise.
31576         (ECRYPTFS_SUPER_MAGIC): Likewise.
31577         (EXT3_SUPER_MAGIC): Likewise.
31578         (EXT4_SUPER_MAGIC): Likewise.
31579         (FUTEXFS_SUPER_MAGIC): Likewise.
31580         (HOSTFS_SUPER_MAGIC): Likewise.
31581         (HUGETLBFS_MAGIC): Likewise.
31582         (MINIX3_SUPER_MAGIC): Likewise.
31583         (MTD_INODE_FS_MAGIC): Likewise.
31584         (NILFS_SUPER_MAGIC): Likewise.
31585         (OPENPROM_SUPER_MAGIC): Likewise.
31586         (PIPEFS_MAGIC): Likewise.
31587         (PSTOREFS_MAGIC): Likewise.
31588         (QNX6_SUPER_MAGIC): Likewise.
31589         (RAMFS_MAGIC): Likewise.
31590         (REISERFS_SUPER_MAGIC_STRING): Likewise.
31591         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
31592         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
31593         (SECURITYFS_MAGIC): Likewise.
31594         (SELINUX_MAGIC): Likewise.
31595         (SMACK_MAGIC): Likewise.
31596         (SOCKFS_MAGIC): Likewise.
31597         (SQUASHFS_MAGIC): Likewise.
31598         (STACK_END_MAGIC): Likewise.
31599         (TMPFS_MAGIC): Likewise.
31600         (USBDEVICE_SUPER_MAGIC): Likewise.
31601         (V9FS_MAGIC): Likewise.
31602         (XENFS_SUPER_MAGIC): Likewise.
31603         (CRAMFS_MAGIC): Fix typo in comment.
31604         (EXT2_SUPER_MAGIC): Update comment.
31605         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
31607 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
31609         * sysdeps/arm: Move directory from ports/sysdeps/arm.
31610         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
31611         * sysdeps/unix/sysv/linux/arm: Move directory from
31612         ports/sysdeps/unix/sysv/linux/arm.
31613         * README: Update listing for arm-*-linux-gnueabi.
31615         * README: Remove mention of am33.
31617 2014-02-07  Roland McGrath  <roland@hack.frob.com>
31619         * bits/sigset.h (__sigemptyset): Use a statement expression rather
31620         than the comma operator, to avoid "rhs of comma has no effect"
31621         compiler warnings.
31622         (__sigfillset, __sigandset, __sigorset): Likewise.
31623         * include/signal.h (__sigemptyset): Likewise.
31624         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
31626 2014-02-07  Allan McRae  <allan@archlinux.org>
31628         * version.h (RELEASE): Set to "development".
31629         (VERSION): Set to "2.19.90"
31630         * NEWS: Add 2.20 section.
31632 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
31634         [BZ #16529]
31635         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
31637 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31639         * manual/contrib.texi: Update entry for Carlos O'Donell,
31640         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
31642 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
31644         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
31646         * sysdeps/unix/sysv/linux/kernel-features.h
31647         [__LINUX_KERNEL_VERSION >= 0x020621]
31648         (__ASSUME_PROC_PID_TASK_COMM): Define.
31650 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31652         [BZ #16398]
31653         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
31654         conversion when destination buffer does not have enough space.
31655         * libio/tst-ftell-partial-wide.c: New test case.
31656         * libio/Makefile (tests): Add tst-ftell-partial-wide.
31658         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
31659         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
31660         Leonard and Allan McRae.
31662 2014-02-04  David S. Miller  <davem@davemloft.net>
31664         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
31665         32-bit.
31667 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
31670         New file
31671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
31672         New file
31673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
31674         New file.
31675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
31676         New file.
31677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
31678         New file.
31679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
31680         New file.
31681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
31682         New file.
31683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
31684         New file.
31685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
31686         New file.
31687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
31688         New file.
31689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
31690         New file.
31691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
31692         New file.
31693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
31694         New file.
31696 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31698         * nptl/shlib-versions: Change powerpc*le start to 2.17.
31699         * shlib-versions: Likewise.
31701 2014-02-04  Roland McGrath  <roland@hack.frob.com>
31702             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31704         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
31705         (abilist-pattern): New variable, set to %-le.abilist.
31707         * Makerules (abilist-pattern): New variable.
31708         (vpath): Use $(abilist-pattern) in place of %.abilist.
31709         (check-abi-% pattern rule): Likewise.
31710         (check-abi, update-abi): Likewise.
31712 2014-02-04  Eric Wong  <normalperson@yhbt.net>
31714         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31716 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
31718         * manual/startup.texi: Add next, previous, and top entries for
31719         the `Program Arguments' and `Environment Variables' nodes.
31721 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
31723         * manual/macros.texi: Add comments before MTASC-safety macros.
31725         * manual/users.texi: Document MTASC-safety properties.
31727         * manual/threads.texi (pthread_key_create, pthread_key_delete)
31728         (pthread_getspecific, pthread_setspecific): Format with
31729         @deftypefun, and add @safety note.
31730         * manual/signal.texi: Move comments that analyze the above
31731         functions to their home place.
31733 2014-02-03  Allan McRae  <allan@archlinux.org>
31735         * po/sl.po: Update Slovenian translation from translation project.
31737 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
31739         * manual/time.texi (timegm): Add missing blank after @c.
31740         Reported by Joseph Myers <joseph@codesourcery.com>.
31742 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
31744         * manual/check-safety.sh: New.
31745         * manual/Makefile ($(objpfx)stamp-summary): Run it.
31747         * manual/terminal.texi: Document MTASC-safety properties.
31749         * manual/filesys.texi: Document MTASC-safety properties.
31751         * manual/errno.texi: Document MTASC-safety properties.
31753         * manual/intro.texi: Document safety identifiers and
31754         conditionals.
31756         * manual/string.texi (wcstok): Fix prototype.
31757         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
31759         * manual/time.texi: Document MTASC-safety properties.
31761         * manual/string.texi: Document MTASC-safety properties.
31763         * manual/threads.texi: Document MTASC-safety properties.
31765         * manual/stdio.texi: Document MTASC-safety properties.
31767         * manual/syslog.texi: Document MTASC-safety properties.
31769         * manual/sysinfo.texi: Document MTASC-safety properties.
31771         * manual/startup.texi: Document MTASC-safety properties.
31773         * manual/socket.texi: Document MTASC-safety properties.
31775         * manual/signal.texi: Document MTASC-safety properties.
31777 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
31779         * manual/setjmp.texi: Document MTASC-safety properties.
31781         * manual/search.texi: Document MTASC-safety properties.
31783         * manual/resource.texi: Document MTASC-safety properties.
31785         * manual/process.texi: Document MTASC-safety properties.
31787         * manual/platform.texi: Document MTASC-safety properties.
31789         * manual/pipe.texi: Document MTASC-safety properties.
31791         * manual/pattern.texi: Document MTASC-safety properties.
31793         * manual/message.texi: Document MTASC-safety properties.
31795         [BZ #12751]
31796         * manual/memory.texi: Document MTASC-safety properties.
31798         * manual/math.texi: Document MTASC-safety properties.
31800         * manual/locale.texi: Document MTASC-safety properties.
31802         * manual/llio.texi: Document MTASC-safety properties.
31804         * manual/libdl.texi: New.
31806         * manual/lang.texi: Document MTASC-safety properties.
31808         * manual/job.texi: Document MTASC-safety properties.
31810         * manual/getopt.texi: Document MTASC-safety properties.
31812         * manual/ctype.texi: Document MTASC-safety properties.
31814 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
31816         [BZ #16046]
31817         * csu/libc-tls.c (static_map): Remove variable.
31818         (__libc_setup_tls): Use main executable's link map for TLS data.
31819         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
31820         casing for LM_ID_BASE and GL(dl_nns).
31821         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
31822         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
31823         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
31824         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
31825         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
31826         member.
31827         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
31828         l_phnum members.
31830 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
31832         * manual/debug.texi: Document MTASC-safety properties.
31834 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
31836         [BZ #16510]
31837         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
31838         of __x86_64__ when disabling x87 inline functions.
31840 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
31842         * manual/charset.texi: Document MTASC-safety properties.
31844         * manual/crypt.texi: Document MTASC-safety properties.
31846         * manual/conf.texi: Document MTASC-safety properties.
31848         * manual/arith.texi: Document MTASC-safety properties.
31850         * manual/argp.texi: Document MTASC-safety properties.
31852         * manual/macros.texi: Introduce macros to document multi
31853         thread, asynchronous signal and asynchronous cancellation
31854         safety properties.
31855         * manual/intro.texi: Introduce the properties themselves.
31857 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31859         * sysdeps/sh/sh4/Makefile: New file.
31861 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
31863         * math/gen-libm-test.pl ($srcdir): New variable.
31864         ($auto_input): Use it.
31866 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31868         [BZ #16506]
31869         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
31870         access beyond array bounds when parsing netgroups file.
31872         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
31873         the old buffer before realloc.
31875 2014-01-27  Allan McRae  <allan@archlinux.org>
31877         * po/fr.po: Update French translation from translation project.
31879 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31881         * sysdeps/sh/libm-test-ulps: Regenerate.
31883 2014-01-24  David S. Miller  <davem@davemloft.net>
31885         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
31887 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31889         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
31890         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
31892 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31894         [BZ #16474]
31895         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
31896         string pointers after reallocation.
31898 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31900         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
31901         __SH4A__ instead of __SH_FPU_ANY__.
31903 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31905         * sysdeps/sh/fpu_control.h: New file.
31906         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
31907         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
31908         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
31909         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
31910         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
31911         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
31912         * sysdeps/sh/sys/ucontext.h: Remove.
31913         * sysdeps/sh/sys: Remove directory.
31915 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31917         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
31918         s390/sys/ucontext.h.
31919         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
31920         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
31922 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
31924         [BZ #15605]
31925         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
31927 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31929         [BZ#16431]
31930         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31931         Adjust the vDSO correctly for internal calls.
31932         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
31934 2014-01-20  Allan McRae  <allan@archlinux.org>
31936         * po/ca.po: Update Catalan translation from translation project.
31938 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
31940         * sysdeps/s390/sotruss-lib.c: New file.
31942 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31944         [BZ#16430]
31945         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
31946         (__GI___gettimeofday): Alias for a different internal symbol to avoid
31947         local calls issues by not having a PLT stub required for IFUNC calls.
31948         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
31950 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
31952         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
31953         * math/test-fpucw-static.c: Likewise.
31955 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31957         [BZ #16453]
31958         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
31960 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31962         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
31963         implementation for powerpc.
31965 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
31967         [BZ #14782]
31968         * sysdeps/posix/system.c (__libc_system): Do not enable
31969         asynchronous cancellation.
31971 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31973         [BZ #16427]
31974         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
31975         handling only for numbers special also in the IEEE case.
31977 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31979         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31981 2014-01-11  Allan McRae  <allan@archlinux.org>
31983         * po/bg.po: Update Bulgarian translation from translation project.
31985         * po/de.po: Update German translation from translation project.
31987 2014-01-10  Roland McGrath  <roland@hack.frob.com>
31989         * sysdeps/generic/gcc-compat.h: New file.
31991 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31993         * benchtests/asin-inputs: Correct slow inputs.
31994         * benchtests/acos-inputs: Likewise.
31996 2014-01-10  Allan McRae  <allan@archlinux.org>
31998         * po:sv.po: Update Swedish translation from translation project.
32000         * po/vi.po: Update Vietnamese translation from translation project.
32002         * po/eo.po: Update Esperanto translation from translation project.
32004         * po/cs.po: Update Czech translation from translation project.
32006         * po/nl.po: Update Dutch translation from translation project.
32008         * po/pl.po: Update Polish translation from translation project.
32010         * po/ru.po: Update Russian translation from translation project.
32012         * po/uk.po: Update Ukrainian translation from translation project.
32014 2014-01-08  Brooks Moses  <bmoses@google.com>
32016         * elf/dl-load.c: Fix comment typo.
32018 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
32020         * po/header.pot: Rename to...
32021         * po/pot.header: ... this.
32022         * po/Makefile: Use pot.header.
32024 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
32025             Maxim Kuvyrkov  <maxim@kugelworks.com>
32027         [BZ #16394]
32028         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
32029         SRC and DEST against LEN.
32031 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32033         [BZ #16414]
32034         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
32035         implementation.
32036         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
32038 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32040         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32042 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
32044         [BZ #16408]
32045         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
32046         for large positive arguments.
32048 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
32050         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32052         * math/auto-libm-test-in: Mark various tests with
32053         xfail-rounding:ldbl-128ibm.
32054         * math/auto-libm-test-out: Regenerated.
32056         [BZ #16407]
32057         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
32058         Increase overflow threshold.
32060 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
32062         [BZ #14286]
32063         * stdio-common/vfprintf.c: Check for integer overflow.
32065 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32067         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
32068         the first argument and return value of __tls_get_addr_internal.
32070 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32072         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
32073         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
32075 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32077         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
32078         * sysdeps/s390/rtld-global-offsets.sym: New file.
32079         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
32080         GLIBC_2.19 symbol.
32081         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
32082         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
32083         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
32084         ... this.
32085         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
32086         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
32087         ... this.
32088         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32089         Regenerate.
32090         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32091         Regenerate.
32092         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
32093         halfs of GPRs for high_gprs contexts.
32094         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
32095         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
32096         field.
32097         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
32098         uc_flags field.
32099         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
32100         64 bit versions:
32101         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
32102         for high GPRs (uc_high_gprs) and for future extensions
32103         (__reserved).
32104         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
32105         for future extensions (__reserved).
32106         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
32107         64 bit versions:
32108         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
32109         SC_HIGHGPRS offset definition.
32110         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
32111         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
32113         * Versions.def: Add GLIBC_2.19 for libpthread.
32114         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
32115         siglongjmp for libpthread with GLIBC_2.19 symver.
32116         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
32117         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
32118         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
32119         * sysdeps/s390/__longjmp.c: New file.
32120         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
32121         * sysdeps/s390/longjmp.c: New file.
32122         * sysdeps/s390/setjmp.S: New file.
32123         * sysdeps/s390/sigjmp.S: New file.
32124         * sysdeps/s390/v1-longjmp.c: New file.
32125         * sysdeps/s390/v1-setjmp.h: New file.
32126         * sysdeps/s390/v1-sigjmp.c: New file.
32127         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
32128         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
32129         GLIBC_2.19 version.
32130         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
32131         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
32132         versioned symbols for ____longjmp_chk.
32133         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
32134         Likewise.
32135         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32136         Regenerate.
32137         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32138         Regenerate.
32139         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32140         Regenerate.
32141         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32142         Regenerate.
32143         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
32144         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
32145         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
32146         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
32147         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
32148         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
32149         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
32150         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
32151         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
32152         * sysdeps/s390/rtld-__longjmp.c: New file.
32153         * sysdeps/s390/rtld-setjmp.S: New file.
32155 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
32157         [BZ #16400]
32158         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
32159         Return -__logl (x) for small positive arguments without evaluating
32160         a polynomial.
32162 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
32164         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
32165         Rename to ...
32166         (__ptrace_peeksiginfo_args): ... this.
32167         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32168         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32169         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32171 2014-01-06  Allan McRae  <allan@archlinux.org>
32173         * inet/netinet/in.h: Fix typo in comment.
32175 2014-01-05  Andreas Jaeger  <aj@suse.de>
32177         * sysdeps/i386/fpu/libm-test-ulps: Update.
32179 2014-01-05  Allan McRae  <allan@archlinux.org>
32181         * po/libc.pot: Regenerated.
32183         * malloc/memusagestat.c: Fix gettext call formatting.
32185 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
32187         * nscd/nscd.c: Improve usage() output.
32189 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
32191         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
32192         * sysdeps/unix/sysv/linux/configure: Regenerated.
32193         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
32194         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
32196 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
32198         [BZ #16390]
32199         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
32200         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
32202 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32204         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
32205         extra tokens at end of #undef directive.
32206         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
32207         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
32208         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
32210 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
32212         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32214         * math/auto-libm-test-in: Mark various tests with
32215         xfail-rounding:ldbl-128ibm.
32216         * math/auto-libm-test-out: Regenerated.
32218 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
32220         [BZ #16386]
32221         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
32222         numbers with subnormal high part when calculating exponent.
32224         [BZ #16385]
32225         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
32226         fabs.
32228         [BZ #16384]
32229         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
32230         M_LN2l.
32231         (__ieee754_acoshl): Use __log1pl not __log1p.
32233 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
32235         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
32236         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
32237         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
32238         (grow_heap, heap_trim, _int_new_arena, get_free_list)
32239         (reused_arena, arena_get2): Convert to GNU style.
32240         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
32241         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
32242         (memalign_check, __malloc_set_state): Likewise.
32243         * malloc/mallocbug.c (main): Likewise.
32244         * malloc/malloc.c (__malloc_assert, malloc_init_state)
32245         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
32246         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
32247         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
32248         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
32249         (__posix_memalign, malloc_info): Likewise.
32250         * malloc/malloc.h: Likewise.
32251         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
32252         (mallochook, memalignhook, reallochook, mabort): Likewise.
32253         * malloc/mcheck.h: Likewise.
32254         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
32255         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
32256         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
32257         * malloc/morecore.c (__default_morecore): Likewise.
32258         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
32259         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
32260         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
32261         (print_and_abort): Likewise.
32262         * malloc/obstack.h: Likewise.
32263         * malloc/set-freeres.c (__libc_freeres): Likewise.
32264         * malloc/tst-mallocstate.c (main): Likewise.
32265         * malloc/tst-mtrace.c (main): Likewise.
32266         * malloc/tst-realloc.c (do_test): Likewise.
32268 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32270         [BZ #16366]
32271         * nscd/netgroupcache.c (do_notfound): New function.
32272         (addgetnetgrentX): Use it.
32274         [BZ # 16365]
32275         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
32276         NSS_STATUS_NOTFOUND.
32278 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
32280         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32283 2014-01-01  Allan McRae  <allan@archlinux.org>
32285         * scripts/update-copyrights: Update configure input file suffix.
32287         * NEWS: Update copyright year.
32288         * catgets/gencat.c: Likewise.
32289         * csu/version.c: Likewise.
32290         * debug/catchsegv.sh: Likewise.
32291         * debug/pcprofiledump.c: Likewise.
32292         * debug/xtrace.sh: Likewise.
32293         * elf/ldconfig.c: Likewise.
32294         * elf/ldd.bash.in: Likewise.
32295         * elf/pldd.c: Likewise.
32296         * elf/sotruss.ksh: Likewise.
32297         * elf/sprof.c: Likewise.
32298         * iconv/iconv_prog.c: Likewise.
32299         * iconv/iconvconfig.c: Likewise.
32300         * locale/programs/locale.c: Likewise.
32301         * locale/programs/localedef.c: Likewise.
32302         * login/programs/pt_chown.c: Likewise.
32303         * malloc/memusage.sh: Likewise.
32304         * malloc/memusagestat.c: Likewise.
32305         * malloc/mtrace.pl: Likewise.
32306         * manual/libc.texinfo: Likewise.
32307         * nscd/nscd.c: Likewise.
32308         * nss/getent.c: Likewise.
32309         * nss/makedb.c: Likewise.
32310         * posix/getconf.c: Likewise.
32311         * scripts/test-installation.pl: Likewise.
32313         * All files with FSF copyright notices: Update copyright dates
32314         using scripts/update-copyrights.
32315         * intl/plural.c: Regenerated.
32316         * locale/programs/charmap-kw.h: Likewise.
32317         * locale/programs/locfile-kw.h: Likewise.
32319 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
32321         * sysdeps/unix/sysv/linux/configure: Regenerated.
32322         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
32323         the linux/fanotify.h header.
32324         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
32325         HAVE_LINUX_FANOTIFY_H is defined.
32327 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
32329         * benchtests/cos-inputs: New inputs.
32330         * benchtests/sin-inputs: Likewise.
32332         * benchtests/atan-inputs: New inputs. Fix name of multiple
32333         precision fallback inputs.
32335         * benchtests/atanh-inputs: New inputs.
32336         * benchtests/tanh-inputs: Likewise.
32338         * benchtests/acosh-inputs: New inputs.
32339         * benchtests/asinh-inputs: Likewise.
32341         * benchtests/cosh-inputs: New inputs.
32342         * benchtests/sinh-inputs: Likewise.
32344         * benchtests/acos-inputs: Add more inputs.
32345         * benchtests/asin-inputs: Likewise.
32347 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
32349         [BZ #16375]
32350         * manual/arith.texi: Fix spelling.
32351         * manual/charset.texi: Likewise.
32352         * manual/errno.texi: Likewise.
32353         * manual/filesys.texi: Likewise.
32354         * manual/lang.texi: Likewise.
32355         * manual/llio.texi: Likewise.
32356         * manual/locale.texi: Likewise.
32357         * manual/message.texi: Likewise.
32358         * manual/resource.texi: Likewise.
32359         * manual/search.texi: Likewise.
32360         * manual/setjmp.texi: Likewise.
32361         * manual/stdio.texi: Likewise.
32362         * manual/string.texi: Likewise.
32363         * manual/sysinfo.texi: Likewise.
32364         * manual/time.texi: Likewise.
32366 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
32368         * po/sl.po: New file.
32370 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
32372         * .gitignore: Add core/.gdbinit/.gdb_history.
32374 2013-12-27  Allan McRae  <allan@archlinux.org>
32376         [BZ #16369]
32377         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
32378         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
32380 2013-12-24  Brooks Moses  <bmoses@google.com>
32382         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
32383         all compilers that claim C++98 compliance, not just GCC.
32384         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
32385         Likewise.
32387 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
32389         * NEWS: Restore accidentally deleted bug-fix entries.
32391 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
32392             Ondřej Bílka  <neleai@seznam.cz>
32394         [BZ #15073]
32395         * malloc/malloc.c (_int_free): Perform sanity check only if we
32396         have_lock.
32398 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
32400         [BZ #12986]
32401         * manual/stdio.texi (String Input Conversions): Clarify that character
32402         classes are not supported.
32404 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32406         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32408 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
32410         [BZ #16337]
32411         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
32412         Calculate results for small negative arguments directly rather
32413         than using reflection formula with special underflow handling.
32415         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
32416         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
32417         sysdeps/unix/bsd/bsd4.4/syscalls.list.
32418         (fchflags): Likewise.
32419         (revoke): Likewise.
32420         (setlogin): Likewise.
32421         (sigaltstack): Likewise.
32422         (wait4): Likewise.
32423         (sigblock): Remove.
32424         (sigsetmask): Likewise.
32425         (wait3): Likewise.
32426         (waitpid): Likewise.
32427         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
32428         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
32429         file.
32430         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
32431         * sysdeps/unix/bsd/Makefile: ... here.
32432         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
32433         * sysdeps/unix/bsd/Versions: ... here.
32434         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
32435         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
32436         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
32437         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
32438         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
32439         * sysdeps/unix/bsd/sigblock.c: ... here.
32440         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
32441         * sysdeps/unix/bsd/sigsetmask.c: ... here.
32442         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
32443         * sysdeps/unix/bsd/sigvec.c: ... here.
32444         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
32445         * sysdeps/unix/bsd/tcdrain.c: ... here.
32446         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
32447         * sysdeps/unix/bsd/tcgetattr.c: ... here.
32448         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
32449         * sysdeps/unix/bsd/tcsetattr.c: ... here.
32450         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
32451         * sysdeps/unix/bsd/wait.c: ... here.
32452         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
32453         * sysdeps/unix/bsd/wait3.c: ... here.
32454         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
32455         * sysdeps/unix/bsd/waitpid.c: ... here.
32457 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
32459         [BZ #16356]
32460         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
32461         round-to-nearest for [!USE_AS_EXPM1L].
32462         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
32463         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
32464         more tests of exp and exp10.  Expect some exp10 tests to miss
32465         exceptions or fail in directed rounding modes.
32466         * math/auto-libm-test-out: Regenerated.
32467         * math/libm-test.inc (exp10_tonearest_test_data): New array.
32468         (exp10_test_tonearest): New function.
32469         (exp10_towardzero_test_data): New array.
32470         (exp10_test_towardzero): New function.
32471         (exp10_downward_test_data): New array.
32472         (exp10_test_downward): New function.
32473         (exp10_upward_test_data): New array.
32474         (exp10_test_upward): New function.
32475         (main): Call the new functions.
32476         * sysdeps/i386/fpu/libm-test-ulps: Update.
32477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32479 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
32481         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
32482         asinh, atan, atan2, atanh, cbrt, cos and cosh.
32483         * math/auto-libm-test-out: Regenerated.
32484         * math/libm-test.inc (acosh_test_data): Add more tests.
32485         (atanh_test_data): Likewise.
32486         (ceil_test_data): Likewise.
32487         (copysign_test_data): Likewise.
32488         * sysdeps/i386/fpu/libm-test-ulps: Update.
32489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32491         * timezone/checktab.awk: Update from tzcode 2013i.
32492         * timezone/private.h: Likewise.
32493         * timezone/scheck.c: Likewise.
32494         * timezone/tzfile.h: Likewise.
32495         * timezone/tzselect.ksh: Likewise.
32496         * timezone/zdump.c: Likewise.
32497         * timezone/zic.c: Likewise.
32499         * math/auto-libm-test-in: Add tests of cpow.
32500         * math/auto-libm-test-out: Regenerated.
32501         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
32502         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32503         mpc_cc_c.
32504         (func_calc_desc): Add mpc_cc_c union field.
32505         (test_functions): Add cpow.
32506         (special_fill_2pi): New function.
32507         (special_real_inputs): Add 2pi.
32508         (calc_generic_results): Handle mpc_cc_c.
32509         * sysdeps/i386/fpu/libm-test-ulps: Update.
32510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32512         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
32513         csqrt, ctan and ctanh.
32514         * math/auto-libm-test-out: Regenerated.
32515         * math/libm-test.inc (TEST_COND_x86_64): New macro.
32516         (TEST_COND_x86): Likewise.
32517         (ccos_test_data): Use AUTO_TESTS_c_c.
32518         (ccosh_test_data): Likewise.
32519         (cexp_test_data): Likewise.
32520         (clog_test_data): Likewise.
32521         (csqrt_test_data): Likewise.
32522         (ctan_test_data): Likewise.
32523         (ctan_tonearest_test_data): Likewise.
32524         (ctan_towardzero_test_data): Likewise.
32525         (ctan_downward_test_data): Likewise.
32526         (ctan_upward_test_data): Likewise.
32527         (ctanh_test_data): Likewise.
32528         (ctanh_tonearest_test_data): Likewise.
32529         (ctanh_towardzero_test_data): Likewise.
32530         (ctanh_downward_test_data): Likewise.
32531         (ctanh_upward_test_data): Likewise.
32532         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32533         mpc_c_c.
32534         (func_calc_desc): Add mpc_c_c union field.
32535         (FUNC_mpc_c_c): New macro.
32536         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
32537         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
32538         ctanh.
32539         (special_fill_min_subnorm_p120): New function.
32540         (special_real_inputs): Add min_subnorm_p120.
32541         (calc_generic_results): Handle mpc_c_c.
32542         * sysdeps/i386/fpu/libm-test-ulps: Update.
32543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32545 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32547         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
32548         (do_sin_slow): New functions.
32549         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
32550         (cslow2, csloww1, csloww2): Use the new functions.
32552         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
32553         Use M to change sign of result instead of X.  Assume X is
32554         positive.
32555         (csloww1): Likewise.
32556         (__sin): Adjust.
32557         (__cos): Adjust.
32559         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
32560         arguments A and DA.
32561         (__sin): Adjust.
32562         (__cos): Likewise.
32564         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
32565         (__cos): Likewise.
32566         (sloww1): Don't adjust sign of DX.
32567         (csloww1): Likewise.
32568         (sloww2): Use X directly and don't adjust sign of DX.
32569         (csloww2): Likewise.
32571 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
32573         * math/auto-libm-test-in: Add tests of cabs and carg.
32574         * math/auto-libm-test-out: Regenerated.
32575         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
32576         (carg_test_data): Likewise.
32577         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32578         mpc_c_f.
32579         (func_calc_desc): Add mpc_c_f union field.
32580         (test_functions): Add cabs and carg.
32581         (calc_generic_results): Handle mpc_c_f.
32583         * sysdeps/powerpc/powerpc32/libgcc-compat.S
32584         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
32585         as a macro and a compat symbol.
32586         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
32587         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
32588         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
32589         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
32590         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
32591         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
32592         not use .hidden.
32593         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
32594         Likewise.
32595         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
32596         Likewise.
32597         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
32598         Likewise.
32599         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
32600         Likewise.
32601         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
32602         Likewise.
32603         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
32604         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
32605         from GLIBC_2.3.2.
32607 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32609         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32611 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
32613         * manual/texinfo.tex: Update to version 2013-11-26.10 with
32614         trailing whitespace removed.
32615         * scripts/config.guess: Update to version 2013-11-29.
32616         * scripts/config.sub: Update to version 2013-10-01.
32618         * math/auto-libm-test-in: Add tests of sincos.
32619         * math/auto-libm-test-out: Regenerated.
32620         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
32621         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32622         mpfr_f_11.
32623         (func_calc_desc): Add mpfr_f_11 union field.
32624         (test_functions): Add sincos.
32625         (calc_generic_results): Handle mpfr_f_11.
32626         * sysdeps/i386/fpu/libm-test-ulps: Update.
32627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32629 2013-12-19  Andreas Schwab  <schwab@suse.de>
32631         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
32632         CALL_MCOUNT.
32633         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32634         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
32635         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
32637 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
32639         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
32640         * sysdeps/i386/fpu/libm-test-ulps: Update.
32641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32643         [BZ #16293]
32644         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
32645         round-to-nearest mode when using frndint.
32646         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
32647         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32648         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32649         Likewise.
32650         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
32651         sinh test to fail.
32652         * math/auto-libm-test-out: Regenerated.
32653         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
32654         (TEST_COND_x86): Likewise.
32655         (expm1_tonearest_test_data): New array.
32656         (expm1_test_tonearest): New function.
32657         (expm1_towardzero_test_data): New array.
32658         (expm1_test_towardzero): New function.
32659         (expm1_downward_test_data): New array.
32660         (expm1_test_downward): New function.
32661         (expm1_upward_test_data): New array.
32662         (expm1_test_upward): New function.
32663         (main): Run the new test functions.
32664         * sysdeps/i386/fpu/libm-test-ulps: Update.
32665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32667         * include/features.h: Update comment documenting feature test
32668         macros.  Mention _DEFAULT_SOURCE in comment.
32669         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
32670         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
32671         _BSD_SOURCE and _SVID_SOURCE.
32672         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
32673         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
32674         !_SVID_SOURCE]: Likewise.
32675         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
32676         (__USE_POSIX_IMPLICITLY): Define.
32677         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
32678         (_POSIX_SOURCE): Undefine and redefine.
32679         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
32680         (_POSIX_C_SOURCE): Likewise.
32681         * manual/creature.texi (_DEFAULT_SOURCE): Document.
32682         (Feature Test Macros): Update documentation of default features.
32684 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32686         * benchtests/Makefile: Add bench-strtok.
32687         * benchtests/bench-strtok.c: New file: strtok benchtest.
32689 2013-12-19  Allan McRae  <allan@archlinux.org>
32691         * manual/install.texi: Suppress menu for plain text output.
32692         * INSTALL: Regenerated.
32694 2013-12-18  Brooks Moses  <bmoses@google.com>
32696         [BZ #15846]
32697         * misc/getauxval.c: Include errno.h.
32698         (__getauxval): Set errno to ENOENT if the requested type is not
32699         found.
32700         * misc/sys/auxv.h (getauxval): Document that it may set errno;
32701         don't declare with __attribute_const__.
32702         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
32703         * manual/startup.texi: Document that getauxval sets errno.
32705 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
32707         * math/auto-libm-test-in: Add tests of jn and yn.
32708         * math/auto-libm-test-out: Regenerated.
32709         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
32710         (yn_test_data): Likewise.
32711         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32712         mpfr_if_f.
32713         (func_calc_desc): Add mpfr_if_f union field.
32714         (FUNC_mpfr_if_f): New macro.
32715         (test_functions): Add jn and yn.
32716         (calc_generic_results): Assert type of second input for
32717         mpfr_ff_f.  Handle mpfr_if_f.
32718         (output_for_one_input_case): Disable all checking for arguments
32719         fitting floating-point types in case of an integer argument.
32720         * sysdeps/i386/fpu/libm-test-ulps: Update.
32721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
32724         Don't expect fegetround reference in libm.so.
32726 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32728         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
32729         $(config-cflags-nofma).
32731 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
32733         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
32734         * math/auto-libm-test-out: Regenerated.
32736         [BZ #16338]
32737         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
32738         to determine exponent and adjust argument to have exponent of -1.
32739         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
32740         log2.
32741         * math/auto-libm-test-out: Regenerated.
32742         * sysdeps/i386/fpu/libm-test-ulps: Update.
32743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32745 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
32747         * manual/probes.texi: Remove cases when per-thread arenas are
32748         disabled.
32750 2013-12-18  Andreas Schwab  <schwab@suse.de>
32752         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
32753         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
32754         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
32755         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
32756         * sysdeps/i386/i686/multiarch/Makefile: Update.
32757         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
32759 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
32761         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
32762         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
32764 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
32766         [BZ #15968]
32767         Support TZ transition times < 00:00:00.
32768         This is needed for version-3 tz-format files; it supports time
32769         stamps past 2037 for America/Godthab (the only entry in the tz
32770         database for which this change is relevant).
32771         * manual/time.texi (TZ Variable): Document transition times
32772         from -167:59:59 through -00:00:01.
32773         * time/tzset.c (tz_rule): Time of day is now signed.
32774         (__tzset_parse_tz): Parse negative time of day.
32776         Document TZ transition times >= 25:00:00.
32777         * manual/time.texi (TZ Variable): Document transition times from
32778         25:00:00 through 167:59:59.  These are already supported, and this
32779         support will help with version-3 tz-format files.
32781         * manual/time.texi (TZ Variable): Modernize North America example
32782         to reflect current (i.e., 2007-and-later) daylight saving rules.
32784         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
32786 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
32788         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
32789         * sysdeps/unix/bsd/bits/stat.h: Likewise.
32790         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
32791         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32792         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
32793         * sysdeps/unix/bsd/bsdstat.h: Likewise.
32794         * sysdeps/unix/bsd/clock.c: Likewise.
32795         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
32796         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
32797         * sysdeps/unix/bsd/init-posix.c: Likewise.
32798         * sysdeps/unix/bsd/poll.c: Likewise.
32799         * sysdeps/unix/bsd/ptsname.c: Likewise.
32800         * sysdeps/unix/bsd/seekdir.c: Likewise.
32801         * sysdeps/unix/bsd/setegid.c: Likewise.
32802         * sysdeps/unix/bsd/seteuid.c: Likewise.
32803         * sysdeps/unix/bsd/setgid.c: Likewise.
32804         * sysdeps/unix/bsd/setrgid.c: Likewise.
32805         * sysdeps/unix/bsd/setruid.c: Likewise.
32806         * sysdeps/unix/bsd/setsid.c: Likewise.
32807         * sysdeps/unix/bsd/setuid.c: Likewise.
32808         * sysdeps/unix/bsd/sigaction.c: Likewise.
32809         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
32810         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
32811         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
32812         * sysdeps/unix/bsd/telldir.c: Likewise.
32813         * sysdeps/unix/bsd/times.c: Likewise.
32814         * sysdeps/unix/bsd/usleep.c: Likewise.
32816         * misc/Makefile (install-lib): Remove libbsd-compat.a.
32817         ($(objpfx)libbsd-compat.a): Remove rule.
32819         * include/features.h (__FAVOR_BSD): Do not define.
32820         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
32821         features conflicting with POSIX.
32822         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
32823         (_BSD_SOURCE): Remove description of not being a subset of other
32824         feature test macros.
32825         * manual/job.texi (getpgrp): Do not document BSD version.
32826         (getpgid): Do not document by reference to BSD getpgrp.
32827         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
32828         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
32829         * signal/signal.h [__FAVOR_BSD]: Likewise.
32830         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
32831         instead of making contents conditional on [__FAVOR_BSD].
32832         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
32834 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32836         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32838 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
32840         [BZ #16314]
32841         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
32842         values below 2**-450, not 2**-500.
32843         * math/auto-libm-test-in: Don't allow spurious underflow from
32844         hypot.
32845         * math/auto-libm-test-out: Regenerated.
32847         [BZ #16316]
32848         [BZ #16330]
32849         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
32850         values of ha and hb and sort them after adjusting subnormal
32851         arguments.
32852         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
32853         Likewise.
32854         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
32855         values of ea and eb and sort them after adjusting subnormal
32856         arguments.
32857         * math/auto-libm-test-in: Do not expect some hypot tests of
32858         subnormals to fail.  Add more hypot tests.
32859         * math/auto-libm-test-out: Regenerated.
32861 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32863         [BZ #13304]
32864         * sysdeps/sh/s_fma.c: New file.
32865         * sysdeps/sh/s_fmaf.c: New file.
32866         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
32867         version.
32868         * sysdeps/sh/Implies: Add sh/soft-fp.
32870 2013-12-16  Roland McGrath  <roland@hack.frob.com>
32872         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
32873         level of indirection to members `objname', `errstring', `malloced'.
32874         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
32875         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
32876         it as the __longjmp argument (just pass 1 instead).
32877         (_dl_catch_error): Initialize C with argument pointers and address of
32878         volatile local ERRCODE rather than copying values out of C at return.
32880 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
32882         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
32883         * math/auto-libm-test-out: Regenerated.
32884         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
32885         (hypot_test_data): Likewise.
32886         (pow_test_data): Likewise.
32887         (pow_tonearest_test_data): Likewise.
32888         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32889         mpfr_ff_f.
32890         (func_calc_desc): Add mpfr_ff_f union field.
32891         (FUNC_mpfr_ff_f): New macro.
32892         (test_functions): Add atan2, hypot and pow.
32893         (special_fill_min): New function.
32894         (special_fill_minus_min): Likewise.
32895         (special_fill_min_subnorm): Likewise.
32896         (special_fill_minus_min_subnorm): Likewise.
32897         (special_real_inputs): Add min, -min, min_subnorm and
32898         -min_subnorm.
32899         (calc_generic_results): Handle mpfr_ff_f.
32900         * sysdeps/i386/fpu/libm-test-ulps: Update.
32901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32903 2013-12-16  Will Newton  <will.newton@linaro.org>
32905         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
32906         (Aligned Memory Blocks): Add documentation for aligned_alloc
32907         and suggest it as an alternative to posix_memalign.
32908         (Hooks for Malloc): Document __memalign_hook is also called
32909         for aligned_alloc.  (Summary of Malloc): Add summary for
32910         aligned alloc.  Document __memalign_hook is also called
32911         for aligned_alloc.
32913 2013-12-16  Will Newton  <will.newton@linaro.org>
32915         * manual/memory.texi (Malloc Examples): Clarify default
32916         alignment documentation.  Suggest posix_memalign rather
32917         than memalign or valloc.
32918         (Aligned Memory Blocks): Remove suggestion to use memalign
32919         or valloc.  Remove obsolete comment about BSD.
32920         Document memalign errno values and mark the function obsolete.
32921         Document posix_memalign returned error codes.  Mark valloc
32922         as obsolete.  (Hooks for Malloc): __memalign_hook is also
32923         called for posix_memalign and valloc.
32924         (Summary of Malloc): Add posix_memalign to function summary.
32925         __memalign_hook is also called for posix_memalign and valloc.
32927 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32929         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
32930         TAYLOR_SIN.
32931         (__sin): Adjust.
32932         (__cos): Likewise.
32933         (sloww): Use mynumber union.  Expand ternary operator into
32934         if-else statements.
32935         (cslow): use mynumber union.
32937 2013-12-16  Allan McRae  <allan@archlinux.org>
32939         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
32940         * configure: Regenerated.
32942         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
32944         [BZ #14120]
32945         * configure.ac: Added --enable-maintainer-mode. Check for
32946         autoconf when enabled.
32947         * configure: Regenerated.
32949         * nscd/nscd.service: New file.
32950         * nscd/nscd.tmpfiles: New file.
32952 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
32954         [BZ #12100]
32955         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
32956         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
32957         * sysdeps/x86_64/multiarch/strstr.c: ... here.
32958         (strstr): Add __strstr_sse2_unaligned ifunc.
32959         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
32960         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
32961         (strcasestr): Remove __strcasestr_sse42 ifunc.
32962         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
32963         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
32964         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
32966 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32968         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
32969         * sysdeps/sh/bits/fenv.h: ... here.
32970         * sysdeps/sh/sh4/fpu/bits: Remove directory.
32972 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32974         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
32976         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
32977         hypotf multiarch implementations.
32978         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
32979         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
32980         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
32981         multiarch hypot for PPC64.
32982         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
32983         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
32984         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
32985         multiarch hypotf for PPC64.
32987         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
32988         modff multiarch implementations.
32989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
32990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
32991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
32992         multiarch modf for PPC64.
32993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
32994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
32995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
32996         multiarch modff for PPC64.
32998         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
32999         and logl multiarch implementations.
33000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
33001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
33002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
33003         multiarch logb for PPC64.
33004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
33005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
33006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
33007         multiarch logb for PPC64.
33008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
33009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
33010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
33011         multiarch logb for PPC64.
33013         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
33014         isinff multiarch implementation.
33015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
33016         file.
33017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
33018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
33019         multiarch isinf for PPC64.
33020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
33021         file.
33022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
33023         multiarch isinff for PPC64.
33025         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
33026         finitef multiarch implementation.
33027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
33028         file.
33029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
33030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
33031         multiarch finite for PPC64.
33032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
33033         file.
33034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
33035         multiarch finitef for PPC64.
33037         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
33038         lrint multiarch implementation.
33039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
33040         file.
33041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
33042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
33043         multiarch llrint for PPC64.
33044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
33045         multiarch lrint for PPC64.
33047         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
33048         copysignf multiarch implementation.
33049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
33050         file.
33051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
33052         file.
33053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
33054         multiarch copysign for PPC64.
33055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
33056         multiarch copysignf for PPC64.
33058         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
33059         multiarch implementation.
33060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
33061         file.
33062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
33063         file.
33064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
33065         file.
33066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
33067         file.
33068         multiarch llround for PPC64.
33069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
33070         multiarch trunc for PPC64.
33071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
33072         multiarch truncf for PPC64.
33074         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
33075         multiarch implementation.
33076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
33077         file.
33078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
33079         file.
33080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
33081         file.
33082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
33083         file.
33084         multiarch llround for PPC64.
33085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
33086         multiarch round for PPC64.
33087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
33088         multiarch roundf for PPC64.
33090         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
33091         multiarch implementation.
33092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
33093         file.
33094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
33095         file.
33096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
33097         file.
33098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
33099         file.
33100         multiarch llround for PPC64.
33101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
33102         multiarch floor for PPC64.
33103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
33104         multiarch floorf for PPC64.
33106         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
33107         multiarch implementation.
33108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
33109         file.
33110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
33111         file.
33112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
33113         file.
33114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
33115         file.
33116         multiarch llround for PPC64.
33117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
33118         multiarch ceil for PPC64.
33119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
33120         multiarch ceilf for PPC64.
33122         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
33123         multiarch implementation.
33124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
33125         file.
33126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
33127         file.
33128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
33129         file.
33130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
33131         multiarch llround for PPC64.
33132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
33133         multiarch lround for PPC64.
33135         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
33136         multiarch implementation.
33137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
33138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
33139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
33140         file.
33141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
33142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
33143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
33144         multiarch isnan for PPC64.
33145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
33146         multiarch isnanf for PPC64.
33148         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
33149         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
33150         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
33151         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
33152         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
33153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
33155         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
33156         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33157         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33158         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33160         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
33161         multiarch implementations.
33162         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33163         (__libc_ifunc_impl_list): Likewise.
33164         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
33165         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
33166         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
33167         multiarch stpcpy for PPC64.
33169         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
33170         multiarch implementations.
33171         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33172         (__libc_ifunc_impl_list): Likewise.
33173         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
33174         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
33175         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
33176         multiarch strcpy for PPC64.
33178         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
33179         redefine function name.
33180         (_wordcopy_fwd_dest_aligned): Likewise.
33181         (_wordcopy_bwd_aligned): Likewise.
33182         (_wordcopy_bwd_dest_aligned): Likewise.
33183         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
33184         multiarch implementations.
33185         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33186         (__libc_ifunc_impl_list): Likewise.
33187         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
33188         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
33189         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
33190         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
33191         multiarch wcscpy for PPC64.
33193         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
33194         multiarch implementations.
33195         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33196         (__libc_ifunc_impl_list): Likewise.
33197         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
33198         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
33199         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
33200         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
33201         multiarch wcscpy for PPC64.
33203         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
33204         multiarch implementations.
33205         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33206         (__libc_ifunc_impl_list): Likewise.
33207         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
33208         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
33209         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
33210         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
33211         multiarch wcsrchr for PPC64.
33213         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
33214         multiarch implementations.
33215         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33216         (__libc_ifunc_impl_list): Likewise.
33217         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
33218         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
33219         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
33220         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
33221         multiarch wcschr for PPC64.
33223         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
33224         multiarch implementations.
33225         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33226         (__libc_ifunc_impl_list): Likewise.
33227         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
33228         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
33229         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
33230         multiarch strchrnul for PPC64.
33232         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
33233         implementations.
33234         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33235         (__libc_ifunc_impl_list): Likewise.
33236         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
33237         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
33238         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
33239         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
33240         strchr for PPC64.
33242         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
33243         implementations.
33244         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33245         (__libc_ifunc_impl_list): Likewise.
33246         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
33247         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
33248         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
33249         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
33250         strncmp for PPC64.
33252         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
33253         multiarch implementations.
33254         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33255         (__libc_ifunc_impl_list): Likewise.
33256         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
33257         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
33258         strncasecmp for PPC64.
33259         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
33260         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
33261         multiarch strncasecmp_l for PPC64.
33263         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
33264         multiarch implementations.
33265         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33266         (__libc_ifunc_impl_list): Likewise.
33267         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
33268         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
33269         multiarch strcasecmp for PPC64.
33270         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
33271         file.
33272         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
33273         multiarch strcasecmp_l for PPC64.
33275         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
33276         implementations.
33277         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33278         (__libc_ifunc_impl_list): Likewise.
33279         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
33280         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
33281         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
33282         strnlen for PPC64.
33284         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
33285         implementations.
33286         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33287         (__libc_ifunc_impl_list): Likewise.
33288         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
33289         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
33290         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
33291         strlen for PPC64.
33293         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
33294         implementations.
33295         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33296         (__libc_ifunc_impl_list): Likewise.
33297         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
33298         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
33299         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
33300         rawmemrchr for PPC64.
33302         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
33303         implementation.
33304         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33305         (__libc_ifunc_impl_list): Likewise.
33306         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
33307         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
33308         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
33309         memrchr for PPC64.
33311         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
33312         implementation.
33313         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33314         (__libc_ifunc_impl_list): Likewise.
33315         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
33316         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
33317         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
33318         memchr for PPC64.
33320         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
33321         implementation.
33322         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33323         (__libc_ifunc_impl_list): Likewise.
33324         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
33325         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
33326         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
33327         mempcpy for PPC64.
33329         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
33330         avoid cretion of __bzero symbol.
33331         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
33332         Likewise.
33333         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
33334         Likewise.
33335         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
33336         Likewise.
33337         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
33338         multiarch implementations.
33339         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33340         (__libc_ifunc_impl_list): Likewise.
33341         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
33342         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
33343         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
33344         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
33345         bzero for PPC32.
33346         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
33347         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
33348         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
33349         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
33350         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
33351         memset for PPC64.
33352         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
33354         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
33355         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
33356         implementations.
33357         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33358         (__libc_ifunc_impl_list): Likewise.
33359         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
33360         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
33361         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
33362         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
33363         memcmp for PPC64.
33365         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
33366         multiarch for POWER/PPC64.
33367         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
33368         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
33369         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
33370         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
33371         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
33372         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
33373         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
33374         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
33375         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
33376         memcpy for PPC64.
33378         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
33379         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
33380         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
33381         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
33382         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
33383         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
33384         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
33385         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
33386         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
33387         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
33388         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
33389         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
33390         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
33391         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
33392         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
33393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
33394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
33395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
33396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
33397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
33398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
33399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
33401 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33403         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
33405 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33407         * benchtests/Makefile (bench): Add exp2 and log2.
33408         (LDLIBS-bench-exp2): Add -lm.
33409         (LDLIBS-bench-log2): Likewise.
33410         * benchtests/exp2-inputs: New inputs file.
33411         * benchtests/log2-inputs: New inputs file.
33412         * benchtests/log-inputs: Add new inputs.
33413         * benchtests/tan-inputs: Likewise.
33415 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33417         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
33418         definition...
33419         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
33420         (csloww2): ... from here.
33422         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
33423         instead of structures.
33424         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
33425         (POLYNOMIAL): Likewise.
33426         (TAYLOR_SLOW): Likewise.
33427         (__sin): Likewise.
33428         (__cos): Likewise.
33429         (slow1): Likewise.
33430         (slow2): Likewise.
33431         (sloww): Likewise.
33432         (sloww1); Likewise.
33433         (sloww2): Likewise.
33434         (bsloww1): Likewise.
33435         (bsloww2): Likewise.
33436         (cslow2): Likewise.
33437         (csloww): Likewise.
33438         (csloww1): Likewise.
33439         (csloww2): Likewise.
33441 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
33443         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
33444         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
33445         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
33446         * malloc/hooks.c (realloc_check): Likewise.
33448         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
33449         * malloc/arena.c: Remove PER_THREAD conditional.
33450         [!PER_THREAD]: Remove code.
33451         (ptmalloc_unlock_all2): Likewise.
33452         (ptmalloc_init): Likewise.
33453         (_int_new_arena): Likewise.
33454         (arena_get2): Likewise.
33455         * malloc/hooks.c (__malloc_get_state): Likewise.
33456         (__malloc_set_state): Likewise.
33457         * malloc/malloc.c: Likewise.
33458         (struct malloc_state): Likewise.
33459         (struct malloc_par): Likewise.
33460         (__libc_realloc): Likewise.
33461         (__libc_mallopt): Likewise.
33463 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33465         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
33467 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
33469         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
33470         macro to a function.  Check for zero perturb_byte.
33471         (_int_malloc, _int_free): Remove zero perturb_byte checks.
33473         * malloc/malloc.c: (force_reg): Remove.
33474         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
33475         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
33476         force_reg by atomic_forced_read.
33477         * malloc/arena.c (ptmalloc_init): Likewise.
33478         * malloc/hooks.c (top_check): Likewise.
33480 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33482         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33484 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
33486         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33488 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
33490         * math/auto-libm-test-in: Add tests of lgamma.
33491         * math/auto-libm-test-out: Regenerated.
33492         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
33493         (M_LOG_2_SQRT_PIl): Likewise.
33494         (lgamma_test_data): Use AUTO_TESTS_f_f1.
33495         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33496         mpfr_f_f1.
33497         (func_calc_desc): Add mpfr_f_f1 union field.
33498         (ARGS1): New macro.
33499         (ARGS2): Likewise.
33500         (ARGS3): Likewise.
33501         (ARGS4): Likewise.
33502         (RET1): Likewise.
33503         (RET2): Likewise.
33504         (CALC): Likewise.
33505         (FUNC): Likewise.
33506         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
33507         (test_functions): Add lgamma.
33508         (calc_generic_results): Handle mpfr_f_f1.
33509         * sysdeps/i386/fpu/libm-test-ulps: Update.
33510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33512 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33514         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
33515         __mpn_add_n for PowerPC64/POWER7.
33516         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
33517         __mpn_sub_n for PowerPC64/POWER7.
33519         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
33520         __mpn_addmul_1 for PowerPC64.
33521         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
33522         __mpn_submul_1 for PowerPC64.
33523         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
33524         for PowerPC64.
33525         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
33526         for PowerPC64.
33528 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
33530         [BZ #15089]
33531         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
33533 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33535         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
33537         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
33538         add multiarch folders.
33539         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
33540         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
33541         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
33542         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
33543         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
33544         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
33545         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
33546         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
33547         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
33548         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
33549         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
33550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
33551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
33552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
33553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
33554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
33555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
33557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
33558         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
33559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
33560         New file.
33561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
33562         New file.
33563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
33564         multiarch __ieee754_hypot for PowerPC32.
33565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
33566         New file.
33567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
33568         New file.
33569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
33570         multiarch __ieee754_hypotf for PowerPC32.
33572         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
33573         long_double_symbol only if __logbl is defined.
33574         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
33575         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
33576         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
33577         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
33578         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
33579         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
33580         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
33581         path for implementation.
33582         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
33583         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
33584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
33585         logb, and logbl multiarch implementations for PowerPC32.
33586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
33587         file.
33588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
33589         file.
33590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
33591         multiarch logb for PowerPC32.
33592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
33593         file.
33594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
33595         file.
33596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
33597         multiarch logbf for PowerPC32.
33598         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
33599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
33600         file.
33601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
33602         multiarch logbl implementation for PowerPC32.
33604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
33605         and modff multiarch implementations.
33606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
33607         New file.
33608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
33609         New file.
33610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
33611         multiarch modf for PowerPC32.
33612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
33613         New file.
33614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
33615         New file.
33616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
33617         multiarch modff for PowerPC32.
33619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
33620         and lrintf multiarch implementations.
33621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
33622         New file.
33623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
33624         New file.
33625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
33626         multiarch lrint for PowerPC32.
33627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
33628         file: multiarch lrintf for PowerPC32.
33630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
33631         and lroundf multiarch implementations.
33632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
33633         New file.
33634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
33635         New file.
33636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
33637         New file.
33638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
33639         multiarch lround for PowerPC32.
33640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
33641         file: multiarch lroundf for PowerPC32.
33643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
33644         copysign and copysignf multiarch implementations.
33645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
33646         New file.
33647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
33648         New file.
33649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
33650         file: multiarch copysign for PowerPC32.
33651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
33652         file: multiarch copysignf for PowerPC32.
33654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
33655         and truncf multiarch implementations.
33656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
33657         New file.
33658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
33659         file.
33660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
33661         multiarch trunc for PowerPC32.
33662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
33663         New file.
33664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
33665         New file.
33666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
33667         multiarch truncf for PowerPC32.
33669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
33670         and roundf multiarch implementations.
33671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
33672         New file.
33673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
33674         file.
33675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
33676         multiarch round for PowerPC32.
33677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
33678         New file.
33679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
33680         New file.
33681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
33682         multiarch roundf for PowerPC32.
33684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
33685         and floorf multiarch implementations.
33686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
33687         New file.
33688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
33689         file.
33690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
33691         multiarch floor for PowerPC32.
33692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
33693         New file.
33694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
33695         New file.
33696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
33697         multiarch floorf for PowerPC32.
33699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
33700         and ceilf multiarch implementations.
33701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
33702         New file.
33703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
33704         file.
33705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
33706         multiarch ceil for PowerPC32.
33707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
33708         New file.
33709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
33710         file.
33711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
33712         multiarch ceilf for PowerPC32.
33714         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
33715         is defined.
33716         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
33717         FINITEF is defined.
33718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
33719         and finitef multiarch implementations.
33720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
33721         New file.
33722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
33723         file.
33724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
33725         multiarch finite for PowerPC32.
33726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
33727         New file.
33728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
33729         file: multiarch finitef for PowerPC32.
33731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
33732         and isinff multiarch implementations.
33733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
33734         file.
33735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
33736         file.
33737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
33738         multiarch isinf for PowerPC32.
33739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
33740         New file.
33741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
33742         multiarch isinff for PowerPC32.
33744         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
33745         alias when __isnan is defined.
33746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
33747         and isnanf multiarch implementations.
33748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
33749         file.
33750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
33751         file.
33752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
33753         file.
33754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
33755         file.
33756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
33757         multiarch isnan for PowerPC32.
33758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
33759         New file.
33760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
33761         New file.
33762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
33763         multiarch isnanf for PowerPC32.
33765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
33766         and sqrtf multiarch implementations.
33767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
33768         file.
33769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
33770         file.
33771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
33772         multiarch sqrt for PowerPC32.
33773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
33774         file.
33775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
33776         file.
33777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
33778         multiarch sqrtf for PowerPC32.
33780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
33781         and llroundf multiarch implementations.
33782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
33783         New file.
33784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
33785         New file.
33786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
33787         New file.
33788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
33789         file: multiarch llround for PowerPC32.
33790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
33791         file: multiarch llroundf for PowerPC32.
33793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
33794         multiarch PowerPC32 fpu implementations.
33795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
33796         New file.
33797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
33798         New file.
33799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
33800         multiarch llrint for PowerPC32.
33801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
33802         New file.
33803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
33804         New file.
33805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
33806         file.
33808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
33810         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
33811         file.
33812         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
33813         file.
33814         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
33815         file.
33816         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
33817         multiarch wordcopy for PPC32.
33818         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
33819         wordcopy objects.
33820         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33821         (__libc_ifunc_impl_list): Likewise.
33822         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
33823         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
33824         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
33825         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
33826         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
33827         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
33829         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
33830         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
33831         file.
33832         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
33833         file.
33834         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
33835         file.
33836         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
33837         multiarch wcscpy for PPC32.
33838         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
33839         multiarch objects.
33840         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33841         (__libc_ifunc_impl_list): Likewise.
33842         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
33843         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
33844         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
33845         sysdeps/powerpc/power6/wcscpy.c.
33847         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
33848         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
33849         file.
33850         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
33851         file.
33852         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
33853         file.
33854         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
33855         multiarch wcsrchr for PPC32.
33856         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
33857         multiarch objects.
33858         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33859         (__libc_ifunc_impl_list): Likewise.
33860         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
33861         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
33862         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
33863         sysdeps/powerpc/power6/wcsrchr.c.
33865         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
33866         file.
33867         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
33868         file.
33869         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
33870         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
33871         multiarch wcschr for PPc32.
33872         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
33873         multiarch objects.
33874         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33875         (__libc_ifunc_impl_list): Likewise.
33876         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
33877         * sysdeps/powerpc/power6/wcschr.c: ... to here.
33878         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
33879         sysdeps/powerpc/power6/wcschr.c.
33881         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
33882         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
33883         file.
33884         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
33885         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
33886         file: multiarch strchr for PPC32.
33887         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
33888         multiarch objects.
33889         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33890         (__libc_ifunc_impl_list): Likewise.
33892         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
33893         name.
33894         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
33895         file.
33896         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
33897         file.
33898         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
33899         multiarch strchrnul for PPC32.
33900         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
33901         multiarch objects.
33902         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33903         (__libc_ifunc_impl_list): Likewise.
33905         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
33906         file.
33907         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
33908         multiarch strncasecmp for PPC32.
33909         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
33910         file.
33911         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
33912         multiarch strncasecmp_l for PPC32.
33913         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
33914         strncasecmp multiarch objects.
33915         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33916         (__libc_ifunc_impl_list): Likewise.
33918         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
33919         file.
33920         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
33921         multiarch strncasecmp for PPC32.
33922         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
33923         New file.
33924         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
33925         multiarch strcasecmp_l for PPC32.
33926         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
33927         multiarch objects.
33928         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33929         (__libc_ifunc_impl_list): Likewise.
33931         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
33932         file.
33933         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
33934         file.
33935         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
33936         multiarch strncmp for PPC32.
33937         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
33938         multiarch objects.
33939         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33940         (__libc_ifunc_impl_list): Likewise.
33942         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
33943         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
33944         file.
33945         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
33946         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
33947         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
33948         multiarch objects.
33949         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33950         (__libc_ifunc_impl_list): Likewise.
33952         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
33953         file.
33954         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
33955         file.
33956         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
33957         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
33958         multiarch objects.
33959         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33960         (__libc_ifunc_impl_list): Likewise.
33962         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
33963         file.
33964         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
33965         file.
33966         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
33967         multiarch rawmemchr for PPC32.
33968         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
33969         multiarch objects.
33970         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33971         (__libc_ifunc_impl_list): Likewise.
33973         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
33974         file.
33975         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
33976         file.
33977         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
33978         file: memrchr multiarch for PPC32.
33979         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
33980         multiarch objects.
33981         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33982         (__libc_ifunc_impl_list): Likewise.
33984         * string/memchr.c (__memchr): Using macro to redefine symbol name.
33985         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
33986         file.
33987         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
33988         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
33989         multiarch memchr for PPC32.
33990         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
33991         multiarch objects.
33992         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
33993         (__libc_ifunc_impl_list): Likewise.
33995         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
33996         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
33997         file.
33998         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
33999         file.
34000         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
34001         file: multiarch mempcpy for PPC32.
34002         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
34003         multiarch objects.
34004         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34005         (__libc_ifunc_impl_list): Likewise.
34007         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
34008         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
34009         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
34010         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
34011         multiarch bzero for PPC32.
34012         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
34013         file.
34014         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
34015         file.
34016         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
34017         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
34018         file: multiarch memset for PPC32.
34019         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
34020         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
34021         memset multiarch objects.
34022         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34023         (__libc_ifunc_impl_list): Likewise.
34025         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
34026         file.
34027         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
34028         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
34029         memcmp for PPC32.
34030         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
34031         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
34032         multiarch objects.
34033         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34034         (__libc_ifunc_impl_list): Likewise.
34036         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
34037         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
34038         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
34039         file.
34040         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
34041         file.
34042         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
34043         file.
34044         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
34045         multiarch memcpy for PPC32.
34046         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
34047         multiarch objects.
34048         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34049         (__libc_ifunc_impl_list): Likewise.
34051         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
34052         support multiarch for POWER/PPC32.
34053         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
34054         Likewise.
34055         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
34056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
34057         Implies file to make multiarch folder appers before the fpu and
34058         default folder for power4 configuration.
34060 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34062         * scripts/bench.pl: Append volatile keyword to type.
34064 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34066         * sysdeps/sh/sotruss-lib.c: New file.
34067         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
34069 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34071         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34073 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
34075         [BZ #6810]
34076         * math/w_tgamma.c: Include <errno.h>.
34077         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
34078         * math/w_tgammaf.c: Include <errno.h>.
34079         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
34080         * math/w_tgammal.c: Include <errno.h>.
34081         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
34082         * math/auto-libm-test-in: Do not allow missing errno on tgamma
34083         underflow.  Add more tgamma tests.
34084         * math/auto-libm-test-out: Regenerated.
34085         * sysdeps/i386/fpu/libm-test-ulps: Update.
34086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34088         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
34089         sin, sinh, tan, tanh, tgamma, y0 and y1.
34090         * math/auto-libm-test-out: Regenerated.
34091         * math/libm-test.inc (TEST_COND_x86_64): New macro.
34092         (TEST_COND_x86): Likewise.
34093         (M_E2l): Remove macro.
34094         (M_E3l): Likewise.
34095         (M_2_SQRT_PIl): Likewise.
34096         (M_SQRT_PIl): Likewise.
34097         (M_1_DIV_El): Likewise.
34098         (log_test_data): Use AUTO_TESTS_f_f.
34099         (log10_test_data): Likewise.
34100         (log1p_test_data): Likewise.
34101         (log2_test_data): Likewise.
34102         (sin_test_data): Likewise.
34103         (sin_tonearest_test_data): Likewise.
34104         (sin_towardzero_test_data): Likewise.
34105         (sin_downward_test_data): Likewise.
34106         (sin_upward_test_data): Likewise.
34107         (sinh_test_data): Likewise.
34108         (sinh_tonearest_test_data): Likewise.
34109         (sinh_towardzero_test_data): Likewise.
34110         (sinh_downward_test_data): Likewise.
34111         (sinh_upward_test_data): Likewise.
34112         (tan_test_data): Likewise.
34113         (tan_tonearest_test_data): Likewise.
34114         (tan_towardzero_test_data): Likewise.
34115         (tan_downward_test_data): Likewise.
34116         (tan_upward_test_data): Likewise.
34117         (tanh_test_data): Likewise.
34118         (tgamma_test_data): Likewise.
34119         (y0_test_data): Likewise.
34120         (y1_test_data): Likewise.
34121         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
34122         (special_real_inputs): Add pi/4.
34123         * sysdeps/i386/fpu/libm-test-ulps: Update.
34124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34126 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34128         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
34129         "longjmp_target" static probes.
34130         (__longjmp): Rename to __longjmp_symbol.
34131         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
34132         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
34133         on which longjmp to generate.
34134         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
34135         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
34136         probe.
34137         (__sigsetjmp): Rename to __sigsetjmp_symbol.
34138         (__sigjmp_save): Rename to __sigjmp_save_symbol.
34139         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
34140         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
34141         and __sigjmp_save_symbol based on which sigsetjmp to generated.
34142         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
34143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
34144         __longjmp_symbol based on which __longjmp to generate.
34145         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
34146         probe.
34147         (setjmp): Rename to setjmp_symbol.
34148         (__sigsetjmp): Rename to __sigsetjmp_symbol.
34149         (_setjmp): Rename to _setjmp_symbol.
34150         (__sigsetjmp): Rename to __sigsetjmp_symbol.
34151         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
34152         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
34153         which setjmp to generate.
34154         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
34155         "longjmp_target" static probes.
34157 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34159         * benchtests/README: Add note about output arguments.
34160         * benchtests/bench-sincos.c: Remove file.
34161         * benchtests/sincos-inputs: New file.
34162         * scripts/bench.pl: Identify output arguments and define
34163         static variables for them.
34165         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
34167         [BZ #15941]
34168         * Makefile (INSTALL): Add install-plain.texi as the primary
34169         dependency.
34170         * manual/install-plain.texi: New file.
34171         * manual/install.texi: Include node directive only for
34172         non-plaintext output.
34174 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
34176         * stdlib/longlong.h: Update from GCC.
34178         [BZ #6807]
34179         [BZ #15901]
34180         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
34181         * math/w_j0f.c (y0f): Likewise.
34182         * math/w_j0l.c (__y0l): Likewise.
34183         * math/w_j1.c (y1): Likewise.
34184         * math/w_j1f.c (y1f): Likewise.
34185         * math/w_j1l.c (__y1l): Likewise
34186         * math/w_jn.c (yn): Likewise.
34187         * math/w_jnf.c (ynf): Likewise.
34188         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
34189         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
34190         value for Bessel function domain errors outside _SVID_ mode.
34191         Adjust sign of return value for yn (negative integer, 0).
34192         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
34193         by zero in return for negative x and set sign appropriately for
34194         negative n.
34195         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
34196         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34197         * math/libm-test.inc (y0_test_data): Add more tests and adjust
34198         expectations in error cases.
34199         (y1_test_data): Likewise.
34200         (yn_test_data): Likewise.
34201         * sysdeps/i386/fpu/libm-test-ulps: Update.
34202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34204 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34206         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
34207         "64" to "64-v1".  Add "64-v2".
34208         (abi-64-options): Rename to ...
34209         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
34210         (abi-64-condition): Rename to ...
34211         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
34212         (abi-64-ld-soname): Rename to ...
34213         (abi-64-v1-ld-soname): ... this.
34214         (abi-64-v2-options): Define.
34215         (abi-64-v2-condition): Likewise.
34216         (abi-64-v2-ld-soname): Likewise.
34217         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
34218         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
34219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
34220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
34221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
34223 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34224             Alan Modra  <amodra@gmail.com>
34226         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
34227         New versions for use with the ELFv2 ABI.
34228         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
34229         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
34230         declaration.
34231         (struct La_ppc64v2_retval): Likewise.
34232         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
34233         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
34234         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
34235         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
34236         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
34237         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34238         Do not save or restore CR.
34239         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
34240         (_dl_profile_resolve): Do no save or restore CR.  Support extended
34241         return values for ELFv2 ABI.  Fix location of FPR return registers.
34242         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
34243         updated values for _CALL_ELF == 2.
34244         (La_regs, La_retval, int_retval): Likewise.
34246 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34248         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
34249         (FRAME_MIN_SIZE_PARM): Likewise.
34250         (FRAME_BACKCHAIN): Likewise.
34251         (FRAME_CR_SAVE): Likewise.
34252         (FRAME_LR_SAVE): Likewise.
34253         (FRAME_TOC_SAVE): Likewise.
34254         (FRAME_PARM_SAVE): Likewise.
34255         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
34256         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
34257         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
34258         (call_mcount_parm_offset): New macro.
34259         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
34260         (PROF): Use symbolic stack frame offsets.
34261         (TAIL_CALL_SYSCALL_ERROR): Likewise.
34262         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
34263         Redefine in terms of FRAME_MIN_SIZE.
34264         (_dl_runtime_resolve): Use symbolic stack frame offsets.
34265         (_dl_profile_resolve): Likewise.  Update comment.
34266         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
34267         symbols stack frame offsets.
34268         (__sigsetjmp): Likewise.
34269         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
34270         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
34271         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
34272         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
34274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
34275         (FRAME_BACKCHAIN): Remove.
34276         (FRAME_CR_SAVE): Likewise.
34277         (FRAME_LR_SAVE): Likewise.
34278         (FRAME_COMPILER_DW): Likewise.
34279         (FRAME_LINKER_DW): Likewise.
34280         (FRAME_TOC_SAVE): Likewise.
34281         (FRAME_PARM_SAVE): Likewise.
34282         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
34283         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
34284         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
34285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
34286         (CHECK_SP): Use symbolic stack frame offsets.
34287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
34288         zone" instead of caller's parameter save area for temp storage.
34289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34290         Likewise.  Also, use symbolic stack frame offsets.
34291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
34292         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
34293         our own stack frame instead of the caller's.
34294         (__socket): Use symbolic stack frame offsets.
34296 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34297             Alan Modra  <amodra@gmail.com>
34299         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
34300         Define.
34301         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
34302         (PPC64_LOCAL_ENTRY_OFFSET): Define.
34303         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
34304         New function.
34305         (elf_machine_fixup_plt): Call it.
34306         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
34307         reloc arguments.
34308         (elf_machine_rela): Update call to elf_machine_plt_conflict.
34309         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
34310         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
34311         r2 before calling target.
34313 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34314             Alan Modra  <amodra@gmail.com>
34316         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
34317         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
34318         versions of macros to support ELFv2 ABI.
34319         (LOCALENTRY): New macro.
34320         (ENTRY, EALIGN): Use it.
34321         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
34322         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
34323         fall through into ENTRY entry point.
34324         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
34325         Only define if _CALL_ELF != 2.
34327         (elf_machine_matches_host): Verify ABI version matches.
34328         (RTLD_START): Use LOCALENTRY.
34329         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
34330         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
34331         (PLT_ENTRY_WORDS): New macro.
34332         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
34333         (elf_machine_runtime_setup): Support ELFv2 ABI.
34334         (elf_machine_fixup_plt): Likewise.
34335         (elf_machine_plt_conflict): Likewise.
34336         (resolve_ifunc): Likewise.
34337         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
34338         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
34339         Likewise.
34340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
34341         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
34342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34343         (makecontext): Support ELFv2 ABI.
34344         * elf/elf.h (EF_PPC64_ABI): Define.
34346 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34348         * sysdeps/powerpc/powerpc64/sysdep.h
34349         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
34350         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
34351         (ENTRY) [ASSEMBLER]: ... but instead here ...
34352         (EALIGN) [ASSEMBLER]: ... and here.
34353         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
34354         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
34355         (ENTRY_2) [!ASSEMBLER]: Use it.
34356         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
34357         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
34358         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
34359         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
34360         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
34361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
34362         Use PPC64_LOAD_FUNCPTR.
34364         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
34366 2013-12-04  Alan Modra  <amodra@gmail.com>
34368         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
34369         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
34370         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
34371         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
34373         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
34374         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
34375         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
34376         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
34377         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
34378         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
34380 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34383         (__makecontext): Fix incorrect CFI when backtracing out of
34384         context created via makecontext.
34385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
34386         (__setcontext): Fix incorrect CFI during switch to new context.
34387         (__novec_setcontext): Likewise.
34389 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
34391         [BZ #4772]
34392         * time/strptime_l.c (__strptime_internal): Allow modifiers
34393         in strptime.
34394         * time/tst-strptime.c (day_tests): Add testcase.
34396 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34398         * scripts/bench.pl: Skip over blank lines.
34400 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
34402         [BZ #926]
34403         * manual/time.texi (Calendar Time): Clarify what timezone functions
34404         use.
34406 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34408         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34410 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
34412         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
34413         implementation.
34414         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
34415         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
34416         * debug/memset_chk.c (__memset_chk): Likewise.
34417         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
34418         * debug/strncpy_chk.c: Likewise.
34420 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
34422         [BZ #15268]
34423         [BZ #15425]
34424         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
34425         (__ieee754_exp): For possibly underflowing results, check size of
34426         result and force underflow exception if required.
34427         * math/auto-libm-test-in: Add more tests of exp.
34428         * math/auto-libm-test-out: Regenerated.
34429         * sysdeps/i386/fpu/libm-test-ulps: Update.
34430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34432         [BZ #16283]
34433         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
34434         * math/w_exp2f.c (__exp2f): Likewise.
34435         * math/w_exp2l.c (__exp2l): Likewise.
34436         * math/auto-libm-test-in: Do not allow missing errno on exp2
34437         underflow.
34438         * math/auto-libm-test-out: Regenerated.
34440 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
34442         [BZ #16274]
34443         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
34444         handle filename validation.
34445         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
34446         (do_open): Delete.
34448 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
34450         [BZ #6786]
34451         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
34452         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
34453         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
34454         <float.h>.
34455         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
34456         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
34457         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
34458         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
34459         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
34460         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
34461         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
34462         * math/auto-libm-test-in: Don't allow missing errno from erfc.
34463         Add more erfc tests.
34464         * math/auto-libm-test-out: Regenerated.
34465         * sysdeps/i386/fpu/libm-test-ulps: Update.
34466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34468         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
34469         exp2, expm1, j0 and j1.
34470         * math/auto-libm-test-out: Regenerated.
34471         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
34472         (erfc_test_data): Likewise.
34473         (exp_test_data): Likewise.
34474         (exp_tonearest_test_data): Likewise.
34475         (exp_towardzero_test_data): Likewise.
34476         (exp_downward_test_data): Likewise.
34477         (exp_upward_test_data): Likewise.
34478         (exp10_test_data): Likewise.
34479         (exp2_test_data): Likewise.
34480         (expm1_test_data): Likewise.
34481         (j0_test_data): Likewise.
34482         (j1_test_data): Likewise.
34483         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
34484         (input_flag_type): Add flag_xfail_rounding.
34485         (input_flags): Add xfail-rounding.
34486         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
34487         (output_for_one_input_case): Handle flag_xfail_rounding.
34488         * sysdeps/i386/fpu/libm-test-ulps: Update.
34489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34491 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
34493         [BZ #16289]
34494         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
34495         division by 0.
34497 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34499         [BZ #16195]
34500         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
34501         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
34502         (STAP_PROBE0): New macro.
34503         (STAP_PROBE1): Likewise.
34504         (STAP_PROBE2): Likewise.
34505         (STAP_PROBE3): Likewise.
34506         (STAP_PROBE4): Likewise.
34508 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
34510         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
34512 2013-12-02  Steve Ellcey  <sellcey@mips.com>
34514         * benchtests/Makefile (bench): Add sqrt.
34515         (LDLIBS-bench-sqrt): New.
34516         * benchtests/sqrt-input: New.
34518 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
34520         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
34521         (GAIH_EAI): Likewise.
34522         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
34523         (gaih_inet): Likewise.
34524         (getaddrinfo): Don't use GAIH_EAI.
34526         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
34527         (struct gaih): Remove definition.
34529 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34531         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
34532         Use HERRNOP directly.
34534 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34536         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34538 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
34540         * math/gen-auto-libm-tests.c (test_functions): Add more
34541         single-argument functions.
34542         (special_fill_pi_2): New function.
34543         (special_fill_minus_pi_2): Likewise.
34544         (special_fill_pi_6): Likewise.
34545         (special_fill_minus_pi_6): Likewise.
34546         (special_fill_pi_3): Likewise.
34547         (special_fill_2pi_3): Likewise.
34548         (special_fill_e): Likewise.
34549         (special_fill_1_e): Likewise.
34550         (special_fill_e_minus_1): Likewise.
34551         (special_real_inputs): Add more special inputs.
34552         (output_for_one_input_case): Do not require ERANGE on underflow to
34553         zero if round-to-nearest result does not underflow to zero, unless
34554         exact results required.
34555         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
34556         atan, atanh, cbrt, cos and cosh.
34557         * math/auto-libm-test-out: Regenerated.
34558         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
34559         (acos_tonearest_test_data): Likewise.
34560         (acos_towardzero_test_data): Likewise.
34561         (acos_downward_test_data): Likewise.
34562         (acos_upward_test_data): Likewise.
34563         (acosh_test_data): Likewise.
34564         (asin_test_data): Likewise.
34565         (asin_tonearest_test_data): Likewise.
34566         (asin_towardzero_test_data): Likewise.
34567         (asin_upward_test_data): Likewise.
34568         (asinh_test_data): Likewise.
34569         (atan_test_data): Likewise.
34570         (atanh_test_data): Likewise.
34571         (cbrt_test_data): Likewise.
34572         (cos_test_data): Likewise.
34573         (cos_tonearest_test_data): Likewise.
34574         (cos_towardzero_test_data): Likewise.
34575         (cos_downward_test_data): Likewise.
34576         (cos_upward_test_data): Likewise.
34577         (cosh_test_data): Likewise.
34578         (cosh_tonearest_test_data): Likewise.
34579         (cosh_towardzero_test_data): Likewise.
34580         (cosh_downward_test_data): Likewise.
34581         (cosh_upward_test_data): Likewise.
34582         * sysdeps/i386/fpu/libm-test-ulps: Update.
34583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34585 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
34587         [BZ #6787]
34588         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
34589         * math/w_exp10f.c (__exp10f): Likewise.
34590         * math/w_exp10l.c (__exp10l): Likewise.
34591         * math/libm-test.inc (exp10_test_data): Add more tests and expect
34592         errno settings in existing tests.
34594         [BZ #14032]
34595         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
34596         precision control set to double precision.
34597         * sysdeps/i386/fpu/w_sqrt.c: New file.
34598         * math/auto-libm-test-in: Add more tests.
34599         * math/auto-libm-test-out: Update.
34601         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
34602         (sqrt_test_tonearest): New function.
34603         (sqrt_towardzero_test_data): New variable.
34604         (sqrt_test_towardzero): New function.
34605         (sqrt_downward_test_data): New variable.
34606         (sqrt_test_downward): New function.
34607         (sqrt_upward_test_data): New variable.
34608         (sqrt_test_upward): New function.
34609         (main): Call the new functions.
34611         * math/gen-auto-libm-tests.c: New file.
34612         * math/auto-libm-test-in: Likewise.
34613         * math/auto-libm-test-out: New generated file.
34614         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
34615         variables.
34616         (%beautify): Add generated representations of zero.
34617         (top level): Set $auto_input and call parse_auto_input.
34618         (beautify): Remove trailing "f" from hex float constants.
34619         (parse_args): Handle XFAIL_TEST.
34620         (convert_condition): New function.
34621         (or_value): Likewise.
34622         (or_cond_value): Likewise.
34623         (generate_testfile): Handle AUTO_TESTS_* lines.
34624         (parse_auto_input): New function.
34625         * math/libm-test.inc (XFAIL_TEST): New macro.
34626         (ERRNO_UNCHANGED): Update value.
34627         (ERRNO_EDOM): Likewise.
34628         (ERRNO_ERANGE): Likewise.
34629         (IGNORE_RESULT): Likewise.
34630         (TEST_COND_flt_32): New macro.
34631         (TEST_COND_dbl_64): Likewise.
34632         (TEST_COND_ldbl_96_intel): Likewise.
34633         (TEST_COND_ldbl_96_m68k): Likewise.
34634         (TEST_COND_ldbl_128): Likewise.
34635         (TEST_COND_ldbl_128ibm): Likewise.
34636         (TEST_COND_long32): Likewise.
34637         (TEST_COND_long64): Likewise.
34638         (TEST_COND_before_rounding): Likewise.
34639         (TEST_COND_after_rounding): Likewise.
34640         (enable_test): Handle XFAIL_TEST flag.
34641         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
34642         with finite results.
34643         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
34644         auto-libm-test-out.
34646 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34647             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34649         [BZ #16214]
34650         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
34651         __tls_get_addr_internal instead of __tls_get_offset in order to
34652         avoid GOT pointer dependency.  Make rtld export
34653         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
34654         __tls_get_addr since we are a __tls_get_offset platform.
34655         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
34656         GOT pointer being set up before.
34657         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
34659 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
34661         * manual/math.texi (Errors in Math Functions): Document accuracy
34662         goals.
34664         [BZ #15004]
34665         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
34666         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
34667         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34668         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34669         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34670         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34671         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34672         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34673         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34674         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34675         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34676         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34677         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34678         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34679         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34680         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34682         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
34683         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
34684         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
34685         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
34686         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
34687         Likewise.
34688         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
34689         Likewise.
34690         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
34691         Likewise.
34692         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
34693         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
34694         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
34695         atomic-feupdateenv and flt-rounds.
34696         * sysdeps/powerpc/nofpu/Versions (libc): Add
34697         __atomic_feholdexcept, __atomic_feclearexcept,
34698         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
34699         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
34700         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
34701         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
34702         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
34703         here.
34704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
34705         Update.
34707         * manual/arith.texi (FP Exceptions): Document that exceptions may
34708         not be raised when matherr is used.
34709         (Math Error Reporting): Document overflow in directed rounding
34710         modes.  Document that errno may not be set when finite values are
34711         returned on overflow.  Document intent to set errno on underflow
34712         only for underflow to zero.
34714         [BZ #16271]
34715         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
34716         round-to-nearest then adjust result for other rounding modes.
34717         * include/fenv.h (fegetround): Use libm_hidden_proto.
34718         * math/fegetround.c (fegetround): Use libm_hidden_def.
34719         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
34720         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
34721         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
34722         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
34723         Likewise.
34724         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
34725         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34726         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
34727         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
34729 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34731         [BZ #16077]
34732         * nss/Versions (libnss_files): Add
34733         _nss_files_gethostbyname3_r.
34734         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
34735         New function.
34736         (HOST_DB_LOOKUP): Remove macro.
34737         (_nss_files_gethostbyname_r): Implement function without the
34738         HOST_DB_LOOKUP macro.
34739         (_nss_files_gethostbyname2_r): Likewise.
34741 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
34743         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
34745 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
34747         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
34748         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
34749         warning.
34751 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34753         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
34754         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
34755         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
34756         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
34757         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
34758         __fe_nomask_env_priv and attribute_hidden.
34759         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
34760         (libc_feupdateenv_test_ppc): Likewise.
34761         (libc_feresetround_ppc): Likewise.
34762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34763         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
34764         compat_symbol macro.
34765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34766         (__fe_nomask_env): Likewise.
34767         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
34769 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
34771         * string/Makefile: Remove ifunc tests.
34772         * string/test-string.h: Define TEST_IFUNC.
34773         * string/test-bcopy-ifunc.c: Remove.
34774         * string/test-bzero-ifunc.c: Likewise.
34775         * string/test-memccpy-ifunc.c: Likewise.
34776         * string/test-memchr-ifunc.c: Likewise.
34777         * string/test-memcmp-ifunc.c: Likewise.
34778         * string/test-memcpy-ifunc.c: Likewise.
34779         * string/test-memmem-ifunc.c: Likewise.
34780         * string/test-memmove-ifunc.c: Likewise.
34781         * string/test-mempcpy-ifunc.c: Likewise.
34782         * string/test-memrchr-ifunc.c: Likewise.
34783         * string/test-memset-ifunc.c: Likewise.
34784         * string/test-rawmemchr-ifunc.c: Likewise.
34785         * string/test-stpcpy-ifunc.c: Likewise.
34786         * string/test-stpncpy-ifunc.c: Likewise.
34787         * string/test-strcasecmp-ifunc.c: Likewise.
34788         * string/test-strcasestr-ifunc.c: Likewise.
34789         * string/test-strcat-ifunc.c: Likewise.
34790         * string/test-strchr-ifunc.c: Likewise.
34791         * string/test-strchrnul-ifunc.c: Likewise.
34792         * string/test-strcmp-ifunc.c: Likewise.
34793         * string/test-strcpy-ifunc.c: Likewise.
34794         * string/test-strcspn-ifunc.c: Likewise.
34795         * string/test-strlen-ifunc.c: Likewise.
34796         * string/test-strncasecmp-ifunc.c: Likewise.
34797         * string/test-strncat-ifunc.c: Likewise.
34798         * string/test-strncmp-ifunc.c: Likewise.
34799         * string/test-strncpy-ifunc.c: Likewise.
34800         * string/test-strnlen-ifunc.c: Likewise.
34801         * string/test-strpbrk-ifunc.c: Likewise.
34802         * string/test-strrchr-ifunc.c: Likewise.
34803         * string/test-strspn-ifunc.c: Likewise.
34804         * string/test-strstr-ifunc.c: Likewise.
34806 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
34808         * benchtests/Makefile: Remove ifunc tests.
34809         * benchtests/bench-string.h: Define TEST_IFUNC.
34810         * benchtests/bench-bcopy-ifunc.c: Remove.
34811         * benchtests/bench-bzero-ifunc.c: Likewise.
34812         * benchtests/bench-memccpy-ifunc.c: Likewise.
34813         * benchtests/bench-memchr-ifunc.c: Likewise.
34814         * benchtests/bench-memcmp-ifunc.c: Likewise.
34815         * benchtests/bench-memcpy-ifunc.c: Likewise.
34816         * benchtests/bench-memmem-ifunc.c: Likewise.
34817         * benchtests/bench-memmove-ifunc.c: Likewise.
34818         * benchtests/bench-mempcpy-ifunc.c: Likewise.
34819         * benchtests/bench-memrchr-ifunc.c: Likewise.
34820         * benchtests/bench-memset-ifunc.c: Likewise.
34821         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
34822         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
34823         * benchtests/bench-stpcpy-ifunc.c: Likewise.
34824         * benchtests/bench-stpncpy-ifunc.c: Likewise.
34825         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
34826         * benchtests/bench-strcasestr-ifunc.c: Likewise.
34827         * benchtests/bench-strcat-ifunc.c: Likewise.
34828         * benchtests/bench-strchr-ifunc.c: Likewise.
34829         * benchtests/bench-strchrnul-ifunc.c: Likewise.
34830         * benchtests/bench-strcmp-ifunc.c: Likewise.
34831         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
34832         * benchtests/bench-strcpy-ifunc.c: Likewise.
34833         * benchtests/bench-strcspn-ifunc.c: Likewise.
34834         * benchtests/bench-strlen-ifunc.c: Likewise.
34835         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
34836         * benchtests/bench-strncat-ifunc.c: Likewise.
34837         * benchtests/bench-strncmp-ifunc.c: Likewise.
34838         * benchtests/bench-strncpy-ifunc.c: Likewise.
34839         * benchtests/bench-strnlen-ifunc.c: Likewise.
34840         * benchtests/bench-strpbrk-ifunc.c: Likewise.
34841         * benchtests/bench-strrchr-ifunc.c: Likewise.
34842         * benchtests/bench-strsep-ifunc.c: Likewise.
34843         * benchtests/bench-strspn-ifunc.c: Likewise.
34844         * benchtests/bench-strstr-ifunc.c: Likewise.
34846 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
34848         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
34850 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
34852         * resolv/netdb.h: Use __glibc_reserved instead __unused.
34853         * rt/aio.h: Likewise.
34854         * sysdeps/gnu/bits/utmp.h: Likewise.
34855         * sysdeps/gnu/bits/utmpx.h: Likewise.
34856         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34857         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
34858         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
34859         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
34860         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
34861         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
34862         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
34863         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
34864         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
34865         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
34866         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
34867         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
34868         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
34869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
34870         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
34871         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
34872         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
34873         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
34874         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
34875         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
34876         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
34877         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
34878         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
34879         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
34880         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
34881         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34882         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
34883         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
34884         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
34885         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
34886         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
34887         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
34888         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
34889         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
34890         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
34891         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
34892         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
34893         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
34894         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
34895         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
34896         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
34897         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
34899 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
34901         [BZ #16245]
34902         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
34903         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
34905 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
34907         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
34908         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
34909         Likewise.
34911 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34913         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
34914         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
34915         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
34916         (__fesetround): Remove define.
34917         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
34918         rounding and exceptions handling.
34919         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
34920         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
34921         (__fe_nomask_env): Likewise.
34922         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
34923         __fegetround instead of fegetround.
34924         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
34925         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
34927 2013-11-21  Roland McGrath  <roland@hack.frob.com>
34929         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
34930         it's there.
34932         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
34934 2013-11-21  Meador Inge  <meadori@codesourcery.com>
34936         [BZ #11157]
34937         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
34938         (encrypt_r): Likewise.
34939         * malloc/obstack.h (obstack_free): Likewise.
34940         * posix/unistd.h (encrypt): Likewise.
34942 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
34944         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
34945         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
34946         DL_CALL_DT_FINI() that call the functions directly.
34947         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
34948         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
34949         * elf/dl-fini.c: Likewise.
34951 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
34953         * malloc/hooks.c (memalign_check): Add alignment rounding.
34954         * malloc/malloc.c (_mid_memalign): New function.
34955         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
34956         Implement by calling _mid_memalign.
34957         * manual/probes.texi (Memory Allocation Probes): Remove
34958         memory_valloc_retry and memory_pvalloc_retry.
34960 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34962         * locale/programs/locarchive.c (open_archive): Add const
34963         qualifier to ARCHIVEFNAME and copy default fname to
34964         DEFAULT_FNAME.
34966         [BZ #15601]
34967         * libio/tst-widetext.input: Rename Oriya to Odia.
34968         * locale/iso-639.def: Likewise.
34970         * manual/probes.texi (Mathematical Function Probes): Add
34971         documentation for sin, cos, asin and acos probes.
34972         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
34973         (__sin32): Add slowasin probe.
34974         (__cos32): Add slowacos probe.
34975         (__mpsin): Add slowsin probe.
34976         (__mpcos): Add slowcos probe.
34978 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
34980         [BZ #15483]
34981         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
34982         thread-local __sim_exceptions_thread and global
34983         __sim_exceptions_global.
34984         (__sim_disabled_exceptions): Change to thread-local
34985         __sim_disabled_exceptions_thread and global
34986         __sim_disabled_exceptions_global.
34987         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
34988         and global __sim_round_mode_global.
34989         (__simulate_exceptions): Use thread-local floating-point state and
34990         set global state from it as needed.
34991         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
34992         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
34993         __sim_round_mode_thread.
34994         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
34995         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
34996         and global __sim_exceptions_global.
34997         (__sim_disabled_exceptions): Change to thread-local
34998         __sim_disabled_exceptions_thread and global
34999         __sim_disabled_exceptions_global.
35000         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
35001         and global __sim_round_mode_global.
35002         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
35003         (SIM_SET_GLOBAL): Likewise.
35004         * sysdeps/powerpc/soft-fp/sfp-machine.h
35005         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
35006         __sim_round_mode_thread.
35007         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
35008         __sim_disabled_exceptions_thread.
35009         (__sim_exceptions): Change to __sim_exceptions_thread.
35010         (__sim_disabled_exceptions): Change to
35011         __sim_disabled_exceptions_thread.
35012         (__sim_round_mode): Change to __sim_round_mode_thread.
35013         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
35014         thread-local floating-point state and set global state from it as
35015         needed.
35016         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
35017         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
35018         (__sim_disabled_exceptions): Remove extern declaration.
35019         (feenableexcept): Use thread-local floating-point state and set
35020         global state from it as needed.
35021         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
35022         extern declaration.
35023         (__sim_disabled_exceptions): Likewise.
35024         (__sim_round_mode): Likewise.
35025         (__fegetenv): Use thread-local floating-point state.
35026         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
35027         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
35028         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
35029         floating-point state and set global state from it as needed.
35030         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
35031         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35032         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
35033         Likewise.
35034         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
35035         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
35036         Likewise.
35037         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
35038         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
35039         Use __sim_round_mode_thread.
35040         * math/test-fenv-tls.c: New file.
35041         * math/Makefile (tests): Add test-fenv-tls.
35042         ($(objpfx)test-fenv-tls): Depend on
35043         $(common-objpfx)nptl/libpthread.so.
35045 2013-11-19  Andreas Schwab  <schwab@suse.de>
35047         * locale/programs/locale.c (show_info): Decode wordarray elements.
35048         * locale/categories.def (LC_MONETARY): Add element for
35049         _NL_MONETARY_CRNCYSTR.
35050         * locale/C-monetary.c (conversion_rate): New variable.
35051         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
35052         element.
35054 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
35056         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
35057         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
35059 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
35061         * elf/Makefile (tst-auxv): New test.
35062         * elf/tst-auxv.c: New
35063         * elf/rtld.c (dl_main): Adjust AT_EXECFN
35065 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
35067         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
35068         (hidden_proto): Caller changed.
35069         (hidden_tls_proto): New macro.
35070         (libc_hidden_tls_proto): Likewise.
35071         (rtld_hidden_tls_proto): Likewise.
35072         (libm_hidden_tls_proto): Likewise.
35073         (libresolv_hidden_tls_proto): Likewise.
35074         (librt_hidden_tls_proto): Likewise.
35075         (libdl_hidden_tls_proto): Likewise.
35076         (libnss_files_hidden_tls_proto): Likewise.
35077         (libnsl_hidden_tls_proto): Likewise.
35078         (libnss_nisplus_hidden_tls_proto): Likewise.
35079         (libutil_hidden_tls_proto): Likewise.
35081 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
35083         [BZ #10253]
35084         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
35085         (decompose_rpath): Defer expansion to fillin_rpath.
35086         (_dl_init_paths): Pass linkmap to fillin_rpath.
35088 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35090         * benchtests/Makefile: Add strsep.
35091         * benchtests/bench-strsep.c: New file: strsep benchtest.
35092         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
35094 2013-11-18  Andreas Schwab  <schwab@suse.de>
35096         * locale/programs/locale.c (show_info) [case byte]: Check for
35097         '\377' instead of '\177'.
35098         * locale/C-monetary.c (not_available): Always use "\377".
35099         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
35100         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
35101         detect unavailable sign_posn locale elements.
35102         * locale/localeconv.c (__localeconv): For grouping and
35103         mon_grouping handle "\177" and "\377" like no grouping.
35104         (INT_ELEM): New macro.  Use it to set all numeric members.
35105         * locale/programs/ld-monetary.c (monetary_read)
35106         <tok_mon_grouping>: Normalize single -1 to the empty string.
35107         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
35108         Likewise.
35110 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
35112         [BZ #16055]
35113         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
35114         when we match (nil).
35115         * stdio-common/tst-sscanf.c (struct test): Add testcase.
35117 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
35119         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
35120         (NO_TEST_INLINE): Update value.
35121         (ERRNO_UNCHANGED): Likewise.
35122         (ERRNO_EDOM): Likewise.
35123         (ERRNO_ERANGE): Likewise.
35124         (IGNORE_RESULT): Likewise.
35125         (check_float_internal): Check signs of NaN results if
35126         TEST_NAN_SIGN used.
35127         (check_complex): Pass TEST_NAN_SIGN flag through to second
35128         check_float_internal call.
35129         (copysign_test_data): Add tests with quiet NaNs as second
35130         argument.  Use TEST_NAN_SIGN.
35131         (fabs_test_data): Add test of negative quiet NaN argument.  Use
35132         TEST_NAN_SIGN.
35133         (signbit_test_data): Add tests of quiet NaN argument.
35134         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
35136         * math/gen-libm-test.pl (show_exceptions): Take extra argument
35137         $ignore_result.
35138         (parse_args): Handle function results specified as IGNORE.
35139         * math/libm-test.inc (IGNORE_RESULT): New macro.
35140         (check_float_internal): Do not check numerical result if flag
35141         IGNORE_RESULT set.
35142         (check_complex): Pass through IGNORE_RESULT to second
35143         check_float_internal call.
35144         (check_int): Do not check numerical result if flag IGNORE_RESULT
35145         set.
35146         (check_long): Likewise.
35147         (check_bool): Likewise.
35148         (check_longlong): Likewise.
35149         (lrint_test_data): Add tests of infinite and NaN arguments.
35150         (lrint_tonearest_test_data): Likewise.
35151         (lrint_towardzero_test_data): Likewise.
35152         (lrint_downward_test_data): Likewise.
35153         (lrint_upward_test_data): Likewise.
35154         (llrint_test_data): Likewise.
35155         (llrint_tonearest_test_data): Likewise.
35156         (llrint_towardzero_test_data): Likewise.
35157         (llrint_downward_test_data): Likewise.
35158         (llrint_upward_test_data): Likewise.
35159         (lround_test_data): Likewise.
35160         (llround_test_data): Likewise.
35162         * math/libm-test.inc (NO_TEST_INLINE): New macro.
35163         (ERRNO_UNCHANGED): Update value.
35164         (ERRNO_EDOM): Likewise.
35165         (ERRNO_ERANGE): Likewise.
35166         (NO_TEST_INLINE_FLOAT): New macro.
35167         (NO_TEST_INLINE_DOUBLE): Likewise.
35168         (enable_test): New function.
35169         (RUN_TEST_f_f): Check enable_test before running test.
35170         (RUN_TEST_2_f): Likewise.
35171         (RUN_TEST_fff_f): Likewise.
35172         (RUN_TEST_c_f): Likewise.
35173         (RUN_TEST_f_f1): Likewise.
35174         (RUN_TEST_fF_f1): Likewise.
35175         (RUN_TEST_fI_f1): Likewise.
35176         (RUN_TEST_ffI_f1): Likewise.
35177         (RUN_TEST_c_c): Likewise.
35178         (RUN_TEST_cc_c): Likewise.
35179         (RUN_TEST_f_i): Likewise.
35180         (RUN_TEST_f_i_tg): Likewise.
35181         (RUN_TEST_ff_i_tg): Likewise.
35182         (RUN_TEST_f_b): Likewise.
35183         (RUN_TEST_f_b_tg): Likewise.
35184         (RUN_TEST_f_l): Likewise.
35185         (RUN_TEST_f_L): Likewise.
35186         (RUN_TEST_fFF_11): Likewise.
35187         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
35188         conditionals.
35189         (cosh_test_data): Likewise.
35190         (exp_test_data): Likewise.
35191         (expm1_test_data): Likewise.
35192         (hypot_test_data): Likewise.
35193         (pow_test_data): Likewise.
35194         (sinh_test_data): Likewise.
35195         (tanh_test_data): Likewise.
35196         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
35197         flags argument.
35199         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
35200         tests with quiet NaN input and output.
35201         (acosh_test_data): Likewise.
35202         (asin_test_data): Likewise.
35203         (asinh_test_data): Likewise.
35204         (atan_test_data): Likewise.
35205         (atanh_test_data): Likewise.
35206         (atan2_test_data): Likewise.
35207         (cbrt_test_data): Likewise.
35208         (cos_test_data): Likewise.
35209         (cosh_test_data): Likewise.
35210         (erf_test_data): Likewise.
35211         (erfc_test_data): Likewise.
35212         (exp_test_data): Likewise.
35213         (exp10_test_data): Likewise.
35214         (exp2_test_data): Likewise.
35215         (expm1_test_data): Likewise.
35216         (hypot_test_data): Likewise.
35217         (j0_test_data): Likewise.
35218         (j1_test_data): Likewise.
35219         (jn_test_data): Likewise.
35220         (lgamma_test_data): Likewise.
35221         (log_test_data): Likewise.
35222         (log10_test_data): Likewise.
35223         (log1p_test_data): Likewise.
35224         (log2_test_data): Likewise.
35225         (pow_test_data): Likewise.
35226         (scalb_test_data): Likewise.
35227         (sin_test_data): Likewise.
35228         (sincos_test_data): Likewise.
35229         (sinh_test_data): Likewise.
35230         (tan_test_data): Likewise.
35231         (tanh_test_data): Likewise.
35232         (tgamma_test_data): Likewise.
35233         (y0_test_data): Likewise.
35234         (y1_test_data): Likewise.
35235         (yn_test_data): Likewise.
35237         [BZ #16167]
35238         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
35239         argument being NaN and avoid computations with second argument in
35240         that case.
35241         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35242         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
35243         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35245 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
35247         * locale/iso-639.def: Add Chitwani Tharu (the).
35249 2013-11-14  Andreas Schwab  <schwab@suse.de>
35251         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
35252         word instead of empty string.
35254 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35257         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
35258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35259         (__fe_nomask_env): Likewise.
35261 2013-11-13  Steve Ellcey  <sellcey@mips.com>
35263         * benchtests/bench-timing.h: Include time.h.
35265 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
35267         [BZ #15997]
35268         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
35269         to 3.4.0 for x32.
35270         * sysdeps/unix/sysv/linux/configure: Regenerated.
35272 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
35274         [BZ #16151]
35275         * stdlib/strtod_l.c (round_and_return): Do not consider
35276         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
35277         exponent one less than half the least subnormal exponent.
35278         * stdlib/test-strtod-round-data: Add more tests.
35279         * stdlib/tst-strtod-round.c (tests): Regenerated.
35281 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35283         [BZ #14143]
35284         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
35285         (__fe_mask_env): Likewise.
35286         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
35287         libm_hidden_proto and add function prototype.
35288         (__fe_mask_env): Add function prototype.
35289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35290         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
35291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35292         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
35293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35294         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
35296 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35298         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
35299         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
35301 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35303         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
35304         of htab_find_slot().
35306 2013-11-11  David S. Miller  <davem@davemloft.net>
35308         [BZ #16150]
35309         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
35310         symbol in the non-vis3 case in static builds.
35311         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
35312         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
35313         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
35314         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
35316 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
35318         [BZ #387]
35319         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
35320         it is empty.
35322 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35324         * benchtests/Makefile: Add bench-strtod.
35325         * benchtests/bench-strtod.c: New file: strtod benchtest
35327 2013-11-11  Andreas Schwab  <schwab@suse.de>
35329         [BZ #16153]
35330         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
35331         terminating NUL in key length.
35333 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35335         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
35336         Add artificial ODP entry for vDSO symbol for PPC64.
35337         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
35338         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
35340 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
35342         [BZ #15374]
35343         * nss/getent.c (services_keys): Recognize services starting with digit.
35345 2013-11-06  David S. Miller  <davem@davemloft.net>
35347         [BZ #15985]
35348         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
35349         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
35351 2013-11-06  Will Newton  <will.newton@linaro.org>
35353         * manual/memory.texi (Malloc Examples): Remove register
35354         keyword from examples.
35356 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
35358         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
35360 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
35362         [BZ #6981]
35363         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
35364         depending on [__GCC_IEC_559 > 0].
35365         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
35366         depending on [__GCC_IEC_559_COMPLEX > 0].
35368 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
35370         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
35371         to iso-639.def.
35373 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
35375         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
35377 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
35379         [BZ #16112]
35380         * malloc/malloc (malloc_info): Do not handle first bin as
35381         special case.
35383 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
35385         * locale/iso-639.def: Add Central Nahuatl (nhn).
35387 2013-11-01  Bruno Haible  <bruno@clisp.org>
35389         [BZ #7003]
35390         * manual/math.texi (BSD Random): Specify range upper bound as
35391         in POSIX.
35393 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
35395         * locale/iso-639.def: Add Meadow Mari (mhr).
35397 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
35399         [BZ #14752], [BZ #15763]
35400         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
35401         Validate name.
35402         * rt/tst_shm.c: Add test for escaping directory.
35404 2013-10-31  Andreas Schwab  <schwab@suse.de>
35406         [BZ #15917]
35407         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
35408         followed by 'x' as part of digit sequence.
35409         * stdio-common/tst-sscanf.c (double_tests2): New tests.
35411 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
35413         [BZ #16037]
35414         * configure.ac: allow GNU Make 4.0 and greater.
35415         * configure: Regenerated.
35417 2013-10-30  Will Newton  <will.newton@linaro.org>
35419         [BZ #16038]
35420         * malloc/hooks.c (memalign_check): Limit alignment to the
35421         maximum representable power of two.
35422         * malloc/malloc.c (__libc_memalign): Likewise.
35423         * malloc/tst-memalign.c (do_test): Add test for very
35424         large alignment values.
35425         * malloc/tst-posix_memalign.c (do_test): Likewise.
35427 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
35429         [BZ #11087]
35430         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
35431         (munmap_chunk): Likewise.
35432         (mremap_chunk): Likewise.
35434 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
35436         [BZ #15799]
35437         * stdlib/div.c (div): Remove obsolete code.
35438         * stdlib/ldiv.c (ldiv): Likewise.
35439         * stdlib/lldiv.c (lldiv): Likewise.
35441 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35443         [BZ #16071]
35444         * nss/nss_files/files-XXX.c (get_contents_ret): New
35445         enumerator.
35446         (get_contents): New function.
35447         (internal_getent): Use it.  Expand size of LINEBUFLEN.
35449 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
35451         * configure.in: Moved to ...
35452         * configure.ac: ... here. Change reference to configure.in
35453         to configure.ac.
35454         * sysdeps/arm/preconfigure.ac: ... here.
35455         configure.in to configure.ac.
35456         * sysdeps/gnu/configure.in: Moved to ...
35457         * sysdeps/gnu/configure.ac: ... here.
35458         * sysdeps/i386/configure.in: Moved to ...
35459         * sysdeps/i386/configure.ac: ... here.
35460         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
35461         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
35462         * sysdeps/mach/configure.in: Moved to ...
35463         * sysdeps/mach/configure.ac: ... here.
35464         * sysdeps/mach/hurd/configure.in: Moved to ...
35465         * sysdeps/mach/hurd/configure.ac: ... here.
35466         * sysdeps/powerpc/configure.in: Moved to ...
35467         * sysdeps/powerpc/configure.ac: ... here.
35468         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
35469         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
35470         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
35471         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
35472         * sysdeps/s390/s390-32/configure.in: Moved to ...
35473         * sysdeps/s390/s390-32/configure.ac: ... here.
35474         * sysdeps/s390/s390-64/configure.in: Moved to ...
35475         * sysdeps/s390/s390-64/configure.ac: ... here.
35476         * sysdeps/sh/configure.in: Moved to ...
35477         * sysdeps/sh/configure.ac: ... here.
35478         * sysdeps/sparc/configure.in: Moved to ...
35479         * sysdeps/sparc/configure.ac: ... here.
35480         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
35481         * sysdeps/unix/sysv/linux/configure.ac: ... here.
35482         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
35483         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
35484         * sysdeps/x86_64/configure.in: Moved to ...
35485         * sysdeps/x86_64/configure.ac: ... here.
35486         * sysdeps/x86_64/preconfigure.in: Moved to ...
35487         * sysdeps/x86_64/preconfigure.ac: ... here.
35488         * aclocal.m4: Change reference to configure.in to configure.ac.
35489         * config.h.in: Likewise.
35490         * manual/install.texi: Likewise.
35491         * manual/maint.texi: Likewise.
35492         * Makefile: Likewise.
35493         * malloc/Makefile: Likewise.
35494         * nscd/Makefile: Likewise.
35495         * Makeconfig: Change reference to configure.in and
35496         preconfigure.in to configure.ac and preconfigure.ac
35497         respectively.
35498         * INSTALL: Regenerated.
35499         * configure: Likewise.
35500         * sysdeps/gnu/configure: Likewise.
35501         * sysdeps/i386/configure: Likewise.
35502         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
35503         * sysdeps/mach/configure: Likewise.
35504         * sysdeps/mach/hurd/configure: Likewise.
35505         * sysdeps/powerpc/configure: Likewise.
35506         * sysdeps/powerpc/powerpc32/configure: Likewise.
35507         * sysdeps/powerpc/powerpc64/configure: Likewise.
35508         * sysdeps/s390/s390-32/configure: Likewise.
35509         * sysdeps/s390/s390-64/configure: Likewise.
35510         * sysdeps/sh/configure: Likewise.
35511         * sysdeps/sparc/configure: Likewise.
35512         * sysdeps/unix/sysv/linux/configure: Likewise.
35513         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
35514         * sysdeps/x86_64/configure: Likewise.
35515         * sysdeps/x86_64/preconfigure: Likewise.
35517 2013-10-29  Andreas Schwab  <schwab@suse.de>
35519         * stdio-common/Makefile (tst-swscanf-ENV): Define.
35521 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35523         * benchtests/pow-inputs: Add new inputs.
35525         * benchtests/exp-inputs: Add new inputs.
35527         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
35528         conditional check for return value.
35529         (__cos32): Likewise.
35531 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35533         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
35534         to provide a boost for large inputs with word alignment.
35535         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
35536         implementation based on optimized PPC64 strcpy.
35537         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
35538         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
35539         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
35540         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
35542 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
35544         [BZ #2801]
35545         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
35547 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
35549         [BZ #14876]
35550         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
35551         * time/tst-strptime.c (day_tests): Add testcase.
35553 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
35555         [BZ #14029]
35556         * manual/pattern.texi: Acknowledge that fnmatch can fail.
35558 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
35560         [BZ #16074]
35561         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
35562         MAP_FAILED on error.
35564 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35566         [BZ #16072]
35567         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
35568         heap for large requests.
35570 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
35572         [BZ #9954]
35573         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
35574         result if the result has no associated interface.
35575         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
35576         interface for all 127.X.Y.Z addresses.
35578 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
35580         * locale/iso-639.def: Add Ligurian (lij)
35582 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
35584         [BZ #15825]
35585         * sunrpc/rpc_main.c: Document rpcgen -5.
35587 2013-10-19  Michael Stahl  <mstahl@redhat.com>
35589         * elf/rtld.c (do_preload): Print the reason why preloading failed.
35591 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
35593         [BZ #10278]
35594         * posix/glob.c: Match only directories when trailing slash is present.
35595         * posix/tst-gnuglob.c (my_opendir): Do not open files.
35596         (main): Add testcase.
35598 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
35600         [BZ #15670]
35601         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
35603 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
35605         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
35606         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
35607         AUTH_DES and cindex for FIPS 140-2.
35608         (DES Encryption): Add cindex FIPS 46-3.
35610         * locale/locarchive.h (struct locarhandle): Add fname.
35611         * locale/programs/localedef.c (main): Pass ARGV[remaining]
35612         if an optional argument was specified to --list-archive,
35613         otherwise NULL.
35614         * locale/programs/locarchive.c (show_archive_content): Take new
35615         argument fname and pass it via ah.fname to open_archive.
35616         * locale/programs/localedef.h: Update decl.
35617         (open_archive): If AH->fname is non-null, open that file
35618         rather than the default file name, and don't ignore ENOENT.
35619         (create_archive): Set AH.fname to NULL.
35620         (delete_locales_from_archive): Likewise.
35621         (add_locales_to_archive): Likewise.
35622         * locale/programs/locfile.c (write_all_categories): Likewise.
35624 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
35625             Aldy Hernandez  <aldyh@redhat.com>
35627         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
35628         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
35629         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
35630         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
35631         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
35632         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
35633         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
35634         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
35635         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
35636         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
35637         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
35638         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
35639         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
35640         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
35641         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
35642         Likewise.
35643         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
35644         Likewise.
35645         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
35646         Likewise.
35647         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
35648         Likewise.
35649         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
35650         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
35651         Likewise.
35652         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
35653         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
35654         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
35655         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
35656         Likewise.
35657         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
35658         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
35659         * sysdeps/powerpc/preconfigure: Likewise.
35660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
35661         Likewise.
35662         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
35663         Replace contents of file by #include of <fenv_libc.h>.
35664         * sysdeps/powerpc/soft-fp/sfp-machine.h
35665         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
35666         and <sys/prctl.h>.
35667         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
35668         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
35669         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
35670         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
35671         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
35672         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
35673         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
35674         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
35675         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
35676         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
35677         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
35678         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
35679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
35680         Allow copysignl PLT reference to be missing.
35682 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
35683             Joseph Myers  <joseph@codesourcery.com
35685         [BZ #15948]
35686         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
35687         single character.
35688         (add_to_tablewc): Assert sequence of wide characters is nonempty.
35690 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35692         * elf/tst-tls-dlinfo.c: Don't include tls.h.
35693         * elf/tst-tls1.c: Likewise.
35694         * elf/tst-tls10.h: Likewise.
35695         * elf/tst-tls14.c: Likewise.
35696         * elf/tst-tls2.c: Likewise.
35697         * elf/tst-tls3.c: Likewise.
35698         * elf/tst-tls4.c: Likewise.
35699         * elf/tst-tls5.c: Likewise.
35700         * elf/tst-tls6.c: Likewise.
35701         * elf/tst-tls7.c: Likewise.
35702         * elf/tst-tls8.c: Likewise.
35703         * elf/tst-tls9.c: Likewise.
35704         * elf/tst-tlsmod1.c: Likewise.
35705         * elf/tst-tlsmod13.c: Likewise.
35706         * elf/tst-tlsmod13a.c: Likewise.
35707         * elf/tst-tlsmod14a.c: Likewise.
35708         * elf/tst-tlsmod16a.c: Likewise.
35709         * elf/tst-tlsmod16b.c: Likewise.
35710         * elf/tst-tlsmod2.c: Likewise.
35711         * elf/tst-tlsmod3.c: Likewise.
35712         * elf/tst-tlsmod4.c: Likewise.
35713         * elf/tst-tlsmod5.c: Likewise.
35714         * elf/tst-tlsmod6.c: Likewise.
35716 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
35718         [BZ #12486]
35719         * malloc/malloc.c: remove checks for statistics.
35721 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
35723         [BZ #15277]
35724         * inet/inet_net.c (inet_network): Detect additional invalid strings.
35725         * inet/tst-network.c: Add testcase.
35727 2013-10-17  Andreas Schwab  <schwab@suse.de>
35729         [BZ #15218]
35730         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
35731         to determine canonical name.
35733 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
35735         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
35736         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
35737         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35738         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35739         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35740         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35741         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35742         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35743         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
35744         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35745         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35746         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35747         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35748         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35749         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35750         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35751         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35752         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35753         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35754         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35755         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35756         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35757         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35758         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
35759         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
35760         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
35761         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
35762         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
35763         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
35764         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
35765         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35766         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35767         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35768         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35769         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35770         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35771         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35772         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35773         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35774         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35775         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35776         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35777         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35778         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35779         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35780         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35781         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35782         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35783         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35784         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35785         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35786         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35787         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35788         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35789         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35790         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35791         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35792         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35794 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
35796         [BZ #16041]
35797         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
35798         make result into a quiet NaN.
35800 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
35802         * soft-fp/adddf3.c: Fix horizontal whitespace.
35803         * soft-fp/addsf3.c: Likewise.
35804         * soft-fp/addtf3.c: Likewise.
35805         * soft-fp/divdf3.c: Likewise.
35806         * soft-fp/divsf3.c: Likewise.
35807         * soft-fp/divtf3.c: Likewise.
35808         * soft-fp/double.h: Likewise.
35809         * soft-fp/eqdf2.c: Likewise.
35810         * soft-fp/eqsf2.c: Likewise.
35811         * soft-fp/eqtf2.c: Likewise.
35812         * soft-fp/extenddftf2.c: Likewise.
35813         * soft-fp/extended.h: Likewise.
35814         * soft-fp/extendsfdf2.c: Likewise.
35815         * soft-fp/extendsftf2.c: Likewise.
35816         * soft-fp/extendxftf2.c: Likewise.
35817         * soft-fp/fixdfdi.c: Likewise.
35818         * soft-fp/fixdfsi.c: Likewise.
35819         * soft-fp/fixdfti.c: Likewise.
35820         * soft-fp/fixsfdi.c: Likewise.
35821         * soft-fp/fixsfsi.c: Likewise.
35822         * soft-fp/fixsfti.c: Likewise.
35823         * soft-fp/fixtfdi.c: Likewise.
35824         * soft-fp/fixtfsi.c: Likewise.
35825         * soft-fp/fixtfti.c: Likewise.
35826         * soft-fp/fixunsdfdi.c: Likewise.
35827         * soft-fp/fixunsdfsi.c: Likewise.
35828         * soft-fp/fixunsdfti.c: Likewise.
35829         * soft-fp/fixunssfdi.c: Likewise.
35830         * soft-fp/fixunssfsi.c: Likewise.
35831         * soft-fp/fixunssfti.c: Likewise.
35832         * soft-fp/fixunstfdi.c: Likewise.
35833         * soft-fp/fixunstfsi.c: Likewise.
35834         * soft-fp/fixunstfti.c: Likewise.
35835         * soft-fp/floatdidf.c: Likewise.
35836         * soft-fp/floatdisf.c: Likewise.
35837         * soft-fp/floatditf.c: Likewise.
35838         * soft-fp/floatsidf.c: Likewise.
35839         * soft-fp/floatsisf.c: Likewise.
35840         * soft-fp/floatsitf.c: Likewise.
35841         * soft-fp/floattidf.c: Likewise.
35842         * soft-fp/floattisf.c: Likewise.
35843         * soft-fp/floattitf.c: Likewise.
35844         * soft-fp/floatundidf.c: Likewise.
35845         * soft-fp/floatundisf.c: Likewise.
35846         * soft-fp/floatunditf.c: Likewise.
35847         * soft-fp/floatunsidf.c: Likewise.
35848         * soft-fp/floatunsisf.c: Likewise.
35849         * soft-fp/floatunsitf.c: Likewise.
35850         * soft-fp/floatuntidf.c: Likewise.
35851         * soft-fp/floatuntisf.c: Likewise.
35852         * soft-fp/floatuntitf.c: Likewise.
35853         * soft-fp/fmadf4.c: Likewise.
35854         * soft-fp/fmasf4.c: Likewise.
35855         * soft-fp/fmatf4.c: Likewise.
35856         * soft-fp/gedf2.c: Likewise.
35857         * soft-fp/gesf2.c: Likewise.
35858         * soft-fp/getf2.c: Likewise.
35859         * soft-fp/ledf2.c: Likewise.
35860         * soft-fp/lesf2.c: Likewise.
35861         * soft-fp/letf2.c: Likewise.
35862         * soft-fp/muldf3.c: Likewise.
35863         * soft-fp/mulsf3.c: Likewise.
35864         * soft-fp/multf3.c: Likewise.
35865         * soft-fp/negdf2.c: Likewise.
35866         * soft-fp/negsf2.c: Likewise.
35867         * soft-fp/negtf2.c: Likewise.
35868         * soft-fp/op-1.h: Likewise.
35869         * soft-fp/op-2.h: Likewise.
35870         * soft-fp/op-4.h: Likewise.
35871         * soft-fp/op-8.h: Likewise.
35872         * soft-fp/op-common.h: Likewise.
35873         * soft-fp/quad.h: Likewise.
35874         * soft-fp/single.h: Likewise.
35875         * soft-fp/soft-fp.h: Likewise.
35876         * soft-fp/sqrtdf2.c: Likewise.
35877         * soft-fp/sqrtsf2.c: Likewise.
35878         * soft-fp/sqrttf2.c: Likewise.
35879         * soft-fp/subdf3.c: Likewise.
35880         * soft-fp/subsf3.c: Likewise.
35881         * soft-fp/subtf3.c: Likewise.
35882         * soft-fp/truncdfsf2.c: Likewise.
35883         * soft-fp/trunctfdf2.c: Likewise.
35884         * soft-fp/trunctfsf2.c: Likewise.
35885         * soft-fp/trunctfxf2.c: Likewise.
35886         * soft-fp/unorddf2.c: Likewise.
35887         * soft-fp/unordsf2.c: Likewise.
35888         * soft-fp/unordtf2.c: Likewise.
35890 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
35892         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
35893         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
35895 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
35897         * elf/dl-libc.c: Clear initfini list after freeing.
35899 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
35901         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
35902         * soft-fp/addsf3.c: Likewise.
35903         * soft-fp/addtf3.c: Likewise.
35904         * soft-fp/divdf3.c: Likewise.
35905         * soft-fp/divsf3.c: Likewise.
35906         * soft-fp/divtf3.c: Likewise.
35907         * soft-fp/double.h: Likewise.
35908         * soft-fp/eqdf2.c: Likewise.
35909         * soft-fp/eqsf2.c: Likewise.
35910         * soft-fp/eqtf2.c: Likewise.
35911         * soft-fp/extenddftf2.c: Likewise.
35912         * soft-fp/extended.h: Likewise.
35913         * soft-fp/extendsfdf2.c: Likewise.
35914         * soft-fp/extendsftf2.c: Likewise.
35915         * soft-fp/extendxftf2.c: Likewise.
35916         * soft-fp/fixdfdi.c: Likewise.
35917         * soft-fp/fixdfsi.c: Likewise.
35918         * soft-fp/fixdfti.c: Likewise.
35919         * soft-fp/fixsfdi.c: Likewise.
35920         * soft-fp/fixsfsi.c: Likewise.
35921         * soft-fp/fixsfti.c: Likewise.
35922         * soft-fp/fixtfdi.c: Likewise.
35923         * soft-fp/fixtfsi.c: Likewise.
35924         * soft-fp/fixtfti.c: Likewise.
35925         * soft-fp/fixunsdfdi.c: Likewise.
35926         * soft-fp/fixunsdfsi.c: Likewise.
35927         * soft-fp/fixunsdfti.c: Likewise.
35928         * soft-fp/fixunssfdi.c: Likewise.
35929         * soft-fp/fixunssfsi.c: Likewise.
35930         * soft-fp/fixunssfti.c: Likewise.
35931         * soft-fp/fixunstfdi.c: Likewise.
35932         * soft-fp/fixunstfsi.c: Likewise.
35933         * soft-fp/fixunstfti.c: Likewise.
35934         * soft-fp/floatdidf.c: Likewise.
35935         * soft-fp/floatdisf.c: Likewise.
35936         * soft-fp/floatditf.c: Likewise.
35937         * soft-fp/floatsidf.c: Likewise.
35938         * soft-fp/floatsisf.c: Likewise.
35939         * soft-fp/floatsitf.c: Likewise.
35940         * soft-fp/floattidf.c: Likewise.
35941         * soft-fp/floattisf.c: Likewise.
35942         * soft-fp/floattitf.c: Likewise.
35943         * soft-fp/floatundidf.c: Likewise.
35944         * soft-fp/floatundisf.c: Likewise.
35945         * soft-fp/floatunsidf.c: Likewise.
35946         * soft-fp/floatunsisf.c: Likewise.
35947         * soft-fp/floatuntidf.c: Likewise.
35948         * soft-fp/floatuntisf.c: Likewise.
35949         * soft-fp/floatuntitf.c: Likewise.
35950         * soft-fp/fmadf4.c: Likewise.
35951         * soft-fp/fmasf4.c: Likewise.
35952         * soft-fp/fmatf4.c: Likewise.
35953         * soft-fp/gedf2.c: Likewise.
35954         * soft-fp/gesf2.c: Likewise.
35955         * soft-fp/getf2.c: Likewise.
35956         * soft-fp/ledf2.c: Likewise.
35957         * soft-fp/lesf2.c: Likewise.
35958         * soft-fp/letf2.c: Likewise.
35959         * soft-fp/muldf3.c: Likewise.
35960         * soft-fp/mulsf3.c: Likewise.
35961         * soft-fp/multf3.c: Likewise.
35962         * soft-fp/negdf2.c: Likewise.
35963         * soft-fp/negsf2.c: Likewise.
35964         * soft-fp/negtf2.c: Likewise.
35965         * soft-fp/op-1.h: Likewise.
35966         * soft-fp/op-2.h: Likewise.
35967         * soft-fp/op-4.h: Likewise.
35968         * soft-fp/op-8.h: Likewise.
35969         * soft-fp/op-common.h: Likewise.
35970         * soft-fp/quad.h: Likewise.
35971         * soft-fp/single.h: Likewise.
35972         * soft-fp/soft-fp.h: Likewise.
35973         * soft-fp/sqrtdf2.c: Likewise.
35974         * soft-fp/sqrtsf2.c: Likewise.
35975         * soft-fp/sqrttf2.c: Likewise.
35976         * soft-fp/subdf3.c: Likewise.
35977         * soft-fp/subsf3.c: Likewise.
35978         * soft-fp/subtf3.c: Likewise.
35979         * soft-fp/truncdfsf2.c: Likewise.
35980         * soft-fp/trunctfdf2.c: Likewise.
35981         * soft-fp/trunctfsf2.c: Likewise.
35982         * soft-fp/trunctfxf2.c: Likewise.
35983         * soft-fp/unorddf2.c: Likewise.
35984         * soft-fp/unordsf2.c: Likewise.
35985         * soft-fp/unordtf2.c: Likewise.
35987 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
35989         [BZ #15672]
35990         * misc/error.c (error_tail): Fix possible buffer overflow.
35992 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
35994         [BZ #13028]
35995         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
35996         address.
35998 2013-10-14  P. J. McDermott  <pj@pehjota.net>
36000         [BZ #832]
36001         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
36002         testing pipefail option.
36004 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
36006         * soft-fp/double.h: Indent preprocessor directives inside #if.
36007         * soft-fp/extended.h: Likewise.
36008         * soft-fp/op-2.h: Likewise.
36009         * soft-fp/op-4.h: Likewise.
36010         * soft-fp/op-common.h: Likewise.
36011         * soft-fp/quad.h: Likewise.
36012         * soft-fp/single.h: Likewise.
36013         * soft-fp/soft-fp.h: Likewise.
36015 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
36017         * iconv/iconv_prog.c: Fix typos.
36018         * stdio-common/psiginfo-data.h: Likewise.
36020 2013-10-12   Reuben Thomas <rrt@sc3d.org>
36022         [BZ #15764]
36023         * locale/setlocale.c: Fix typo.
36025 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
36027         [BZ #16036]
36028         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
36029         signaling NaN arguments.
36030         * soft-fp/unordsf2.c (__unordsf2): Likewise.
36031         * soft-fp/unordtf2.c (__unordtf2): Likewise.
36033         [BZ #14910]
36034         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
36035         unordered operands.
36036         * soft-fp/gesf2.c (__gesf2): Likewise.
36037         * soft-fp/getf2.c (__getf2): Likewise.
36038         * soft-fp/ledf2.c (__ledf2): Likewise.
36039         * soft-fp/lesf2.c (__lesf2): Likewise.
36040         * soft-fp/letf2.c (__letf2): Likewise.
36042         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
36043         * soft-fp/eqsf2.c (__eqsf2): Likewise.
36044         * soft-fp/eqtf2.c (__eqtf2): Likewise.
36045         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
36046         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
36047         * soft-fp/fixdfti.c (__fixdfti): Likewise.
36048         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
36049         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
36050         * soft-fp/fixsfti.c (__fixsfti): Likewise.
36051         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
36052         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
36053         * soft-fp/fixtfti.c (__fixtfti): Likewise.
36054         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
36055         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
36056         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
36057         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
36058         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
36059         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
36060         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
36061         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
36062         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
36063         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
36064         * soft-fp/floatdisf.c (__floatdisf): Likewise.
36065         * soft-fp/floatsisf.c (__floatsisf): Likewise.
36066         * soft-fp/floattidf.c (__floattidf): Likewise.
36067         * soft-fp/floattisf.c (__floattisf): Likewise.
36068         * soft-fp/floattitf.c (__floattitf): Likewise.
36069         * soft-fp/floatundidf.c (__floatundidf): Likewise.
36070         * soft-fp/floatundisf.c (__floatundisf): Likewise.
36071         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
36072         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
36073         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
36074         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
36075         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
36076         * soft-fp/gesf2.c (__gesf2): Likewise.
36077         * soft-fp/getf2.c (__getf2): Likewise.
36078         * soft-fp/ledf2.c (__ledf2): Likewise.
36079         * soft-fp/lesf2.c (__lesf2): Likewise.
36080         * soft-fp/letf2.c (__letf2): Likewise.
36082         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
36083         Undefine and redefine.
36084         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
36085         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
36086         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
36087         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
36088         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36089         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
36090         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36091         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
36092         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36093         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
36094         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36095         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
36096         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36097         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
36098         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36100         [BZ #16032]
36101         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
36102         without decrementing exponent if mantissa >= that for the
36103         denominator, not >.
36104         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
36105         denominator, not >.  Decrement exponent in < case instead of
36106         incrementing in >= case.
36107         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
36108         without decrementing exponent if mantissa >= that for the
36109         denominator, not >.
36111         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
36112         computing saturated result for unsigned overflow.
36114 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36115             Jeff Law  <law@redhat.com>
36117         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
36118         (atan2Mp): Add systemtap probe marker.
36119         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
36120         (__ieee754_log): Add systemtap probe marker.
36121         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
36122         (atanMp): Add systemtap probe marker.
36123         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
36124         (tanMp): Add systemtap probe marker.
36125         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
36126         (__slowexp): Add systemtap probe marker.
36127         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
36128         (__slowpow): Add systemtap probe marker.
36129         * manual/probes.texi: Document probes.
36131 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
36133         [BZ #15362]
36134         * libio/fileops.c (_IO_new_file_write): Return count of bytes
36135         written.
36136         (_IO_new_file_xsputn): Don't return EOF if nothing has been
36137         written.
36138         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
36139         written to buffer but not flushed.
36140         * libio/iofwrite_u.c:  Likewise.
36141         * libio/iopadn.c:  Return bytes returned even if EOF was
36142         encountered.
36143         * libio/iowpadn.c:  Likewise.
36144         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
36145         if _IO_padn does not write the whole buffer.
36146         [!COMPILE_WPRINTF] (PAD): Likewise.
36148 2013-10-10  David S. Miller  <davem@davemloft.net>
36150         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
36151         directory block.
36153 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
36155         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
36156         instead of FSF address.
36157         * soft-fp/fixdfti.c: Likewise.
36158         * soft-fp/fixsfti.c: Likewise.
36159         * soft-fp/fixtfti.c: Likewise.
36160         * soft-fp/fixunsdfti.c: Likewise.
36161         * soft-fp/fixunssfti.c: Likewise.
36162         * soft-fp/fixunstfti.c: Likewise.
36163         * soft-fp/floattidf.c: Likewise.
36164         * soft-fp/floattisf.c: Likewise.
36165         * soft-fp/floattitf.c: Likewise.
36166         * soft-fp/floatuntidf.c: Likewise.
36167         * soft-fp/floatuntisf.c: Likewise.
36168         * soft-fp/floatuntitf.c: Likewise.
36169         * soft-fp/trunctfxf2.c: Likewise.
36171         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
36172         * soft-fp/fixdfti.c: Likewise.
36173         * soft-fp/fixsfti.c: Likewise.
36174         * soft-fp/fixtfti.c: Likewise.
36175         * soft-fp/fixunsdfti.c: Likewise.
36176         * soft-fp/fixunssfti.c: Likewise.
36177         * soft-fp/fixunstfti.c: Likewise.
36178         * soft-fp/floattidf.c: Likewise.
36179         * soft-fp/floattisf.c: Likewise.
36180         * soft-fp/floattitf.c: Likewise.
36181         * soft-fp/floatuntidf.c: Likewise.
36182         * soft-fp/floatuntisf.c: Likewise.
36183         * soft-fp/floatuntitf.c: Likewise.
36184         * soft-fp/trunctfxf2.c: Likewise.
36186 2013-10-10  David S. Miller  <davem@davemloft.net>
36188         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36190 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
36192         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
36193         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
36194         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
36195         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
36196         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
36197         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
36198         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
36200         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
36201         for NaNs before doing comparisons on argument.
36202         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
36203         Likewise.
36205 2013-10-10  Will Newton  <will.newton@linaro.org>
36207         * malloc/hooks.c (memalign_check): Ensure the value of bytes
36208         passed to _int_memalign does not overflow.
36210 2013-10-10  Torvald Riegel  <triegel@redhat.com>
36212         * scripts/bench.pl: Add include-sources directive.
36213         * benchtests/README: Update documentation.
36215 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
36217         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
36218         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
36219         instead of FP_INIT_ROUNDMODE.
36220         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
36221         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
36223         [BZ #16034]
36224         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
36225         copy class of input value.
36226         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
36227         not handle exceptions.
36228         * soft-fp/negsf2.c (__negsf2): Likewise.
36229         * soft-fp/negtf2.c (__negtf2): Likewise.
36230         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
36232 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
36234         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
36235         semicolon.  From Linux kernel.
36237 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
36239         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
36241 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
36243         [BZ #156]
36244         * manual/socket.texi: Added statement about buffer
36245         for gethostbyname2_r.
36247 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
36249         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
36250         Use .p2align directive instead, throughout.
36251         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36252         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
36253         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
36254         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36255         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36256         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
36257         * sysdeps/x86_64/strchr.S: Likewise.
36258         * sysdeps/x86_64/strrchr.S: Likewise.
36260 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36262         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
36264         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
36266         * sysdeps/generic/math_private.h (__mpsin1): Remove
36267         declaration.
36268         (__mpcos1): Likewise.
36269         (__mpsin): New argument __range_reduce.
36270         (__mpcos): Likewise.
36271         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36272         (slow): Use __mpsin and __mpcos.
36273         (slow1): Likewise.
36274         (slow2): Likewise.
36275         (sloww): Likewise.
36276         (sloww1): Likewise.
36277         (sloww2): Likewise.
36278         (bsloww): Likewise.
36279         (bsloww1): Likewise.
36280         (bsloww2): Likewise.
36281         (cslow2): Likewise.
36282         (csloww): Likewise.
36283         (csloww1): Likewise.
36284         (csloww2): Likewise.
36285         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
36286         range_reduce.  Merge in __mpsin1.
36287         (__mpcos): Likewise.
36288         (__mpsin1): Remove.
36289         (__mpcos1): Likewise.
36291 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
36293         * locale/loadlocale.c (_nl_intern_locale_data): Use
36294         LOCFILE_ALIGNED_P.
36295         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
36296         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
36297         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
36298         obstack data is appropriately aligned.
36299         (obstack_int32_grow_fast): Likewise.
36300         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
36301         * locale/programs/locfile.c (add_locale_uint32): Likewise.
36302         (add_locale_uint32_array): Likewise.
36304 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
36306         * benchtests/Makefile: Remove ARGLIST and RET variables.
36307         ($(objpfx)bench-%.c): Pass only function name to the script.
36308         * benchtests/README: Update documentation.
36309         * benchtests/acos-inputs: Add new directives.
36310         * benchtests/acosh-inputs: Likewise.
36311         * benchtests/asin-inputs: Likewise.
36312         * benchtests/asinh-inputs: Likewise.
36313         * benchtests/atan-inputs: Likewise.
36314         * benchtests/atanh-inputs: Likewise.
36315         * benchtests/cos-inputs: Likewise.
36316         * benchtests/cosh-inputs: Likewise.
36317         * benchtests/exp-inputs: Likewise.
36318         * benchtests/log-inputs: Likewise.
36319         * benchtests/pow-inputs: Likewise.
36320         * benchtests/rint-inputs: Likewise.
36321         * benchtests/sin-inputs: Likewise.
36322         * benchtests/sinh-inputs: Likewise.
36323         * benchtests/tan-inputs: Likewise.
36324         * benchtests/tanh-inputs: Likewise.
36325         * scripts/bench.pl: Add support for new directives.
36327 2013-10-07  Alan Modra  <amodra@gmail.com>
36329         * README: Fix careless merge.
36331 2013-10-05  Alan Modra  <amodra@gmail.com>
36333         * NEWS: Mention powerpc64le support and bugs fixed.
36334         * README: Both big-endian and little-endian powerpc64 supported.
36336 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36338         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
36339         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
36340         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
36341         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
36343 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
36345         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
36346         match prototype.
36348 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
36350         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
36351         Move -mhard-float appending from
36352         ports/sysdeps/powerpc/powerpc32/Makefile.
36353         [$(with-fp) = yes] (ASFLAGS): Likewise.
36354         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
36355         * sysdeps/powerpc/nofpu: Move directory from
36356         ports/sysdeps/powerpc/nofpu.
36357         * sysdeps/powerpc/soft-fp: Move directory from
36358         ports/sysdeps/powerpc/soft-fp.
36359         * sysdeps/powerpc/powerpc32/405: Move directory from
36360         ports/sysdeps/powerpc/powerpc32/405.
36361         * sysdeps/powerpc/powerpc32/440: Move directory from
36362         ports/sysdeps/powerpc/powerpc32/440.
36363         * sysdeps/powerpc/powerpc32/464: Move directory from
36364         ports/sysdeps/powerpc/powerpc32/464.
36365         * sysdeps/powerpc/powerpc32/476: Move directory from
36366         ports/sysdeps/powerpc/powerpc32/476.
36367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
36368         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
36369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
36370         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
36371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
36372         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
36373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
36374         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
36375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
36376         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
36377         * README: Update for powerpc-*-linux-gnu software floating point
36378         support in libc.
36380         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
36381         case to powerpc/powerpc32*.
36382         * sysdeps/unix/sysv/linux/configure: Regenerated.
36384         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
36385         (_FPU_MASK_OM): Define as 0x04.
36386         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
36387         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
36388         0x00c10080.
36389         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
36390         0x0000003c.
36391         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
36393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
36394         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
36395         getcontext_e500.
36396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
36397         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
36398         setcontext_e500.
36399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
36400         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
36401         and setcontext_e500.
36403 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
36405         * locale/iso-3166.def: Update iso-1366.def and related occurrences
36407 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36409         * manual/threads.texi (Default Thread Attributes): Fix typo.
36411 2013-10-04  Will Newton  <will.newton@linaro.org>
36413         * malloc/Makefile: Add tst-memalign.
36414         * malloc/tst-memalign.c: New file.
36416         * malloc/tst-posix_memalign.c: Add comments.
36417         (do_test): Add comments and call free on all potentially
36418         allocated pointers. Add space after cast.
36420         * malloc/tst-pvalloc.c: Add comments.
36421         (do_test): Add comments and call free on all potentially
36422         allocated pointers. Remove duplicate check for NULL pointer.
36423         Add space after cast.
36425         * malloc/tst-valloc.c: Add comments.
36426         (do_test): Add comments and call free on all potentially
36427         allocated pointers. Remove duplicate check for NULL pointer.
36428         Add space after cast.
36430 2013-10-04  Alan Modra  <amodra@gmail.com>
36432         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36433         Use stdint types in rather than __attribute__((mode())).
36434         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36436 2013-10-04  Alan Modra  <amodra@gmail.com>
36438         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36439         Correct handling of unaligned relocs for little-endian.
36440         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36442 2013-10-04  Alan Modra  <amodra@gmail.com>
36444         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
36445         * configure: Regenerate.
36446         * nptl/shlib-versions: Powerpc*le starts at 2.18.
36447         * shlib-versions: Likewise.
36449 2013-10-04  Alan Modra  <amodra@gmail.com>
36451         * string/tester.c (test_memrchr): Increment reported test cycle.
36453 2013-10-04  Alan Modra  <amodra@gmail.com>
36455         * string/test-memcpy.c (do_one_test): When reporting errors, print
36456         string address and don't overrun end of string.
36458 2013-10-04  Alan Modra  <amodra@gmail.com>
36460         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
36461         insrdi.  Make better use of reg selection to speed exit slightly.
36462         Schedule entry path a little better.  Remove useless "are we done"
36463         checks on entry to main loop.  Handle wrapping around zero address.
36464         Correct main loop count.  Handle single left-over word from main
36465         loop inline rather than by using loop_small.  Remove extra word
36466         case in loop_small caused by wrong loop count.  Add little-endian
36467         support.
36468         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
36469         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
36470         cache hint.
36471         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
36472         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
36473         support.  Avoid rlwimi.
36474         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
36476 2013-10-04  Alan Modra  <amodra@gmail.com>
36478         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
36479         insrdi.  Formatting.
36480         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
36481         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
36482         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
36483         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
36484         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
36485         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
36487 2013-10-04  Alan Modra  <amodra@gmail.com>
36489         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
36490         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36491         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
36492         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
36493         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
36494         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
36495         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36496         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
36497         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
36498         use of regs.  Use power7 mtocrf.  Tidy function tails.
36500 2013-10-04  Alan Modra  <amodra@gmail.com>
36502         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
36503         Formatting.  Consistently use rXXX register defines or rN defines.
36504         Use early exit labels that avoid restoring unused non-volatile regs.
36505         Make cr field use more consistent with rWORDn compares.  Rename
36506         regs used as shift registers for unaligned loop, using rN defines
36507         for short lifetime/multiple use regs.
36508         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
36509         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
36510         addi 1,1,64 to pop stack frame.  Simplify return value code.
36511         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36513 2013-10-04  Alan Modra  <amodra@gmail.com>
36515         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
36516         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
36517         rather than rlwimi.
36518         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
36519         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
36520         little-endian support.  Correct typos.
36521         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
36522         rather than rlwimi.
36523         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
36524         in loop and entry code to keep "and." results.
36525         (strchr): Add little-endian support.  Comment.  Move cntlzd
36526         earlier in tail.
36527         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
36529 2013-10-04  Alan Modra  <amodra@gmail.com>
36531         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
36532         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
36533         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
36534         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
36536 2013-10-04  Alan Modra  <amodra@gmail.com>
36538         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
36539         (rTMP): Define as r11.
36540         (strcmp): Add little-endian support.  Optimise tail.
36541         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
36542         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
36543         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
36544         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36545         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
36546         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36547         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36549 2013-10-04  Alan Modra  <amodra@gmail.com>
36551         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
36552         little-endian support.  Remove unnecessary "are we done" tests.
36553         Handle "s" wrapping around zero and extremely large "size".
36554         Correct main loop count.  Handle single left-over word from main
36555         loop inline rather than by using small_loop.  Correct comments.
36556         Delete "zero" tail, use "end_max" instead.
36557         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
36559 2013-10-04  Alan Modra  <amodra@gmail.com>
36561         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
36562         support.  Don't branch over align.
36563         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
36564         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
36565         support.  Rearrange tmp reg use to suit.  Comment.
36566         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
36568 2013-10-04  Alan Modra  <amodra@gmail.com>
36570         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
36572 2013-10-04  Alan Modra  <amodra@gmail.com>
36574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
36575         conditional form of branch and link when obtaining pc.
36576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
36578 2013-10-04  Alan Modra  <amodra@gmail.com>
36580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
36581         HIWORD/LOWORD.
36582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
36583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
36585 2013-10-04  Alan Modra  <amodra@gmail.com>
36587         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
36588         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
36589         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
36590         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
36591         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
36592         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
36593         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
36594         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36595         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
36596         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
36598 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36599             Alistair Popple <alistair@ozlabs.au.ibm.com>
36600             Alan Modra <amodra@gmail.com>
36602         [BZ #15723]
36603         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
36604         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
36605         _dl_hwcap access for little-endian.
36606         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
36607         destroy vmx regs when saving unaligned.
36608         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
36609         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
36610         destroy vmx regs when saving unaligned.
36612 2013-10-04  Alan Modra  <amodra@gmail.com>
36614         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
36615         Don't use a union to pack hi/low value.
36617 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36619         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
36620         for little-endian.
36621         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
36622         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
36623         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36624         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
36625         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
36627 2013-10-04  Alan Modra  <amodra@gmail.com>
36629         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
36630         constants to usual value for .cst8 section, and remove redundant
36631         high address load.
36632         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
36633         constant for 0x1p52.  Load little-endian words of double from
36634         correct stack offsets.
36636 2013-10-04  Alan Modra  <amodra@gmail.com>
36638         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
36639         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
36640         words of double from correct stack offsets.
36641         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
36642         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
36643         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
36644         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
36645         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
36646         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
36647         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
36648         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
36649         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
36650         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
36651         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
36652         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
36653         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36654         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36655         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36656         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
36657         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
36659 2013-10-04  Alan Modra  <amodra@gmail.com>
36661         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
36662         64-bit int/double union.
36663         (_FPU_SETCW): Likewise.
36664         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
36665         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
36667 2013-10-04  Alan Modra  <amodra@gmail.com>
36669         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
36670         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
36672 2013-10-04  Alan Modra  <amodra@gmail.com>
36674         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
36675         use vector int constants.
36676         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
36678 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36680         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
36681         array with long long.
36682         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
36683         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
36684         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
36685         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
36686         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
36687         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
36688         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
36689         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
36690         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
36691         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
36692         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
36693         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
36694         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
36696 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36698         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
36699         (__signbit): Likewise.  Correct for little-endian.
36700         (__signbitl): Call __signbit.
36701         (lrint): Correct for little-endian.
36702         (lrintf): Call lrint.
36704 2013-10-04  Alan Modra  <amodra@gmail.com>
36706         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
36707         union 32-bit int array member with 64-bit int array.
36708         (t515, tm256): Double rather than long double.
36709         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
36711 2013-10-04  Alan Modra  <amodra@gmail.com>
36713         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
36714         Delete.
36715         (IEEE854_LONG_DOUBLE_BIAS): Delete.
36716         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
36717         version of math_ldbl.h.
36719 2013-10-04  Alan Modra  <amodra@gmail.com>
36721         [BZ #15734], [BZ #15735]
36722         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
36723         all uses of ieee875 long double macros and unions.  Simplify test
36724         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
36725         ldbl_extract_mantissa value for ix,iy exponents.  Properly
36726         normalize after ldbl_extract_mantissa, and don't add hidden bit
36727         already handled.  Don't treat low word of ieee854 mantissa like
36728         low word of IBM long double and mask off bit when testing for
36729         zero.
36730         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
36731         all uses of ieee875 long double macros and unions.  Simplify tests
36732         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
36733         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
36734         two1022, instead use their values.  Recognise that tests for large
36735         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
36736         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
36737         Rewrite all uses of ieee875 long double macros and unions.  Simplify
36738         test for 0.0L and nan.  Correct negation.
36739         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
36740         ieee875 long double macros and unions.  Correct output for large
36741         magnitude x.  Correct absolute value calculation.
36742         (__erfcl): Likewise.
36743         * math/libm-test.inc: Add tests for errors discovered in IBM long
36744         double versions of fmodl, remainderl, erfl and erfcl.
36746 2013-10-04  Alan Modra  <amodra@gmail.com>
36748         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
36749         all uses of ieee854 long double macros and unions.  Simplify tests
36750         for long doubles that are fully specified by the high double.
36751         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
36752         Likewise.
36753         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
36754         Remove dead code too.
36755         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
36756         (__ieee754_ynl): Likewise.
36757         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
36758         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
36759         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
36760         Remove dead code too.
36761         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
36762         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
36763         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
36764         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
36765         Simplify.
36766         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
36767         Simplify.
36768         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
36769         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
36770         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
36771         Comment on variable precision.
36772         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
36773         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36774         Likewise.
36775         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36776         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36777         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36778         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
36779         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
36781 2013-10-04  Alan Modra  <amodra@gmail.com>
36783         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
36784         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
36785         all uses of ieee854 long double macros and unions.
36786         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
36787         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36788         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
36789         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
36790         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
36791         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
36792         Likewise.
36793         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
36794         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36795         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
36796         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36797         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
36798         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
36799         Simplify sign and nan test too.
36800         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
36801         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
36802         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
36803         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
36804         Likewise.
36805         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
36806         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
36807         Likewise.
36808         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36809         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
36810         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
36811         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
36812         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
36813         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
36815 2013-10-04  Alan Modra  <amodra@gmail.com>
36817         * stdio-common/printf_size.c (__printf_size): Don't use
36818         union ieee854_long_double in fpnum union.
36819         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
36820         signbit macro to retrieve sign from long double.
36821         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
36822         retrieve sign from long double.
36823         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
36824         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
36825         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
36826         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
36827         * math/test-misc.c (main): Don't use union ieee854_long_double.
36829 2013-10-04  Alan Modra  <amodra@gmail.com>
36831         [BZ #15680]
36832         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
36833         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
36834         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
36835         calculation.  Remove unnecessary test for denormal exponent.
36836         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
36837         Correct handling of denormals.  Avoid undefined shift behaviour.
36838         Correct normalisation of low mantissa when low double is denormal.
36839         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
36840         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
36841         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
36842         Correct normalisation of low mantissa.  Test for overflow of high
36843         mantissa and normalise.
36844         (ldbl_nearbyint): Use more readable constant for two52.
36845         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
36846         (__mpn_construct_long_double): Fix test for overflow of high
36847         mantissa and correct normalisation.  Avoid undefined shift.
36849 2013-10-04  Alan Modra  <amodra@gmail.com>
36851         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
36852         (union ibm_extended_long_double): Define as an array of ieee754_double.
36853         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
36854         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
36855         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
36856         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36857         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36858         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
36859         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
36860         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
36861         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36862         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
36863         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36865 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
36867         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
36868         page size instead of calling getpagesize.
36870         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
36871         (LOCFILE_ALIGN_MASK): Likewise.
36872         (LOCFILE_ALIGN_UP): Likewise.
36873         (LOCFILE_ALIGNED_P): Likewise.
36874         * locale/programs/ld-collate.c (collate_output): Use the new
36875         macros instead of __alignof__ (int32_t).
36876         * locale/weight.h (findidx): Likewise.
36878 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
36880         [BZ #431]
36881         * manual/string.texi: Fix strncat and wcsncat.
36883 2013-10-03  Brooks Moses  <bmoses@google.com>
36885         [BZ #15915]
36886         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
36887         * Makerules: ...here, and adjust associated comments.
36889 2013-10-02  Will Newton  <will.newton@linaro.org>
36891         * malloc/Makefile: Add tst-pvalloc.
36892         * malloc/tst-pvalloc.c: New file.
36894 2013-10-02  Will Newton  <will.newton@linaro.org>
36896         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
36897         improve test coverage.
36899 2013-10-02  Will Newton  <will.newton@linaro.org>
36901         * malloc/Makefile: Add tst-posix_memalign.
36902         * malloc/tst-posix_memalign.c: New file.
36904 2013-10-01  Eric Blake  <eblake@redhat.com>
36906         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
36907         Use __THROWNL rather than __THROW on static functions.
36909 2013-09-30  Petr Machata  <pmachata@redhat.com>
36911         * elf/elf.h (R_AARCH64_ABS16): New macro.
36912         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
36913         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
36914         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
36915         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
36916         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
36917         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
36918         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
36919         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
36920         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
36921         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
36922         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
36923         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
36924         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
36925         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
36926         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
36927         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
36928         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
36929         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
36930         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
36931         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
36932         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
36933         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
36934         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
36935         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
36936         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
36937         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
36938         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
36939         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
36940         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
36941         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
36942         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
36943         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
36944         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
36945         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
36946         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
36947         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
36948         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
36949         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
36950         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
36951         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
36952         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
36953         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
36954         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
36955         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
36956         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
36957         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
36958         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
36959         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
36960         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
36961         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
36962         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
36963         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
36964         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
36965         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
36966         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
36967         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
36968         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
36969         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
36970         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
36971         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
36972         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
36973         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
36974         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
36975         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
36976         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
36977         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
36978         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
36979         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
36980         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
36981         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
36982         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
36983         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
36984         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
36985         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
36986         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
36987         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
36988         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
36989         (R_AARCH64_TLSDESC_LDR): Likewise.
36990         (R_AARCH64_TLSDESC_ADD): Likewise.
36991         (R_AARCH64_TLSDESC_CALL): Likewise.
36993 2013-09-30  Andreas Schwab  <schwab@suse.de>
36995         [BZ #15048]
36996         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
36997         the nss database lookup.
36998         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36999         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37001 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
37003         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
37005 2013-09-28  P. J. McDermott  <pj@pehjota.net>
37007         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
37008         ${Bash-specific parameter/pattern/string} parameter expansion.
37009         * sysdeps/unix/make-syscalls.sh: Likewise.
37011 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37013         * sysdeps/sh/stackguard-macros.h: New file.
37015 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
37017         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
37018         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
37019         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
37020         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
37021         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37022         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
37024 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37026         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
37027         Fix thread ID register.
37029 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
37031         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
37032         [POSIX || UNIX98]: Require rather than permitting all symbols from
37033         <time.h>.
37034         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
37035         element of struct sched_param.
37036         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
37037         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
37038         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
37039         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
37040         constant.
37042 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
37044         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
37045         argument calculation.
37047 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
37049         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
37050         Expect macro.
37051         [POSIX] (pthread_attr_t): Do not require type.
37052         [POSIX] (pthread_cond_t): Likewise.
37053         [POSIX] (pthread_condattr_t): Likewise.
37054         [POSIX] (pthread_key_t): Likewise.
37055         [POSIX] (pthread_mutex_t): Likewise.
37056         [POSIX] (pthread_mutexattr_t): Likewise.
37057         [POSIX] (pthread_once_t): Likewise.
37058         [POSIX] (pthread_t): Likewise.
37059         [POSIX-based standards] (pthread_atfork): Expect function.
37061 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
37062             Richard Sandiford  <richard@codesourcery.com>
37064         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
37065         (swap_endianness_p): New extern variable.
37066         (set_big_endian): New inline function.
37067         (maybe_swap_uint32): Likewise.
37068         (maybe_swap_uint32_array): Likewise.
37069         (maybe_swap_uint32_obstack): Likewise.
37070         * locale/programs/locfile.c: Include <stdbool.h>.
37071         (swap_endianness_p): New variable.
37072         (add_locale_uint32): Call maybe_swap_uint32.
37073         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
37074         (write_locale_data): Call maybe_swap_uint32_array.
37075         * locale/programs/ld-collate.c (obstack_int32_grow): Call
37076         maybe_swap_uint32.
37077         (obstack_int32_grow_fast): Likewise.
37078         (output_weightwc): Call maybe_swap_uint32_obstack.
37079         (collate_output): Likewise.
37080         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
37081         (OPT_LITTLE_ENDIAN): Likewise.
37082         (options): Add --little-endian and --big-endian options.
37083         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
37084         * locale/programs/locarchive.c: Include "locfile.h".
37085         (GET): New macro.
37086         (SET): Likewise.
37087         (INC): Likewise.
37088         (create_archive): Use the new macros to access fields of
37089         structures directly mapped from or written to locale archives.
37090         (oldlocrecentcmp): Likewise.
37091         (enlarge_archive): Likewise.
37092         (insert_name): Likewise.
37093         (add_alias): Likewise.
37094         (add_locale): Likewise.
37095         (delete_locales_from_archive): Likewise.
37096         (show_archive_content): Likewise.
37097         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
37098         locale data.
37100 2013-09-24  Roland McGrath  <roland@hack.frob.com>
37102         * manual/freemanuals.texi: Updated from (newly) canonical copy at
37103         http://www.gnu.org/doc/freemanuals.texi.
37104         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
37106 2013-09-24  Will Newton  <will.newton@linaro.org>
37108         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
37109         macro.
37111 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
37113         * locale/hashval.h (compute_hashval): Interpret bytes of key as
37114         unsigned char.
37116 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
37118         * manual/threads.texi (POSIX Threads): Fix a typo.
37120 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
37122         [BZ #14547]
37123         * string/tst-strcoll-overflow.c: New test case.
37124         * string/Makefile (xtests): Add tst-strcoll-overflow.
37125         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
37126         cache if string sizes may cause integer overflow.
37128         [BZ #14547]
37129         * string/strcoll_l.c (coll_seq): New members rule, idx,
37130         save_idx and back_us.
37131         (get_next_seq_nocache): New function.
37132         (do_compare_nocache): New function.
37133         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
37134         when malloc fails.
37136 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
37138         [BZ #15754]
37139         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
37140         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
37141         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
37143         [BZ #15754]
37144         * elf/Makefile (tests): Add tst-ptrguard1.
37145         (tests-static): Add tst-ptrguard1-static.
37146         (tst-ptrguard1-ARGS): Define.
37147         (tst-ptrguard1-static-ARGS): Define.
37148         * elf/tst-ptrguard1.c: New file.
37149         * elf/tst-ptrguard1-static.c: New file.
37150         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
37151         * sysdeps/i386/stackguard-macros.h: Likewise.
37152         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37153         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37154         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37155         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37156         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37157         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37159 2013-09-23  Hector Marco  <hecmargi@upv.es>
37160             Ismael Ripoll  <iripoll@disca.upv.es>
37161             Carlos O'Donell  <carlos@redhat.com>
37163         [BZ #15754]
37164         * sysdeps/generic/stackguard-macros.h: Define
37165         __pointer_chk_guard_local and POINTER_CHK_GUARD.
37166         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
37167         Define __pointer_chk_guard_local.
37168         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
37169         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
37171 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
37173         [BZ #15859]
37174         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
37176 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
37178         * include/string.h (__ffs): Declare as hidden.
37179         * string/ffs.c (__ffs): Define as hidden.
37180         * sysdeps/i386/ffs.c (__ffs): Likewise.
37181         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
37182         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
37183         * sysdeps/s390/ffs.c (__ffs): Likewise.
37184         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
37186 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
37188         * NEWS: Mention malloc probes.
37190         * malloc/arena.c (new_heap): New memory_heap_new probe.
37191         (grow_heap): New memory_heap_more probe.
37192         (shrink_heap): New memory_heap_less probe.
37193         (heap_trim): New memory_heap_free probe.
37194         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
37195         (systrim): New memory_sbrk_less probe.
37196         * manual/probes.texi: Document them.
37198         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
37199         * manual/probes.texi: Document it.
37201         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
37202         (__libc_realloc): Add memory_realloc_retry probe.
37203         (__libc_memalign): Add memory_memalign_retry probe.
37204         (__libc_valloc): Add memory_valloc_retry probe.
37205         (__libc_pvalloc): Add memory_pvalloc_retry probe.
37206         (__libc_calloc): Add memory_calloc_retry probe.
37207         * manual/probes.texi: Document them.
37209         * malloc/arena.c (get_free_list): Add probe
37210         memory_arena_reuse_free_list.
37211         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
37212         and memory_arena_reuse.
37213         (arena_get2) [!PER_THREAD]: Likewise.
37214         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
37215         memory_arena_reuse_realloc.
37216         * manual/probes.texi: Document them.
37218         * malloc/malloc.c (__libc_free): Add
37219         memory_mallopt_free_dyn_thresholds probe.
37220         (__libc_mallopt): Add multiple memory_mallopt probes.
37221         * manual/probes.texi: Document them.
37223         * malloc/malloc.c: Include stap-probe.h.
37224         (__libc_mallopt): Add memory_mallopt probe.
37225         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
37226         * manual/probes.texi: New.
37227         * manual/Makefile (chapters): Add probes.
37228         * manual/threads.texi: Set next node.
37230 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
37232         [BZ #15963, #13985]
37233         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
37234         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
37235         Add `Chinese' to `nan' entry name.
37237 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37239         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
37240         (POLYNOMIAL): Likewise.
37241         (TAYLOR_SINCOS): Likewise.
37242         (TAYLOR_SLOW): Likewise.
37243         (__sin): Use TAYLOR_SINCOS.
37244         (__cos): Likewise.
37245         (slow): Use TAYLOR_SLOW.
37246         (sloww): Likewise.
37247         (bsloww): Likewise.
37248         (csloww): Likewise.
37250 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37252         * stdlib/strtod_l.c: Fix buffer overrun.
37254 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37256         * benchtests/Makefile (bench): Add sincos.
37257         * benchtests/bench-sincos.c: New file.
37259         * math/libm-test.inc (cos_test_data): New test inputs.
37260         (sin_test_data): Likewise.
37262         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
37263         macro.
37264         (__sin): Use it.
37265         (__cos): Likewise.
37266         (slow1): Likewise.
37267         (slow2): Likewise.
37268         (sloww1): Likewise.
37269         (sloww2): Likewise.
37270         (bsloww1): Likewise.
37271         (bsloww2): Likewise.
37272         (cslow2): Likewise.
37273         (csloww1): Likewise.
37274         (csloww2): Likewise.
37276         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
37277         function.
37278         (__sin): Use it.
37279         (__cos): Likewise.
37281         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
37282         gotos.
37283         (__cos): Likewise.
37285 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
37287         * config.h.in (HAVE_MIPS_NAN2008): New macro.
37288         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
37289         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
37290         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
37291         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
37292         * elf/cache.c (print_entry): Handle the new cache flags.
37294 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
37295             Aldy Hernandez  <aldyh@redhat.com>
37297         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
37298         Change condition to [_SOFT_FLOAT].
37299         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
37300         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
37301         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
37302         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
37303         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
37304         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
37305         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
37306         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
37307         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
37308         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
37309         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
37310         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
37311         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
37312         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
37313         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
37314         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
37315         declaration.
37317 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
37319         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
37320         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
37321         (__longjmp): Use LOAD_GP to load saved GPRs.
37322         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
37323         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
37324         (__sigsetjmp): Use SAVE_GP to save GPRs.
37326         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
37327         Do not append -msoft-float.
37328         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
37330 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37332         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
37334 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
37336         [BZ #15966]
37337         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
37338         (_FPU_GETCW): Use initial "__" on variable and field names but not
37339         on macro parameter name.
37340         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
37341         parentheses around reference to macro parameter.
37343 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
37345         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
37346         prototype.
37347         (ctype_startup): Use uint32_t in cast and sizeof for
37348         ctype->charnames.
37350 2013-09-11  Jia Liu  <proljc@gmail.com>
37352         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
37353         __daddr_t_defined.
37354         [__FreeBSD__]: Likewise.
37356 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
37358         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
37359         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
37360         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
37361         (strchr): Remove __strchr_sse42 ifunc selection.
37362         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
37363         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
37365 2013-09-11  Will Newton  <will.newton@linaro.org>
37367         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
37368         parameter to RES. Remove hardcoded 1000 value.
37369         * benchtests/bench-skeleton.c (main): Pass RES parameter
37370         to TIMING_INIT and multiply result by 1000.
37372 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37376 2013-09-11  Andreas Schwab  <schwab@suse.de>
37378         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
37379         if not defined.
37380         (O_TMPFILE) [__USE_GNU]: Define.
37381         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
37382         Define.
37384 2013-09-11  Will Newton  <will.newton@linaro.org>
37386         [BZ #15857]
37387         * malloc/malloc.c (__libc_memalign): Check the value of bytes
37388         does not overflow.
37390 2013-09-11  Will Newton  <will.newton@linaro.org>
37392         [BZ #15856]
37393         * malloc/malloc.c (__libc_valloc): Check the value of bytes
37394         does not overflow.
37396 2013-09-11  Will Newton  <will.newton@linaro.org>
37398         [BZ #15855]
37399         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
37400         does not overflow.
37402 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
37404         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
37405         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37406         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37407         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37408         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37410 2013-09-10  Allan McRae  <allan@archlinux.org>
37412         [BZ #15748]
37413         * manual/arith.texi (Parsing of Floats): Clarify
37414         cross-reference.
37416         [BZ #15849]
37417         * manual/install.texi (Running make install): Mention
37418         --enable-pt-chown.
37419         * INSTALL: Regenerated.
37421 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
37423         * csu/init-first.c (_init): Remove the !SHARED condition around
37424         FPU control word initialization.
37425         * elf/dl-support.c (_dl_fpu_control): New variable.
37426         (_dl_aux_init) <AT_FPUCW>: Initialize it.
37427         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
37428         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
37429         * math/test-fpucw-static.c: New file.
37430         * math/test-fpucw-ieee.c: New file.
37431         * math/test-fpucw-ieee-static.c: New file.
37432         * math/Makefile (tests): Add `test-fpucw-ieee' and
37433         `$(tests-static)'.
37434         (tests-static): New variable.
37435         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
37436         dependency to...
37437         [($(build-shared),yes)]
37438         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
37439         ... this.
37440         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
37441         New dependency.
37443 2013-09-09  Allan McRae  <allan@archlinux.org>
37445         [BZ #15939]
37446         * manual/string.texi (Collation Functions): Fix typo in
37447         strcoll example.
37448         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
37450         [BZ #15893]
37451         * stdlib/isomac.c (get_null_defines): Fix memory leak.
37453         [BZ #15892]
37454         * libio/memstream.c (open_memstream): Fix memory leak.
37455         * libio/wmemstream.c (open_wmemstream): Likewise.
37457         [BZ #15895]
37458         * nscd/netgroupcache.c: Fix nesting of ifdefs.
37460 2013-09-09  Will Newton  <will.newton@linaro.org>
37462         * malloc/Makefile: Add tst-realloc to tests.
37463         * malloc/tst-realloc.c: New file.
37465 2013-09-09  Allan McRae  <allan@archlinux.org>
37467         [BZ #15844]
37468         * COPYING: Update from GNU website to fix FSF address.
37469         * COPYING.LIB: Likewise.
37471 2013-09-06  David S. Miller  <davem@davemloft.net>
37473         * po/zh_TW.po: Update Chinese (traditional) translation from
37474         translation project.
37476 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
37477             Joseph Myers  <joseph@codesourcery.com>
37479         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
37480         "localeinfo.h".
37481         (obstack_chunk_alloc): New macro.
37482         (obstack_chunk_free): Likewise.
37483         (record_offset): New function.
37484         (init_locale_data): Likewise.
37485         (align_locale_data): Likewise.
37486         (add_locale_empty): Likewise.
37487         (add_locale_raw_data): Likewise.
37488         (add_locale_raw_obstack): Likewise.
37489         (add_locale_string): Likewise.
37490         (add_locale_wstring): Likewise.
37491         (add_locale_uint32): Likewise.
37492         (add_locale_uint32_array): Likewise.
37493         (add_locale_char): Likewise.
37494         (start_locale_structure): Likewise.
37495         (end_locale_structure): Likewise.
37496         (start_locale_prelude): Likewise.
37497         (end_locale_prelude): Likewise.
37498         (write_locale_data): Take locale_file structure rather than an
37499         iovec.
37500         * locale/programs/locfile.h: Include "obstack.h".
37501         (struct locale_file): Change to store locale file contents instead
37502         of header.
37503         (init_locale_data): New prototype.
37504         (align_locale_data): Likewise.
37505         (add_locale_empty): Likewise.
37506         (add_locale_raw_data): Likewise.
37507         (add_locale_raw_obstack): Likewise.
37508         (add_locale_string): Likewise.
37509         (add_locale_wstring): Likewise.
37510         (add_locale_uint32): Likewise.
37511         (add_locale_uint32_array): Likewise.
37512         (add_locale_char): Likewise.
37513         (start_locale_structure): Likewise.
37514         (end_locale_structure): Likewise.
37515         (start_locale_prelude): Likewise.
37516         (end_locale_prelude): Likewise.
37517         (write_locale_data): Update prototype.
37518         * locale/programs/3level.h (struct TABLE): Remove result field.
37519         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
37520         Use new locale_file interface.
37521         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
37522         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
37523         * locale/programs/ld-address.c (address_output): Use new
37524         locale_file interface.
37525         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
37526         NO_ADD_LOCALE.
37527         (collate_finish): Don't call collseq_table_finalize.
37528         (collate_output): Use new locale_file interface.
37529         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
37530         in file.
37531         (NO_FINALIZE): Change to NO_ADD_LOCALE.
37532         (TABLE): Move defines earlier in file.
37533         (ELEMENT): Likewise.
37534         (DEFAULT): Likewise.
37535         (wctrans_table_add): Move macro and inline function earlier in
37536         file.
37537         (struct wctype_table): Move type earlier in file.
37538         (add_locale_wctype_table): New static prototype.
37539         (struct locale_ctype_t): Use logical types instead of struct iovec
37540         pointers for members.
37541         (ctype_output): Use new locale_file interface.
37542         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
37543         new locale_file interface.
37544         (allocate_arrays): Update for use of new locale_file interface.
37545         * locale/programs/ld-identification.c (identification_output): Use
37546         new locale_file interface.
37547         * locale/programs/ld-measurement.c (measurement_output): Likewise.
37548         * locale/programs/ld-messages.c (messages_output): Likewise.
37549         * locale/programs/ld-monetary.c (monetary_output): Likewise.
37550         * locale/programs/ld-name.c (name_output): Likewise.
37551         * locale/programs/ld-numeric.c (numeric_output): Likewise.
37552         * locale/programs/ld-paper.c (paper_output): Likewise.
37553         * locale/programs/ld-telephone.c (telephone_output): Likewise.
37554         * locale/programs/ld-time.c (time_output): Likewise.
37556 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37558         * benchtests/Makefile: Add memrchr benchmark.
37559         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
37560         benchmark as memrchr.
37561         * benchtests/bench-memrchr-ifunc.c: New file.
37562         * benchtests/bench-memrchr.c: New file.
37564 2013-09-06   Will Newton  <will.newton@linaro.org>
37566         * benchtests/Makefile (string-bench): Add memcpy.
37568 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
37569             Cong Wang  <amwang@redhat.com>
37571         [BZ #15850]
37572         * sysdeps/unix/sysv/linux/bits/in.h
37573         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
37574         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
37575         before __USE_KERNEL_IPV6_DEFS uses.
37576         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
37577         IPPROTO_BEETPH.
37578         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
37579         sockaddr_in6, or ipv6_mreq.
37581 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37583         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
37584         memory access for final bytes in some large inputs.
37585         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
37587 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37589         * string/test-memrchr.c: New file.
37590         * string/test-memrchr-ifunc.c: New file.
37591         * string/Makefile: Add new memrchr testcase.
37593 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
37595         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
37596         fanotify_init returns EPERM.
37598 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
37600         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
37601         errors.
37602         (top level): Treat second token from macro or constant entries for
37603         allowed headers as allowed.
37604         * include/complex.h: Condition internal declarations on
37605         [!_ISOMAC].
37606         * include/fenv.h: Condition include of <stdbool.h> and internal
37607         declarations on [!_ISOMAC].
37609 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
37611         [BZ #15923]
37612         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
37614 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
37616         * configure.in (--enable-versioning): Remove configure option.
37617         (libc_cv_asm_symver_directive): Remove configure test.
37618         (libc_cv_ld_version_script_option): Likewise.
37619         (VERSIONING): Remove variable and AC_SUBST.
37620         (DO_VERSIONING): Remove AC_DEFINE.
37621         * configure: Regenerated.
37622         * config.h.in (DO_VERSIONING): Remove macro.
37623         * Makerules [$(versioning) = yes]: Change conditionals to
37624         [$(build-shared) = yes].
37625         * config.make.in (versioning): Remove variable.
37626         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
37627         [$(build-shared) = yes].
37628         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
37629         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
37630         * elf/Makefile [$(versioning) = yes]: Change conditionals to
37631         [$(build-shared) = yes].
37632         * extra-lib.mk [$(versioning) = yes]: Likewise.
37633         * hurd/Makefile [$(versioning) = yes]: Likewise.
37634         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
37635         [SHARED].
37636         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
37637         [SHARED].
37638         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
37639         [SHARED && !NO_HIDDEN].
37640         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
37641         [SHARED].
37642         [SHARED && DO_VERSIONING]: Likewise..
37643         * libio/Makefile [$(versioning) = yes]: Change conditionals to
37644         [$(build-shared) = yes].
37645         * manual/install.texi (--disable-versioning): Remove
37646         documentation.
37647         * INSTALL: Regenerated.
37648         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
37649         to [SHARED].
37650         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
37651         [$(build-shared) = yes].
37652         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
37653         * sysdeps/i386/i686/multiarch/strstr-c.c
37654         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
37655         [SHARED && !NO_HIDDEN].
37656         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
37657         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
37658         * sysdeps/powerpc/powerpc32/dl-machine.c
37659         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
37660         * sysdeps/powerpc/powerpc32/sysdep.h
37661         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
37662         to [SHARED && PIC && !NO_HIDDEN].
37663         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
37664         conditional to [SHARED].
37666 2013-09-04   Will Newton  <will.newton@linaro.org>
37668         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
37669         * benchtests/bench-string.h: Include bench-timing.h instead
37670         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
37671         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
37672         call to HP_TIMING_DIFF_INIT.
37673         * benchtests/bench-memccpy.c: Use bench-timing.h macros
37674         instead of hp-timing.h macros.
37675         * benchtests/bench-memchr.c: Likewise.
37676         * benchtests/bench-memcmp.c: Likewise.
37677         * benchtests/bench-memcpy.c: Likewise.
37678         * benchtests/bench-memmem.c: Likewise.
37679         * benchtests/bench-memmove.c: Likewise.
37680         * benchtests/bench-memset.c: Likewise.
37681         * benchtests/bench-rawmemchr.c: Likewise.
37682         * benchtests/bench-strcasecmp.c: Likewise.
37683         * benchtests/bench-strcasestr.c: Likewise.
37684         * benchtests/bench-strcat.c: Likewise.
37685         * benchtests/bench-strchr.c: Likewise.
37686         * benchtests/bench-strcmp.c: Likewise.
37687         * benchtests/bench-strcpy.c: Likewise.
37688         * benchtests/bench-strcpy_chk.c: Likewise.
37689         * benchtests/bench-strlen.c: Likewise.
37690         * benchtests/bench-strncasecmp.c: Likewise.
37691         * benchtests/bench-strncat.c: Likewise.
37692         * benchtests/bench-strncmp.c: Likewise.
37693         * benchtests/bench-strncpy.c: Likewise.
37694         * benchtests/bench-strnlen.c: Likewise.
37695         * benchtests/bench-strpbrk.c: Likewise.
37696         * benchtests/bench-strrchr.c: Likewise.
37697         * benchtests/bench-strspn.c: Likewise.
37698         * benchtests/bench-strstr.c: Likewise.
37700 2013-09-04  Will Newton  <will.newton@linaro.org>
37702         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
37704 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
37706         [BZ #15427]
37707         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
37708         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
37709         * math/libm-test.inc (lgamma_test_data): Add more tests.
37710         * sysdeps/i386/fpu/libm-test-ulps: Update.
37711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37713 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
37715         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
37716         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37717         Add ifunc.
37718         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
37719         Add strcmp-sse2-unaligned
37720         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
37722 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
37724         * Versions.def (libc): Add GLIBC_2.19.
37726 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
37728         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
37729         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
37731 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
37733         [BZ #14155]
37734         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
37735         intermediate calculations in recurrence.
37736         (__ieee754_ynf): Likewise.
37737         * math/libm-test.inc (jn_test_data): Do not allow spurious
37738         underflow exception.  Add more tests.
37739         (yn_test_data): Add more tests.
37740         * sysdeps/i386/fpu/libm-test-ulps: Update.
37741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37743 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
37745         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
37747 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
37749         * csu/init-first.c: Fix then/than typos.
37750         * locale/programs/ld-collate.c: Likewise.
37751         * locale/programs/linereader.h: Likewise.
37752         * manual/charset.texi: Likewise.
37753         * manual/filesys.texi: Likewise.
37754         * manual/stdio.texi: Likewise.
37755         * manual/string.texi: Likewise.
37756         * stdlib/fmtmsg.c: Likewise.
37757         * sysdeps/i386/stpncpy.S: Likewise.
37758         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37759         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
37760         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37761         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
37763 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
37765         * elf/dl-open.c: Fix typos.
37766         * iconvdata/gbbig5.c: Likewise.
37767         * iconvdata/iso-2022-jp.c: Likewise.
37768         * iconv/gconv_int.h: Likewise.
37769         * iconv/loop.c: Likewise.
37770         * nis/rpcsvc/nis.h: Likewise.
37771         * resolv/ns_name.c: Likewise.
37772         * stdio-common/vfscanf.c: Likewise.
37773         * streams/stropts.h: Likewise.
37774         * sunrpc/rpc_thread.c: Likewise.
37775         * sysdeps/i386/strpbrk.S: Likewise.
37776         * sysdeps/ieee754/k_standard.c: Likewise.
37777         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37778         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37779         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
37780         * sysdeps/mach/hurd/profil.c: Likewise.
37781         * sysdeps/s390/dl-procinfo.h: Likewise.
37782         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
37783         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
37784         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
37785         * sysdeps/x86_64/dl-trampoline.S: Likewise.
37786         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37788 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
37790         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
37791         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
37793 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
37795         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
37796         aix specific files.
37797         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
37798         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
37799         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
37800         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
37801         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
37802         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
37803         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
37804         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
37806 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
37807             Roland McGrath  <roland@hack.frob.com>
37809         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
37810         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
37812 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37814         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
37815         __executable_start symbol instead of _start.
37817 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
37819         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
37820         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
37821         Move macros to...
37822         * sysdeps/gnu/ldsodefs.h: ... this new file.
37824         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
37825         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
37826         instead of ELFOSABI_LINUX.
37828         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
37829         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
37830         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
37831         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
37832         Likewise.
37833         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
37834         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
37835         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
37836         Likewise.
37837         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
37838         (ibm_extended_long_double): Add ieee_nan member.
37839         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
37840         (do_test): New function.
37842         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
37843         TEST_TRUNC.
37844         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
37845         functions, renamed from truncdfsf_test, trunctfsf_test,
37846         trunctfdf_test.
37847         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
37848         functions.
37849         (do_test): Run all these.
37851 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
37853         * argp/argp-help.c: Fix typos.
37854         * argp/argp-parse.c: Likewise.
37855         * debug/backtracesyms.c: Likewise.
37856         * elf/elf.h: Likewise.
37857         * malloc/malloc.c: Likewise.
37858         * nis/nis_print.c: Likewise.
37859         * resolv/res_comp.c: Likewise.
37860         * stdlib/stdlib.h: Likewise.
37861         * sunrpc/clnt_tcp.c: Likewise.
37862         * sunrpc/clnt_udp.c: Likewise.
37863         * sunrpc/clnt_unix.c: Likewise.
37864         * sysdeps/unix/bsd/ptsname.c: Likewise.
37865         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
37866         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
37867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
37868         Likewise.
37869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
37870         Likewise.
37871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
37872         Likewise.
37873         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37875 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37877         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
37878         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37880 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
37882         [BZ #15897]
37883         * dlfcn/Makefile (tests): Add bug-dl-leaf.
37884         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
37885         ($(objpfx)bug-dl-leaf): New rule.
37886         ($(objpfx)bug-dl-leaf.so): Likewise.
37887         ($(objpfx)bug-dl-leaf.out): Likewise.
37888         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
37889         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
37890         * dlfcn/bug-dl-leaf.c: New test.
37891         * dlfcn/bug-dl-leaf-lib.c: Likewise.
37892         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
37893         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
37894         (dlclose): Likewise.
37895         (dlmopen): Likewise.
37897 2013-08-27  Roland McGrath  <roland@hack.frob.com>
37899         * include/netdb.h [!_ISOMAC]:
37900         Don't include <tls.h>.
37901         (h_errno, __libc_h_errno): Move declaration and macros out of
37902         [_LIBC_REENTRANT].
37904         * include/resolv.h [_RESOLV_H_]:
37905         Don't include <tls.h>.
37906         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
37907         * resolv/res_libc.c: Don't include <tls.h>.
37908         (_res): Use __attribute__ ((nocommon)) in place of
37909         __attribute__ ((section (".bss"))).
37911         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
37912         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
37914         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
37916         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
37917         only under [SIOCGIFCONF && SIOCGIFNETMASK].
37919         * resolv/res_mkquery.c: Include <sys/time.h>.
37921         * inet/ifreq.c: Moved to ...
37922         * sysdeps/unix/ifreq.c: ... here.
37923         * inet/ifreq.c: New file, true stub version.
37925         * socket/sa_len.c: New file.
37926         * socket/Makefile (aux): Add it.
37927         * sysdeps/unix/sysv/linux/Makefile
37928         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
37929         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
37930         and #include <socket/sa_len.c>.
37931         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
37932         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
37934         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
37935         * bits/socket.h: ... here.
37937         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
37938         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
37939         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
37941 2013-08-27  Andreas Schwab  <schwab@suse.de>
37943         [BZ #15736]
37944         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
37945         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
37946         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
37947         * string/test-strcasecmp.c (test_main): Run tests in several
37948         locales.
37949         * string/test-strncasecmp.c (test_main): Likewise.
37951         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
37952         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
37953         to __strcasecmp_nonascii and __strncasecmp_nonascii.
37954         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
37955         (__strncasecmp_ssse3) [PIC]: Likewise.
37957 2013-08-26  Roland McGrath  <roland@hack.frob.com>
37959         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
37961         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
37962         instead of explicitly declaring xdecrypt.
37963         * nis/nss_nis/nis-publickey.c: Likewise.
37965 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37967         [BZ #15890]
37968         * nscd/aicache.c: Include res_hconf.h.
37969         (addhstaiX): Initialize res_hconf.
37971 2013-08-26  Andreas Schwab  <schwab@suse.de>
37973         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
37974         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
37976 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37978         * nscd/aicache.c (addhstaiX): Fix indentation.
37980 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
37982         * configure.ac: Quote $build_pt_chown test.
37983         * configure: Regenerated.
37985 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
37987         [BZ #15532]
37988         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
37989         * math/s_cexpf.c (__cexpf): Likewise.
37990         * math/s_cexpl.c (__cexpl): Likewise.
37991         * math/libm-test.inc (cexp_test_data): Correct expected return
37992         value for NaN + i0.  Add another test.
37994 2013-08-22  David S. Miller  <davem@davemloft.net>
37996         * po/ca.po: Update Catalan translation from translation project.
37997         * po/uk.po: Add Ukrainian translations from translation project.
37999 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
38001         [BZ #15797]
38002         * math/s_fdim.c (__fdim): Check for infinite arguments if result
38003         is infinite, not alongside NaN test.
38004         * math/s_fdimf.c (__fdimf): Likewise.
38005         * math/s_fdiml.c (__fdiml): Likewise.
38006         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
38007         errno is unchanged.
38009 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
38011         * argp/argp-help.c: Fix typos.
38012         * crypt/speeds.c: Likewise.
38013         * csu/check_fds.c: Likewise.
38014         * elf/dl-load.c: Likewise.
38015         * elf/dl-open.c: Likewise.
38016         * elf/reldep3.c: Likewise.
38017         * elf/reldep.c: Likewise.
38018         * elf/sprof.c: Likewise.
38019         * iconv/iconv_charmap.c: Likewise.
38020         * iconv/skeleton.c: Likewise.
38021         * iconv/strtab.c: Likewise.
38022         * io/lockf64.c: Likewise.
38023         * libio/libioP.h: Likewise.
38024         * resolv/gai_notify.c: Likewise.
38025         * resolv/ns_name.c: Likewise.
38026         * resolv/ns_samedomain.c: Likewise.
38027         * resolv/res_send.c: Likewise.
38028         * stdlib/random.c: Likewise.
38029         * sunrpc/rpc/xdr.h: Likewise.
38030         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
38031         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38032         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38033         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38034         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38035         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38036         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38037         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38038         * sysdeps/mach/hurd/check_fds.c: Likewise.
38039         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38040         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
38041         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38042         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38043         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
38044         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38045         * sysdeps/pthread/aio_notify.c: Likewise.
38046         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
38047         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
38048         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
38049         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
38050         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
38052 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38054         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
38055         version if bit_Slow_SSE4_2 is set.
38056         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38057         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38059 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38061         [BZ #15867]
38062         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
38063         trampoline stack frame information.
38064         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
38065         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
38066         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
38067         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
38068         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
38069         * sysdeps/unix/sysv/linux/powerpc/init-first.c
38070         (_libc_vdso_platform_setup): Initialize the signal trampolines.
38071         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
38072         sa_flags value.
38073         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
38074         interrupting a syscall and set with option SA_SIGINFO.
38076 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
38078         [BZ #15531]
38079         * math/s_cproj.c (__cproj): Only return an infinity if one part of
38080         argument is infinite.
38081         * math/s_cprojf.c (__cprojf): Likewise.
38082         * math/s_cprojl.c (__cprojl): Likewise.
38083         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
38084         * math/libm-test.inc (cproj_test_data): Add more tests.
38086         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
38088         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
38089         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
38090         size.  Use __ffs to determine corresponding shift.
38092 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
38093             Roland McGrath  <roland@hack.frob.com>
38095         * Makefile (INSTALL): Remove trailing blank lines from output of
38096         makeinfo.
38098 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38100         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
38101         Align 32 bit compat elf_greg to 8 bytes.
38103 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
38105         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
38107 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38109         * string/strcoll_l.c (coll_seq): New structure.
38110         (get_next_seq_cached): New function.
38111         (get_next_seq): New function.
38112         (do_compare): New function.
38113         (STRCOLL): Use GNU style definition.  Simplify implementation
38114         by using get_next_seq, get_next_seq_cached and do_compare.
38116 2013-08-16  Florian Weimer  <fweimer@redhat.com>
38118         [BZ #14699]
38119         CVE-2013-4237
38120         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
38121         member.
38122         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
38123         member.
38124         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
38125         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
38126         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
38127         conditional.
38128         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
38129         GETDENTS_64BIT_ALIGNED.
38130         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38131         * manual/filesys.texi (Reading/Closing Directory): Document
38132         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
38133         strongly.
38134         * manual/conf.texi (Limits for Files): Add portability note to
38135         NAME_MAX, PATH_MAX.
38136         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
38138 2013-08-13  Andreas Schwab  <schwab@suse.de>
38140         [BZ #15749]
38141         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
38142         of fabs.
38143         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
38144         LDBL_MAX_EXP >= 16384]: Add tests for it.
38146 2013-08-12  David S. Miller  <davem@davemloft.net>
38148         * version.h (RELEASE): Set to "development".
38149         (VERSION): Set to "2.18.90".
38150         * NEWS: Add 2.19 section.
38152 2013-08-03  David S. Miller  <davem@davemloft.net>
38154         * po/ko.po: Update Korean translation from translation project.
38156 2013-08-01  David S. Miller  <davem@davemloft.net>
38158         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
38159         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
38160         Bilka.
38162 2013-07-30  David S. Miller  <davem@davemloft.net>
38164         * po/fr.po: Update French translation from translation project.
38166 2013-07-28  David S. Miller  <davem@davemloft.net>
38168         * po/cs.po: Update Czech translation from translation project.
38170         * po/sv.po: Update Swedish translation from translation project.
38172 2013-07-27  David S. Miller  <davem@davemloft.net>
38174         * po/eo.po: Update Esperanto translation from translation project.
38176         * po/vi.po: Update Vietnamese translation from translation project.
38178         * po/de.po: Update German translation from translation project.
38180 2013-07-26  David S. Miller  <davem@davemloft.net>
38182         * po/bg.po: Update Bulgarian translation from translation project.
38184         * po/nl.po: Update Dutch translation from translation project.
38185         * po/pl.po: Update Polish translation from translation project.
38186         * po/ru.po: Update Russian translation from translation project.
38188 2013-07-24  David S. Miller  <davem@davemloft.net>
38190         * po/libc.pot: Update.
38192 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38194         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
38195         variable page size.
38196         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
38197         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
38198         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
38200 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38202         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
38204 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38205             Andreas Schwab  <schwab@suse.de>
38206             Roland McGrath  <roland@hack.frob.com>
38207             Joseph Myers  <joseph@codesourcery.com>
38208             Carlos O'Donell  <carlos@redhat.com>
38210         [BZ #15755]
38211         * config.h.in: Define HAVE_PT_CHOWN.
38212         * config.make.in (build-pt-chown): New variable.
38213         * configure.in (--enable-pt_chown): New configure option.
38214         * configure: Regenerate.
38215         * login/Makefile: Include Makeconfig.  Build pt_chown only if
38216         build-pt-chown is enabled.
38217         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
38218         pt_chown to fix pty ownership.
38219         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
38220         CLOSE_ALL_FDS.
38221         * manual/install.texi (Configuring and compiling): Mention
38222         --enable-pt_chown. Add @findex for grantpt.
38223         * INSTALL: Regenerate.
38225 2013-07-20  David S. Miller  <davem@davemloft.net>
38227         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
38228         difference between 32-bit and 64-bit.
38230 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
38232         [BZ #15711]
38233         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
38234         Avoid system header dependency with -ffreestanding.
38235         ($(objpfx)bits/syscall%d): Likewise.
38237 2013-07-13  David S. Miller  <davem@davemloft.net>
38239         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
38240         underflows from atanl/atan2l due to bug 15319.
38241         (casinh_test_data): Likewise.
38243 2013-07-07  David S. Miller  <davem@davemloft.net>
38245         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
38247 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
38249         * sysdeps/i386/fpu/libm-test-ulps: Update.
38250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38252 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38254         * configure.in (--enable-lock-elision): Fix message text.
38255         * INSTALL: Regenerate.
38256         * configure: Regenerate.
38258 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38260         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38262 2013-07-03  Andreas Jaeger  <aj@suse.de>
38264         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
38265         define.
38266         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
38267         (ptrace_peeksiginfo_args): Add.
38268         (__ptrace_peeksiginfo_flags): Add.
38269         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38270         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38271         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38273 2013-07-03  Allan McRae  <allan@archlinux.org>
38275         * sysdeps/i386/fpu/libm-test-ulps: Update.
38277 2013-07-02  David S. Miller  <davem@davemloft.net>
38279         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38281 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
38283         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38285 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
38287         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38290 2013-07-02  Andi Kleen <ak@linux.intel.com>
38292         * config.h.in (ENABLE_LOCK_ELISION): Add.
38293         * configure.in (--enable-lock-elision): Add option.
38294         * manual/install.texi: Document --enable lock elision.
38295         * configure: Regenerate
38296         * INSTALL: Regenerate.
38298 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
38300         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
38301         SSE4.2 strcasecmp for libc.a.
38302         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
38304 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
38306         [BZ #13304]
38307         * soft-fp/op-common.h (_FP_FMA): New macro.
38308         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
38309         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
38310         (_FP_MUL_MEAT_1_imm): ... here.
38311         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
38312         (_FP_MUL_MEAT_1_wide): ... here.
38313         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
38314         (_FP_MUL_MEAT_1_hard): ... here.
38315         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
38316         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
38317         (_FP_MUL_MEAT_2_wide): ... here.
38318         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
38319         (_FP_MUL_MEAT_2_wide_3mul): ... here.
38320         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
38321         (_FP_MUL_MEAT_2_gmp): ... here.
38322         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
38323         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
38324         (_FP_MUL_MEAT_4_wide): ... here.
38325         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
38326         (_FP_MUL_MEAT_4_gmp): ... here.
38327         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
38328         (_FP_WFRACBITS_DW_S): Likewise.
38329         (_FP_WFRACXBITS_DW_S): Likewise.
38330         (_FP_HIGHBIT_DW_S): Likewise.
38331         (FP_FMA_S): Likewise.
38332         (_FP_FRAC_HIGH_DW_S): Likewise.
38333         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
38334         (_FP_WFRACBITS_DW_D): Likewise.
38335         (_FP_WFRACXBITS_DW_D): Likewise.
38336         (_FP_HIGHBIT_DW_D): Likewise.
38337         (FP_FMA_D): Likewise.
38338         (_FP_FRAC_HIGH_DW_D): Likewise.
38339         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
38340         (_FP_WFRACBITS_DW_E): Likewise.
38341         (_FP_WFRACXBITS_DW_E): Likewise.
38342         (_FP_HIGHBIT_DW_E): Likewise.
38343         (FP_FMA_E): Likewise.
38344         (_FP_FRAC_HIGH_DW_E): Likewise.
38345         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
38346         (_FP_WFRACBITS_DW_Q): Likewise.
38347         (_FP_WFRACXBITS_DW_Q): Likewise.
38348         (_FP_HIGHBIT_DW_Q): Likewise.
38349         (FP_FMA_Q): Likewise.
38350         (_FP_FRAC_HIGH_DW_Q): Likewise.
38351         * soft-fp/fmasf4.c: New file.
38352         * soft-fp/fmadf4.c: Likewise.
38353         * soft-fp/fmatf4.c: Likewise.
38355 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38357         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38358         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
38359         Silvermont.
38360         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
38361         macro.
38362         (index_Slow_SSE4_2): Likewise.
38363         (index_Prefer_PMINUB_for_stringop): Likewise.
38364         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
38365         bit_Slow_SSE4_2 is set.
38366         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38367         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38369 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38371         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
38372         rtld_global._dl_hwcap2.
38373         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
38374         POWER8.
38375         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
38376         POWER8 feature descriptions defined in _dl_hwcap2.
38377         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
38378         string handling for POWER8 feature bits.
38379         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
38380         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
38381         _dl_powerpc_cap_flags.
38382         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
38383         * sysdeps/powerpc/rtld-global-offsets.sym
38384         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
38385         _dl_hwcap2 in the rtld_global_ro structure.
38387 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38389         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
38390         hardware capabilities in support of AT_HWCAP2.
38391         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
38392         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
38393         GLRO(dl_hwcap2).
38394         (_dl_show_auxv): Add support for calling _dl_procinfo to display
38395         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
38396         explicitly the unknown a_type display mechanism is used.
38397         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
38398         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
38399         struct member.
38400         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
38401         to macro prototype for AT_HWCAP2 support.
38402         * sysdeps/i386/dl-procinfo.h: Likewise.
38403         * sysdeps/s390/dl-procinfo.h: Likewise.
38404         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
38405         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
38406         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
38407         return -1 for unknown a_type display fallback.
38408         * sysdeps/sparc/dl-procinfo.h: Likewise.
38409         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
38410         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
38412 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
38414         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
38415         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
38417 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
38419         [BZ #12492]
38420         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
38421         mprotect making __stack_prot writable.
38423 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
38424             Joseph Myers  <joseph@codesourcery.com>
38426         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
38427         as being properly aligned.
38429 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
38431         * dlfcn/modstatic5.c: New file.
38432         * dlfcn/tststatic5.c: New file.
38433         * dlfcn/Makefile (tests): Add tststatic5.
38434         (tests-static): Likewise.
38435         (modules-names): Add modstatic5.
38436         (tststatic5-ENV): New variable.
38437         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
38439         [BZ #15022]
38440         * elf/dl-support.c (_dl_main_map): New variable.
38441         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
38442         (_dl_nns, _dl_load_adds): Set to 1.
38443         (_dl_initial_searchlist): Refer to _dl_main_map.
38444         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
38445         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
38446         call to _dl_get_origin.
38447         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
38448         around call_map.
38449         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
38450         * dlfcn/modstatic3.c: New file.
38451         * dlfcn/tststatic3.c: New file.
38452         * dlfcn/tststatic4.c: New file.
38453         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
38454         (tests-static): Likewise.
38455         (modules-names): Add modstatic3.
38456         (tststatic3-ENV, tststatic4-ENV): New variables.
38457         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
38458         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
38460 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
38462         * configure.in (CC): Require GCC version 4.4 or later.
38463         * configure: Regenerated.
38464         * manual/install.texi (Tools for Compilation): Update GCC version
38465         requirement.
38466         * INSTALL: Regenerated.
38468 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38470         [BZ #15674]
38471         * string/test-memcmp.c (check2): New.
38472         (main): Call check2.
38474         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
38476 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
38478         [BZ #15022]
38479         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
38480         over to...
38481         (dl_open_worker) [!SHARED]: ... here.
38483 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38485         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
38487 2013-06-25  Richard Henderson  <rth@redhat.com>
38489         * locale/programs/locarchive.c: Include <libc-internal.h>
38491 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
38493         * manual/texinfo.tex: Update to version 2013-06-21.17, with
38494         trailing whitespace removed.
38496 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
38498         [BZ #10283]
38499         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
38500         * locale/programs/locarchive.c: Include libc-mmap.h.
38501         (prepare_address_space): Take two new outputs (the mmap base and len).
38502         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
38503         values.
38504         (create_archive): Declare new mmap base and len values for
38505         prepare_address_space, and store the result in ah.
38506         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
38507         (enlarge_archive): If ah->mmap_base is not NULL, use that and
38508         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
38509         Declare new mmap base and len values for
38510         prepare_address_space, and store the result in new_ah.
38511         (open_archive): Declare new mmap base and len values for
38512         prepare_address_space, and store the result in ah.
38513         (close_archive): If ah->mmap_base is not NULL, use that and
38514         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
38515         * sysdeps/generic/libc-mmap.h: New file.
38517 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
38519         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
38520         (ALIGN_UP): Likewise.
38521         (PTR_ALIGN_DOWN): Likewise.
38522         (PTR_ALIGN_UP): Likewise.
38524 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38526         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
38527         entry mapped to PPC_PLATFORM_POWER8.
38528         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
38529         POWER8.
38530         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
38531         (_dl_string_platform): Add case for exporting platform position for
38532         POWER8.
38533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
38534         search path to sysdeps/powerpc/powerpc32/power8 directory.
38535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
38536         search path to sysdeps/powerpc/powerpc64/power8 directory.
38537         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
38538         power7 directories.
38539         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
38540         power7 directories.
38542 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38544         * INSTALL: Regenerate.
38546         * nscd/connections.c (nscd_init): Fix comment.
38548 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
38550         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
38552         [BZ #15667]
38553         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
38554         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
38556 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
38558         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
38559         DL_DST_REQ_STATIC.
38560         (DL_DST_REQ_STATIC): Remove macro.
38562 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
38564         [BZ #7006]
38565         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
38566         with a shift of 0 bits.
38568 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
38570         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
38571         $(tststatic-ENV).
38573 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38575         [BZ #15655]
38576         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
38578 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38580         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
38581         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
38582         accepts -fno-tree-loop-distribute-patterns.
38583         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
38584         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
38585         recursive call.
38586         * string/memset.c (memset): Likewise.
38587         * string/test-memmove.c (simple_memmove): Disable loop transformation
38588         to library calls.
38589         * string/test-memset.c (simple_memset): Likewise.
38590         * benchtests/bench-memmove.c (simple_memmove): Likewise.
38591         * benchtests/bench-memset.c (simple_memset): Likewise.
38592         * configure: Regenerated.
38594 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
38596         * math/test-misc.c (main): Ignore fesetround failure when failures
38597         of subsequent rounding tests would be ignored.
38599         [BZ #15654]
38600         * math/fedisblxcpt.c (fedisableexcept): Return 0.
38601         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
38602         * math/fegetenv.c (__fegetenv): Return 0.
38603         * math/fegetexcept.c (fegetexcept): Return 0.
38604         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
38605         FE_TONEAREST.
38606         * math/feholdexcpt.c (feholdexcept): Return 0.
38607         * math/fesetenv.c (__fesetenv): Return 0.
38608         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
38609         argument FE_TONEAREST.
38610         * math/feupdateenv.c (__feupdateenv): Return 0.
38611         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
38613 2013-06-18  Roland McGrath  <roland@hack.frob.com>
38615         * elf/rtld-Rules (rtld-compile-command.S): New variable.
38616         (rtld-compile-command.s, rtld-compile-command.c): New variables.
38617         ($(objpfx)rtld-%.os rules): Use them.
38619 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38621         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
38622         fields.
38624 2013-06-17  Roland McGrath  <roland@hack.frob.com>
38626         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
38627         length of target pattern, then descending length of dependency pattern.
38628         * configure.in (AWK): Require gawk 3.1.2 or newer.
38629         * manual/install.texi (Tools for Compilation): Say that we do.
38630         * configure: Regenerated.
38632         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
38633         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
38634         * scripts/sysd-rules.awk: ... this new script.
38635         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
38636         than a glob-style pattern.
38638 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
38640         * math/test-misc.c (main): Do not treat incorrectly rounded
38641         conversions as failure unless ROUNDING_TESTS passes.
38643 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
38645         [BZ #15631]
38646         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
38647         restore exception state around main square root computation, then
38648         check for inexactness explicitly.
38650         * math/libm-test.inc (fma_test_data): Add another test.
38652 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38654         * manual/threads.texi (Non-POSIX Extensions): New document
38655         node.  Document pthread_getattr_default_np and
38656         pthread_setattr_default_np.
38658         * Versions.def (libpthread): Add GLIBC_2.18.
38659         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
38660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38661         Likewise.
38662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38663         Likewise.
38664         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38665         Likewise.
38666         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38667         Likewise.
38668         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
38669         Likewise.
38670         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38671         Likewise.
38672         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38673         Likewise.
38674         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38675         Likewise.
38676         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38677         Likewise.
38679 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38681         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38682         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
38684 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38685             H.J. Lu  <hjl.tools@gmail.com>
38687         [BZ #15627]
38688         * sysdeps/x86_64/rtld-memset.c: Remove file.
38689         * sysdeps/x86_64/rtld-memset.S: New file.
38691 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
38693         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
38694         (test_in_one_mode): Take arguments for whether the rounding mode
38695         is supported for each floating-point type.
38696         (do_test): Pass new arguments to test_in_one_mode using
38697         ROUNDING_TESTS.
38699 2013-06-13  Roland McGrath  <roland@hack.frob.com>
38701         * posix/tst-waitid.c (do_test): Distinguish different instances of
38702         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
38703         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
38704         before entering the kernel for waitpid.
38706 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38708         * NEWS: Fix note on clock function precision.  Text by Roland
38709         McGrath.
38711 2013-06-13  Roland McGrath  <roland@hack.frob.com>
38713         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
38714         it into place only when and if the sanity check passes.
38716 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
38718         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
38719         output for whether conversion result is exact.  Take argument
38720         indicating whether type is IBM long double.
38721         (round_for_all): Change need_exact field to ibm_ld.
38722         * stdlib/tst-strtod-round.c (struct exactness): New type.
38723         (struct test): Change bool ld_ok field to struct exactness exact.
38724         (TEST): Update all definitions for change to field.
38725         (tests): Regenerate array contents.
38726         (test_in_one_mode): Take pointer to new field instead of old ld_ok
38727         field value.  Check for IBM long double here.
38728         (do_test): Update calls to test_in_one_mode.
38730 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38732         [BZ #12515]
38733         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
38734         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
38736 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38738         [BZ #15605]
38739         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
38740         generated by the compiler on loop optimizations.
38741         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
38742         general definitions.
38744 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
38746         * math/bug-nextafter.c: Include <math-tests.h>.
38747         (main): Only test for exceptions if EXCEPTION_TESTS is true for
38748         the relevant type.
38749         * math/bug-nexttoward.c: Include <math-tests.h>.
38750         (main): Only test for exceptions if EXCEPTION_TESTS is true for
38751         the relevant type.
38752         * math/test-misc.c: Include <math-tests.h>.
38753         (main): Only test for exceptions if EXCEPTION_TESTS is true for
38754         the relevant type.
38756 2013-06-12  Andreas Jaeger  <aj@suse.de>
38758         * po/ia.po: Update Interlingua translation from translation
38759         project.
38761 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38763         * include/fenv.h: Include stdbool.h.
38764         (struct rm_ctx): New structure.
38765         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
38766         Define macro.
38767         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
38768         (SET_RESTORE_ROUNDF): Likewise.
38769         (SET_RESTORE_ROUNDL): Likewise.
38770         (SET_RESTORE_ROUND_NOEX): Likewise.
38771         (SET_RESTORE_ROUND_NOEXF): Likewise.
38772         (SET_RESTORE_ROUND_NOEXL): Likewise.
38773         (SET_RESTORE_ROUND_53BIT): Likewise.
38774         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
38775         (libc_feresetround_noexf_ctx): Likewise.
38776         (libc_feresetround_noexl_ctx): Likewise.
38777         (libc_feholdsetround_53bit_ctx): Likewise.
38778         (libc_feresetround_53bit_ctx): Likewise.
38779         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
38780         (libc_feholdexcept_setround_sse_ctx): New function.
38781         (libc_fesetenv_sse_ctx): Likewise.
38782         (libc_feupdateenv_sse_ctx): Likewise.
38783         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
38784         (libc_feholdexcept_setround_387_ctx): Likewise.
38785         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
38786         (libc_feholdsetround_387_prec_ctx): Likewise.
38787         (libc_feholdsetround_387_ctx): Likewise.
38788         (libc_feholdsetround_387_53bit_ctx): Likewise.
38789         (libc_feholdsetround_sse_ctx): Likewise.
38790         (libc_feresetround_sse_ctx): Likewise.
38791         (libc_feresetround_387_ctx): Likewise.
38792         (libc_feupdateenv_387_ctx): Likewise.
38793         (libc_feholdexcept_setroundf_ctx): Define macro.
38794         (libc_fesetenvf_ctx): Likewise.
38795         (libc_feupdateenvf_ctx): Likewise.
38796         (libc_feholdsetroundf_ctx): Likewise.
38797         (libc_feresetroundf_ctx): Likewise.
38798         (libc_feholdexcept_setround_ctx): Likewise.
38799         (libc_fesetenv_ctx): Likewise.
38800         (libc_feupdateenv_ctx): Likewise.
38801         (libc_feholdsetround_ctx): Likewise.
38802         (libc_feresetround_ctx): Likewise.
38803         (libc_feholdexcept_setroundl_ctx): Likewise.
38804         (libc_feupdateenvl_ctx): Likewise.
38805         (libc_feholdsetroundl_ctx): Likewise.
38806         (libc_feresetroundl_ctx): Likewise.
38807         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
38808         (libc_feresetround_53bit_ctx): Likewise.
38810 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38812         * locale/iso-639.def: Convert to UTF-8.
38814 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
38816         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
38817         (EXCEPTION_TESTS_double): Likewise.
38818         (EXCEPTION_TESTS_long_double): Likewise.
38819         (EXCEPTION_TESTS): Likewise.
38820         * math/libm-test.inc (test_exceptions): Only test exceptions if
38821         EXCEPTION_TESTS (FLOAT).
38823 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38825         * benchtests/Makefile (string-bench): Add strcpy_chk and
38826         stpcpy_chk.
38827         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
38828         * benchtests/bench-stpcpy_chk.c: New file.
38829         * benchtests/bench-strcpy_chk-ifunc.c: New file.
38830         * benchtests/bench-strcpy_chk.c: New file.
38831         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
38832         code.
38833         (do_test): Likewise.
38835 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38837         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
38838         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
38839         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
38840         with tabs where appropriate.
38841         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
38842         dl-procinfo.h.
38843         [PPC_PLATFORM_PPC440]: Likewise.
38844         [PPC_PLATFORM_PPC464]: Likewise.
38845         [PPC_PLATFORM_PPC476]: Likewise.
38846         (_dl_string_platform): Add support for detecting ppc405, ppc440,
38847         ppc464, and ppc476 platform strings merging from ports/
38848         dl-procinfo.h.
38850 2013-06-11  Andreas Schwab  <schwab@suse.de>
38852         [BZ #14991]
38853         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
38854         (from_ucs4_idx): Regenerate.
38855         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
38856         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
38857         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
38858         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
38859         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
38860         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
38861         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
38862         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
38863         from FROM_LOOP and TO_LOOP specific macros.
38864         (BODY): Handle combining characters.
38865         * iconvdata/BIG5HKSCS.irreversible: Update.
38866         * iconvdata/BIG5HKSCS.precomposed: New file.
38867         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
38868         characters.
38869         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
38871 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38873         * include/sys/time.h: Fix indentation and add copyright header.
38875         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
38876         (do_test): Likewise.
38877         * string/test-memchr.c (do_one_test): Likewise.
38878         (do_test): Likewise.
38879         * string/test-memcmp.c (do_one_test): Likewise.
38880         (do_test): Likewise.
38881         * string/test-memcpy.c (do_one_test): Likewise.
38882         (do_test): Likewise.
38883         * string/test-memmem.c (do_one_test): Likewise.
38884         (do_test): Likewise.
38885         (do_random_tests): Likewise.
38886         * string/test-memmove.c (do_one_test): Likewise.
38887         (do_test): Likewise.
38888         * string/test-memset.c (do_one_test): Likewise.
38889         (do_test): Likewise.
38890         * string/test-rawmemchr.c (do_one_test): Likewise.
38891         (do_test): Likewise.
38892         * string/test-strcasecmp.c (do_one_test): Likewise.
38893         (do_test): Likewise.
38894         * string/test-strcasestr.c (do_one_test): Likewise.
38895         (do_test): Likewise.
38896         * string/test-strcat.c (do_one_test): Likewise.
38897         (do_test): Likewise.
38898         * string/test-strchr.c (do_one_test): Likewise.
38899         (do_test): Likewise.
38900         * string/test-strcmp.c (do_one_test): Likewise.
38901         (do_test): Likewise.
38902         * string/test-strcpy.c (do_one_test): Likewise.
38903         (do_test): Likewise.
38904         * string/test-string.h: Likewise.
38905         (test_init): Likewise.
38906         * string/test-strlen.c (do_one_test): Likewise.
38907         (do_test): Likewise.
38908         * string/test-strncasecmp.c (do_one_test): Likewise.
38909         (do_test): Likewise.
38910         * string/test-strncat.c (do_one_test): Likewise.
38911         (do_test): Likewise.
38912         * string/test-strncmp.c (do_one_test): Likewise.
38913         (do_test_limit): Likewise.
38914         (do_test): Likewise.
38915         * string/test-strncpy.c (do_one_test): Likewise.
38916         (do_test): Likewise.
38917         * string/test-strnlen.c (do_one_test): Likewise.
38918         (do_test): Likewise.
38919         * string/test-strpbrk.c (do_one_test): Likewise.
38920         (do_test): Likewise.
38921         * string/test-strrchr.c (do_one_test): Likewise.
38922         (do_test): Likewise.
38923         * string/test-strspn.c (do_one_test): Likewise.
38924         (do_test): Likewise.
38925         * string/test-strstr.c (do_one_test): Likewise.
38926         (do_test): Likewise.
38928         * benchtests/Makefile (string-bench): Add string benchmarks.
38929         * benchtests/bench-bcopy-ifunc.c: New file.
38930         * benchtests/bench-bcopy.c: New file.
38931         * benchtests/bench-bzero-ifunc.c: New file.
38932         * benchtests/bench-bzero.c: New file.
38933         * benchtests/bench-memccpy-ifunc.c: New file.
38934         * benchtests/bench-memccpy.c: New file.
38935         * benchtests/bench-memchr-ifunc.c: New file.
38936         * benchtests/bench-memchr.c: New file.
38937         * benchtests/bench-memcmp-ifunc.c: New file.
38938         * benchtests/bench-memcmp.c: New file.
38939         * benchtests/bench-memmem-ifunc.c: New file.
38940         * benchtests/bench-memmem.c: New file.
38941         * benchtests/bench-memmove-ifunc.c: New file.
38942         * benchtests/bench-memmove.c: New file.
38943         * benchtests/bench-mempcpy-ifunc.c: New file.
38944         * benchtests/bench-mempcpy.c: New file.
38945         * benchtests/bench-memset-ifunc.c: New file.
38946         * benchtests/bench-memset.c: New file.
38947         * benchtests/bench-rawmemchr-ifunc.c: New file.
38948         * benchtests/bench-rawmemchr.c: New file.
38949         * benchtests/bench-stpcpy-ifunc.c: New file.
38950         * benchtests/bench-stpcpy.c: New file.
38951         * benchtests/bench-stpncpy-ifunc.c: New file.
38952         * benchtests/bench-stpncpy.c: New file.
38953         * benchtests/bench-strcasecmp-ifunc.c: New file.
38954         * benchtests/bench-strcasecmp.c: New file.
38955         * benchtests/bench-strcasestr-ifunc.c: New file.
38956         * benchtests/bench-strcasestr.c: New file.
38957         * benchtests/bench-strcat-ifunc.c: New file.
38958         * benchtests/bench-strcat.c: New file.
38959         * benchtests/bench-strchr-ifunc.c: New file.
38960         * benchtests/bench-strchr.c: New file.
38961         * benchtests/bench-strchrnul-ifunc.c: New file.
38962         * benchtests/bench-strchrnul.c: New file.
38963         * benchtests/bench-strcmp-ifunc.c: New file.
38964         * benchtests/bench-strcmp.c: New file.
38965         * benchtests/bench-strcpy-ifunc.c: New file.
38966         * benchtests/bench-strcpy.c: New file.
38967         * benchtests/bench-strcspn-ifunc.c: New file.
38968         * benchtests/bench-strcspn.c: New file.
38969         * benchtests/bench-strlen-ifunc.c: New file.
38970         * benchtests/bench-strlen.c: New file.
38971         * benchtests/bench-strncasecmp-ifunc.c: New file.
38972         * benchtests/bench-strncasecmp.c: New file.
38973         * benchtests/bench-strncat-ifunc.c: New file.
38974         * benchtests/bench-strncat.c: New file.
38975         * benchtests/bench-strncmp-ifunc.c: New file.
38976         * benchtests/bench-strncmp.c: New file.
38977         * benchtests/bench-strncpy-ifunc.c: New file.
38978         * benchtests/bench-strncpy.c: New file.
38979         * benchtests/bench-strnlen-ifunc.c: New file.
38980         * benchtests/bench-strnlen.c: New file.
38981         * benchtests/bench-strpbrk-ifunc.c: New file.
38982         * benchtests/bench-strpbrk.c: New file.
38983         * benchtests/bench-strrchr-ifunc.c: New file.
38984         * benchtests/bench-strrchr.c: New file.
38985         * benchtests/bench-strspn-ifunc.c: New file.
38986         * benchtests/bench-strspn.c: New file.
38987         * benchtests/bench-strstr-ifunc.c: New file.
38988         * benchtests/bench-strstr.c: New file.
38990         * benchtests/Makefile: Disable parallel execution of targets.
38991         (string-bench): Add memcpy.
38992         (benchset): New variable to store a list of benchmark sets.
38993         (bench-func): Renamed from bench.
38994         (bench-set): New target.
38995         (bench): Depend on bench-func and bench-set.
38996         * benchtests/README: Add section on benchmark sets.
38997         * benchtests/bench-memcpy-ifunc.c: New file.
38998         * benchtests/bench-memcpy.c: New file.
38999         * benchtests/bench-string.h: New file.
39001 2013-06-11  Andreas Schwab  <schwab@suse.de>
39003         [BZ #15577]
39004         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
39005         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
39006         values in the triple.
39007         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
39008         terminator in the group key.
39010 2013-06-11  Andreas Jaeger  <aj@suse.de>
39012         * po/zh_TW.po: Update Chinese (traditional) translation from
39013         translation project.
39015 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39017         * include/time.h (__clock_gettime): Add libc_hidden_proto.
39018         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
39019         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
39020         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39021         (clock_getcpuclockid): Likewise.
39022         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
39023         Add weak_alias and libc_hidden_def.
39024         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
39025         * rt/clock_gettime.c (clock_gettime): Rename to
39026         __clock_gettime.  Add weak_alias and libc_hidden_def.
39027         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
39028         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
39029         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
39030         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
39031         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
39032         Likewise.
39033         * rt/clock_settime.c (clock_settime): Rename to
39034         __clock_settime.  Add weak_alias and libc_hidden_def.
39035         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
39037 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
39039         * mach/err_boot.sub: Remove trailing whitespace.
39040         * mach/err_ipc.sub: Likewise.
39041         * mach/err_mach.sub: Likewise.
39043         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
39044         (ROUNDING_TESTS_double): Likewise.
39045         (ROUNDING_TESTS_long_double): Likewise.
39046         (ROUNDING_TESTS): Likewise.
39047         * math/libm-test.inc: Include <math-tests.h>.
39048         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
39049         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
39050         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
39051         (IF_ROUND_INIT_FE_UPWARD): Likewise.
39053 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39055         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
39056         of assigning.
39058 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
39060         * sysdeps/gnu/errlist.awk: Do not generate space at end of
39061         otherwise empty TRANS lines.
39062         * sysdeps/gnu/errlist.c: Regenerated.
39064         * catgets/gencat.c (error_print): Use (void) in function
39065         definition.
39066         * crypt/crypt_util.c (__init_des): Likewise.
39067         * crypt/speeds.c (Stop): Likewise.
39068         (main): Likewise.
39069         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
39070         * inet/ruserpass.c (token): Likewise.
39071         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
39072         * intl/localealias.c (extend_alias_table): Likewise.
39073         * intl/plural-exp.c (init_germanic_plural): Likewise.
39074         * libio/fcloseall.c (__fcloseall): Likewise.
39075         * libio/genops.c (_IO_flush_all): Likewise.
39076         (_IO_flush_all_linebuffered): Likewise.
39077         (_IO_cleanup): Likewise.
39078         (_IO_iter_begin): Likewise.
39079         (_IO_iter_end): Likewise.
39080         (_IO_list_lock): Likewise.
39081         (_IO_list_unlock): Likewise.
39082         (_IO_list_resetlock): Likewise.
39083         * libio/getchar.c (getchar): Likewise.
39084         * libio/getchar_u.c (getchar_unlocked): Likewise.
39085         * libio/getwchar.c (getwchar): Likewise.
39086         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
39087         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
39088         * login/getpt.c (__getpt): Likewise.
39089         * login/tst-utmp.c (main): Likewise.
39090         * malloc/hooks.c (__malloc_check_init): Likewise.
39091         * malloc/malloc.c (__malloc_stats): Likewise.
39092         * malloc/mtrace.c (tr_break): Likewise.
39093         (mtrace): Likewise.
39094         (muntrace): Likewise.
39095         * misc/fstab.c (endfsent): Likewise.
39096         * misc/getclktck.c (__getclktck): Likewise.
39097         * misc/getdtsz.c (__getdtablesize): Likewise.
39098         * misc/gethostid.c (gethostid): Likewise.
39099         * misc/getpagesize.c (__getpagesize): Likewise.
39100         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
39101         (__get_nprocs): Likewise.
39102         (__get_phys_pages): Likewise.
39103         (__get_avphys_pages): Likewise.
39104         * misc/getttyent.c (getttyent): Likewise.
39105         (setttyent): Likewise.
39106         (endttyent): Likewise.
39107         * misc/getusershell.c (getusershell): Likewise.
39108         (endusershell): Likewise.
39109         (setusershell): Likewise.
39110         (initshells): Likewise.
39111         * misc/hsearch.c (__hdestroy): Likewise.
39112         * misc/sync.c (sync): Likewise.
39113         * misc/syslog.c (closelog_internal): Likewise.
39114         (closelog): Likewise.
39115         * misc/ttyslot.c (ttyslot): Likewise.
39116         * misc/vhangup.c (vhangup): Likewise.
39117         * posix/fork.c (__fork): Likewise.
39118         * posix/getegid.c (__getegid): Likewise.
39119         * posix/geteuid.c (__geteuid): Likewise.
39120         * posix/getgid.c (__getgid): Likewise.
39121         * posix/getpid.c (__getpid): Likewise.
39122         * posix/getppid.c (__getppid): Likewise.
39123         * posix/getuid.c (__getuid): Likewise.
39124         * posix/pause.c (pause): Likewise.
39125         * posix/setpgrp.c (setpgrp): Likewise.
39126         * posix/setsid.c (__setsid): Likewise.
39127         * posix/test-vfork.c (noop): Likewise.
39128         * resolv/gethnamaddr.c (_endhtent): Likewise.
39129         (_gethtent): Likewise.
39130         (ht_endhostent): Likewise.
39131         (gethostent): Likewise.
39132         (dns_service): Likewise.
39133         * stdlib/drand48.c (drand48): Likewise.
39134         * stdlib/lrand48.c (lrand48): Likewise.
39135         * stdlib/mrand48.c (mrand48): Likewise.
39136         * stdlib/rand.c (rand): Likewise.
39137         * stdlib/random.c (__random): Likewise.
39138         * stdlib/setenv.c (clearenv): Likewise.
39139         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
39140         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
39141         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
39142         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
39143         (__get_nprocs): Likewise.
39144         (__get_phys_pages): Likewise.
39145         (__get_avphys_pages): Likewise.
39146         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
39147         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
39148         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
39149         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
39150         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
39151         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
39152         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
39153         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
39154         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
39155         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
39156         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
39157         * sysdeps/mach/hurd/sync.c (sync): Likewise.
39158         * sysdeps/posix/clock.c (clock): Likewise.
39159         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
39160         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
39161         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
39162         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
39163         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
39164         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
39165         (__get_nprocs_conf): Likewise.
39166         (__get_phys_pages): Likewise.
39167         (__get_avphys_pages): Likewise.
39168         * time/clock.c (clock): Likewise.
39169         * time/tzset.c (__tzname_max): Likewise.
39171 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
39173         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
39174         (__bswap_32): Do not use "register".
39175         * crypt/crypt.c (_ufc_doit_r): Likewise.
39176         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
39177         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
39178         * gmon/gmon.c (__monstartup): Likewise.
39179         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
39180         * hurd/hurdmalloc.c (more_memory): Likewise.
39181         (malloc): Likewise.
39182         (free): Likewise.
39183         (realloc): Likewise.
39184         (malloc_fork_prepare): Likewise.
39185         (malloc_fork_parent): Likewise.
39186         (malloc_fork_child): Likewise.
39187         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
39188         (_svcauth_des): Likewise.
39189         * inet/inet_lnaof.c (inet_lnaof): Likewise.
39190         * inet/inet_net.c (inet_network): Likewise.
39191         * inet/inet_netof.c (inet_netof): Likewise.
39192         * inet/rcmd.c (__validuser2_sa): Likewise.
39193         * io/fts.c (fts_open): Likewise.
39194         (fts_load): Likewise.
39195         (fts_close): Likewise.
39196         (fts_read): Likewise.
39197         (fts_children): Likewise.
39198         (fts_build): Likewise.
39199         (fts_stat): Likewise.
39200         (fts_sort): Likewise.
39201         (fts_alloc): Likewise.
39202         (fts_lfree): Likewise.
39203         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
39204         (_IO_file_xsgetn): Likewise.
39205         (_IO_file_xsgetn_mmap): Likewise.
39206         * libio/iofopncook.c (_IO_cookie_read): Likewise.
39207         (_IO_cookie_write): Likewise.
39208         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
39209         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
39210         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
39211         * malloc/obstack.c (_obstack_begin): Likewise.
39212         (_obstack_begin_1): Likewise.
39213         (_obstack_newchunk): Likewise.
39214         (_obstack_allocated_p): Likewise.
39215         (obstack_free): Likewise.
39216         (_obstack_memory_used): Likewise.
39217         * misc/getttyent.c (getttynam): Likewise.
39218         (getttyent): Likewise.
39219         (skip): Likewise.
39220         (value): Likewise.
39221         * misc/getusershell.c (initshells): Likewise.
39222         * misc/syslog.c (__vsyslog_chk): Likewise.
39223         * misc/ttyslot.c (ttyslot): Likewise.
39224         * nis/nis_hash.c (__nis_hash): Likewise.
39225         * posix/fnmatch_loop.c (FCT): Likewise.
39226         * posix/getconf.c (print_all): Likewise.
39227         (main): Likewise.
39228         * posix/getopt.c (exchange): Likewise.
39229         * posix/glob.c (globfree): Likewise.
39230         (prefix_array): Likewise.
39231         (__glob_pattern_type): Likewise.
39232         * resolv/arpa/nameser.h (NS_GET16): Likewise.
39233         (NS_GET32): Likewise.
39234         (NS_PUT16): Likewise.
39235         (NS_PUT32): Likewise.
39236         * resolv/gethnamaddr.c (getanswer): Likewise.
39237         (gethostbyname2): Likewise.
39238         (gethostbyaddr): Likewise.
39239         (_gethtent): Likewise.
39240         (_gethtbyname2): Likewise.
39241         (_gethtbyaddr): Likewise.
39242         * resolv/ns_print.c (dst_s_get_int16): Likewise.
39243         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
39244         * resolv/res_init.c (__res_vinit): Likewise.
39245         (net_mask): Likewise.
39246         * resolv/res_mkquery.c (outchar): Likewise.
39247         (PRINT): Likewise.
39248         * stdio-common/printf_fp.c (outchar): Likewise.
39249         (PRINT): Likewise.
39250         * stdio-common/printf_fphex.c (outchar): Likewise.
39251         (PRINT): Likewise.
39252         * stdio-common/printf_size.c (outchar): Likewise.
39253         (PRINT): Likewise.
39254         * stdio-common/test_rdwr.c (main): Likewise.
39255         * stdio-common/tfformat.c (matches): Likewise.
39256         * stdio-common/vfprintf.c (outchar): Likewise.
39257         (printf_unknown): Likewise.
39258         (buffered_vfprintf): Likewise.
39259         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
39260         * stdio-common/xbug.c (AppendToBuffer): Likewise.
39261         (ReadFile): Likewise.
39262         * stdlib/qsort.c (SWAP): Likewise.
39263         (_quicksort): Likewise.
39264         * stdlib/setenv.c (__add_to_environ): Likewise.
39265         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
39266         * stdlib/strtol_l.c (__strtol_l): Likewise.
39267         * stdlib/tst-strtod.c (main): Likewise.
39268         * stdlib/tst-strtol.c (main): Likewise.
39269         * stdlib/tst-strtoll.c (main): Likewise.
39270         * string/bits/string2.h (__strcmp_cc): Likewise.
39271         (__strcmp_cg): Likewise.
39272         (__strcspn_c1): Likewise.
39273         (__strcspn_c2): Likewise.
39274         (__strcspn_c3): Likewise.
39275         (__strspn_c1): Likewise.
39276         (__strspn_c2): Likewise.
39277         (__strspn_c3): Likewise.
39278         (__strsep_1c): Likewise.
39279         (__strsep_2c): Likewise.
39280         (__strsep_3c): Likewise.
39281         * string/memccpy.c (__memccpy): Likewise.
39282         * string/stpcpy.c (__stpcpy): Likewise.
39283         * string/strcmp.c (strcmp): Likewise.
39284         * string/strrchr.c (strrchr): Likewise.
39285         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
39286         Likewise.
39287         * sysdeps/mach/hurd/getcwd.c
39288         (_hurd_canonicalize_directory_name_internal): Likewise.
39289         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
39290         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
39291         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
39292         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
39293         Likewise, in both definitions.
39294         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
39295         definitions.
39296         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
39297         64] (__bswap_64): Likewise.
39298         * time/test_time.c (main): Likewise.
39299         * time/tzfile.c (__tzfile_read): Likewise.
39300         (__tzfile_compute): Likewise.
39301         * time/tzset.c (__tzset_parse_tz): Likewise.
39302         (tzset_internal): Likewise.
39303         (compute_change): Likewise.
39304         * wcsmbs/wcscat.c (__wcscat): Likewise.
39305         * wcsmbs/wcschr.c (wcschr): Likewise.
39306         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
39307         * wcsmbs/wcscspn.c (wcscspn): Likewise.
39308         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
39309         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
39310         * wcsmbs/wcsspn.c (wcsspn): Likewise.
39311         * wcsmbs/wcsstr.c (wcsstr): Likewise.
39312         * wcsmbs/wmemchr.c (wmemchr): Likewise.
39313         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39314         * wcsmbs/wmemset.c (wmemset): Likewise.
39316 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
39318         * scripts/config.guess: Update to version 2013-05-16.
39319         * scripts/config.sub: Update to version 2013-04-24.
39320         * scripts/install-sh: Update to version 2011-11-20.07.
39321         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
39322         * scripts/move-if-change: Update to version 2012-01-06 07:23.
39324 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
39326         * debug/fgetws_u_chk.c: Fix leading whitespaces.
39327         * elf/sln.c: Likewise.
39328         * hurd/hurd/ioctl.h: Likewise.
39329         * hurd/hurdmalloc.c: Likewise.
39330         * hurd/xattr.c: Likewise.
39331         * include/shlib-compat.h: Likewise.
39332         * inet/ruserpass.c: Likewise.
39333         * libio/iofgets_u.c: Likewise.
39334         * libio/iofgetws_u.c: Likewise.
39335         * locale/programs/ld-identification.c: Likewise.
39336         * locale/programs/ld-time.c: Likewise.
39337         * mach/msg-destroy.c: Likewise.
39338         * nss/nss_files/files-netgrp.c: Likewise.
39339         * resolv/res_data.c: Likewise.
39340         * soft-fp/op-1.h: Likewise.
39341         * soft-fp/op-2.h: Likewise.
39342         * soft-fp/op-4.h: Likewise.
39343         * soft-fp/op-common.h: Likewise.
39344         * stdio-common/printf_fphex.c: Likewise.
39345         * stdlib/strtod_l.c: Likewise.
39346         * sunrpc/rpc/clnt.h: Likewise.
39347         * sysdeps/generic/framestate.c: Likewise.
39348         * sysdeps/i386/bsd-_setjmp.S: Likewise.
39349         * sysdeps/i386/bsd-setjmp.S: Likewise.
39350         * sysdeps/i386/__longjmp.S: Likewise.
39351         * sysdeps/i386/setjmp.S: Likewise.
39352         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39353         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39354         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39355         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39356         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39357         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39358         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39359         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39360         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39361         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
39362         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39363         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39364         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39365         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39366         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39367         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39368         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39369         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
39370         * sysdeps/ieee754/support.c: Likewise.
39371         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39372         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
39373         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
39374         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
39375         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
39376         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
39377         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
39378         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
39379         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
39380         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
39381         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
39382         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
39383         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
39384         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
39385         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
39386         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
39387         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
39388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
39390 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
39392         * posix/transbug.c: Remove executable mode.
39394 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
39396         * crypt/speeds.c: Remove trailing whitespace.
39397         * dlfcn/default.c: Likewise.
39398         * elf/ifuncdep2.c: Likewise.
39399         * elf/ifuncmain1.c: Likewise.
39400         * elf/ifuncmain1vis.c: Likewise.
39401         * elf/testobj.h: Likewise.
39402         * elf/tst-stackguard1.c: Likewise.
39403         * gmon/sys/gmon.h: Likewise.
39404         * hurd/hurdmsg.c: Likewise.
39405         * hurd/new-fd.c: Likewise.
39406         * hurd/ports-get.c: Likewise.
39407         * iconvdata/ibm1008_420.c: Likewise.
39408         * inet/tst-getni1.c: Likewise.
39409         * inet/tst-getni2.c: Likewise.
39410         * libio/ioungetc.c: Likewise.
39411         * libio/wfiledoalloc.c: Likewise.
39412         * manual/libm-err-tab.pl: Likewise.
39413         * math/w_dremf.c: Likewise.
39414         * misc/ftruncate.c: Likewise.
39415         * posix/bug-glob2.c: Likewise.
39416         * posix/tst-pcre.c: Likewise.
39417         * posix/wait4.c: Likewise.
39418         * resolv/README: Likewise.
39419         * resolv/res_debug.h: Likewise.
39420         * resolv/tst-inet_ntop.c: Likewise.
39421         * setjmp/bug269-setjmp.c: Likewise.
39422         * soft-fp/extended.h: Likewise.
39423         * soft-fp/op-1.h: Likewise.
39424         * soft-fp/op-2.h: Likewise.
39425         * soft-fp/op-4.h: Likewise.
39426         * soft-fp/op-8.h: Likewise.
39427         * soft-fp/testit.c: Likewise.
39428         * stdio-common/bug16.c: Likewise.
39429         * stdlib/random.c: Likewise.
39430         * sunrpc/rpcsvc/rquota.x: Likewise.
39431         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
39432         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39433         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39434         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39435         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39436         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39437         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39438         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39439         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39440         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39441         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39442         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39443         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39444         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39445         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39446         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39447         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39448         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39449         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39450         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39451         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39452         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39453         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
39454         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39455         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39456         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39457         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
39458         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39459         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39460         * sysdeps/ieee754/s_lib_version.c: Likewise.
39461         * sysdeps/mach/hurd/check_fds.c: Likewise.
39462         * sysdeps/mach/hurd/getsockname.c: Likewise.
39463         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
39464         * sysdeps/mach/hurd/recvfrom.c: Likewise.
39465         * sysdeps/powerpc/bits/link.h: Likewise.
39466         * sysdeps/powerpc/dl-procinfo.c: Likewise.
39467         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
39468         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
39469         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
39470         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
39471         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39472         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
39473         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
39474         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
39475         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39476         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
39477         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
39478         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
39479         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39480         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39481         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39482         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
39483         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
39484         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39485         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39486         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39487         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
39488         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39489         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
39490         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
39491         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
39492         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
39493         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39494         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39495         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
39496         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
39497         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
39498         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39499         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39500         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
39501         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
39502         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
39503         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
39504         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
39505         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
39506         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
39507         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
39508         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
39509         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
39510         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
39511         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
39512         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
39513         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
39514         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
39515         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
39516         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39517         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39518         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39519         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39520         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
39521         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
39522         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
39523         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39524         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
39525         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
39526         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
39527         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
39528         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
39529         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39530         * sysdeps/powerpc/sysdep.h: Likewise.
39531         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39532         * sysdeps/s390/s390-64/sub_n.S: Likewise.
39533         * sysdeps/sh/dl-trampoline.S: Likewise.
39534         * sysdeps/sh/memset.S: Likewise.
39535         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
39536         * sysdeps/sh/strlen.S: Likewise.
39537         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
39538         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
39539         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
39540         * sysdeps/sparc/sparc32/rem.S: Likewise.
39541         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
39542         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
39543         * sysdeps/sparc/sparc32/strchr.S: Likewise.
39544         * sysdeps/sparc/sparc32/udiv.S: Likewise.
39545         * sysdeps/sparc/sparc32/urem.S: Likewise.
39546         * sysdeps/sparc/sparc64/add_n.S: Likewise.
39547         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39548         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
39549         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
39550         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
39551         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
39552         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
39553         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
39554         * sysdeps/unix/bsd/times.c: Likewise.
39555         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
39556         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
39557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
39558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
39559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
39560         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
39561         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
39562         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
39563         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
39564         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
39565         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
39566         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
39567         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
39568         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39569         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
39570         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
39571         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
39572         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
39573         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
39574         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
39575         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
39576         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
39577         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39578         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
39579         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
39580         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
39581         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
39582         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39583         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
39584         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
39585         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
39586         * sysdeps/x86_64/strcspn.S: Likewise.
39588 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39590         * locale/C-translit.h: Revert #include <stdint.h> because this is a
39591         generated file.  Regenerate properly from gen-translit.pl.
39592         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
39593         locale/C-translit.h.
39595 2013-06-05  Andreas Schwab  <schwab@suse.de>
39597         [BZ #15100]
39598         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
39599         week as 6 instead of -1.
39600         * time/tst-strptime.c (day_tests): Add test case.
39602 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39604         * sysdeps/generic/math_private.h
39605         (libc_feholdexcept_setround_53bit): Replace with
39606         libc_feholdsetround_53bit.
39607         (libc_feupdateenv_53bit): Replace with
39608         libc_feresetround_53bit.
39609         (SET_RESTORE_ROUND_53BIT): Adjust.
39611 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39613         * string/test-strchrnul.c: Add copyright header.
39615         * posix/tst-getaddrinfo4.c: Increase test timeout.
39617 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
39619         [BZ #15536]
39620         * math/libm-test.inc (MAX_EXP): Remove
39621         (MIN_EXP): Define.
39622         (ulp): Use MIN_EXP - MANT_DIG.
39623         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
39625 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
39627         * po/be.po: Revert last change.
39628         * po/zh_CN.po: Likewise.
39629         * po/header.pot: Likewise.
39631 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
39633         * Makefile ($(common-objpfx)linkobj/libc.so): Define
39634         link-libc-deps to empty as target-specific variable.
39635         * Makerules (link-libc-args): New variable.
39636         (libc-for-link): Likewise.
39637         (link-libc-deps): Likewise.
39638         (lib%.so): Depend on $(link-libc-deps).  Link with
39639         $(link-libc-args).
39640         (build-module): Link with $(link-libc-args).
39641         (build-module-asneeded): Likewise.
39642         (build-module-helper-objlist): Filter out $(link-libc-deps) from
39643         list of objects.
39644         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
39645         target-specific variable.
39646         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
39647         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
39648         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
39649         libc.
39650         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
39651         libc and ld.so.
39652         ($(objpfx)libpcprofile.so): Likewise.
39653         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
39654         libc_nonshared.a.
39655         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
39656         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
39657         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
39658         $(link-libc-deps).
39659         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
39660         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
39661         * login/Makefile ($(objpfx)libutil.so): Likewise.
39662         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
39663         * math/Makefile ($(objpfx)libm.so): Likewise.
39664         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
39665         $(objpfx)libnsl.so): Define libc-for-link as target-specific
39666         variable instead of depending directly on libc.
39667         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
39668         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
39669         $(link-libc-deps).
39670         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
39671         libc.
39672         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
39673         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
39674         ($(objpfx)libanl.so): Likewise.
39675         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
39676         ld.so.
39677         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
39678         $(link-libc-deps).
39679         * sysdeps/i386/fpu/Makefile: Remove file.
39680         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
39681         ($(objpfx)libm.so): Remove dependency on ld.so.
39683 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
39685         [BZ # 15553]
39686         * nis/yp_xdr.c (XDRMAXNAME): Define.
39687         (XDRMAXRECORD): Define.
39688         (xdr_domainname): Use XDRMAXNAME.
39689         (xdr_mapname): Likewise.
39690         (xdr_peername): Likewise.
39691         (xdr_keydat): Use XDRMAXRECORD.
39692         (xdr_valdat): Likewise.
39694 2013-05-30  Jeff Law  <law@redhat.com>
39696         [BZ #14256]
39697         * manual/errno.texi (ESTALE): Update to account for more than
39698         just NFS file systems.
39699         * sysdeps/gnu/errlist.c: Regenerated.
39701 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39703         [BZ #15465]
39704         * elf/Makefile (tests): Add tst-null-argv.
39705         (modules-names):  Add tst-null-argv-lib.
39706         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
39707         (tst-null-argv-ENV): Set environment for tst-null-argv.
39708         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
39709         (RTLD_PROGNAME): New macro.
39710         * elf/tst-null-argv.c: New test case.
39711         * elf/tst-null-argv-lib.c: Library for test case.
39712         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
39713         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
39714         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
39715         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
39716         * elf/dl-init.c (call_init): Likewise.
39717         (_dl_init): Likewise.
39718         * elf/dl-load.c (print_search_path): Likewise.
39719         (_dl_map_object): Likewise.
39720         * elf/dl-lookup.c (do_lookup_x): Likewise.
39721         (add_dependency): Likewise.
39722         (_dl_lookup_symbol_x): Likewise.
39723         (_dl_debug_bindings): Likewise.
39724         * elf/dl-open.c (_dl_show_scope): Likewise.
39725         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
39726         * elf/dl-version.c (match_symbol): Likewise.
39727         (_dl_check_map_versions): Likewise.
39728         * elf/rtld.c (dl_main): Likewise.
39729         (print_unresolved): Use RTLD_PROGNAME.
39730         (print_missing_version): Likewise.
39731         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
39732         (elf_machine_rela): Likewise.
39733         * sysdeps/powerpc/powerpc32/dl-machine.c
39734         (__process_machine_rela): Likewise.
39735         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39736         Likewise.
39737         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39738         Likewise.
39739         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
39740         Likewise.
39741         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39742         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
39743         Likewise.
39744         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
39745         Likewise.
39746         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39748 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
39750         * po/be.po: Add descriptive title.
39751         * po/zh_CN.po: Likewise.
39752         * po/header.pot: Likewise.
39754 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
39756         * locale/programs/locarchive.c (create_archive): Inlucde fname in
39757         error message.
39758         (enlarge_archive): Likewise.
39760 2013-05-28  Ben North  <ben@redfrontdoor.org>
39762         * manual/arith.texi (frexp): It is the magnitude of the return
39763         value which lies in [0.5, 1), not the return value itself.
39765 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39769 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
39771         * stdio-common/bug26.c (main): Correct fscanf template.
39773         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
39774         declare _dl_skip_args.
39776         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
39777         Don't declare.
39779         * manual/platform.texi: Add missing @end deftypefun.
39781 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
39783         [BZ #15529]
39784         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
39785         bit of mantissa of 2^16382.
39786         * math/libm-test.inc (hypot_test_data): Add more tests.
39788         * math/libm-test.inc: Add drem and pow10 to list of tested
39789         functions.
39790         (pow10_test): New function.
39791         (drem_test): Likewise.
39792         (drem_test_tonearest): Likewise.
39793         (drem_test_towardzero): Likewise.
39794         (drem_test_downward): Likewise.
39795         (drem_test_upward): Likewise.
39796         (main): Call the new functions.
39798         * math/libm-test.inc (finite_test_data): Remove.
39799         (finite_test): Run tests from isfinite_test_data.
39800         (gamma_test_data): Remove.
39801         (gamma_test): Run tests from lgamma_test_data.
39802         * sysdeps/i386/fpu/libm-test-ulps: Update.
39803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39805 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39807         * manual/platform.texi: Add PowerPC PPR function set documentation.
39808         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
39809         implementation.
39811 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
39813         * math/libm-test.inc (MAX_EXP): Define.
39814         (ULPDIFF): Define.
39815         (ulp): New function.
39816         (check_float_internal): Use ULPDIFF.
39817         (cpow_test): Disable failing test.
39818         (check_ulp): Test ulp() implemetnation.
39819         (main): Call check_ulp before starting tests.
39821 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
39823         * math/gen-libm-test.pl (generate_testfile): Do not handle
39824         START_DATA and END_DATA.
39825         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
39826         END_DATA.
39827         (acos_tonearest_test_data): Likewise.
39828         (acos_towardzero_test_data): Likewise.
39829         (acos_downward_test_data): Likewise.
39830         (acos_upward_test_data): Likewise.
39831         (acosh_test_data): Likewise.
39832         (asin_test_data): Likewise.
39833         (asin_tonearest_test_data): Likewise.
39834         (asin_towardzero_test_data): Likewise.
39835         (asin_downward_test_data): Likewise.
39836         (asin_upward_test_data): Likewise.
39837         (asinh_test_data): Likewise.
39838         (atan_test_data): Likewise.
39839         (atanh_test_data): Likewise.
39840         (atan2_test_data): Likewise.
39841         (cabs_test_data): Likewise.
39842         (cacos_test_data): Likewise.
39843         (cacosh_test_data): Likewise.
39844         (carg_test_data): Likewise.
39845         (casin_test_data): Likewise.
39846         (casinh_test_data): Likewise.
39847         (catan_test_data): Likewise.
39848         (catanh_test_data): Likewise.
39849         (cbrt_test_data): Likewise.
39850         (ccos_test_data): Likewise.
39851         (ccosh_test_data): Likewise.
39852         (ceil_test_data): Likewise.
39853         (cexp_test_data): Likewise.
39854         (cimag_test_data): Likewise.
39855         (clog_test_data): Likewise.
39856         (clog10_test_data): Likewise.
39857         (conj_test_data): Likewise.
39858         (copysign_test_data): Likewise.
39859         (cos_test_data): Likewise.
39860         (cos_tonearest_test_data): Likewise.
39861         (cos_towardzero_test_data): Likewise.
39862         (cos_downward_test_data): Likewise.
39863         (cos_upward_test_data): Likewise.
39864         (cosh_test_data): Likewise.
39865         (cosh_tonearest_test_data): Likewise.
39866         (cosh_towardzero_test_data): Likewise.
39867         (cosh_downward_test_data): Likewise.
39868         (cosh_upward_test_data): Likewise.
39869         (cpow_test_data): Likewise.
39870         (cproj_test_data): Likewise.
39871         (creal_test_data): Likewise.
39872         (csin_test_data): Likewise.
39873         (csinh_test_data): Likewise.
39874         (csqrt_test_data): Likewise.
39875         (ctan_test_data): Likewise.
39876         (ctan_tonearest_test_data): Likewise.
39877         (ctan_towardzero_test_data): Likewise.
39878         (ctan_downward_test_data): Likewise.
39879         (ctan_upward_test_data): Likewise.
39880         (ctanh_test_data): Likewise.
39881         (ctanh_tonearest_test_data): Likewise.
39882         (ctanh_towardzero_test_data): Likewise.
39883         (ctanh_downward_test_data): Likewise.
39884         (ctanh_upward_test_data): Likewise.
39885         (erf_test_data): Likewise.
39886         (erfc_test_data): Likewise.
39887         (exp_test_data): Likewise.
39888         (exp_tonearest_test_data): Likewise.
39889         (exp_towardzero_test_data): Likewise.
39890         (exp_downward_test_data): Likewise.
39891         (exp_upward_test_data): Likewise.
39892         (exp10_test_data): Likewise.
39893         (exp2_test_data): Likewise.
39894         (expm1_test_data): Likewise.
39895         (fabs_test_data): Likewise.
39896         (fdim_test_data): Likewise.
39897         (finite_test_data): Likewise.
39898         (floor_test_data): Likewise.
39899         (fma_test_data): Likewise.
39900         (fma_towardzero_test_data): Likewise.
39901         (fma_downward_test_data): Likewise.
39902         (fma_upward_test_data): Likewise.
39903         (fmax_test_data): Likewise.
39904         (fmin_test_data): Likewise.
39905         (fmod_test_data): Likewise.
39906         (fpclassify_test_data): Likewise.
39907         (frexp_test_data): Likewise.
39908         (gamma_test_data): Likewise.
39909         (hypot_test_data): Likewise.
39910         (ilogb_test_data): Likewise.
39911         (isfinite_test_data): Likewise.
39912         (isgreater_test_data): Likewise.
39913         (isgreaterequal_test_data): Likewise.
39914         (isinf_test_data): Likewise.
39915         (isless_test_data): Likewise.
39916         (islessequal_test_data): Likewise.
39917         (islessgreater_test_data): Likewise.
39918         (isnan_test_data): Likewise.
39919         (isnormal_test_data): Likewise.
39920         (issignaling_test_data): Likewise.
39921         (isunordered_test_data): Likewise.
39922         (j0_test_data): Likewise.
39923         (j1_test_data): Likewise.
39924         (jn_test_data): Likewise.
39925         (ldexp_test_data): Likewise.
39926         (lgamma_test_data): Likewise.
39927         (lrint_test_data): Likewise.
39928         (lrint_tonearest_test_data): Likewise.
39929         (lrint_towardzero_test_data): Likewise.
39930         (lrint_downward_test_data): Likewise.
39931         (lrint_upward_test_data): Likewise.
39932         (llrint_test_data): Likewise.
39933         (llrint_tonearest_test_data): Likewise.
39934         (llrint_towardzero_test_data): Likewise.
39935         (llrint_downward_test_data): Likewise.
39936         (llrint_upward_test_data): Likewise.
39937         (log_test_data): Likewise.
39938         (log10_test_data): Likewise.
39939         (log1p_test_data): Likewise.
39940         (log2_test_data): Likewise.
39941         (logb_test_data): Likewise.
39942         (logb_downward_test_data): Likewise.
39943         (lround_test_data): Likewise.
39944         (llround_test_data): Likewise.
39945         (modf_test_data): Likewise.
39946         (nearbyint_test_data): Likewise.
39947         (nextafter_test_data): Likewise.
39948         (nexttoward_test_data): Likewise.
39949         (pow_test_data): Likewise.
39950         (pow_tonearest_test_data): Likewise.
39951         (pow_towardzero_test_data): Likewise.
39952         (pow_downward_test_data): Likewise.
39953         (pow_upward_test_data): Likewise.
39954         (remainder_test_data): Likewise.
39955         (remainder_tonearest_test_data): Likewise.
39956         (remainder_towardzero_test_data): Likewise.
39957         (remainder_downward_test_data): Likewise.
39958         (remainder_upward_test_data): Likewise.
39959         (remquo_test_data): Likewise.
39960         (rint_test_data): Likewise.
39961         (rint_tonearest_test_data): Likewise.
39962         (rint_towardzero_test_data): Likewise.
39963         (rint_downward_test_data): Likewise.
39964         (rint_upward_test_data): Likewise.
39965         (round_test_data): Likewise.
39966         (scalb_test_data): Likewise.
39967         (scalbn_test_data): Likewise.
39968         (scalbln_test_data): Likewise.
39969         (signbit_test_data): Likewise.
39970         (sin_test_data): Likewise.
39971         (sin_tonearest_test_data): Likewise.
39972         (sin_towardzero_test_data): Likewise.
39973         (sin_downward_test_data): Likewise.
39974         (sin_upward_test_data): Likewise.
39975         (sincos_test_data): Likewise.
39976         (sinh_test_data): Likewise.
39977         (sinh_tonearest_test_data): Likewise.
39978         (sinh_towardzero_test_data): Likewise.
39979         (sinh_downward_test_data): Likewise.
39980         (sinh_upward_test_data): Likewise.
39981         (sqrt_test_data): Likewise.
39982         (tan_test_data): Likewise.
39983         (tan_tonearest_test_data): Likewise.
39984         (tan_towardzero_test_data): Likewise.
39985         (tan_downward_test_data): Likewise.
39986         (tan_upward_test_data): Likewise.
39987         (tanh_test_data): Likewise.
39988         (tgamma_test_data): Likewise.
39989         (trunc_test_data): Likewise.
39990         (y0_test_data): Likewise.
39991         (y1_test_data): Likewise.
39992         (yn_test_data): Likewise.
39993         (significand_test_data): Likewise.
39995         * math/gen-libm-test.pl (@functions): Remove variable.
39996         (generate_testfile): Don't handle START and END lines.
39997         * math/libm-test.inc (START): New macro.
39998         (END): Likewise.
39999         (END_COMPLEX): Likewise.
40000         (acos_test): Use END macro without arguments.
40001         (acos_test_tonearest): Likewise.
40002         (acos_test_towardzero): Likewise.
40003         (acos_test_downward): Likewise.
40004         (acos_test_upward): Likewise.
40005         (acosh_test): Likewise.
40006         (asin_test): Likewise.
40007         (asin_test_tonearest): Likewise.
40008         (asin_test_towardzero): Likewise.
40009         (asin_test_downward): Likewise.
40010         (asin_test_upward): Likewise.
40011         (asinh_test): Likewise.
40012         (atan_test): Likewise.
40013         (atanh_test): Likewise.
40014         (atan2_test): Likewise.
40015         (cabs_test): Likewise.
40016         (cacos_test): Use END_COMPLEX macro without arguments.
40017         (cacosh_test): Likewise.
40018         (carg_test): Use END macro without arguments.
40019         (casin_test): Use END_COMPLEX macro without arguments.
40020         (casinh_test): Likewise.
40021         (catan_test): Likewise.
40022         (catanh_test): Likewise.
40023         (cbrt_test): Use END macro without arguments.
40024         (ccos_test): Use END_COMPLEX macro without arguments.
40025         (ccosh_test): Likewise.
40026         (ceil_test): Use END macro without arguments.
40027         (cexp_test): Use END_COMPLEX macro without arguments.
40028         (cimag_test): Use END macro without arguments.
40029         (clog_test): Use END_COMPLEX macro without arguments.
40030         (clog10_test): Likewise.
40031         (conj_test): Likewise.
40032         (copysign_test): Use END macro without arguments.
40033         (cos_test): Likewise.
40034         (cos_test_tonearest): Likewise.
40035         (cos_test_towardzero): Likewise.
40036         (cos_test_downward): Likewise.
40037         (cos_test_upward): Likewise.
40038         (cosh_test): Likewise.
40039         (cosh_test_tonearest): Likewise.
40040         (cosh_test_towardzero): Likewise.
40041         (cosh_test_downward): Likewise.
40042         (cosh_test_upward): Likewise.
40043         (cpow_test): Use END_COMPLEX macro without arguments.
40044         (cproj_test): Likewise.
40045         (creal_test): Use END macro without arguments.
40046         (csin_test): Use END_COMPLEX macro without arguments.
40047         (csinh_test): Likewise.
40048         (csqrt_test): Likewise.
40049         (ctan_test): Likewise.
40050         (ctan_test_tonearest): Likewise.
40051         (ctan_test_towardzero): Likewise.
40052         (ctan_test_downward): Likewise.
40053         (ctan_test_upward): Likewise.
40054         (ctanh_test): Likewise.
40055         (ctanh_test_tonearest): Likewise.
40056         (ctanh_test_towardzero): Likewise.
40057         (ctanh_test_downward): Likewise.
40058         (ctanh_test_upward): Likewise.
40059         (erf_test): Use END macro without arguments.
40060         (erfc_test): Likewise.
40061         (exp_test): Likewise.
40062         (exp_test_tonearest): Likewise.
40063         (exp_test_towardzero): Likewise.
40064         (exp_test_downward): Likewise.
40065         (exp_test_upward): Likewise.
40066         (exp10_test): Likewise.
40067         (exp2_test): Likewise.
40068         (expm1_test): Likewise.
40069         (fabs_test): Likewise.
40070         (fdim_test): Likewise.
40071         (finite_test): Likewise.
40072         (floor_test): Likewise.
40073         (fma_test): Likewise.
40074         (fma_test_towardzero): Likewise.
40075         (fma_test_downward): Likewise.
40076         (fma_test_upward): Likewise.
40077         (fmax_test): Likewise.
40078         (fmin_test): Likewise.
40079         (fmod_test): Likewise.
40080         (fpclassify_test): Likewise.
40081         (frexp_test): Likewise.
40082         (gamma_test): Likewise.
40083         (hypot_test): Likewise.
40084         (ilogb_test): Likewise.
40085         (isfinite_test): Likewise.
40086         (isgreater_test): Likewise.
40087         (isgreaterequal_test): Likewise.
40088         (isinf_test): Likewise.
40089         (isless_test): Likewise.
40090         (islessequal_test): Likewise.
40091         (islessgreater_test): Likewise.
40092         (isnan_test): Likewise.
40093         (isnormal_test): Likewise.
40094         (issignaling_test): Likewise.
40095         (isunordered_test): Likewise.
40096         (j0_test): Likewise.
40097         (j1_test): Likewise.
40098         (jn_test): Likewise.
40099         (ldexp_test): Likewise.
40100         (lgamma_test): Likewise.
40101         (lrint_test): Likewise.
40102         (lrint_test_tonearest): Likewise.
40103         (lrint_test_towardzero): Likewise.
40104         (lrint_test_downward): Likewise.
40105         (lrint_test_upward): Likewise.
40106         (llrint_test): Likewise.
40107         (llrint_test_tonearest): Likewise.
40108         (llrint_test_towardzero): Likewise.
40109         (llrint_test_downward): Likewise.
40110         (llrint_test_upward): Likewise.
40111         (log_test): Likewise.
40112         (log10_test): Likewise.
40113         (log1p_test): Likewise.
40114         (log2_test): Likewise.
40115         (logb_test): Likewise.
40116         (logb_test_downward): Likewise.
40117         (lround_test): Likewise.
40118         (llround_test): Likewise.
40119         (modf_test): Likewise.
40120         (nearbyint_test): Likewise.
40121         (nextafter_test): Likewise.
40122         (nexttoward_test): Likewise.
40123         (pow_test): Likewise.
40124         (pow_test_tonearest): Likewise.
40125         (pow_test_towardzero): Likewise.
40126         (pow_test_downward): Likewise.
40127         (pow_test_upward): Likewise.
40128         (remainder_test): Likewise.
40129         (remainder_test_tonearest): Likewise.
40130         (remainder_test_towardzero): Likewise.
40131         (remainder_test_downward): Likewise.
40132         (remainder_test_upward): Likewise.
40133         (remquo_test): Likewise.
40134         (rint_test): Likewise.
40135         (rint_test_tonearest): Likewise.
40136         (rint_test_towardzero): Likewise.
40137         (rint_test_downward): Likewise.
40138         (rint_test_upward): Likewise.
40139         (round_test): Likewise.
40140         (scalb_test): Likewise.
40141         (scalbn_test): Likewise.
40142         (scalbln_test): Likewise.
40143         (signbit_test): Likewise.
40144         (sin_test): Likewise.
40145         (sin_test_tonearest): Likewise.
40146         (sin_test_towardzero): Likewise.
40147         (sin_test_downward): Likewise.
40148         (sin_test_upward): Likewise.
40149         (sincos_test): Likewise.
40150         (sinh_test): Likewise.
40151         (sinh_test_tonearest): Likewise.
40152         (sinh_test_towardzero): Likewise.
40153         (sinh_test_downward): Likewise.
40154         (sinh_test_upward): Likewise.
40155         (sqrt_test): Likewise.
40156         (tan_test): Likewise.
40157         (tan_test_tonearest): Likewise.
40158         (tan_test_towardzero): Likewise.
40159         (tan_test_downward): Likewise.
40160         (tan_test_upward): Likewise.
40161         (tanh_test): Likewise.
40162         (tgamma_test): Likewise.
40163         (trunc_test): Likewise.
40164         (y0_test): Likewise.
40165         (y1_test): Likewise.
40166         (yn_test): Likewise.
40167         (significand_test): Likewise.
40169 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
40171         [BZ #15381]
40172         * libio/genops.c (_IO_no_init): Initialize wide struct info.
40174 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
40176         [BZ #14894]
40177         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
40178         __ppc_mdoio and __ppc_mdoom.
40179         * manual/platform.texi: Document new functions __ppc_yield,
40180         __ppc_mdoio and __ppc_mdoom.
40182 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
40184         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
40185         (main): Mention "tls" pseudo-hwcap is legacy.
40186         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
40188 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
40190         * math/gen-libm-test.pl (parse_args): Output only string of
40191         arguments as text for test name, not full call or descriptions of
40192         tests for extra outputs.
40193         (generate_testfile): Do not pass function name to parse_args.
40194         Generate this_func variable from START.
40195         * math/libm-test.inc (struct test_f_f_data): Rename test_name
40196         field to arg_str.
40197         (struct test_ff_f_data): Likewise.
40198         (test_ff_f_data_nexttoward): Likewise.
40199         (struct test_fi_f_data): Likewise.
40200         (struct test_fl_f_data): Likewise.
40201         (struct test_if_f_data): Likewise.
40202         (struct test_fff_f_data): Likewise.
40203         (struct test_c_f_data): Likewise.
40204         (struct test_f_f1_data): Likewise.  Remove field extra_name.
40205         (struct test_fF_f1_data): Likewise.
40206         (struct test_ffI_f1_data): Likewise.
40207         (struct test_c_c_data): Rename test_name field to arg_str.
40208         (struct test_cc_c_data): Likewise.
40209         (struct test_f_i_data): Likewise.
40210         (struct test_ff_i_data): Likewise.
40211         (struct test_f_l_data): Likewise.
40212         (struct test_f_L_data): Likewise.
40213         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
40214         and extra2_name.
40215         (COMMON_TEST_SETUP): New macro.
40216         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
40217         (COMMON_TEST_CLEANUP): Likewise.
40218         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
40219         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
40220         macros.
40221         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
40222         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
40223         macros.
40224         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
40225         (RUN_TEST_fff_f): Take argument string.  Call new setup and
40226         cleanup macros.
40227         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
40228         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
40229         macros.
40230         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
40231         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
40232         macros.
40233         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
40234         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
40235         cleanup macros.
40236         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
40237         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
40238         cleanup macros.
40239         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
40240         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
40241         cleanup macros.
40242         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
40243         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
40244         macros.
40245         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
40246         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
40247         macros.
40248         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
40249         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
40250         macros.
40251         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
40252         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
40253         cleanup macros.
40254         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
40255         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
40256         cleanup macros.
40257         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
40258         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
40259         macros.
40260         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
40261         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
40262         cleanup macros.
40263         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
40264         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
40265         macros.
40266         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
40267         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
40268         macros.
40269         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
40270         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
40271         cleanup macros.
40272         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
40274 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
40276         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
40277         to _sifields.sigfault.
40278         (si_addr_lsb): Define new macro.
40279         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
40280         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40281         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
40283 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
40285         [BZ #15441]
40286         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
40287         returns -1.
40288         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
40289         null return -1.
40290         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
40291         loading the domain.
40293 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
40295         * math/gen-libm-test.pl (parse_args): Do not include expected
40296         result in test name.
40297         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
40298         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40299         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40300         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40301         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40304 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40306         * benchtests/Makefile: Sort function entries.
40308         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
40309         tanh, asinh, acosh, atanh.
40310         * benchtests/acos-inputs: New file.
40311         * benchtests/acosh-inputs: New file.
40312         * benchtests/asin-inputs: New file.
40313         * benchtests/asinh-inputs: New file.
40314         * benchtests/atanh-inputs: New file.
40315         * benchtests/cosh-inputs: New file.
40316         * benchtests/log-inputs: New file.
40317         * benchtests/sinh-inputs: New file.
40318         * benchtests/tanh-inputs: New file.
40320 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
40322         [BZ #15339]
40323         * posix/tst-getaddrinfo4.c: New test.
40324         * posix/Makefile (tests): Add it.
40326 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40328         [BZ #15339]
40329         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
40330         when no services were used.
40331         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
40332         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
40334 2013-05-21  Andreas Schwab  <schwab@suse.de>
40336         [BZ #15014]
40337         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
40338         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
40339         successful.
40340         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
40341         redundant variable declarations and reallocation of buffer when
40342         parsing as IPv6 address.  Always set NSS status when called from
40343         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
40344         buffer too small.  Correct computation of needed size.
40345         * nss/Makefile (tests): Add test-digits-dots.
40346         * nss/test-digits-dots.c: New test.
40348 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40350         * benchtests/Makefile: Remove instructions for adding
40351         benchmark tests.
40352         * benchtests/README: New file to explain how to execute and
40353         enhance the benchmark tests.
40355 2013-05-21  Andreas Schwab  <schwab@suse.de>
40357         [BZ #15493]
40358         * setjmp/Makefile (tests): Add tst-sigsetjmp.
40359         * setjmp/tst-sigsetjmp.c: New test.
40361 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
40363         * sysdeps/x86_64/memset.S (memset): New implementation.
40364         (__bzero): Likewise.
40365         (__memset_tail): New function.
40367 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
40369         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
40370         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
40371         __memcpy_sse2_unaligned ifunc selection.
40372         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
40373         Add memcpy-sse2-unaligned.S.
40374         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40375         Add: __memcpy_sse2_unaligned.
40377 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
40379         [BZ #15490]
40380         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
40381         math_force_eval before restoring floating-point envrionment.
40382         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
40383         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
40384         Likewise.
40385         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
40386         <math_private.h>.
40387         (__nearbyintl): Use math_force_eval before restoring
40388         floating-point environment.
40389         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
40391         * math/gen-libm-test.pl (special_functions): Remove.
40392         (parse_args): Don't handle TEST_extra.  Handle functions with no
40393         return value.
40394         * math/libm-test.inc (struct test_sincos_data): Replace with
40395         struct test_fFF_11_data.
40396         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
40397         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
40398         (sincos_test_data): Change element type to struct
40399         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
40400         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
40401         RUN_TEST_LOOP_sincos.
40402         * math/README.libm-test: Don't mention special handling of
40403         individual functions.
40404         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
40405         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40406         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40407         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40408         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40411         * math/gen-libm-test.pl (get_variable): Remove function.
40412         (parse_args): Don't show pointer parameters to call in test
40413         names.  Use "extra output N" in test names for extra outputs
40414         rather than naming variables.
40416 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
40418         [BZ #15488]
40419         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
40420         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
40421         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
40422         double tests.
40423         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
40424         disable.
40425         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
40426         check_long_double.
40428         * math/gen-libm-test.pl (@tests): Remove variable.
40429         ($count): Likewise.
40430         (new_test): Remove function.
40431         (show_exceptions): New function.
40432         (special_functions): Use show_exceptions instead of new_test.
40433         (parse_args): Likewise.
40434         (generate_testfile): Pass only function name in generated call to
40435         print_max_error or print_complex_max_error.
40436         (get_ulps): Do not handle complex tests specially.
40437         (output_test): Rename to ...
40438         (get_all_ulps_for_test): ... this.  Return a string rather than
40439         printing to a file.  Require ulps to be present.
40440         (output_ulps): Generate arrays rather than #defines.
40441         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
40442         (struct ulp_data): New type.
40443         (BUILD_COMPLEX_ULP): Remove macro.
40444         (compare_ulp_data): New function.
40445         (find_ulps): Likewise.
40446         (find_test_ulps): Likewise.
40447         (find_function_ulps): Likewise.
40448         (find_complex_function_ulps): Likewise.
40449         (print_max_error): Determine allowed ulps using
40450         find_function_ulps.
40451         (print_complex_max_error): Determine allowed ulps using
40452         find_complex_function_ulps.
40453         (check_float_internal): Determine max ulps using find_test_ulps.
40454         (check_float): Do not take max_ulp parameter.  Update call to
40455         check_float_internal.
40456         (check_complex): Likewise.
40457         (check_int): Do not take max_ulp parameter.
40458         (check_long): Likewise.
40459         (check_bool): Likewise.
40460         (check_longlong): Likewise.
40461         (struct test_f_f_data): Remove max_ulp field.
40462         (struct test_ff_f_data): Likewise.
40463         (struct test_ff_f_data_nexttoward): Likewise.
40464         (struct test_fi_f_data): Likewise.
40465         (struct test_fl_f_data): Likewise.
40466         (struct test_if_f_data): Likewise.
40467         (struct test_fff_f_data): Likewise.
40468         (struct test_c_f_data): Likewise.
40469         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
40470         (struct test_fF_f1_data): Likewise.
40471         (struct test_ffI_f1_data): Likewise.
40472         (struct test_c_c_data): Remove max_ulp field.
40473         (struct test_cc_c_data): Likewise.
40474         (struct test_f_i_data): Likewise.
40475         (struct test_ff_i_data): Likewise.
40476         (struct test_f_l_data): Likewise.
40477         (struct test_f_L_data): Likewise.
40478         (struct test_sincos_data): Likewise.
40479         (RUN_TEST_f_f): Do not handle ulps.
40480         (RUN_TEST_LOOP_f_f): Likewise.
40481         (RUN_TEST_2_f): Likewise.
40482         (RUN_TEST_LOOP_2_f): Likewise.
40483         (RUN_TEST_fff_f): Likewise.
40484         (RUN_TEST_LOOP_fff_f): Likewise.
40485         (RUN_TEST_c_f): Likewise.
40486         (RUN_TEST_LOOP_c_f): Likewise.
40487         (RUN_TEST_f_f1): Likewise.
40488         (RUN_TEST_LOOP_f_f1): Likewise.
40489         (RUN_TEST_fF_f1): Likewise.
40490         (RUN_TEST_LOOP_fF_f1): Likewise.
40491         (RUN_TEST_fI_f1): Likewise.
40492         (RUN_TEST_LOOP_fI_f1): Likewise.
40493         (RUN_TEST_ffI_f1): Likewise.
40494         (RUN_TEST_LOOP_ffI_f1): Likewise.
40495         (RUN_TEST_c_c): Likewise.
40496         (RUN_TEST_LOOP_c_c): Likewise.
40497         (RUN_TEST_cc_c): Likewise.
40498         (RUN_TEST_LOOP_cc_c): Likewise.
40499         (RUN_TEST_f_i): Likewise.
40500         (RUN_TEST_LOOP_f_i): Likewise.
40501         (RUN_TEST_f_i_tg): Likewise.
40502         (RUN_TEST_LOOP_f_i_tg): Likewise.
40503         (RUN_TEST_ff_i_tg): Likewise.
40504         (RUN_TEST_LOOP_ff_i_tg): Likewise.
40505         (RUN_TEST_f_b): Likewise.
40506         (RUN_TEST_LOOP_f_b): Likewise.
40507         (RUN_TEST_f_b_tg): Likewise.
40508         (RUN_TEST_LOOP_f_b_tg): Likewise.
40509         (RUN_TEST_f_l): Likewise.
40510         (RUN_TEST_LOOP_f_l): Likewise.
40511         (RUN_TEST_f_L): Likewise.
40512         (RUN_TEST_LOOP_f_L): Likewise.
40513         (RUN_TEST_sincos): Likewise.
40514         (RUN_TEST_LOOP_sincos): Likewise.
40516 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
40518         [BZ #15480]
40519         [BZ #15485]
40520         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
40521         main case of finite arguments, set rounding mode to FE_TONEAREST
40522         and discard exceptions.
40523         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
40524         exceptions.
40525         (remainder_tonearest_test_data): New variable.
40526         (remainder_test_tonearest): New function.
40527         (remainder_towardzero_test_data): New variable.
40528         (remainder_test_towardzero): New function.
40529         (remainder_downward_test_data): New variable.
40530         (remainder_test_downward): New function.
40531         (remainder_upward_test_data): New variable.
40532         (remainder_test_upward): New function.
40533         (main): Call the new test functions.
40535         * math/libm-test.inc (struct test_f_f1_data): Remove field
40536         extra_init.
40537         (struct test_fF_f1_data): Likewise.
40538         (struct test_ffI_f1_data): Likewise.
40539         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
40540         based on value of EXTRA_EXPECTED.
40541         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
40542         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
40543         EXTRA_VAR based on value of EXTRA_EXPECTED.
40544         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
40545         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
40546         EXTRA_VAR based on value of EXTRA_EXPECTED.
40547         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
40548         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
40549         EXTRA_VAR based on value of EXTRA_EXPECTED.
40550         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
40551         * math/gen-libm-test.pl (parse_args): Don't output initializers
40552         for extra output values.
40554         * math/libm-test.inc (check_int): Expect result to be exactly
40555         equal to expected value and do not handle ulps.
40556         (check_long): Likewise.
40557         (check_longlong): Likewise.
40559         * math/libm-test.inc (ceil_test_data): Test for "inexact"
40560         exceptions.
40561         (cimag_test_data): Likewise.
40562         (conj_test_data): Likewise.
40563         (copysign_test_data): Likewise.
40564         (cproj_test_data): Likewise.
40565         (creal_test_data): Likewise.
40566         (fabs_test_data): Likewise.
40567         (fdim_test_data): Likewise.
40568         (finite_test_data): Likewise.
40569         (floor_test_data): Likewise.
40570         (fmax_test_data): Likewise.
40571         (fmin_test_data): Likewise.
40572         (fmod_test_data): Likewise.
40573         (fpclassify_test_data): Likewise.
40574         (frexp_test_data): Likewise.
40575         (ilogb_test_data): Likewise.
40576         (isfinite_test_data): Likewise.
40577         (isgreater_test_data): Likewise.
40578         (isgreaterequal_test_data): Likewise.
40579         (isinf_test_data): Likewise.
40580         (isless_test_data): Likewise.
40581         (islessequal_test_data): Likewise.
40582         (islessgreater_test_data): Likewise.
40583         (isnan_test_data): Likewise.
40584         (isnormal_test_data): Likewise.
40585         (issignaling_test_data): Likewise.
40586         (isunordered_test_data): Likewise.
40587         (ldexp_test_data): Likewise.
40588         (lrint_test_data): Likewise.
40589         (lrint_test_data) [TEST_FLOAT]: Disable one test.
40590         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
40591         (lrint_tonearest_test_data): Test for "inexact" exceptions.
40592         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
40593         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
40594         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
40595         test input.
40596         (lrint_towardzero_test_data): Test for "inexact" exceptions.
40597         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
40598         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
40599         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
40600         that test input.
40601         (lrint_downward_test_data): Test for "inexact" exceptions.
40602         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
40603         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
40604         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
40605         test input.
40606         (lrint_upward_test_data): Test for "inexact" exceptions.
40607         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
40608         test input.
40609         (llrint_test_data): Test for "inexact" exceptions.
40610         (llrint_test_data) [TEST_FLOAT]: Disable one test.
40611         (llrint_tonearest_test_data): Test for "inexact" exceptions.
40612         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
40613         (llrint_towardzero_test_data): Test for "inexact" exceptions.
40614         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
40615         (llrint_downward_test_data): Test for "inexact" exceptions.
40616         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
40617         (llrint_upward_test_data): Test for "inexact" exceptions.
40618         (logb_test_data): Likewise.
40619         (logb_downward_test_data): Likewise.
40620         (nextafter_test_data): Likewise.
40621         (nexttoward_test_data): Likewise.
40622         (remainder_test_data): Likewise.
40623         (remquo_test_data): Likewise.
40624         (scalbn_test_data): Likewise.
40625         (scalbln_test_data): Likewise.
40626         (signbit_test_data): Likewise.
40627         (sqrt_test_data): Likewise.
40628         (significand_test_data): Likewise.
40630 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40632         [BZ #15424]
40633         * benchtests/bench-modf.c (struct args): Mark arg0 as
40634         volatile.
40635         * scripts/bench.pl: Mark members of struct args as volatile.
40637 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40639         [BZ # 15497]
40640         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
40641         negative infinity on POWER6 or lower.
40642         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
40644 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
40646         [BZ #15442]
40647         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
40648         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
40649         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
40650         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
40651         (_FP_SETQNAN): New macro.
40652         (_FP_SETQNAN_SEMIRAW): Likewise.
40653         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
40654         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
40655         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
40656         (FP_EXTEND): Use _FP_FRAC_SNANP.
40657         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
40658         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
40659         into account.
40660         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
40661         New macro.
40662         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
40663         Likewise.
40665 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
40667         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
40668         with DIVIDE_BY_ZERO_EXCEPTION.
40669         (gamma_test_data): Likewise.
40670         (lgamma_test_data): Likewise.
40671         (log_test_data): Likewise.
40672         (log10_test_data): Likewise.
40673         (log2_test_data): Likewise.
40674         (tgamma_test_data): Likewise.
40676         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
40677         (acos_test_tonearest): Likewise.
40678         (acos_test_towardzero): Likewise.
40679         (acos_test_downward): Likewise.
40680         (acos_test_upward): Likewise.
40681         (acosh_test): Likewise.
40682         (asin_test): Likewise.
40683         (asin_test_tonearest): Likewise.
40684         (asin_test_towardzero): Likewise.
40685         (asin_test_downward): Likewise.
40686         (asin_test_upward): Likewise.
40687         (asinh_test): Likewise.
40688         (atan_test): Likewise.
40689         (atanh_test): Likewise.
40690         (atan2_test): Likewise.
40691         (cabs_test): Likewise.
40692         (cacos_test): Likewise.
40693         (cacosh_test): Likewise.
40694         (casin_test): Likewise.
40695         (casinh_test): Likewise.
40696         (catan_test): Likewise.
40697         (catanh_test): Likewise.
40698         (cbrt_test): Likewise.
40699         (ccos_test): Likewise.
40700         (ccosh_test): Likewise.
40701         (cexp_test): Likewise.
40702         (clog_test): Likewise.
40703         (clog10_test): Likewise.
40704         (cos_test): Likewise.
40705         (cos_test_tonearest): Likewise.
40706         (cos_test_towardzero): Likewise.
40707         (cos_test_downward): Likewise.
40708         (cos_test_upward): Likewise.
40709         (cosh_test): Likewise.
40710         (cosh_test_tonearest): Likewise.
40711         (cosh_test_towardzero): Likewise.
40712         (cosh_test_downward): Likewise.
40713         (cosh_test_upward): Likewise.
40714         (cpow_test): Likewise.
40715         (csin_test): Likewise.
40716         (csinh_test): Likewise.
40717         (csqrt_test): Likewise.
40718         (ctan_test): Likewise.
40719         (ctan_test_tonearest): Likewise.
40720         (ctan_test_towardzero): Likewise.
40721         (ctan_test_downward): Likewise.
40722         (ctan_test_upward): Likewise.
40723         (ctanh_test): Likewise.
40724         (ctanh_test_tonearest): Likewise.
40725         (ctanh_test_towardzero): Likewise.
40726         (ctanh_test_downward): Likewise.
40727         (ctanh_test_upward): Likewise.
40728         (erf_test): Likewise.
40729         (erfc_test): Likewise.
40730         (exp_test): Likewise.
40731         (exp_test_tonearest): Likewise.
40732         (exp_test_towardzero): Likewise.
40733         (exp_test_downward): Likewise.
40734         (exp_test_upward): Likewise.
40735         (exp10_test): Likewise.
40736         (exp2_test): Likewise.
40737         (expm1_test): Likewise.
40738         (fmod_test): Likewise.
40739         (gamma_test): Likewise.
40740         (hypot_test): Likewise.
40741         (j0_test): Likewise.
40742         (j1_test): Likewise.
40743         (jn_test): Likewise.
40744         (lgamma_test): Likewise.
40745         (log_test): Likewise.
40746         (log10_test): Likewise.
40747         (log1p_test): Likewise.
40748         (log2_test): Likewise.
40749         (logb_test_downward): Likewise.
40750         (pow_test): Likewise.
40751         (pow_test_tonearest): Likewise.
40752         (pow_test_towardzero): Likewise.
40753         (pow_test_downward): Likewise.
40754         (pow_test_upward): Likewise.
40755         (remainder_test): Likewise.
40756         (remquo_test): Likewise.
40757         (sin_test): Likewise.
40758         (sin_test_tonearest): Likewise.
40759         (sin_test_towardzero): Likewise.
40760         (sin_test_downward): Likewise.
40761         (sin_test_upward): Likewise.
40762         (sincos_test): Likewise.
40763         (sinh_test): Likewise.
40764         (sinh_test_tonearest): Likewise.
40765         (sinh_test_towardzero): Likewise.
40766         (sinh_test_downward): Likewise.
40767         (sinh_test_upward): Likewise.
40768         (sqrt_test): Likewise.
40769         (tan_test): Likewise.
40770         (tan_test_tonearest): Likewise.
40771         (tan_test_towardzero): Likewise.
40772         (tan_test_downward): Likewise.
40773         (tan_test_upward): Likewise.
40774         (tanh_test): Likewise.
40775         (tgamma_test): Likewise.
40776         (y0_test): Likewise.
40777         (y1_test): Likewise.
40778         (yn_test): Likewise.
40780         * math/gen-libm-test.pl (adjust_arg): Remove function.
40781         (special_function): Remove argument $in_func.  Only handle
40782         generating output for tables of tests, not inside functions.
40783         (parse_args): Likewise.
40784         (generate_testfile): Remove variable $in_func.  Update call to
40785         parse_args.
40786         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
40787         (MINUS_ZERO_INIT): Rename macro to minus_zero.
40788         (PLUS_INFTY_INIT): Rename macro to plus_infty.
40789         (MINUS_INFTY_INIT): Rename macro to minus_infty.
40790         (QNAN_VALUE_INIT): Rename macro to qnan_value.
40791         (MAX_VALUE_INIT): Rename macro to max_value.
40792         (MIN_VALUE_INIT): Rename macro to min_value.
40793         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
40794         (plus_zero): Remove variable.
40795         (minus_zero): Likewise.
40796         (plus_infty): Likewise.
40797         (minus_infty): Likewise.
40798         (qnan_value): Likewise.
40799         (max_value): Likewise.
40800         (min_value): Likewise.
40801         (min_subnorm_value): Likewise.
40803 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40805         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
40806         uint64_t or uint32_t usage.
40807         * crypt/sha256-block.c: Likewise.
40808         * crypt/sha256-crypt.c: Likewise.
40809         * crypt/sha256.c: Likewise.
40810         * crypt/sha512-block.c: Likewise.
40811         * crypt/sha512-crypt.c: Likewise.
40812         * crypt/sha512.c: Likewise.
40813         * debug/backtrace-tst.c: Likewise.
40814         * debug/pcprofiledump.c: Likewise.
40815         * elf/cache.c: Likewise.
40816         * elf/dl-cache.c: Likewise.
40817         * elf/dl-misc.c: Likewise.
40818         * elf/dl-profile.c: Likewise.
40819         * elf/dl-support.c: Likewise.
40820         * elf/ldconfig.c: Likewise.
40821         * elf/sprof.c: Likewise.
40822         * iconv/dummy-repertoire.c: Likewise.
40823         * iconv/iconv_charmap.c: Likewise.
40824         * iconv/skeleton.c: Likewise.
40825         * iconvdata/8bit-generic.c: Likewise.
40826         * iconvdata/cp737.h: Likewise.
40827         * iconvdata/cp775.h: Likewise.
40828         * iconvdata/ibm1008.h: Likewise.
40829         * iconvdata/ibm1025.h: Likewise.
40830         * iconvdata/ibm1046.h: Likewise.
40831         * iconvdata/ibm1097.h: Likewise.
40832         * iconvdata/ibm1112.h: Likewise.
40833         * iconvdata/ibm1122.h: Likewise.
40834         * iconvdata/ibm1123.h: Likewise.
40835         * iconvdata/ibm1124.h: Likewise.
40836         * iconvdata/ibm1129.h: Likewise.
40837         * iconvdata/ibm1130.h: Likewise.
40838         * iconvdata/ibm1132.h: Likewise.
40839         * iconvdata/ibm1133.h: Likewise.
40840         * iconvdata/ibm1137.h: Likewise.
40841         * iconvdata/ibm1140.h: Likewise.
40842         * iconvdata/ibm1141.h: Likewise.
40843         * iconvdata/ibm1142.h: Likewise.
40844         * iconvdata/ibm1143.h: Likewise.
40845         * iconvdata/ibm1144.h: Likewise.
40846         * iconvdata/ibm1145.h: Likewise.
40847         * iconvdata/ibm1146.h: Likewise.
40848         * iconvdata/ibm1147.h: Likewise.
40849         * iconvdata/ibm1148.h: Likewise.
40850         * iconvdata/ibm1149.h: Likewise.
40851         * iconvdata/ibm1153.h: Likewise.
40852         * iconvdata/ibm1154.h: Likewise.
40853         * iconvdata/ibm1155.h: Likewise.
40854         * iconvdata/ibm1156.h: Likewise.
40855         * iconvdata/ibm1157.h: Likewise.
40856         * iconvdata/ibm1158.h: Likewise.
40857         * iconvdata/ibm1160.h: Likewise.
40858         * iconvdata/ibm1161.h: Likewise.
40859         * iconvdata/ibm1162.h: Likewise.
40860         * iconvdata/ibm1163.h: Likewise.
40861         * iconvdata/ibm1164.h: Likewise.
40862         * iconvdata/ibm1166.h: Likewise.
40863         * iconvdata/ibm1167.h: Likewise.
40864         * iconvdata/ibm12712.h: Likewise.
40865         * iconvdata/ibm1390.h: Likewise.
40866         * iconvdata/ibm1399.h: Likewise.
40867         * iconvdata/ibm16804.h: Likewise.
40868         * iconvdata/ibm4517.h: Likewise.
40869         * iconvdata/ibm4899.h: Likewise.
40870         * iconvdata/ibm4909.h: Likewise.
40871         * iconvdata/ibm4971.h: Likewise.
40872         * iconvdata/ibm5347.h: Likewise.
40873         * iconvdata/ibm803.h: Likewise.
40874         * iconvdata/ibm856.h: Likewise.
40875         * iconvdata/ibm901.h: Likewise.
40876         * iconvdata/ibm902.h: Likewise.
40877         * iconvdata/ibm9030.h: Likewise.
40878         * iconvdata/ibm9066.h: Likewise.
40879         * iconvdata/ibm921.h: Likewise.
40880         * iconvdata/ibm922.h: Likewise.
40881         * iconvdata/ibm9448.h: Likewise.
40882         * iconvdata/isiri-3342.h: Likewise.
40883         * iconvdata/jis0201.h: Likewise.
40884         * include/link.h: Likewise.
40885         * include/netdb.h: Likewise.
40886         * inet/check_native.c: Likewise.
40887         * inet/check_pf.c: Likewise.
40888         * inet/getipv4sourcefilter.c: Likewise.
40889         * inet/getnameinfo.c: Likewise.
40890         * inet/getsourcefilter.c: Likewise.
40891         * inet/htonl.c: Likewise.
40892         * inet/setipv4sourcefilter.c: Likewise.
40893         * inet/setsourcefilter.c: Likewise.
40894         * inet/test-inet6_opt.c: Likewise.
40895         * inet/tst-network.c: Likewise.
40896         * locale/C-collate.c: Likewise.
40897         * locale/C-ctype.c: Likewise.
40898         * locale/C-time.c: Likewise.
40899         * locale/C-translit.h: Likewise.
40900         * locale/loadarchive.c: Likewise.
40901         * locale/programs/3level.h: Likewise.
40902         * locale/programs/charmap.c: Likewise.
40903         * locale/programs/charmap.h: Likewise.
40904         * locale/programs/ld-address.c: Likewise.
40905         * locale/programs/ld-collate.c: Likewise.
40906         * locale/programs/ld-ctype.c: Likewise.
40907         * locale/programs/ld-identification.c: Likewise.
40908         * locale/programs/ld-measurement.c: Likewise.
40909         * locale/programs/ld-messages.c: Likewise.
40910         * locale/programs/ld-monetary.c: Likewise.
40911         * locale/programs/ld-name.c: Likewise.
40912         * locale/programs/ld-numeric.c: Likewise.
40913         * locale/programs/ld-paper.c: Likewise.
40914         * locale/programs/ld-telephone.c: Likewise.
40915         * locale/programs/ld-time.c: Likewise.
40916         * locale/programs/linereader.c: Likewise.
40917         * locale/programs/locale.c: Likewise.
40918         * locale/programs/locarchive.c: Likewise.
40919         * locale/programs/locfile.h: Likewise.
40920         * locale/programs/repertoire.c: Likewise.
40921         * locale/programs/simple-hash.c: Likewise.
40922         * locale/programs/simple-hash.h: Likewise.
40923         * malloc/memusage.c: Likewise.
40924         * malloc/memusagestat.c: Likewise.
40925         * nis/nis_defaults.c: Likewise.
40926         * nis/nis_hash.c: Likewise.
40927         * nis/nis_print.c: Likewise.
40928         * nis/nis_xdr.c: Likewise.
40929         * nscd/connections.c: Likewise.
40930         * nscd/hstcache.c: Likewise.
40931         * nscd/nscd_gethst_r.c: Likewise.
40932         * nscd/nscd_getserv_r.c: Likewise.
40933         * nscd/nscd_helper.c: Likewise.
40934         * nscd/servicescache.c: Likewise.
40935         * nss/makedb.c: Likewise.
40936         * nss/nss_db/db-XXX.c: Likewise.
40937         * nss/nss_db/db-initgroups.c: Likewise.
40938         * nss/nss_db/db-netgrp.c: Likewise.
40939         * nss/nss_files/files-network.c: Likewise.
40940         * nss/nss_files/files-parse.c: Likewise.
40941         * posix/bug-regex5.c: Likewise.
40942         * posix/fnmatch_loop.c: Likewise.
40943         * posix/regcomp.c: Likewise.
40944         * posix/regexec.c: Likewise.
40945         * posix/tst-rfc3484-2.c: Likewise.
40946         * posix/tst-rfc3484-3.c: Likewise.
40947         * posix/tst-rfc3484.c: Likewise.
40948         * resolv/nss_dns/dns-canon.c: Likewise.
40949         * resolv/nss_dns/dns-network.c: Likewise.
40950         * resolv/res_init.c: Likewise.
40951         * resolv/res_mkquery.c: Likewise.
40952         * resolv/tst-aton.c: Likewise.
40953         * stdlib/cxa_atexit.c: Likewise.
40954         * stdlib/cxa_finalize.c: Likewise.
40955         * stdlib/gen-fpioconst.c: Likewise.
40956         * stdlib/strtol_l.c: Likewise.
40957         * string/tst-endian.c: Likewise.
40958         * sunrpc/auth_des.c: Likewise.
40959         * sunrpc/clnt_udp.c: Likewise.
40960         * sunrpc/rtime.c: Likewise.
40961         * sunrpc/svcauth_des.c: Likewise.
40962         * sunrpc/xdr.c: Likewise.
40963         * sunrpc/xdr_intXX_t.c: Likewise.
40964         * sunrpc/xdr_rec.c: Likewise.
40965         * sysdeps/generic/ldconfig.h: Likewise.
40966         * sysdeps/generic/ldsodefs.h: Likewise.
40967         * sysdeps/generic/memusage.h: Likewise.
40968         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40969         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
40970         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
40971         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40972         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40973         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40974         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40975         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40976         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40977         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
40978         * sysdeps/posix/getaddrinfo.c: Likewise.
40979         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40980         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40981         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40982         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40983         * sysdeps/powerpc/test-gettimebase.c: Likewise.
40984         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
40985         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
40986         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
40987         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
40988         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
40989         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40990         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40991         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
40992         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
40993         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
40994         * sysdeps/x86_64/dl-tls.h: Likewise.
40995         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
40996         * time/alt_digit.c: Likewise.
40997         * time/era.c: Likewise.
40998         * wcsmbs/tst-c16c32-1.c: Likewise.
41000 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
41002         * math/libm-test.inc (struct test_sincos_data): New type.
41003         (RUN_TEST_LOOP_sincos): New macro.
41004         (sincos_test_data): New variable.
41005         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
41007 2013-05-16  Richard Henderson  <rth@redhat.com>
41009         * math/atest-exp2.c (LIMB64): New macro.
41010         (CONSTSZ): New macro.
41011         (mp_exp1, mp_exp_m1, mp_log2): New variables.
41012         (hexdig): Move ...
41013         (print_mpn_fp): ... to function scope.
41014         (read_mpn_hex): Remove.
41015         (get_log2): Remove.
41016         (exp2_mpn): Use mp_log2.
41017         (main): Use mp_exp1.
41019 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
41021         * math/libm-test.inc: Remove comment about not testing "inexact"
41022         exceptions.
41023         (INEXACT_EXCEPTION): New macro.
41024         (NO_INEXACT_EXCEPTION): Likewise.
41025         (INVALID_EXCEPTION_OK): Update value.
41026         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41027         (OVERFLOW_EXCEPTION_OK): Likewise.
41028         (UNDERFLOW_EXCEPTION_OK): Likewise.
41029         (IGNORE_ZERO_INF_SIGN): Likewise.
41030         (ERRNO_UNCHANGED): Likewise.
41031         (ERRNO_EDOM): Likewise.
41032         (ERRNO_ERANGE): Likewise.
41033         (test_exceptions): Handle testing "inexact" exceptions.
41034         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
41035         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
41036         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
41037         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
41038         INEXACT_EXCEPTION.
41039         (rint_towardzero_test_data): Likewise.
41040         (rint_downward_test_data): Likewise.
41041         (rint_upward_test_data): Likewise.
41043         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
41044         with OVERFLOW_EXCEPTION.
41045         (exp10_test_data): Likewise.
41046         (exp2_test_data): Likewise.
41047         (expm1_test_data): Likewise.
41048         (lgamma_test_data): Likewise.
41049         (pow_test_data): Likewise.
41050         (tgamma_test_data): Likewise.
41051         (yn_test_data): Remove duplicate test of overflow.
41053         * math/libm-test.inc (struct test_cc_c_data): New type.
41054         (RUN_TEST_LOOP_cc_c): New macro.
41055         (cpow_test_data): New variable.
41056         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
41058         * math/libm-test.inc (struct test_f_L_data): New type.
41059         (RUN_TEST_LOOP_f_L): New macro.
41060         (llrint_test_data): New variable.
41061         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
41062         (llrint_tonearest_test_data): New variable.
41063         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
41064         (llrint_towardzero_test_data): New variable.
41065         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
41066         (llrint_downward_test_data): New variable.
41067         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
41068         (llrint_upward_test_data): New variable.
41069         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
41070         (llround_test_data): New variable.
41071         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
41073 2013-05-13  Peter Collingbourne  <pcc@google.com>
41075         * math/atest-exp2.c (get_log2): Remove const attribute.
41077 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
41079         * math/libm-test.inc (struct test_f_l_data): New type.
41080         (RUN_TEST_LOOP_f_l): New macro.
41081         (lrint_test_data): New variable.
41082         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
41083         (lrint_tonearest_test_data): New variable.
41084         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
41085         (lrint_towardzero_test_data): New variable.
41086         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
41087         (lrint_downward_test_data): New variable.
41088         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
41089         (lrint_upward_test_data): New variable.
41090         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
41091         (lround_test_data): New variable.
41092         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
41094 2013-05-15  Peter Collingbourne  <pcc@google.com>
41096         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
41097         (EXTRACT_WORDS64) Use where appropriate.
41098         (INSERT_WORDS64) Likewise.
41100         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
41101         constraints with x constraints.
41102         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
41104         * malloc/obstack.c (_obstack_compat): Add initializer.
41106 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
41108         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
41109         si_trapno and add si_addr_lsb to _sifields.sigfault.
41110         (si_trapno): Remove macro.
41111         (si_addr_lsb): Define new macro.
41112         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
41114 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
41116         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
41117         instead of TEST_f_l.
41118         (llrint_test_tonearest): Likewise.
41119         (llrint_test_towardzero): Likewise.
41120         (llrint_test_downward): Likewise.
41121         (llrint_test_upward): Likewise.
41122         (llround_test): Likewise.
41124         * math/libm-test.inc (struct test_f_i_data): Add comment.
41125         (RUN_TEST_LOOP_f_b): New macro.
41126         (RUN_TEST_LOOP_f_b_tg): Likewise.
41127         (finite_test_data): New variable.
41128         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
41129         (isfinite_test_data): New variable.
41130         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41131         (isinf_test_data): New variable.
41132         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41133         (isnan_test_data): New variable.
41134         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41135         (isnormal_test_data): New variable.
41136         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41137         (issignaling_test_data): New variable.
41138         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41139         (signbit_test_data): New variable.
41140         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41142         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
41143         with INVALID_EXCEPTION.
41144         (acosh_test_data): Likewise.
41145         (asin_test_data): Likewise.
41146         (atanh_test_data): Likewise.
41147         (fmod_test_data): Likewise.
41148         (log_test_data): Likewise.
41149         (log10_test_data): Likewise.
41150         (log2_test_data): Likewise.
41151         (pow_test_data): Likewise.
41152         (sqrt_test_data): Likewise.
41153         (y0_test_data): Likewise.
41154         (y1_test_data): Likewise.
41155         (yn_test_data): Likewise.
41157         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
41158         function contents.
41160         * math/libm-test.inc (struct test_ff_i_data): New type.
41161         (RUN_TEST_LOOP_ff_i_tg): New macro.
41162         (isgreater_test_data): New variable.
41163         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41164         (isgreaterequal_test_data): New variable.
41165         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41166         (isless_test_data): New variable.
41167         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41168         (islessequal_test_data): New variable.
41169         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41170         (islessgreater_test_data): New variable.
41171         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41172         (isunordered_test_data): New variable.
41173         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41175 2013-05-14  David S. Miller  <davem@davemloft.net>
41177         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41179 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
41181         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
41183         * math/libm-test.inc (struct test_fF_f1_data): Change type of
41184         extra_test to int.
41185         (struct test_f_i_data): Change type of max_ulp to int.
41187         * math/libm-test.inc (test_ffI_f1_data): New type.
41188         (RUN_TEST_LOOP_ffI_f1): New macro.
41189         (remquo_test_data): New variable.
41190         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
41192         * setjmp/tst-setjmp-fp.c: New file.
41193         * setjmp/Makefile (tests): Add tst-setjmp-fp.
41194         (link-libm): New variable.
41195         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
41197         * math/libm-test.inc (struct test_f_i_data): New type.
41198         (RUN_TEST_LOOP_f_i): New macro.
41199         (RUN_TEST_LOOP_f_i_tg): Likewise.
41200         (fpclassify_test_data): New variable.
41201         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
41202         (ilogb_test_data): New variable.
41203         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
41205         * math/libm-test.inc (scalbln_test): Correct function name in END
41206         call.
41208         * math/libm-test.inc (struct test_f_f1_data): Add comment.
41209         (RUN_TEST_LOOP_fI_f1): New macro.
41210         (frexp_test_data): New variable.
41211         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
41213         * math/libm-test.inc (struct test_fF_f1_data): New type.
41214         (RUN_TEST_LOOP_fF_f1): New macro.
41215         (modf_test_data): New variable.
41216         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
41218         * math/libm-test.inc (struct test_f_f1_data): New type.
41219         (RUN_TEST_LOOP_f_f1): New macro.
41220         (gamma_test_data): New variable.
41221         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
41222         (lgamma_test_data): New variable.
41223         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
41225 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
41227         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
41228         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
41229         (main): Comment "tls" pseudo-hwcap.
41231 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
41233         * math/libm-test.inc (struct test_fl_f_data): New type.
41234         (RUN_TEST_LOOP_fl_f): New variable.
41235         (scalbln_test_data): New variable.
41236         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
41238         * math/libm-test.inc (struct test_fi_f_data): New type.
41239         (RUN_TEST_LOOP_fi_f): New macro.
41240         (ldexp_test_data): New variable.
41241         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
41242         (scalbn_test_data): New variable.
41243         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
41245         * math/libm-test.inc (struct test_c_f_data): New type.
41246         (RUN_TEST_LOOP_c_f): New macro.
41247         (cabs_test_data): New variable.
41248         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
41249         (carg_test_data): New variable.
41250         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
41251         (cimag_test_data): New variable.
41252         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
41253         (creal_test_data): New variable.
41254         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
41256         * math/libm-test.inc (struct test_if_f_data): New type.
41257         (RUN_TEST_LOOP_if_f): New macro.
41258         (jn_test_data): New variable.
41259         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
41260         (yn_test_data): New variable.
41261         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
41263         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
41265 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41267         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
41268         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
41270 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41272         * benchtests/Makefile (CPPFLAGS-nonlib): Add
41273         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
41274         (bench-deps): Add bench-timing.h.
41275         * benchtests-bench-skeleton.c: Include bench-timing.h.
41276         (main): Use TIMING_* macros instead of clock_gettime.
41277         * benchtests/bench-timing.h: New file.
41279         [BZ #14582]
41280         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
41281         Renamed from _LIB_VERSION.
41282         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
41284 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
41286         * math/libm-test.inc (struct test_fff_f_data): New type.
41287         (RUN_TEST_LOOP_fff_f): New macro.
41288         (fma_test_data): New variable.
41289         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
41290         (fma_towardzero_test_data): New variable.
41291         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
41292         (fma_downward_test_data): New variable.
41293         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
41294         (fma_upward_test_data): New variable.
41295         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
41297         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
41298         (struct test_c_c_data): New type.
41299         (RUN_TEST_LOOP_c_c): New macro.
41300         (cacos_test_data): New variable.
41301         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
41302         (cacosh_test_data): New variable.
41303         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
41304         (casin_test_data): New variable.
41305         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
41306         (casinh_test_data): New variable.
41307         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
41308         (catan_test_data): New variable.
41309         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
41310         (catanh_test_data): New variable.
41311         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
41312         (ccos_test_data): New variable.
41313         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
41314         (ccosh_test_data): New variable.
41315         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
41316         (cexp_test_data): New variable.
41317         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
41318         (clog_test_data): New variable.
41319         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
41320         (clog10_test_data): New variable.
41321         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
41322         (conj_test_data): New variable.
41323         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
41324         (cproj_test_data): New variable.
41325         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
41326         (csin_test_data): New variable.
41327         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
41328         (csinh_test_data): New variable.
41329         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
41330         (csqrt_test_data): New variable.
41331         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
41332         (ctan_test_data): New variable.
41333         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
41334         (ctan_tonearest_test_data): New variable.
41335         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
41336         (ctan_towardzero_test_data): New variable.
41337         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
41338         (ctan_downward_test_data): New variable.
41339         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
41340         (ctan_upward_test_data): New variable.
41341         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
41342         (ctanh_test_data): New variable.
41343         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
41344         (ctanh_tonearest_test_data): New variable.
41345         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
41346         (ctanh_towardzero_test_data): New variable.
41347         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
41348         (ctanh_downward_test_data): New variable.
41349         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
41350         (ctanh_upward_test_data): New variable.
41351         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
41352         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
41353         of BUILD_COMPLEX.
41355         * math/libm-test.inc (struct test_ff_f_data): New type.
41356         (struct test_ff_f_data_nexttoward): Likewise.
41357         (RUN_TEST_LOOP_2_f): New macro.
41358         (RUN_TEST_LOOP_ff_f): Likewise.
41359         (atan2_test_data): New variable.
41360         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
41361         (copysign_test_data): New variable.
41362         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
41363         (fdim_test_data): New variable.
41364         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
41365         (fmax_test_data): New variable.
41366         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
41367         (fmin_test_data): New variable.
41368         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
41369         (fmod_test_data): New variable.
41370         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
41371         (hypot_test_data): New variable.
41372         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
41373         (nextafter_test_data): New variable.
41374         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
41375         (nexttoward_test_data): New variable.
41376         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
41377         (pow_test_data): New variable.
41378         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
41379         (pow_tonearest_test_data): New variable.
41380         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
41381         (pow_towardzero_test_data): New variable.
41382         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
41383         (pow_downward_test_data): New variable.
41384         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
41385         (pow_upward_test_data): New variable.
41386         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
41387         (remainder_test_data): New variable.
41388         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
41389         (scalb_test_data): New variable.
41390         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
41391         * sysdeps/i386/fpu/libm-test-ulps: Update.
41393 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
41395         * math/libm-test.inc (fma_test): Use max_value instead of local
41396         variable fltmax.
41397         (nextafter_test): Likewise.
41399         * math/libm-test.inc (acos_towardzero_test_data): New variable.
41400         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41401         (acos_downward_test_data): New variable.
41402         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41403         (acos_upward_test_data): New variable.
41404         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41405         (acosh_test_data): New variable.
41406         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
41407         (asin_test_data): New variable.
41408         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
41409         (asin_tonearest_test_data): New variable.
41410         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41411         (asin_towardzero_test_data): New variable.
41412         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41413         (asin_downward_test_data): New variable.
41414         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41415         (asin_upward_test_data): New variable.
41416         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41417         (asinh_test_data): New variable.
41418         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
41419         (atan_test_data): New variable.
41420         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
41421         (atanh_test_data): New variable.
41422         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
41423         (cbrt_test_data): New variable.
41424         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
41425         (ceil_test_data): New variable.
41426         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
41427         (cos_test_data): New variable.
41428         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
41429         (cos_tonearest_test_data): New variable.
41430         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41431         (cos_towardzero_test_data): New variable.
41432         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41433         (cos_downward_test_data): New variable.
41434         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41435         (cos_upward_test_data): New variable.
41436         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41437         (cosh_test_data): New variable.
41438         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
41439         (cosh_tonearest_test_data): New variable.
41440         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41441         (cosh_towardzero_test_data): New variable.
41442         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41443         (cosh_downward_test_data): New variable.
41444         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41445         (cosh_upward_test_data): New variable.
41446         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41447         (erf_test_data): New variable.
41448         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
41449         (erfc_test_data): New variable.
41450         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
41451         (exp_test_data): New variable.
41452         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
41453         (exp_tonearest_test_data): New variable.
41454         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41455         (exp_towardzero_test_data): New variable.
41456         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41457         (exp_downward_test_data): New variable.
41458         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41459         (exp_upward_test_data): New variable.
41460         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41461         (exp10_test_data): New variable.
41462         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
41463         (exp2_test_data): New variable.
41464         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
41465         (expm1_test_data): New variable.
41466         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
41467         (fabs_test_data): New variable.
41468         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
41469         (floor_test_data): New variable.
41470         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
41471         (j0_test_data): New variable.
41472         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
41473         (j1_test_data): New variable.
41474         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
41475         (log_test_data): New variable.
41476         (log_test): Run tests with RUN_TEST_LOOP_f_f.
41477         (log10_test_data): New variable.
41478         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
41479         (log1p_test_data): New variable.
41480         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
41481         (log2_test_data): New variable.
41482         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
41483         (logb_test_data): New variable.
41484         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
41485         (logb_downward_test_data): New variable.
41486         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41487         (nearbyint_test_data): New variable.
41488         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
41489         (rint_test_data): New variable.
41490         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
41491         (rint_tonearest_test_data): New variable.
41492         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41493         (rint_towardzero_test_data): New variable.
41494         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41495         (rint_downward_test_data): New variable.
41496         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41497         (rint_upward_test_data): New variable.
41498         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41499         (round_test_data): New variable.
41500         (round_test): Run tests with RUN_TEST_LOOP_f_f.
41501         (sin_test_data): New variable.
41502         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
41503         (sin_tonearest_test_data): New variable.
41504         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41505         (sin_towardzero_test_data): New variable.
41506         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41507         (sin_downward_test_data): New variable.
41508         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41509         (sin_upward_test_data): New variable.
41510         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41511         (sinh_test_data): New variable.
41512         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
41513         (sinh_tonearest_test_data): New variable.
41514         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41515         (sinh_towardzero_test_data): New variable.
41516         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41517         (sinh_downward_test_data): New variable.
41518         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41519         (sinh_upward_test_data): New variable.
41520         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41521         (sqrt_test_data): New variable.
41522         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
41523         (tan_test_data): New variable.
41524         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
41525         (tan_tonearest_test_data): New variable.
41526         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41527         (tan_towardzero_test_data): New variable.
41528         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41529         (tan_downward_test_data): New variable.
41530         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41531         (tan_upward_test_data): New variable.
41532         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41533         (tanh_test_data): New variable.
41534         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
41535         (tgamma_test_data): New variable.
41536         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
41537         (trunc_test_data): New variable.
41538         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
41539         (y0_test_data): New variable.
41540         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
41541         (y1_test_data): New variable.
41542         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
41543         (significand_test_data): New variable.
41544         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
41546 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
41548         [BZ #12387]
41549         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
41551 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41553         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
41555 2013-05-10  Andreas Jaeger  <aj@suse.de>
41557         [BZ #15448]
41558         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
41559         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
41561 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
41563         * math/gen-libm-test.pl (adjust_arg): New function.
41564         (special_functions): Handle generating output in both functions
41565         and arrays.
41566         (parse_args): Likewise.
41567         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
41568         $in_func argument to parse_args.
41569         * math/libm-test.inc (struct test_f_f_data): New type.
41570         (IF_ROUND_INIT_): New macro.
41571         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
41572         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
41573         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
41574         (IF_ROUND_INIT_FE_UPWARD): Likewise.
41575         (ROUND_RESTORE_): Likewise.
41576         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
41577         (ROUND_RESTORE_FE_TONEAREST): Likewise.
41578         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
41579         (ROUND_RESTORE_FE_UPWARD): Likewise.
41580         (RUN_TEST_LOOP_f_f): New macro.
41581         (acos_test_data): New variable.
41582         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
41583         (acos_tonearest_test_data): New variable.
41584         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41586 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41588         * benchtests/bench-skeleton.c (startup): Fix coding style.
41590 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
41592         [BZ #6809]
41593         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
41594         negative infinity argument.
41595         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
41596         negative infinity argument.
41597         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
41598         negative infinity argument.
41599         * math/libm-test.inc (tgamma_test): Expect errno to be set for
41600         domain errors.
41602 2013-05-10  Florian Weimer  <fweimer@redhat.com>
41604         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
41605         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
41606         * iconv/iconv_prog.c (main): Likewise.
41607         * locale/programs/charmap-dir.c (charmap_readdir)
41608         (fopen_uncompressed): Likewise.
41609         * locale/programs/locfile.c (siblings_uncached)
41610         (write_locale_data): Use lstat64 instead of lstat.
41611         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
41612         stat.
41614 2013-05-10  Andreas Jaeger  <aj@suse.de>
41616         [BZ #15395]
41617         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
41618         localization.
41619         Include <locale.h>.
41621 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
41623         * elf/dl-close.c (_dl_close_worker): Add comments.
41625 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
41627         [BZ #15359]
41628         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
41629         high part of pi/2.
41630         (__ieee754_rem_pio2l): Update comments.
41632         [BZ #15429]
41633         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
41634         high part of pi/2.
41635         (__ieee754_rem_pio2l): Update comments.
41637         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
41638         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
41640         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
41641         M_PI_4l.
41643         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
41644         (M_PI_34_LOG10El): Likewise.
41645         (M_PI2_LOG10El): Likewise.
41646         (M_PI4_LOG10El): Likewise.
41647         (M_PI_LOG10El): Likewise.
41649 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41651         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41653 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
41655         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
41656         (MINUS_ZERO_INIT): Likewise.
41657         (PLUS_INFTY_INIT): Likewise.
41658         (MINUS_INFTY_INIT): Likewise.
41659         (QNAN_VALUE_INIT): Likewise.
41660         (MAX_VALUE_INIT): Likewise.
41661         (MIN_VALUE_INIT): Likewise.
41662         (MIN_SUBNORM_VALUE_INIT): Likewise.
41663         (plus_zero): Initialize with PLUS_ZERO_INIT.
41664         (minus_zero): Initialize with MINUS_ZERO_INIT.
41665         (plus_infty): Initialize with PLUS_INFTY_INIT.
41666         (minus_infty): Initialize with MINUS_INFTY_INIT.
41667         (qnan_value): Initialize with QNAN_VALUE_INIT.
41668         (max_value): Initialize with MAX_VALUE_INIT.
41669         (min_value): Initialize with MIN_VALUE_INIT.
41670         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
41672         * math/libm-test.inc (RUN_TEST_if_f): New macro.
41673         (jn_test): Use TEST_if_f instead of TEST_ff_f.
41674         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
41675         (yn_test): Use TEST_if_f instead of TEST_ff_f.
41677         * math/libm-test.inc (RUN_TEST_f_f): New macro.
41678         (RUN_TEST_2_f): Likewise.
41679         (RUN_TEST_ff_f): Likewise.
41680         (RUN_TEST_fi_f): Likewise.
41681         (RUN_TEST_fl_f): Likewise.
41682         (RUN_TEST_fff_f): Likewise.
41683         (RUN_TEST_c_f): Likewise.
41684         (RUN_TEST_f_f1): Likewise.
41685         (RUN_TEST_fF_f1): Likewise.
41686         (RUN_TEST_fI_f1): Likewise.
41687         (RUN_TEST_ffI_f1): Likewise.
41688         (RUN_TEST_c_c): Likewise.
41689         (RUN_TEST_cc_c): Likewise.
41690         (RUN_TEST_f_i): Likewise.
41691         (RUN_TEST_f_i_tg): Likewise.
41692         (RUN_TEST_ff_i_tg): Likewise.
41693         (RUN_TEST_f_b): Likewise.
41694         (RUN_TEST_f_b_tg): Likewise.
41695         (RUN_TEST_f_l): Likewise.
41696         (RUN_TEST_f_L): Likewise.
41697         (RUN_TEST_sincos): Likewise.
41698         * math/gen-libm-test.pl (new_test): Take new argument to indicate
41699         whether to show exceptions.  Do not include ");\n" in return
41700         value.
41701         (special_functions): Output call to RUN_TEST_sincos instead of
41702         check_float calls.  Update calls to new_test.
41703         (parse_args): Output call to single RUN_TEST_* macro instead of
41704         check_* calls and other assignments.  Update calls to new_test.
41706         [BZ #2546]
41707         [BZ #2560]
41708         [BZ #5159]
41709         [BZ #15426]
41710         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
41711         input to result for tgamma overflow.
41712         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
41713         (gamma_coeff): New variable.
41714         (NCOEFF): New macro.
41715         (gamma_positive): New function.
41716         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
41717         underflow here.  Use gamma_positive instead of exp (lgamma) for
41718         other arguments.
41719         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
41720         (gamma_coeff): New variable.
41721         (NCOEFF): New macro.
41722         (gammaf_positive): New function.
41723         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
41724         underflow here.  Use gamma_positive instead of exp (lgamma) for
41725         other arguments.
41726         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
41727         (gamma_coeff): New variable.
41728         (NCOEFF): New macro.
41729         (gammal_positive): New function.
41730         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
41731         underflow here.  Use gamma_positive instead of exp (lgamma) for
41732         other arguments.
41733         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
41734         (gamma_coeff): New variable.
41735         (NCOEFF): New macro.
41736         (gammal_positive): New function.
41737         (__ieee754_gammal_r): Handle positive infinity, overflow and
41738         underflow here.  Handle NaN the same as positive infinity.  Remove
41739         check x < 0xffffffff for negative integers.  Use gamma_positive
41740         instead of exp (lgamma) for other arguments.
41741         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
41742         (gamma_coeff): New variable.
41743         (NCOEFF): New macro.
41744         (gammal_positive): New function.
41745         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
41746         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
41747         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
41748         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
41749         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
41750         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
41751         * sysdeps/generic/math_private.h (__gamma_productf): New
41752         prototype.
41753         (__gamma_product): Likewise.
41754         (__gamma_productl): Likewise.
41755         * math/Makefile (libm-calls): Add gamma_product.
41756         * math/libm-test.inc (tgamma_test): Add more tests.
41757         * sysdeps/i386/fpu/libm-test-ulps: Update.
41758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41760 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
41762         * benchtests/bench-skeleton.c (main): Preheat CPU.
41764 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
41766         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
41768 2013-05-07  Roland McGrath  <roland@hack.frob.com>
41770         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
41771         and _dl_skip_args_internal.
41773 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
41775         * manual/message.texi (Message Translation): Talk about users.
41776         Message to key mapping impacts design.
41778 2013-05-06  Roland McGrath  <roland@hack.frob.com>
41780         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
41782         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
41784         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
41785         * sysdeps/wordsize-64/glob64.c: ... here.
41787         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
41788         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
41789         New macros.
41791         * debug/getlogin_r_chk.c: Moved to ...
41792         * login/getlogin_r_chk.c: ... here.
41793         * debug/Makefile (routines): Move getlogin_r_chk to ...
41794         * login/Makefile (routines): ... here.
41795         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
41796         * login/Versions (libc: GLIBC_2.4): ... here.
41798         * io/poll.c (__poll): Renamed from poll.
41799         Add libc_hidden_def.
41800         (poll): Define as weak alias.
41802         * debug/ptsname_r_chk.c: Moved to ...
41803         * login/ptsname_r_chk.c: ... here.
41804         * debug/Makefile (routines): Move ptsname_r_chk to ...
41805         * login/Makefile (routines): ... here.
41806         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
41807         * login/Versions (libc: GLIBC_2.4): ... here.
41809         * posix/getlogin.c: Moved to ...
41810         * login/getlogin.c: ... here.
41811         * posix/getlogin_r.c: Moved to ...
41812         * login/getlogin_r.c: ... here.
41813         * posix/getlogin_r.c: Moved to ...
41814         * login/getlogin_r.c: ... here.
41815         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
41816         * login/Makefile (routines): ... here.
41817         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
41818         * login/Versions (libc: GLIBC_2.0): ... here.
41820         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
41821         (setrlimit): Define as weak alias.
41823         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
41824         Call __ names for open, ftruncate, and close.
41825         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
41826         (truncate): Define as weak alias.
41828 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
41830         * math/gen-libm-test.pl (parse_args): Initialize x before each
41831         test of frexp, modf and remquo.
41833         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
41834         test signgam value.
41836 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41838         [BZ #15418]
41839         [BZ #15419]
41840         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
41841         internal tests.
41842         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41844 2013-05-06  Roland McGrath  <roland@hack.frob.com>
41846         * elf/dl-writev.h: New file.
41847         * elf/dl-misc.c: Include it.
41848         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
41849         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
41851 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
41853         * math/libm-test.inc (noXFails): Remove variable.
41854         (noXPasses): Likewise.
41855         (BUILD_COMPLEX_INT): Remove macro.
41856         (print_screen): Remove xfail argument.
41857         (print_screen_max_error): Likewise.
41858         (update_stats): Likewise.
41859         (print_max_error): Likewise.  Update calls to other affected
41860         functions.
41861         (print_complex_max_error): Likewise.
41862         (test_single_exception): Update calls to print_screen.
41863         (test_single_errno): Likewise.
41864         (check_float_internal): Remove xfail argument.  Update calls to
41865         other affected functions.
41866         (check_float): Likewise.
41867         (check_complex): Likewise.
41868         (check_int): Likewise.
41869         (check_long): Likewise.
41870         (check_bool): Likewise.
41871         (check_longlong): Likewise.
41872         (main): Don't print noXFails and noXPasses.
41873         * math/gen-libm-test.pl (top level): Don't mention expected
41874         failure handling in comment.
41875         (new_test): Don't handle expected failures.
41876         (parse_args): Don't mention expected failure handling in comment.
41877         (generate_testfile): Don't handle expected failures.
41878         (parse_ulps): Likewise.
41879         (print_ulps_file): Likewise.
41880         (get_failure): Remove function.
41881         (output_test): Don't handle expected failures.
41882         * make/README.libm-test: Don't mention expected failure handling.
41884         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
41885         (minus_zero): Likewise.
41886         (plus_infty): Likewise.
41887         (minus_infty): Likewise.
41888         (qnan_value): Likewise.
41889         (max_value): Likewise.
41890         (min_value): Likewise.
41891         (min_subnorm_value): Likewise.
41892         (initialize): Do not initialize those variables dynamically.
41894 2013-05-03  Roland McGrath  <roland@hack.frob.com>
41896         * io/open.c (__open_2): Moved to ...
41897         * io/open_2.c: ... this new file.
41898         * io/open64.c (__open64_2): Moved to ...
41899         * io/open64_2.c: ... this new file.
41900         * io/openat.c (__openat_2): Moved to ...
41901         * io/openat_2.c: ... this new file.
41902         * io/openat64.c (__openat64_2): Moved to ...
41903         * io/openat64_2.c: ... this new file.
41904         * io/Makefile (routines): Add them.
41905         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
41906         * sysdeps/unix/sysv/linux/open_2.c: File removed.
41907         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
41908         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
41909         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
41910         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
41911         (__openat64): Add hidden_ver.
41912         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
41913         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
41915         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
41916         Separately conditionalize setting of GLRO(dl_sysinfo) so
41917         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
41918         as well, but the actual setting is only under [NEED_DL_SYSINFO].
41920 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41922         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
41923         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
41924         definition.
41925         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
41926         * sysdeps/unix/sysv/linux/powerpc/init-first.c
41927         (_libc_vdso_platform_setup): Add __vdso_time initialization.
41928         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
41929         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
41931 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
41933         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
41934         test signgam value.
41936         * math/libm-test.inc (hypot_test): Do not use
41937         IGNORE_ZERO_INF_SIGN.
41939 2013-05-03  Andreas Jaeger  <aj@suse.de>
41941         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
41942         Linux 3.9.
41943         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
41944         (PF_MAX): Adjust for VSOCK change.
41946 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41948         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41950 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
41952         [BZ #15264]
41953         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
41954         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
41955         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
41957 2013-05-02  David S. Miller  <davem@davemloft.net>
41959         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41961 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
41963         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
41965 2013-05-01  Roland McGrath  <roland@hack.frob.com>
41967         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
41969 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
41971         [BZ #14952]
41972         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
41973         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
41974         Use __attribute__ ((__gnu_inline__)).
41975         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
41976         Don't use __attribute__ ((__gnu_inline__)).
41978 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
41980         [BZ #15423]
41981         * math/s_catan.c (__catan): Handle small real or imaginary part of
41982         input specially to avoid spurious underflow.
41983         * math/s_catanf.c (__catanf): Likewise.
41984         * math/s_catanh.c (__catanh): Likewise.
41985         * math/s_catanhf.c (__catanhf): Likewise.
41986         * math/s_catanhl.c (__catanhl): Likewise.
41987         * math/s_catanl.c (__catanl): Likewise.
41988         * math/libm-test.inc (catan_test): Add more tests.
41989         (catanh_test): Likewise.
41990         * sysdeps/i386/fpu/libm-test-ulps: Update.
41991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41993 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41995         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41997 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
41999         [BZ #15416]
42000         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
42001         accurately for denominator in atan2.
42002         * math/s_catanf.c (__catanf): Likewise.
42003         * math/s_catanh.c (__catanh): Likewise.
42004         * math/s_catanhf.c (__catanhf): Likewise.
42005         * math/s_catanhl.c (__catanhl): Likewise.
42006         * math/s_catanl.c (__catanl): Likewise.
42007         * math/libm-test.inc (catan_test): Add more tests.
42008         (catanh_test): Likewise.
42009         * sysdeps/i386/fpu/libm-test-ulps: Update.
42010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42012 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42014         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
42016         * benchtests/Makefile (bench): Remove slow benchmarks.
42017         * benchtests/atan-inputs: Add slow benchmark inputs.
42018         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
42019         (BENCH_FUNC): Accept variant offset.
42020         (VARIANT): Define.
42021         * benchtests/bench-skeleton.c (main): Run benchmark for each
42022         variant.
42023         * benchtests/cos-inputs: Add slow benchmark inputs.
42024         * benchtests/exp-inputs: Likewise.
42025         * benchtests/pow-inputs: Likewise.
42026         * benchtests/sin-inputs: Likewise.
42027         * benchtests/slowatan-inputs: Remove.
42028         * benchtests/slowatan.c: Remove.
42029         * benchtests/slowcos-inputs: Remove.
42030         * benchtests/slowcos.c: Remove.
42031         * benchtests/slowexp-inputs: Remove.
42032         * benchtests/slowexp.c: Remove.
42033         * benchtests/slowpow-inputs: Remove.
42034         * benchtests/slowpow.c: Remove.
42035         * benchtests/slowsin-inputs: Remove.
42036         * benchtests/slowsin.c: Remove.
42037         * benchtests/slowtan-inputs: Remove.
42038         * benchtests/slowtan.c: Remove.
42039         * benchtests/tan-inputs: Add slow benchmark inputs.
42040         * scripts/bench.pl: Parse comments and directives.
42042         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
42043         in CPPFLAGS.
42044         ($(objpfx)bench-%.c): Remove *-ITER.
42045         * benchtests/bench-modf.c: Remove definition of ITER.
42046         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
42047         (main): Loop for DURATION seconds instead of fixed number of
42048         iterations.
42049         * scripts/bench.pl: Don't expect iterations in parameters.
42051 2013-04-29  Roland McGrath  <roland@hack.frob.com>
42053         * io/fchdir.c (__fchdir): Renamed from fchdir.
42054         (fchdir): Define as weak alias.
42056 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
42058         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
42059         (ERRNO_EDOM): Likewise.
42060         (ERRNO_ERANGE): Likewise.
42061         (noErrnoTests): New variable.
42062         (init_max_error): Set errno to 0.
42063         (test_single_errno): New function.
42064         (test_errno): Likewise.
42065         (check_float_internal): Call test_errno.  Set errno to 0.
42066         (check_complex): Refer to errno tests in comment.
42067         (check_int): Call test_errno.  Set errno to 0.
42068         (check_long): Likewise.
42069         (check_bool): Likewise.
42070         (check_longlong): Likewise.
42071         (cos_test): Use ERRNO_* flags for errno tests instead of
42072         check_int.
42073         (expm1_test): Likewise.
42074         (fmod_test): Likewise.
42075         (ilogb_test): Likewise.
42076         (lgamma_test): Likewise.
42077         (pow_test): Likewise.
42078         (remainder_test): Likewise.
42079         (sin_test): Likewise.
42080         (tan_test): Likewise.
42081         (yn_test): Likewise.
42082         (initialize): Set errno to 0.
42083         (main): Print number of errno tests.
42084         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
42086 2013-04-29  Andreas Jaeger  <aj@suse.de>
42088         [BZ #15084]
42089         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
42090         and RES_USEVC.
42092         [BZ #15085]
42093         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
42094         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
42095         unimplemented.
42097         [BZ #15380]
42098         * stdlib/random.c (__initstate): Return NULL if
42099         __initstate fails.
42101         [BZ #15086]
42102         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
42103         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
42104         RES_SNGLKUPREOP.
42106 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42110 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
42112         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
42113         of individual tests.
42114         (casin_test): Likewise.
42115         (casinh_test): Likewise.
42117 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
42119         [BZ #15409]
42120         * math/s_catan.c (__catan): Handle arguments with large real or
42121         imaginary part separately without squaring.
42122         * math/s_catanf.c (__catanf): Likewise.
42123         * math/s_catanh.c (__catanh): Likewise.
42124         * math/s_catanhf.c (__catanhf): Likewise.
42125         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
42126         and redefine.
42127         (__catanhl): Handle arguments with large real or imaginary part
42128         separately without squaring.
42129         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
42130         and redefine.
42131         (__catanl): Handle arguments with large real or imaginary part
42132         separately without squaring.
42133         * math/libm-test.inc (catan_test): Add more tests.
42134         (catanh_test): Likewise.
42135         * sysdeps/i386/fpu/libm-test-ulps: Update.
42136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42138 2013-04-27  Andreas Jaeger  <aj@suse.de>
42140         [BZ #15007]
42141         * stdlib/stdlib.h: Update guards for qecvt.
42142         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
42143         <stdlib.h>.
42145 2013-04-27  Allan McRae  <allan@archlinux.org>
42147         * sysdeps/i386/fpu/libm-test-ulps: Update.
42149 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
42151         [BZ #15406]
42152         * math/s_catan.c: Include <float.h>.
42153         (__catan): Ensure underflow exception occurs for underflowed
42154         result.
42155         * math/s_catanf.c: Include <float.h>.
42156         (__catanf): Ensure underflow exception occurs for underflowed
42157         result.
42158         * math/s_catanh.c: Include <float.h>.
42159         (__catanh): Ensure underflow exception occurs for underflowed
42160         result.
42161         * math/s_catanhf.c: Include <float.h>.
42162         (__catanhf): Ensure underflow exception occurs for underflowed
42163         result.
42164         * math/s_catanhl.c: Include <float.h>.
42165         (__catanhl): Ensure underflow exception occurs for underflowed
42166         result.
42167         * math/s_catanl.c: Include <float.h>.
42168         (__catanl): Ensure underflow exception occurs for underflowed
42169         result.
42170         * math/libm-test.inc (catan_test): Add more tests.
42171         (catanh_test): Likewise.
42173         [BZ #15405]
42174         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
42175         underflowed result.
42176         * math/s_ccoshf.c (__ccoshf): Likewise.
42177         * math/s_ccoshl.c (__ccoshl): Likewise.
42178         * math/s_csin.c (__csin): Likewise.
42179         * math/s_csinf.c (__csinf): Likewise.
42180         * math/s_csinh.c (__csinh): Likewise.
42181         * math/s_csinhf.c (__csinhf): Likewise.
42182         * math/s_csinhl.c (__csinhl): Likewise.
42183         * math/s_csinl.c (__csinl): Likewise.
42184         * math/libm-test.inc (ccos_test): Add more tests.
42185         (ccosh_test): Likewise.
42186         (csin_test): Likewise.
42187         (csinh_test): Likewise.
42189 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42191         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
42192         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
42193         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
42194         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
42195         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
42196         powerpc/power5+/fpu folders.
42197         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
42200 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
42202         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42204 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
42206         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
42207         additions to variable.
42208         [$(config-machine) = x86_64] (modules-names): Likewise.
42209         ($(objpfx)tst-audit3): Remove dependency.
42210         ($(objpfx)tst-audit3.out): Likewise.
42211         ($(objpfx)tst-audit4): Likewise.
42212         ($(objpfx)tst-audit4.out): Likewise.
42213         ($(objpfx)tst-audit5): Likewise.
42214         ($(objpfx)tst-audit5.out): Likewise.
42215         ($(objpfx)tst-audit6): Likewise.
42216         ($(objpfx)tst-audit6.out): Likewise.
42217         ($(objpfx)tst-audit7): Likewise.
42218         ($(objpfx)tst-audit7.out): Likewise.
42219         (tst-audit3-ENV): Remove variable.
42220         (tst-audit4-ENV): Likewise.
42221         (tst-audit5-ENV): Likewise.
42222         (tst-audit6-ENV): Likewise.
42223         (tst-audit7-ENV): Likewise.
42224         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
42225         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
42226         addition to variable.
42227         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
42228         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
42229         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
42230         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
42231         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
42232         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
42233         tst-audit3, tst-audit4 and tst-audit5.
42234         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
42235         tst-audit6 and tst-audit7.
42236         [$(subdir) = elf] (modules-names): Add audit modules for those
42237         tests.
42238         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
42239         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
42240         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
42241         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
42242         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
42243         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
42244         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
42245         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
42246         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
42247         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
42248         [$(subdir) = elf] (tst-audit3-ENV): New variable.
42249         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
42250         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
42251         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
42252         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
42253         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
42254         Likewise.
42255         [$(subdir) = elf && $(config-cflags-avx) = yes]
42256         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
42257         [$(subdir) = elf && $(config-cflags-avx) = yes]
42258         (CFLAGS-tst-auditmod4a.c): Likewise.
42259         [$(subdir) = elf && $(config-cflags-avx) = yes]
42260         (CFLAGS-tst-auditmod4b.c): Likewise.
42261         [$(subdir) = elf && $(config-cflags-avx) = yes]
42262         (CFLAGS-tst-auditmod6b.c): Likewise.
42263         [$(subdir) = elf && $(config-cflags-avx) = yes]
42264         (CFLAGS-tst-auditmod6c.c): Likewise.
42265         [$(subdir) = elf && $(config-cflags-avx) = yes]
42266         (CFLAGS-tst-auditmod7b.c): Likewise.
42267         * elf/tst-audit3.c: Move to ...
42268         * sysdeps/x86_64/tst-audit3.c: ... here.
42269         * elf/tst-audit4.c: Move to ...
42270         * sysdeps/x86_64/tst-audit4.c: ... here.
42271         * elf/tst-audit5.c: Move to ...
42272         * sysdeps/x86_64/tst-audit5.c: ... here.
42273         * elf/tst-audit6.c: Move to ...
42274         * sysdeps/x86_64/tst-audit6.c: ... here.
42275         * elf/tst-audit7.c: Move to ...
42276         * sysdeps/x86_64/tst-audit7.c: ... here.
42277         * elf/tst-auditmod3a.c: Move to ...
42278         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
42279         * elf/tst-auditmod3b.c: Move to ...
42280         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
42281         * elf/tst-auditmod4a.c: Move to ...
42282         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
42283         * elf/tst-auditmod4b.c: Move to ...
42284         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
42285         * elf/tst-auditmod5a.c: Move to ...
42286         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
42287         * elf/tst-auditmod5b.c: Move to ...
42288         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
42289         * elf/tst-auditmod6a.c: Move to ...
42290         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
42291         * elf/tst-auditmod6b.c: Move to ...
42292         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
42293         * elf/tst-auditmod6c.c: Move to ...
42294         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
42295         * elf/tst-auditmod7a.c: Move to ...
42296         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
42297         * elf/tst-auditmod7b.c: Move to ...
42298         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
42300 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
42302         [BZ #15366]
42303         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
42304         define unconditionally.
42305         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
42306         define unconditionally.
42307         (INT8_C, INT16_C, etc.): Likewise.
42309 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
42311         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
42312         __ehdr_start with hidden visibility.
42314         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
42316 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
42318         * math/libm-test.inc (cos_test): Use accurate hex constants.
42319         (sincost_test): Likewise.
42321 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
42323         * math/libm-test.inc (catan_test): Add more tests.
42324         (catanh_test): Likewise.
42326         * math/s_catanf.c (__catanf): Use suffixed floating-point
42327         constants.
42328         * math/s_catanhf.c (__catanhf): Likewise.
42329         * math/s_catanhl.c (__catanhl): Likewise.
42330         * math/s_catanl.c (__catanl): Likewise.
42332         [BZ #15394]
42333         * math/s_catan.c (__catan): Calculate imaginary part of result
42334         with log1p not log unless computing log of number close to 0.
42335         * math/s_catanf.c (__catanf): Likewise.
42336         * math/s_catanl.c (__catanl): Likewise.
42337         * math/s_catanh.c (__catanh): Calculate real part of result with
42338         log1p not log unless computing log of number close to 0.
42339         * math/s_catanhf.c (__catanhf): Likewise.
42340         * math/s_catanhl.c (__catanhl): Likewise.
42341         * math/libm-test.inc (catan_test): Add more tests.
42342         (catanh_test): Likewise.
42343         * sysdeps/i386/fpu/libm-test-ulps: Update.
42344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42346 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42348         * benchtests/Makefile: Mention files in which fast and slow
42349         paths of math functions are implemented.
42351 2013-04-23  Roland McGrath  <roland@hack.frob.com>
42353         * sysdeps/posix/timespec_get.c: New file.
42355 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42357         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
42358         POWER.
42359         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
42360         for POWER.
42361         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
42362         powerpc/power5/fpu folders.
42363         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
42364         * benchtests/Makefile: Add modf testcase.
42365         * benchtests/bench-modf.c: New file: Benchmark test for mo
42367 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
42369         [BZ #14888]
42370         * time/Makefile (tests): Add tst-strptime-whitespace.
42371         * time/strptime_l.c (get_number): Use ISSPACE.
42372         (__strptime_internal): Likewise.
42373         * time/tst-strptime-whitespace.c: New test case.
42375 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
42377         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
42378         member.
42379         (_nss_files_init): Set it here.
42381 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
42383         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
42384         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
42385         unsigned.
42387 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
42389         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
42391 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42393         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
42394         size just once.
42396 2013-04-21  David S. Miller  <davem@davemloft.net>
42398         * po/ru.po: Update Russion translation from translation project.
42400 2013-04-17  Adam Conrad  <adconrad@0c3.net>
42402         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
42403         and setfsgid.
42405 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
42407         * configure.in: Remove i386 configure warning. Remove i386 case.
42408         * configure: Regenerate.
42409         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
42410         Add example to error message.
42411         * sysdeps/i386/configure: Regenerate.
42413 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42415         * benchtests/Makefile (bench): Add cos, tan, slowcos and
42416         slowtan.
42417         * benchtests/cos-inputs: New file.
42418         * benchtests/slowcos-inputs: New file.
42419         * benchtests/slowcos.c: New file.
42420         * benchtests/slowtan-inputs: New file.
42421         * benchtests/slowtan.c: New file.
42422         * benchtests/tan-inputs: New file.
42424 2013-04-16  Roland McGrath  <roland@hack.frob.com>
42426         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
42427         considered kosher.
42429 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42431         * benchtests/Makefile: Include cppflags-iterator.mk to add
42432         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
42434         * Makefile.in (bench-clean): New target.
42435         * benchtests/Makefile (bench-clean): Likewise.
42437 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
42439         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
42441 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
42443         * stdio-common/tstdiomisc.c: Fix coding-style violation.
42445 2013-04-15  Andreas Schwab  <schwab@suse.de>
42447         * nscd/grpcache.c (cache_addgr): Properly check for short write.
42448         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42449         * nscd/pwdcache.c (cache_addpw): Likewise.
42450         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
42451         more than recsize.
42453 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42455         * benchtests/Makefile (bench): Write all output to
42456         bench-out.tmp together.
42458 2013-04-15  Andreas Schwab  <schwab@suse.de>
42460         * nscd/nscd.c (main): Don't fork again after closing files.
42462 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42464         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
42466         * benchtests/Rules (bench-deps): Collect dependencies into a
42467         single variable.  Add Makefile to dependencies.
42468         ($(objpfx)bench-%.c): Depend on bench-deps.
42470 2013-04-12  Roland McGrath  <roland@hack.frob.com>
42471             Xavier Roche  <roche+kml2@exalead.com>
42473         [BZ #15361]
42474         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
42475         just that it's a file descriptor.
42476         * manual/llio.texi (Synchronizing AIO Operations): Update description
42477         for EBADF error from aio_fsync.
42479 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42481         * Rules (bench): Move target definition...
42482         * benchtests/Makefile: ... here.
42484 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
42486         * math/libm-test.inc (cos_test): Fix PI/2 test.
42487         (sincos_test): Likewise.
42488         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
42489         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
42491 2013-04-11  Andreas Schwab  <schwab@suse.de>
42493         [BZ #13988]
42494         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
42495         accept exponent character only when digits were seen.
42496         * stdio-common/Makefile (tests): Add bug26.
42497         * stdio-common/bug26.c: New file.
42499         [BZ #14293]
42500         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
42501         non-freeable.
42503 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42505         * Makeconfig (rtld-prefix): Define built linker prefix.
42506         * Rules (run-bench): Use it.
42507         * math/Makefile (run-regen-ulps): Likewise.
42509         * Rules (bench): Remove eval.
42511 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42512             Roland McGrath  <roland@hack.frob.com>
42513             Ondrej Bilka  <neleai@seznam.cz>
42515         [BZ #15346]
42516         * time/getdate.c: Include ctype.h and alloca.h.
42517         (__getdate_r): Trim leading and trailing spaces of input.
42518         * time/tst-getdate.c (tests): Add tests with leading and
42519         trailing spaces.
42521 2013-04-08  Roland McGrath  <roland@hack.frob.com>
42523         [BZ #14280]
42524         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
42525         when computing value.
42527 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42529         * math/README.libm-test (How can I generate "libm-test-ulps"?):
42530         Use testrun.sh to run libm tests.
42532         [BZ #15309]
42533         * elf/dl-open.c (dl_open_worker): memset all of seen array.
42535 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
42537         [BZ #15264]
42538         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
42540 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42542         * Makefile.in (regen-ulps): New target.
42543         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
42544         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
42545         [ifneq (no,$(PERL)] (regen-ulps): New target.
42546         [ifeq (no,$(PERL)] (regen-ulps): New target.
42547         * math/libm-test.inc (ulps_file_name): Define.
42548         (output_dir): New variable.
42549         (options): Add "output-dir" option.
42550         (parse_opt): Handle 'o' case.
42551         (main): If output_dir is non-NULL use it as a prefix
42552         otherwise use "".
42553         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
42555 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42557         [BZ #10060, #10062]
42558         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
42559         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
42560         fail configure if __sync_val_compare_and_swap is not inlined.
42561         * sysdeps/i386/configure: Regenerate.
42562         * configure.in: Build for i686 when configured for i386.
42563         * configure: Regenerate.
42564         * README: Remove i386 reference.
42566 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42568         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
42569         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42571 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
42573         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
42574         (lmsnanval): New variables.
42575         (F): Add conversion tests.
42576         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
42577         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
42579         * stdio-common/tstdiomisc.c (F): Properly collect individual
42580         tests' results.
42582         [BZ #14686, #15336]
42583         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
42584         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
42585         Instead, use input NaN values or generate a qNaN by arithmetic
42586         operation.  Also fix bugs to comply with the standard.
42587         * math/libm-test.inc (remainder_test): Add more tests.
42589         [BZ #15335, #15342]
42590         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
42591         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
42592         input NaN values or generate a qNaN by arithmetic operation.
42594         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
42595         unreachable code.
42597         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
42598         definitions.
42600 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
42602         [BZ #14478]
42603         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
42604         underflowed result.
42605         * math/s_cexpf.c (__cexpf): Likewise.
42606         * math/s_cexpl.c (__cexpl): Likewise.
42607         * math/libm-test.inc (cexp_test): Add more tests.
42609 2013-04-03  Andreas Schwab  <schwab@suse.de>
42611         [BZ #15330]
42612         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
42613         order arrays from heap if bigger than alloca cutoff.
42615 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
42617         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
42618         (SNAN_TESTS_double): Refer to GCC PR56831.
42619         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
42620         GCC PR56828.
42622 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42624         * Rules (bench): Move bench.out after the run is complete.
42626         * Rules (bench): Echo currently running benchmark.
42628         * benchtests/Makefile (bench): Add atan and slowatan.
42629         * benchtests/atan-inputs: New file.
42630         * benchtests/slowatan-inputs: New file.
42631         * benchtests/slowatan.c: New file.
42633         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
42634         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
42635         its value.
42637         [BZ #15305]
42638         * sysdeps/unix/sysv/linux/kernel-features.h
42639         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
42640         __ASSUME_XFS_RESTRICTED_CHOWN.
42641         * sysdeps/unix/sysv/linux/pathconf.c
42642         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
42643         Save and restore errno.
42645 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
42647         [BZ #15327]
42648         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
42649         arguments using __kernel_casinh.
42650         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
42651         arguments using __kernel_casinhf.
42652         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
42653         arguments using __kernel_casinhl.
42654         * math/libm-test.inc (cacosh_test): Add more tests.
42655         * sysdeps/i386/fpu/libm-test-ulps: Update.
42656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42658 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42660         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
42661         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
42663         * bench/Makefile (bench): Add sin and slowsin.
42664         * benchtests/sin-inputs: New file.
42665         * benchtests/slowsin-inputs: New file.
42666         * benchtests/slowsin.c: New file.
42668         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
42669         (bench): Add slowexp and slowpow.
42670         (exp-ITER): Increase iterations.
42671         (pow-ITER): Likewise.
42672         * benchtests/exp-inputs: Change input.
42673         * benchtests/pow-inputs: Likewise.
42674         * benchtests/slowexp-inputs: New file.
42675         * benchtests/slowexp.c: New file.
42676         * benchtests/slowpow-inputs: New file.
42677         * benchtests/slowpow.c: New file.
42679 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42681         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
42682         instructions.
42683         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42684         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
42685         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
42686         * benchtests/Makefile: Add rint benchtest.
42687         * benchtests/rint-inputs: Input for rint benchtest.
42689 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
42691         * Versions.def (libm): Add GLIBC_2.18.
42692         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
42693         hidden libm prototypes.
42694         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
42695         * math/Makefile (libm-calls): Add s_issignaling.
42696         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
42697         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
42698         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
42699         declaration.
42700         * math/math.h [__USE_GNU] (issignaling): New macro.
42701         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
42702         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
42703         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
42704         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
42705         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
42706         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
42707         * manual/arith.texi (issignaling): New section.
42708         * manual/libm-err-tab.pl (@all_functions): Update comment.
42709         * math/gen-libm-test.pl (parse_args): Apply special handling for
42710         issignaling.
42711         * math/libm-test.inc (print_float, issignaling_test): New
42712         functions.
42713         (check_float_internal): Add issignaling checks.
42714         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
42715         default definition.
42716         * sysdeps/powerpc/math-tests.h: New file.
42717         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
42718         tests.
42719         * math/test-snan.c (TEST_FUNC): Likewise.
42721 2013-03-30  David S. Miller  <davem@davemloft.net>
42723         * po/de.po: Update from translation team.
42725 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
42727         [BZ #10357]
42728         * math/k_casinh.c (__kernel_casinh): Handle arguments with
42729         imaginary part less than 1.0 and real part less than 0.5
42730         specially.
42731         * math/k_casinhf.c (__kernel_casinhf): Likewise.
42732         * math/k_casinhl.c (__kernel_casinhl): Likewise.
42733         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
42734         (cacos_test): Add more tests.
42735         (casin_test): Likewise.
42736         (casinh_test): Likewise.
42737         * sysdeps/i386/fpu/libm-test-ulps: Update.
42738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42740 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42742         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
42743         ONE with its value.
42745         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
42746         (__pow_mp): Replace ONE and MONE with their values.
42747         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
42748         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
42749         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
42750         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
42751         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
42752         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
42754         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
42756         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
42757         (__pow_mp): Replace ZERO and MZERO with their values.
42758         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
42759         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
42760         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
42761         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
42762         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
42763         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
42764         (__sqr): Likewise.
42766         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
42768         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
42770 2013-03-28  Roland McGrath  <roland@hack.frob.com>
42772         * include/stdlib.h [!SHARED] (__call_tls_dtors):
42773         Declare with __attribute__ ((weak)).
42774         * stdlib/exit.c (__libc_atexit) [!SHARED]:
42775         Call __call_tls_dtors only if it's not NULL.
42777 2013-03-28  Roland McGrath  <roland@hack.frob.com>
42779         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
42780         didn't do it already, then set _dl_phdr and _dl_phnum based on the
42781         magic __ehdr_start linker symbol if it's defined.
42782         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
42783         them up here if it was already done.
42785         * elf/dl-support.c (_dl_phdr): Make pointer to const.
42786         (_dl_aux_init): Use const in cast when setting it.
42787         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
42788         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
42789         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
42791         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
42792         Declare them here.
42793         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
42794         * csu/libc-tls.c: Nor here.
42795         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
42797         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
42798         (__libc_message): Never call vsyslog.
42800 2013-03-28  Alan Modra  <amodra@gmail.com>
42802         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
42803         Define as empty.
42804         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
42805         Likewise.
42807 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42809         [BZ #15214]
42810         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
42811         underflow.
42812         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42814 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42816         [BZ #15304]
42817         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
42818         Don't add gid passed as argument.
42820         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
42822 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
42824         [BZ #15307]
42825         * math/k_casinh.c (__kernel_casinh): Handle arguments with
42826         imaginary part between 1.0 and 1.5 and real part less than 0.5
42827         specially.
42828         * math/k_casinhf.c (__kernel_casinhf): Likewise.
42829         * math/k_casinhl.c (__kernel_casinhl): Likewise.
42830         * math/libm-test.inc (cacos_test): Add more tests.
42831         (casin_test): Likewise.
42832         (casinh_test): Likewise.
42833         * sysdeps/i386/fpu/libm-test-ulps: Update.
42834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42836 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42838         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
42839         constants.
42840         (norm): Likewise.
42841         (denorm): Likewise.
42842         (__dbl_mp): Likewise.
42843         (add_magnitudes): Likewise.
42844         (sub_magnitudes): Likewise.
42845         (__add): Likewise.
42846         (__sub): Likewise.
42847         (__mul): Likewise.
42848         (__sqr): Likewise.
42849         (__inv): Likewise.
42850         (__dvd): Likewise.
42852         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
42853         commented code.
42854         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
42855         (__dubcos): Likewise.
42856         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
42857         (__ieee754_acos): Likewise.
42858         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
42859         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
42860         (__exp1): Likewise.
42861         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
42862         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
42863         (log1): Likewise.
42864         (my_log2): Likewise.
42865         (checkint): Likewise.
42866         * sysdeps/ieee754/dbl-64/e_remainder.c
42867         (__ieee754_remainder): Likewise.
42868         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
42869         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
42870         (bsloww): Likewise.
42871         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
42873         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
42874         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
42875         MANTISSA_STORE_T to store computations on mantissa.  Use
42876         macros for rounding and division.
42877         (denorm): Likewise.
42878         (__dbl_mp): Likewise.
42879         (add_magnitudes): Likewise.
42880         (sub_magnitudes): Likewise.
42881         (__mul): Likewise.
42882         (__sqr): Likewise.
42883         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
42884         powers of two in terms of TWOPOW macro.
42885         (mp_no): Make type of mantissa as MANTISSA_T.
42886         [!RADIXI]: Define RADIXI.
42887         [!TWO52]: Define TWO52.
42888         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
42890 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42892         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
42893         llroundl symbol when building for PPC32.
42895 2013-03-24  Mark H Weaver  <mhw@netris.org>
42897         * manual/arith.texi (Normalization Functions): Fix prototypes for
42898         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
42900 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42902         [BZ #13889]
42903         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
42904         high value to check if expl overflow.
42905         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
42906         to check for underflow and overflow.
42907         * math/libm-test.inc: Add exp test.
42909 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
42911         [BZ #11120]
42912         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
42913         with NOT_IN_libc.
42915 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42917         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
42918         symbol.
42920 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
42922         * math/gen-libm-test.pl (parse_args, special_functions): Properly
42923         wrap blocks consisting of several statements.
42925         * sysdeps/generic/math-tests.h: New file.
42926         * sysdeps/i386/fpu/math-tests.h: Likewise.
42927         * math/test-snan.c: Include it.
42928         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
42930 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
42932         [BZ #15285]
42933         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
42934         (__ieee754_j0l): Do not improve calculations using cos of twice
42935         input for inputs above LDBL_MAX / 2.0L.
42936         (__ieee754_y0l): Likewise.
42937         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
42938         (__ieee754_j1l): Do not improve calculations using cos of twice
42939         input for inputs above LDBL_MAX / 2.0L.
42940         (__ieee754_y1l): Likewise.
42941         * math/libm-test.inc (j0_test): Add another test.
42942         (j1_test): Likewise.
42943         (y0_test): Likewise.
42944         (y1_test): Likewise.
42945         * sysdeps/i386/fpu/libm-test-ulps: Update.
42947 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42949         * Rules ($(objpfx)bench-%.c): Include code from a C source
42950         file.
42952 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
42954         [BZ #15287]
42955         * math/k_casinh.c (__kernel_casinh): Handle arguments with
42956         imaginary part 1.0 and real part less than 0.5 specially.
42957         * math/k_casinhf.c (__kernel_casinhf): Likewise.
42958         * math/k_casinhl.c (__kernel_casinhl): Likewise.
42959         * math/libm-test.inc (cacos_test): Add more tests.
42960         (casin_test): Likewise.
42961         (casinh_test): Likewise.
42962         * sysdeps/i386/fpu/libm-test-ulps: Update.
42963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42965 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42967         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
42968         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
42970 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
42972         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
42973         * config.make.in (config-cflags-sse4): Remove variable.
42974         (config-cflags-avx): Likewise.
42975         (config-cflags-sse2avx): Likewise.
42976         (config-cflags-novzeroupper): Likewise.
42977         (config-asflags-i686): Likewise.
42978         (have-mfma4): Likewise.
42979         (have-as-vis3): Likewise.
42980         (MIG): Likewise.
42981         * configure.in (MIG): Do not AC_SUBST.
42982         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
42983         (libc_cv_cc_sse4): Do not AC_SUBST.
42984         (libc_cv_cc_avx): Likewise.
42985         (libc_cv_cc_sse2avx): Likewise.
42986         (libc_cv_cc_novzeroupper): Likewise.
42987         (libc_cv_cc_fma4): Likewise.
42988         (libc_cv_as_i686): Likewise.
42989         (libc_cv_sparc_as_vis3): Likewise.
42990         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
42991         LIBC_CONFIG_VAR.
42992         (config-asflags-i686): Likewise.
42993         (config-cflags-avx): Likewise.
42994         (config-cflags-sse2avx): Likewise.
42995         (have-mfma4): Likewise.
42996         (config-cflags-novzeroupper): Likewise.
42997         * sysdeps/mach/configure.in (MIG): Likewise.
42998         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
42999         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
43000         LIBC_CONFIG_VAR.
43001         (config-cflags-avx): Likewise.
43002         (config-cflags-sse2avx): Likewise.
43003         (have-mfma4): Likewise.
43004         (config-cflags-novzeroupper): Likewise.
43005         * configure: Regenerated.
43006         * sysdeps/i386/configure: Likewise.
43007         * sysdeps/mach/configure: Likewise.
43008         * sysdeps/sparc/configure: Likewise.
43009         * sysdeps/x86_64/configure: Likewise.
43011 2013-03-20  Roland McGrath  <roland@hack.frob.com>
43013         [BZ #14812]
43014         * locale/programs/localedef.c (options): Put N_ translation marker
43015         on argument names, not just descriptions.
43017 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43019         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
43021 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
43023         [BZ #14176]
43024         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
43026 2013-03-19  Roland McGrath  <roland@hack.frob.com>
43028         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
43029         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
43030         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
43031         [!BEFORE_ABORT] (before_abort): New function.
43032         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
43033         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
43034         (writev_for_fatal): New function.
43035         (WRITEV_FOR_FATAL): New macro; call that.
43036         (backtrace_and_maps): New function.
43037         (BEFORE_ABORT): New macro; call that.
43038         (struct str_list): Type removed.
43039         (__libc_message, __libc_fatal): Functions removed.
43040         Include <sysdeps/posix/libc_fatal.c> instead.
43042 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
43044         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
43045         constants.
43046         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
43047         double constants.
43049 2013-03-19  Andreas Schwab  <schwab@suse.de>
43051         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
43052         * sysdeps/gnu/configure: Regenerate.
43054         * configure.in: Substitute libc_cv_rtlddir.
43055         * configure: Regenerate.
43056         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
43057         * Makeconfig (rtlddir, inst_rtlddir): New variables.
43058         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
43059         * elf/Makefile (install-others, CFLAGS-interp.c)
43060         (ldso_install, common-ldd-rewrite): Likewise.
43061         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
43062         $(inst_slibdir)/$(rtld-installed-name).
43063         * scripts/rellns-sh: Add -p option.
43064         * Makerules (make-shlib-link): Use rellns-sh to get relative name
43065         for source.
43067 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43069         * manual/nptl.texi: Renamed to ...
43070         * manual/threads.texi: ... this.
43071         * manual/Makefile (chapters): Update.
43073 2013-03-18  Roland McGrath  <roland@hack.frob.com>
43075         [BZ #14812]
43076         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
43077         on argument names, not just descriptions.
43078         * malloc/memusagestat.c (options): Likewise.
43079         * nss/getent.c (options): Likewise.
43081 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
43083         [BZ #14812]
43084         * iconv/iconv_prog.c (options): Put N_ translation marker
43085         on argument names, not just descriptions.
43086         * iconv/iconvconfig.c (options): Likewise.
43088 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
43090         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
43091         implementation which is faster on all x86_64 architectures.
43092         Tested on AMD, Intel Nehalem, SNB, IVB.
43093         * sysdeps/x86_64/strnlen.S: Likewise.
43095         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43096         Remove all multiarch strlen and strnlen versions.
43097         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
43098         Remove strlen and strnlen related parts.
43100         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
43101         Inline strlen part.
43102         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
43104         * sysdeps/x86_64/multiarch/strlen.S: Remove.
43105         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
43106         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
43107         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
43108         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
43109         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
43111 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
43113         * manual/memory.texi (Malloc Tunable Parameters):
43114         Sort parameters alphabetically. Add comments for missing entries.
43116 2013-03-17  David S. Miller  <davem@davemloft.net>
43118         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43120 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
43122         [BZ #15283]
43123         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
43124         for arguments at most half maximum finite value.
43125         * math/libm-test.inc (j0_test): Add more tests.
43126         (j1_test): Likewise.
43127         (y0_test): Likewise.
43128         (y1_test): Likewise.
43129         * sysdeps/i386/fpu/libm-test-ulps: Update.
43130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43132         [BZ #14155]
43133         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
43134         1 / x and functions P and Q for arguments above 0x1p256L.
43135         (__ieee754_y0l): Likewise.
43136         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
43137         (__ieee754_y1l): Likewise.
43138         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
43139         (j1_test): Likewise.
43140         (y0_test): Likewise.
43141         (y1_test): Likewise.
43143 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
43145         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
43146         variable.
43148 2013-03-15  Roland McGrath  <roland@hack.frob.com>
43150         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
43151         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
43152         zero since it's initialized to EXEC_PAGESIZE.
43154         * sysdeps/unix/sysv/linux/ldsodefs.h
43155         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
43156         * sysdeps/generic/ldsodefs.h: ... here.
43158 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
43160         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
43162         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
43163         math/test-snan.c.
43164         * math/test-snan.c: Renamed from
43165         sysdeps/powerpc/fpu/test-powerpc-snan.c.
43166         * math/Makefile (tests): Add test-snan.
43167         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
43168         test-powerpc-snan.
43170         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
43171         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
43172         functions.
43173         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
43174         __builtin_nan family of functions.
43175         * math/libm-test.inc (initialize): Initialize qnan_value with
43176         __builtin_nan family of functions.
43177         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
43178         Remove variables.
43179         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
43180         Remove functions.
43181         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
43182         storage class.  Initialize qNaN_var and sNaN_var with
43183         __builtin_nan and __builtin_nans families of functions,
43184         respectively.
43186         * math/libm-test.inc (acosh_test): Also test with qNaN input.
43187         (sqrt_test): Remove duplicate test with qNaN input.
43188         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
43189         (round_test, signbit_test, significand_test): Note missing +/-Inf
43190         as well as qNaN tests.
43192         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
43193         qNaN_var.  Fix a few strings, too.
43194         * math/libm-test.inc (nan_value): Rename to qnan_value.
43195         * math/gen-libm-test.pl (%beautify): Adjust to that.
43196         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
43197         * math/test-misc.c (main): Likewise.
43198         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
43199         to __qnan_bytes, and __qnan_union, respectively.
43200         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
43201         Likewise.
43202         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
43203         and lqnanval, respectively.
43204         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
43205         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
43206         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
43207         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
43209         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
43210         * math/test-misc.c (main) [__x86_64__]: Enable test for long
43211         doubles.
43213         * math/test-misc.c (main): Fix copy'n'pastos.
43214         * misc/tst-efgcvt.c (special): Likewise.
43216         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
43217         Remove declarations.
43219 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43221         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
43222         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
43223         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
43224         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
43226 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43228         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
43229         macro to return vdso values correctly in IFUNC implementations.
43230         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
43231         Optimization by using IFUNC.
43233 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43234             Richard Henderson  <rth@redhat.com>
43235             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43237         * Makefile.in (bench): New target.
43238         * NEWS: Mention the benchmark framework.
43239         * Rules (bench): Likewise.
43240         (binaries-bench): Generate binaries for functions to
43241         benchmark.
43242         * benchtests/Makefile: New makefile for benchmark tests.
43243         * benchtests/bench-skeleton.c: New skeleton file for benchmark
43244         programs.
43245         * benchtests/exp-inputs: New input file for EXP function.
43246         * benchtests/pow-inputs: New input file for POW function.
43247         * scripts/bench.pl: New script to generate source files for
43248         benchmark programs.
43250 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43252         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
43253         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
43254         computations on mantissa.  Use macros for rounding and
43255         division.
43256         (denorm): Likewise.
43257         (__dbl_mp): Likewise.
43258         (add_magnitudes): Likewise.
43259         (sub_magnitudes): Likewise.
43260         (__mul): Likewise.
43261         (__sqr): Likewise.
43262         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
43263         powers of two in terms of TWOPOW macro.
43264         (mp_no): Make type of mantissa as MANTISSA_T.
43265         [!RADIXI]: Define RADIXI.
43266         [!TWO52]: Define TWO52.
43267         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
43269         * manual/nptl.texi (cindex): Modify threads to pthreads.
43271 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
43273         * sysdeps/x86_64/preconfigure: Regenerated.
43275 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
43277         [BZ #14155]
43278         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
43279         0x1p28 and above.
43280         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
43281         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
43282         0x1p28 and above.
43283         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
43284         * math/libm-test.inc (j0_test): Do not allow one spurious
43285         underflow exception.
43286         (y1_test): Likewise.
43288 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
43290         * manual/Makefile (chapters): Add nptl.
43291         * manual/debug.texi (Debugging Support): Add link to Threads
43292         chapter.
43293         * manual/nptl.texi: New file.
43295         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
43297 2013-03-14  Petr Baudis  <pasky@ucw.cz>
43299         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
43300         for non-NULL pointer before the memory validity test. Pointed
43301         out by Holger Brunck <holger.brunck@keymile.com>.
43303 2013-03-13  Andreas Schwab  <schwab@suse.de>
43305         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
43306         instead of .os.
43308 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
43310         * timezone/zic.c: Update from tzcode 2013b.
43312 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
43314         * manual/install.texi (Configuring and compiling):
43315         Mention i686 and i586.
43316         * INSTALL: Regenerate.
43318 2013-03-12  Roland McGrath  <roland@hack.frob.com>
43320         * sysdeps/init_array/elf-init.c: New file.
43321         * csu/elf-init.c
43322         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
43323         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
43325         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
43326         __gmon_start__ as global, but as static with a .preinit_array pointer.
43327         * sysdeps/init_array/gmon-start.c: New file.  Use that.
43328         * sysdeps/init_array/crti.S: New file, empty except for comments.
43329         * sysdeps/init_array/crtn.S: Likewise.
43331 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
43333         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
43334         definining bcopy.
43335         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43336         Remove Prefer_SSE_for_memop.
43337         * sysdeps/x86_64/multiarch/init-arch.h: Remove
43338         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
43339         HAS_PREFER_SSE_FOR_MEMOP.
43340         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
43341         memset-x86-64.
43342         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43343         Remove bzero, memset ifunc support.
43344         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
43345         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
43346         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43347         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43349 2013-03-11  Andreas Schwab  <schwab@suse.de>
43351         [BZ #15234]
43352         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
43353         by SHLIB_COMPAT.
43354         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
43355         (GLIBC_2.16): Remove pthread_atfork.
43357 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
43359         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
43360         (ptestcases.h): Likewise.
43362 2013-03-08  Roland McGrath  <roland@hack.frob.com>
43364         * Makeconfig ($(common-objpfx)config.status): Depend on
43365         sysdeps/*/preconfigure{,.in} too.
43367 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
43369         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
43370         (__free_hook): Use void * instead of __malloc_ptr_t.
43371         (__malloc_hook): Likewise.
43372         (__realloc_hook): Likewise.
43373         (__memalign_hook): Likewise.
43374         (__after_morecore_hook): Likewise.
43375         * malloc/arena.c (save_malloc_hook): Likewise.
43376         (save_free_hook): Likewise.
43377         * malloc/hooks.c (malloc_hook_ini): Likewise.
43378         (realloc_hook_ini): Likewise.
43379         (memalign_hook_ini): Likewise.
43380         * malloc/malloc.c (malloc_hook_ini): Likewise.
43381         (realloc_hook_ini): Likewise.
43382         (memalign_hook_ini): Likewise.
43383         (__free_hook): Likewise.
43384         (__malloc_hook): Likewise.
43385         (__realloc_hook): Likewise.
43386         (__memalign_hook): Likewise.
43387         (__libc_malloc): Likewise.
43388         (__libc_free): Likewise.
43389         (__libc_realloc): Likewise.
43390         (__libc_memalign): Likewise.
43391         (__libc_valloc): Likewise.
43392         (__libc_pvalloc): Likewise.
43393         (__libc_calloc): Likewise.
43394         (__posix_memalign): Likewise.
43395         * malloc/morecore.c (__sbrk): Likewise.
43396         (__default_morecore): Likewise.
43398         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
43400         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
43401         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
43402         __malloc_ptrdiff_t.
43404         * malloc/malloc.h (__malloc_size_t): Remove macro.
43405         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
43406         __malloc_size_t.
43407         (old_memalign_hook): Likewise.
43408         (old_realloc_hook): Likewise.
43409         (struct hdr): Likewise.
43410         (flood): Likewise.
43411         (mallochook): Likewise.
43412         (memalignhook): Likewise.
43413         (reallochook): Likewise.
43414         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
43415         (tr_old_realloc_hook): Likewise.
43416         (tr_old_memalign_hook): Likewise.
43417         (tr_mallochook): Likewise.
43418         (tr_reallochook): Likewise.
43419         (tr_memalignhook): Likewise.
43421 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43423         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
43424         default_ldbl_pack and using as default implementation.
43425         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
43426         implementation.
43427         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
43428         redundant definition.
43429         (ldbl_insert_mantissa): Likewise.
43430         (ldbl_canonicalize): Likewise.
43431         (ldbl_nearbyint): Likewise.
43432         (ldbl_pack): Rename to ldbl_pack_ppc.
43433         (ldbl_unpack): Rename to ldbl_unpack_ppc.
43434         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
43435         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
43437 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43439         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
43440         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
43441         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
43442         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
43443         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
43444         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
43445         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
43446         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
43448 2013-03-07  Andreas Jaeger  <aj@suse.de>
43450         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43451         bits/mman-linux.h.
43453 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43455         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
43456         Include mpa.h and declare __MPEXP.
43457         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
43458         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
43459         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
43460         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
43461         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
43462         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
43463         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
43465         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
43466         (__slowpow): Use long double EXPL and LOGL functions to
43467         compute POW.
43468         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
43469         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
43470         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
43471         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
43472         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
43473         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
43475         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
43476         intermediate variable to calculate exponent.
43477         (__sqr): Likewise.
43478         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
43479         Likewise.
43480         (__sqr): Likewise.
43482         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
43483         [!NO__SQR]: Define __sqr.
43484         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
43485         and NO__SQR.  Remove all code except __mul and __sqr.  Include
43486         sysdeps/ieee754/dbl-64/mpa.c.
43487         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
43489         [BZ #12723]
43490         * posix/Makefile (tests): Add tst-pathconf.
43491         * posix/tst-pathconf.c: New test case.
43492         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
43493         _PC_PIPE_BUF.
43494         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
43496 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
43498         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
43500 2013-03-06  Andreas Jaeger  <aj@suse.de>
43502         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
43503         definition via __MAP_ANONYMOUS.
43505         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
43506         it's not part of Linux headers.
43508         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
43509         (MAP_HUGE_MASK): Define.
43511         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
43512         Define.
43513         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43514         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
43515         Define.
43516         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43517         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
43518         Define.
43519         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43520         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
43521         Define.
43522         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43524         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
43525         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
43526         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
43527         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
43528         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
43529         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
43531         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43532         Handle f2fs.
43534         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43535         Handle f2fs and efivarfs.
43537         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
43538         f2fs.
43540         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
43541         (EFIVARFS_MAGIC): Add.
43542         (F2FS_LINK_MAX): Add.
43544 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
43546         * stdio-common/vfprintf.c: Replace __builtin_expect with
43547         __glibc_unlikely.
43549 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
43551         [BZ #13550]
43552         * sysdeps/generic/bp-sym.h: Remove file.
43553         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
43554         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
43555         <bp-sym.h> and <bp-asm.h>.
43556         (__longjmp): Don't use BP_SYM.
43557         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
43558         and <bp-asm.h>.
43559         (memcpy): Don't use BP_SYM.
43560         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
43561         <bp-sym.h> and <bp-asm.h>.
43562         (memcpy): Don't use BP_SYM.
43563         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
43564         <bp-asm.h>.
43565         (memcpy): Don't use BP_SYM.
43566         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
43567         <bp-asm.h>.
43568         (memset): Don't use BP_SYM.
43569         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43570         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43571         (__bzero): Don't use BP_SYM.
43572         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43573         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43574         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
43575         <bp-sym.h> and <bp-asm.h>.
43576         (memcmp): Don't use BP_SYM.  Remove comment about bounded
43577         pointers.
43578         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
43579         <bp-sym.h> and <bp-asm.h>.
43580         (memcpy): Don't use BP_SYM.
43581         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
43582         <bp-sym.h> and <bp-asm.h>.
43583         (memset): Don't use BP_SYM.
43584         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43585         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43586         (__bzero): Don't use BP_SYM.
43587         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43588         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43589         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
43590         <bp-sym.h> and <bp-asm.h>.
43591         (strncmp): Don't use BP_SYM.  Remove comment about bounded
43592         pointers.
43593         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
43594         <bp-sym.h> and <bp-asm.h>.
43595         (memcpy): Don't use BP_SYM.
43596         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
43597         <bp-sym.h> and <bp-asm.h>.
43598         (memset): Don't use BP_SYM.
43599         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43600         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43601         (__bzero): Don't use BP_SYM.
43602         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43603         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43604         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
43605         <bp-sym.h> and <bp-asm.h>.
43606         (__memchr): Don't use BP_SYM.
43607         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
43608         <bp-sym.h> and <bp-asm.h>.
43609         (memcmp): Don't use BP_SYM.  Remove comment about bounded
43610         pointers.
43611         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
43612         <bp-sym.h> and <bp-asm.h>.
43613         (memcpy): Don't use BP_SYM.
43614         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
43615         <bp-sym.h> and <bp-asm.h>.
43616         (__mempcpy): Don't use BP_SYM.
43617         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
43618         <bp-sym.h> and <bp-asm.h>.
43619         (__memrchr): Don't use BP_SYM.
43620         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
43621         <bp-sym.h> and <bp-asm.h>.
43622         (memset): Don't use BP_SYM.
43623         (__bzero): Likewise.
43624         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
43625         <bp-sym.h> and <bp-asm.h>.
43626         (__rawmemchr): Don't use BP_SYM.
43627         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
43628         <bp-sym.h> and <bp-asm.h>.
43629         (__STRCMP): Don't use BP_SYM.
43630         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
43631         <bp-sym.h> and <bp-asm.h>.
43632         (strchr): Don't use BP_SYM.
43633         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
43634         <bp-sym.h> and <bp-asm.h>.
43635         (__strchrnul): Don't use BP_SYM.
43636         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
43637         <bp-sym.h> and <bp-asm.h>.
43638         (strlen): Don't use BP_SYM.
43639         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
43640         <bp-sym.h> and <bp-asm.h>.
43641         (strncmp): Don't use BP_SYM.  Remove comment about bounded
43642         pointers.
43643         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
43644         <bp-sym.h> and <bp-asm.h>.
43645         (__strnlen): Don't use BP_SYM.
43646         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
43647         <bp-sym.h> and <bp-asm.h>.
43648         (__GI__setjmp): Don't use BP_SYM.
43649         (_setjmp): Likewise.
43650         (__sigsetjmp): Likewise.
43651         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
43652         (L(start_addresses)): Don't use BP_SYM.
43653         (_start): Likewise.
43654         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
43655         <bp-asm.h>.
43656         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
43657         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
43658         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43659         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
43660         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
43661         <bp-asm.h>.
43662         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
43663         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
43664         about bounded pointers.
43665         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
43666         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
43667         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
43668         <bp-asm.h>.
43669         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
43670         about bounded pointers.  Remove GKM FIXME comments.
43671         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
43672         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
43673         <bp-asm.h>.
43674         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
43675         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
43676         Remove GKM FIXME comments.
43677         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43678         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
43679         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
43680         <bp-asm.h>.
43681         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
43682         about bounded pointers.  Remove GKM FIXME comment.
43683         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
43684         and <bp-asm.h>.
43685         (strncmp): Don't use BP_SYM.  Remove comment about bounded
43686         pointers.
43687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
43688         <bp-sym.h> and <bp-asm.h>.
43689         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
43690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
43691         <bp-sym.h> and <bp-asm.h>.
43692         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
43693         comment.
43695 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
43697         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
43698         call free(NULL).
43700 2013-03-05  David S. Miller  <davem@davemloft.net>
43702         * po/es.po: Update from translation team.
43704 2013-03-05  Andreas Jaeger  <aj@suse.de>
43706         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
43707         <bits/mman-linux.h>.
43708         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
43709         is fine.
43710         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
43711         <bits/mman-linux.h> to end of file.
43712         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
43713         is fine.
43714         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
43715         <bits/mman-linux.h> to end of file.
43716         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
43717         is fine.
43718         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
43719         <bits/mman-linux.h> to end of file.
43721         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
43722         (MCL_CURRENT, MCL_FUTURE): Define here.
43724 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43726         [BZ #15232]
43727         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
43728         attribute_hidden.
43729         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43731 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43733         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
43734         fourth parameter needed for rt_sigprocmask syscall.
43735         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
43736         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
43737         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
43738         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
43739         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
43740         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
43742 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
43744         [BZ #13550]
43745         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
43746         comment about bounded pointers.
43747         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
43748         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
43750 2013-03-04  Andreas Jaeger  <aj@suse.de>
43752         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
43753         common definitions.
43755         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
43756         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
43757         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
43758         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43759         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43760         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43762 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43764         [BZ #15055]
43765         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
43766         __ieee754_sqrl instead of __sqrl.
43768 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
43770         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
43771         * sysdeps/powerpc/fpu_control.h: ... here.
43772         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
43773         * sysdeps/powerpc/bits/fenvinline.h: ... here.
43774         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
43775         * sysdeps/powerpc/bits/mathinline.h: ... here.
43777 2013-03-01  Roland McGrath  <roland@hack.frob.com>
43779         * elf/dl-hwcaps.c (_dl_important_hwcaps):
43780         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
43781         to just [NEED_DL_SYSINFO_DSO].
43782         * elf/dl-support.c: Likewise.
43783         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
43784         * elf/rtld.c (dl_main): Likewise.
43785         * elf/setup-vdso.h (setup_vdso): Likewise.
43786         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
43787         * sysdeps/unix/sysv/linux/dl-sysdep.c
43788         (_dl_discover_osversion): Likewise.
43790 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
43792         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
43793         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
43795 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
43797         * NEWS: Mention libm performance improvements and non-x86 PI
43798         futex support.
43800         * csu/libc-start.c (__pthread_initialize_minimal): Change
43801         function arguments.
43802         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
43804 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
43806         [BZ #13550]
43807         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
43808         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
43809         <bp-sym.h> and <bp-asm.h>.
43810         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
43811         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
43812         and <bp-asm.h>.
43813         (memcpy): Don't use BP_SYM.
43814         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
43815         <bp-asm.h>.
43816         (__mpn_add_n): Don't use BP_SYM.
43817         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
43818         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
43819         and <bp-asm.h>.
43820         (__mpn_addmul_1): Don't use BP_SYM.
43821         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43822         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
43823         <bp-sym.h>.
43824         (_setjmp): Don't use BP_SYM.
43825         (__novmx_setjmp): Likewise.
43826         (__GI__setjmp): Likewise.
43827         (__vmx_setjmp): Likewise.
43828         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
43829         <bp-sym.h>.
43830         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
43831         (__bzero): Don't use BP_SYM.
43832         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43833         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43834         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
43835         <bp-sym.h> and <bp-asm.h>.
43836         (memcpy): Don't use BP_SYM.
43837         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
43838         <bp-sym.h> and <bp-asm.h>.
43839         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
43840         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
43841         <bp-sym.h> and <bp-asm.h>.
43842         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
43843         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
43844         <bp-asm.h>.
43845         (__mpn_lshift): Don't use BP_SYM.
43846         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43847         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
43848         <bp-asm.h>.
43849         (memset): Don't use BP_SYM.
43850         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43851         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43852         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
43853         <bp-asm.h>.
43854         (__mpn_mul_1): Don't use BP_SYM.
43855         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43856         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
43857         <bp-sym.h> and <bp-asm.h>.
43858         (memcmp): Don't use BP_SYM.
43859         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
43860         <bp-sym.h> and <bp-asm.h>.
43861         (memcpy): Don't use BP_SYM.
43862         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
43863         <bp-sym.h> and <bp-asm.h>.
43864         (memset): Don't use BP_SYM.
43865         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
43866         <bp-sym.h> and <bp-asm.h>.
43867         (strncmp): Don't use BP_SYM.
43868         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
43869         <bp-sym.h> and <bp-asm.h>.
43870         (memcpy): Don't use BP_SYM.
43871         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
43872         <bp-sym.h> and <bp-asm.h>.
43873         (memset): Don't use BP_SYM.
43874         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
43875         <bp-sym.h> and <bp-asm.h>.
43876         (__memchr): Don't use BP_SYM.
43877         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
43878         <bp-sym.h> and <bp-asm.h>.
43879         (memcmp): Don't use BP_SYM.
43880         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
43881         <bp-sym.h> and <bp-asm.h>.
43882         (memcpy): Don't use BP_SYM.
43883         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
43884         <bp-sym.h> and <bp-asm.h>.
43885         (__mempcpy): Don't use BP_SYM.
43886         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
43887         <bp-sym.h> and <bp-asm.h>.
43888         (__memrchr): Don't use BP_SYM.
43889         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
43890         <bp-sym.h> and <bp-asm.h>.
43891         (memset): Don't use BP_SYM.
43892         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
43893         <bp-sym.h> and <bp-asm.h>.
43894         (__rawmemchr): Don't use BP_SYM.
43895         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
43896         <bp-sym.h> and <bp-asm.h>.
43897         (__STRCMP): Don't use BP_SYM.
43898         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
43899         <bp-sym.h> and <bp-asm.h>.
43900         (strchr): Don't use BP_SYM.
43901         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
43902         <bp-sym.h> and <bp-asm.h>.
43903         (__strchrnul): Don't use BP_SYM.
43904         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
43905         <bp-sym.h> and <bp-asm.h>.
43906         (strlen): Don't use BP_SYM.
43907         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
43908         <bp-sym.h> and <bp-asm.h>.
43909         (strncmp): Don't use BP_SYM.
43910         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
43911         <bp-sym.h> and <bp-asm.h>.
43912         (__strnlen): Don't use BP_SYM.
43913         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
43914         <bp-asm.h>.
43915         (__mpn_rshift): Don't use BP_SYM.
43916         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43917         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
43918         <bp-sym.h> and <bp-asm.h>.
43919         (__sigsetjmp): Don't use BP_SYM.
43920         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
43921         (L(start_addresses)): Don't use BP_SYM.
43922         (_start): Likewise.
43923         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
43924         <bp-asm.h>.
43925         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
43926         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43927         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
43928         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
43929         <bp-asm.h>.
43930         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
43931         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
43932         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
43933         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
43934         <bp-asm.h>.
43935         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
43936         comments.
43937         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
43938         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
43939         <bp-asm.h>.
43940         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
43941         FIXME comments.
43942         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43943         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
43944         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
43945         <bp-asm.h>.
43946         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
43947         comment.
43948         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
43949         and <bp-asm.h>.
43950         (strncmp): Don't use BP_SYM,
43951         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
43952         <bp-asm.h>.
43953         (__mpn_sub_n): Don't use BP_SYM.
43954         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43955         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
43956         and <bp-asm.h>.
43957         (__mpn_submul_1): Don't use BP_SYM.
43958         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
43960         <bp-sym.h> and <bp-asm.h>.
43961         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
43962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
43963         <bp-sym.h> and <bp-asm.h>.
43964         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
43965         comment.
43967 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43969         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
43970         Use ZK to minimize writes to Z.
43971         (sub_magnitudes): Simplify code a bit.
43972         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
43973         Use ZK to minimize writes to Z.
43974         (sub_magnitudes): Simplify code a bit.
43976 2013-02-27  Roland McGrath  <roland@hack.frob.com>
43978         * csu/gmon-start.c: Add special exception to license text.
43980 2013-02-27  Richard Henderson  <rth@redhat.com>
43982         * scripts/config.guess: Update from config.git.
43983         * scripts/config.sub: Likewise.
43985 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43987         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
43989         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
43991         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
43993         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
43995         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
43997 2013-02-26  Roland McGrath  <roland@hack.frob.com>
43999         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
44000         [$(build-shared = yes].
44002 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44004         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
44005         (__mul): Reduce iterations for calculating mantissa.
44007         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
44008         MPTWO.
44009         (__mpranred): Likewise.
44011         [BZ #15160]
44012         * malloc/memusagestat.c (main): Draw graphs for heap and stack
44013         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
44015 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
44017         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
44018         Define __attribute__.
44020 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44022         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
44023         unused.
44024         * posix/regex_internal.h (__attribute): Remove.
44025         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
44026         (re_string_context_at): Likewise.
44027         (bitset_not): Use __attribute__ and mark function as possibly
44028         unused.
44029         (bitset_merge): Likewise.
44030         (bitset_mask): Likewise.
44031         (re_string_char_size_at): Likewise.
44032         (re_string_wchar_at): Likewise.
44033         (re_string_elem_size_at): Likewise.
44035 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44037         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
44038         code.
44039         (cc32): Likewise.
44041         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
44042         (__acr): Likewise.
44043         (__cpy): Likewise.
44044         (norm): Likewise.
44045         (denorm): Likewise.
44046         (__dbl_mp): Likewise.
44047         (add_magnitudes): Likewise.
44048         (sub_magnitudes): Likewise.
44049         (__mul): Likewise.
44050         (__inv): Likewise.
44052         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
44053         style.
44055         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
44056         style.
44058         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
44059         code.
44061         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
44062         up changes with default code.
44063         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
44064         Likewise.
44066 2013-02-24  Allan McRae  <allan@archlinux.org>
44068         * manual/socket.texi (The Internet Namespace): Order menu items
44069         to match that in the file.
44071         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
44072         node listing of the info page menu.
44074 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
44076         [BZ #13550]
44077         * sysdeps/i386/bp-asm.h: Remove file.
44078         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
44079         (PARMS): Do not use macros from bp-asm.h.
44080         (S1): Likewise.
44081         (S2): Likewise.
44082         (SIZE): Likewise.
44083         (__mpn_add_n): Do not use BP_SYM
44084         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
44085         "bp-asm.h".
44086         (PARMS): Do not use macros from bp-asm.h.
44087         (S1): Likewise.
44088         (SIZE): Likewise.
44089         (__mpn_addmul_1): Do not use BP_SYM
44090         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
44091         "bp-asm.h".
44092         (PARMS): Do not use macros from bp-asm.h.
44093         (SIGMSK): Likewise.
44094         (_setjmp): Likewise.  Do not use BP_SYM.
44095         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
44096         "bp-asm.h".
44097         (PARMS): Do not use macros from bp-asm.h.
44098         (SIGMSK): Likewise.
44099         (setjmp): Likewise.  Do not use BP_SYM.
44100         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
44101         "bp-asm.h".
44102         (PARMS): Do not use macros from bp-asm.h.
44103         (__frexp): Do not use BP_SYM.
44104         (frexp): Likewise.
44105         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
44106         "bp-asm.h".
44107         (PARMS): Do not use macros from bp-asm.h.
44108         (__frexpf): Do not use BP_SYM.
44109         (frexpf): Likewise.
44110         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
44111         "bp-asm.h".
44112         (PARMS): Do not use macros from bp-asm.h.
44113         (__frexpl): Do not use BP_SYM.
44114         (frexpl): Likewise.
44115         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
44116         "bp-asm.h".
44117         (PARMS): Do not use macros from bp-asm.h.
44118         (__remquo): Do not use BP_SYM.
44119         (remquo): Likewise.
44120         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
44121         "bp-asm.h".
44122         (PARMS): Do not use macros from bp-asm.h.
44123         (__remquof): Do not use BP_SYM.
44124         (remquof): Likewise.
44125         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
44126         "bp-asm.h".
44127         (PARMS): Do not use macros from bp-asm.h.
44128         (__remquol): Do not use BP_SYM.
44129         (remquol): Likewise.
44130         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
44131         "bp-asm.h".
44132         (PARMS): Do not use macros from bp-asm.h.
44133         (DEST): Likewise.
44134         (SRC): Likewise.
44135         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
44136         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
44137         "bp-asm.h".
44138         (PARMS): Do not use macros from bp-asm.h.
44139         (strlen): Do not use BP_SYM.
44140         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
44141         "bp-asm.h".
44142         (PARMS): Do not use macros from bp-asm.h.
44143         (S1): Likewise.
44144         (S2): Likewise.
44145         (SIZE): Likewise.
44146         (__mpn_add_n): Do not use BP_SYM.
44147         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
44148         "bp-asm.h".
44149         (PARMS): Do not use macros from bp-asm.h.
44150         (S1): Likewise.
44151         (SIZE): Likewise.
44152         (__mpn_addmul_1): Do not use BP_SYM.
44153         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
44154         weak_alias.
44155         (bzero): Likewise.
44156         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
44157         "bp-asm.h".
44158         (PARMS): Do not use macros from bp-asm.h.
44159         (S): Likewise.
44160         (SIZE): Likewise.
44161         (__mpn_lshift): Do not use BP_SYM.
44162         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
44163         "bp-asm.h".
44164         (PARMS): Do not use macros from bp-asm.h.
44165         (DEST): Likewise.
44166         (SRC): Likewise.
44167         (LEN): Likewise.
44168         (memcpy): Likewise.  Do not use BP_SYM.
44169         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
44170         libc_hidden_def and weak_alias.
44171         (mempcpy): Do not use BP_SYM in weak_alias.
44172         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
44173         "bp-asm.h".
44174         (PARMS): Do not use macros from bp-asm.h.
44175         (DEST): Likewise.
44176         (LEN): Likewise.
44177         [!BZERO_P] (CHR): Likewise.
44178         (memset): Likewise.  Do not use BP_SYM.
44179         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
44180         "bp-asm.h".
44181         (PARMS): Do not use macros from bp-asm.h.
44182         (S1): Likewise.
44183         (SIZE): Likewise.
44184         (__mpn_mul_1): Do not use BP_SYM.
44185         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
44186         "bp-asm.h".
44187         (PARMS): Do not use macros from bp-asm.h.
44188         (S): Likewise.
44189         (SIZE): Likewise.
44190         (__mpn_rshift): Do not use BP_SYM.
44191         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
44192         "bp-asm.h".
44193         (PARMS): Do not use macros from bp-asm.h.
44194         (STR): Likewise.
44195         (CHR): Likewise.
44196         (strchr): Likewise.  Do not use BP_SYM.
44197         (index): Do not use BP_SYM in weak_alias.
44198         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
44199         "bp-asm.h".
44200         (PARMS): Do not use macros from bp-asm.h.
44201         (DEST): Likewise.
44202         (SRC): Likewise.
44203         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
44204         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
44205         "bp-asm.h".
44206         (PARMS): Do not use macros from bp-asm.h.
44207         (strlen): Do not use BP_SYM.
44208         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
44209         "bp-asm.h".
44210         (PARMS): Do not use macros from bp-asm.h.
44211         (S1): Likewise.
44212         (S2): Likewise.
44213         (SIZE): Likewise.
44214         (__mpn_sub_n): Do not use BP_SYM.
44215         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
44216         "bp-asm.h".
44217         (PARMS): Do not use macros from bp-asm.h.
44218         (S1): Likewise.
44219         (SIZE): Likewise.
44220         (__mpn_submul_1): Do not use BP_SYM.
44221         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
44222         "bp-asm.h".
44223         (PARMS): Do not use macros from bp-asm.h.
44224         (S1): Likewise.
44225         (S2): Likewise.
44226         (SIZE): Likewise.
44227         (__mpn_add_n): Do not use BP_SYM.
44228         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
44229         weak_alias.
44230         (bzero): Likewise.
44231         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
44232         "bp-asm.h".
44233         (PARMS): Do not use macros from bp-asm.h.
44234         (BLK2): Likewise.
44235         (LEN): Likewise.
44236         (memcmp): Do not use BP_SYM.
44237         (bcmp): Do not use BP_SYM in weak_alias.
44238         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
44239         "bp-asm.h".
44240         (PARMS): Do not use macros from bp-asm.h.
44241         (DEST): Likewise.
44242         (SRC): Likewise.
44243         (LEN): Likewise.
44244         (memcpy): Likewise.  Do not use BP_SYM.
44245         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
44246         "bp-asm.h".
44247         (PARMS): Do not use macros from bp-asm.h.
44248         (DEST): Likewise.
44249         (SRC): Likewise.
44250         (LEN): Likewise.
44251         (memmove): Likewise.  Do not use BP_SYM.
44252         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
44253         "bp-asm.h".
44254         (PARMS): Do not use macros from bp-asm.h.
44255         (DEST): Likewise.
44256         (SRC): Likewise.
44257         (LEN): Likewise.
44258         (__mempcpy): Likewise.  Do not use BP_SYM.
44259         (mempcpy): Do not use BP_SYM in weak_alias.
44260         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
44261         "bp-asm.h".
44262         (PARMS): Do not use macros from bp-asm.h.
44263         (DEST): Likewise.
44264         (LEN): Likewise.
44265         [!BZERO_P] (CHR): Likewise.
44266         (memset): Likewise.  Do not use BP_SYM.
44267         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
44268         "bp-asm.h".
44269         (PARMS): Do not use macros from bp-asm.h.
44270         (STR2): Likewise.
44271         (strcmp): Do not use BP_SYM.
44272         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
44273         "bp-asm.h".
44274         (PARMS): Do not use macros from bp-asm.h.
44275         (STR): Likewise.
44276         (DELIM): Likewise.
44277         [USE_AS_STRTOK_R] (SAVE): Likewise.
44278         (FUNCTION): Likewise.  Do not use BP_SYM.
44279         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
44280         aliases.
44281         (strtok_r): Likewise.
44282         (__GI___strtok_r): Likewise.
44283         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
44284         (PARMS): Do not use macros from bp-asm.h.
44285         (S): Likewise.
44286         (SIZE): Likewise.
44287         (__mpn_lshift): Do not use BP_SYM.
44288         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
44289         (PARMS): Do not use macros from bp-asm.h.
44290         (STR): Likewise.
44291         (CHR): Likewise.
44292         (__memchr): Do not use BP_SYM.
44293         (memchr): Do not use BP_SYM in weak_alias.
44294         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
44295         (PARMS): Do not use macros from bp-asm.h.
44296         (BLK2): Likewise.
44297         (LEN): Likewise.
44298         (memcmp): Do not use BP_SYM.
44299         (bcmp): Do not use BP_SYM in weak_alias.
44300         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
44301         (PARMS): Do not use macros from bp-asm.h.
44302         (S1): Likewise.
44303         (SIZE): Likewise.
44304         (__mpn_mul_1): Do not use BP_SYM.
44305         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
44306         "bp-asm.h".
44307         (PARMS): Do not use macros from bp-asm.h.
44308         (STR): Likewise.
44309         (CHR): Likewise.
44310         (__rawmemchr): Do not use BP_SYM.
44311         (rawmemchr): Do not use BP_SYM in weak_alias.
44312         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
44313         (PARMS): Do not use macros from bp-asm.h.
44314         (S): Likewise.
44315         (SIZE): Likewise.
44316         (__mpn_rshift): Do not use BP_SYM.
44317         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
44318         (PARMS): Do not use macros from bp-asm.h.
44319         (SIGMSK): Likewise.
44320         (__sigsetjmp): Likewise.  Do not use BP_SYM.
44321         * sysdeps/i386/start.S: Do not include "bp-sym.h".
44322         (_start): Do not use BP_SYM.
44323         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
44324         (PARMS): Do not use macros from bp-asm.h.
44325         (DEST): Likewise.
44326         (SRC): Likewise.
44327         (__stpcpy): Likewise.  Do not use BP_SYM.
44328         (stpcpy): Do not use BP_SYM in weak_alias.
44329         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
44330         "bp-asm.h".
44331         (PARMS): Do not use macros from bp-asm.h.
44332         (DEST): Likewise.
44333         (SRC): Likewise.
44334         (LEN): Likewise.
44335         (__stpncpy): Likewise.  Do not use BP_SYM.
44336         (stpncpy): Do not use BP_SYM in weak_alias.
44337         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
44338         (PARMS): Do not use macros from bp-asm.h.
44339         (STR): Likewise.
44340         (CHR): Likewise.
44341         (strchr): Likewise.  Do not use BP_SYM.
44342         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
44343         "bp-asm.h".
44344         (PARMS): Do not use macros from bp-asm.h.
44345         (STR): Likewise.
44346         (CHR): Likewise.
44347         (__strchrnul): Likewise.  Do not use BP_SYM.
44348         (strchrnul): Do not use BP_SYM in weak_alias.
44349         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
44350         "bp-asm.h".
44351         (PARMS): Do not use macros from bp-asm.h.
44352         (STOP): Likewise.
44353         (strcspn): Do not use BP_SYM.
44354         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
44355         "bp-asm.h".
44356         (PARMS): Do not use macros from bp-asm.h.
44357         (STR): Likewise.
44358         (STOP): Likewise.
44359         (strpbrk): Likewise.  Do not use BP_SYM.
44360         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
44361         "bp-asm.h".
44362         (PARMS): Do not use macros from bp-asm.h.
44363         (STR): Likewise.
44364         (CHR): Likewise.
44365         (strrchr): Likewise.  Do not use BP_SYM.
44366         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
44367         (PARMS): Do not use macros from bp-asm.h.
44368         (SKIP): Likewise.
44369         (strspn): Do not use BP_SYM.
44370         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
44371         (PARMS): Do not use macros from bp-asm.h.
44372         (STR): Likewise.
44373         (DELIM): Likewise.
44374         (SAVE): Likewise.
44375         (FUNCTION): Likewise.  Do not use BP_SYM.
44376         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
44377         aliases.
44378         (strtok_r): Likewise.
44379         (__GI___strtok_r): Likewise.
44380         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
44381         (PARMS): Do not use macros from bp-asm.h.
44382         (S1): Likewise.
44383         (S2): Likewise.
44384         (SIZE): Likewise.
44385         (__mpn_sub_n): Do not use BP_SYM.
44386         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
44387         "bp-asm.h".
44388         (PARMS): Do not use macros from bp-asm.h.
44389         (S1): Likewise.
44390         (SIZE): Likewise.
44391         (__mpn_submul_1): Do not use BP_SYM.
44392         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
44393         <bp-sym.h>.
44394         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
44395         and <bp-asm.h>.
44396         (PARMS): Do not use macros from bp-asm.h.
44397         (FLAGS): Likewise.
44398         (PTID): Likewise.
44399         (TLS): Likewise.
44400         (CTID): Likewise.
44401         (__clone): Do not use BP_SYM.
44402         (clone): Do not use BP_SYM in weak_alias.
44403         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
44404         and <bp-asm.h>.
44405         (PARMS): Do not use macros from bp-asm.h.
44406         (LEN): Likewise.
44407         (__mmap64): Do not use BP_SYM.
44408         (mmap64): Do not use BP_SYM in weak_alias.
44409         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
44410         <bp-sym.h> and <bp-asm.h>.
44411         (PARMS): Do not use macros from bp-asm.h.
44412         (__posix_fadvise64_l64): Do not use BP_SYM.
44413         * sysdeps/unix/sysv/linux/i386/semtimedop.S
44414         (PARMS): Do not use macros from bp-asm.h.
44415         (NSOPS): Likewise.
44416         (semtimedop): Do not use BP_SYM.
44417         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
44418         and <bp-asm.h>.
44420 2013-02-21  Allan McRae  <allan@archlinux.org>
44422         * manual/message.texi (Charset conversion in gettext):
44423         Move @end statement to beginning of line.
44425 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44427         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
44428         static.
44429         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
44430         Likewise.
44432         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
44433         (denorm): Likewise.
44434         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
44435         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
44437 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44439         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
44440         tail-call to the resolved function if pltexit isn't needed.
44442 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44444         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
44445         or Y being zero as being unlikely.
44446         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
44447         Likewise.
44449 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
44451         * manual/nss.texi (System Databases and Name Service Switch):
44452         Remove frobnicate @pxref.
44454 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
44456         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
44457         __attribute__ ((unused)) to __attribute__ ((__unused__)).
44459 2013-02-20  Petr Machata  <pmachata@redhat.com>
44461         * elf/elf.h (R_ARM_TARGET1): New macro.
44462         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
44463         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
44464         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
44465         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
44466         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
44467         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
44468         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
44469         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
44470         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
44471         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
44472         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
44473         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
44474         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
44475         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
44476         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
44477         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
44478         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
44479         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
44480         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
44481         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
44482         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
44483         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
44484         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
44485         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
44486         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
44487         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
44488         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
44489         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
44490         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
44491         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
44492         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
44493         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
44494         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
44495         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
44496         (R_ARM_THM_GOT_BREL12): Likewise.
44497         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
44498         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
44499         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
44500         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
44501         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
44502         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
44503         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
44504         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
44505         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
44507 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
44509         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
44510         __attribute_used__ to __attribute__ ((unused)).
44512 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44514         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
44515         powerpc mpa.c.
44516         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
44517         comment formatting.
44518         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
44520 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
44522         [BZ #13550]
44523         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
44524         Remove macro.
44525         (ENTER): Remove both macro definitions.
44526         (LEAVE): Likewise.
44527         (CHECK_BOUNDS_LOW): Likewise.
44528         (CHECK_BOUNDS_HIGH): Likewise.
44529         (CHECK_BOUNDS_BOTH): Likewise.
44530         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
44531         (RETURN_BOUNDED_POINTER): Likewise.
44532         (RETURN_NULL_BOUNDED_POINTER): Likewise.
44533         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
44534         (POP_ERRNO_LOCATION_RETURN): Likewise.
44535         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
44536         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44537         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
44538         macros.
44539         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44540         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
44541         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
44542         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
44543         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
44544         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
44545         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
44546         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
44547         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
44548         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
44549         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
44550         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
44551         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44552         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
44553         removed macros.
44554         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44555         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
44556         macros.
44557         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44558         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
44559         * sysdeps/i386/i586/memset.S (memset): Likewise.
44560         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
44561         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44562         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
44563         macros.
44564         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44565         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
44566         Change uses of L(2) to L(out).
44567         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
44568         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
44569         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
44570         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44571         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
44572         removed macros.
44573         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44574         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
44575         macros.
44576         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44577         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
44578         (RETURN): Do not use macro LEAVE.
44579         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
44580         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
44581         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
44582         * sysdeps/i386/i686/memset.S (memset): Likewise.
44583         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
44584         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
44585         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
44586         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
44587         Likewise.
44588         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44589         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
44590         L(1_2) and L(1_3) into L(1).
44591         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
44592         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
44593         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44594         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
44595         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
44596         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
44597         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
44598         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44599         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
44600         macros.
44601         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
44602         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44603         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
44604         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
44605         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
44606         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44607         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
44608         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
44609         * sysdeps/i386/strcspn.S (strcspn): Likewise.
44610         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
44611         * sysdeps/i386/strrchr.S (strrchr): Likewise.
44612         * sysdeps/i386/strspn.S (strspn): Likewise.
44613         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
44614         conditional code.
44615         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44616         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
44617         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
44618         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
44619         L(1_3) into L(1_1).
44620         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
44621         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44622         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
44623         macros.
44624         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44626 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
44628         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
44629         macro.
44631 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44633         * math/atest-exp.c (exp_mpn): Remove ROUND.
44634         * math/atest-exp2.c (exp_mpn): Likewise.
44635         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
44637         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
44638         * stdlib/tst-tls-atexit-lib.c: Likewise.
44639         * stdlib/tst-tls-atexit.c: Likewise.
44641 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
44643         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
44644         and __attribute_alloc_size__.
44646 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
44648         * include/programs/xmalloc.h: Change __attribute_alloc_size to
44649         __attribute_alloc_size__.
44650         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
44651         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
44653 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
44655         * include/programs/xmalloc.h: New file.
44656         * catgets/gencat.c: Include it.
44657         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
44658         * elf/pldd.c: Likewise.
44659         * iconv/iconv_charmap.c: Likewise.
44660         * iconv/iconvconfig.c: Likewise.
44661         * iconv/strtab.c: Likewise.
44662         * locale/programs/locale.c: Likewise.
44663         * locale/programs/localedef.h: Likewise.
44664         * locale/programs/simple-hash.c: Likewise.
44665         * nscd/nscd.h: Likewise.
44666         * nss/makedb.c: Likewise.
44667         * sysdeps/generic/ldconfig.h: Likewise.
44669 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44671         * Versions.def: Add GLIBC_2.18.
44672         * include/link.h (struct link_map): New member l_tls_dtor_count.
44673         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
44674         (__call_tls_dtors): Likewise.
44675         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
44676         __cxa_thread_atexit_impl.
44677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44678         Likewise.
44679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44680         Likewise.
44681         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
44682         Likewise.
44683         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
44684         Likewise.
44685         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44686         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
44687         Likewise.
44688         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
44689         Likewise.
44690         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44691         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
44692         Likewise.
44693         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
44694         (tests): Add test case tst-tls-atexit.
44695         (modules-names): Add shared library for tst-tls-atexit.
44696         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
44697         (GLIBC_PRIVATE): Add __call_tls_dtors.
44698         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
44699         for libstdc++.
44700         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
44701         * stdlib/tst-tls-atexit.c: New test case.
44702         * stdlib/tst-tls-atexit-lib.c: New test case.
44704         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
44706         * elf/Versions (ld): Add _dl_find_dso_for_object.
44707         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
44708         * elf/dl-open.c (_dl_find_dso_for_object): New function.
44709         (dl_open_worker): Use _dl_find_dso_for_object.
44710         * elf/dl-sym.c (do_sym): Likewise.
44711         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
44713 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44715         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
44716         Syntactic changes only.
44717         (_dl_runtime_profile): Do a tail-call to the resolved function.
44719 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
44721         [BZ #13550]
44722         * sysdeps/x86_64/bp-asm.h: Remove file.
44723         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
44724         <bp-sym.h> and <bp-asm.h>.
44725         (__clone): Do not use BP_SYM.
44726         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
44727         <bp-sym.h> and <bp-asm.h>.
44728         * sysdeps/unix/x86_64/sysdep.S: Likewise.
44729         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
44730         "bp-asm.h".
44731         (_setjmp): Do not use BP_SYM.
44732         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
44733         "bp-asm.h".
44734         (setjmp): Do not use BP_SYM.
44735         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
44736         libc_hidden_def.
44737         (mempcpy): Do not use BP_SYM in weak_alias.
44738         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
44739         "bp-asm.h".
44740         (strchr): Do not use BP_SYM.
44741         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
44742         "bp-asm.h".
44743         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
44744         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
44745         (_start): Do not use BP_SYM.
44746         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
44747         "bp-asm.h".
44748         (strcat): Do not use BP_SYM.
44749         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
44750         "bp-asm.h".
44751         (STRCMP): Do not use BP_SYM.
44752         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
44753         "bp-asm.h".
44754         (STRCPY): Do not use BP_SYM.
44755         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
44756         "bp-asm.h".
44757         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
44758         "bp-asm.h".
44759         (FUNCTION): Do not use BP_SYM.
44760         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
44761         weak_alias.
44762         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
44764 2013-02-17  Andreas Jaeger  <aj@suse.de>
44766         * time/Versions: Sort entries.
44767         * string/Versions: Likewise.
44768         * resolv/Versions: Likewise.
44769         * posix/Versions: Likewise.
44770         * iconv/Versions: Likewise.
44771         * elf/Versions: Likewise.
44772         * wcsmbs/Versions: Likewise.
44774 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44776         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
44777         loop termination condition.
44779         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
44780         variable to calculate EZ.
44781         (__sqr): Likewise.
44783         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
44784         the lower precision input.
44786 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
44788         [BZ #13550]
44789         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
44790         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
44791         (run-via-rtld-prefix): Do not handle %-bp tests.
44792         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
44793         (all-object-suffixes): Remove .ob.
44794         (bppfx): Remove variable.
44795         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
44796         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
44797         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
44798         [$(build-bounded) = yes] (libtype.ob): Likewise.
44799         * Makerules (elide-routines.ob): Remove variable.
44800         (do-tests-clean): Do not handle *-bp.out.
44801         (common-mostlyclean): Do not handle *-bp and *-bp.out.
44802         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
44803         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
44804         (tests): Do not include $(tests-bp.out).
44805         (xtests): Do not include $(xtests-bp.out).
44806         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
44807         [$(build-bounded) = yes] ($(addprefix
44808         $(objpfx),$(binaries-bounded))): Remove rule.
44809         ($(objpfx)%-bp.out): Remove rule.
44810         * config.make.in (build-bounded): Remove variable.
44811         * crypt/Makefile [$(build-bounded) = yes]
44812         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
44813         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
44814         append to variable.
44815         [$(build-bounded) = yes] (install-lib): Likewise.
44816         [$(build-bounded) = yes] (generated): Likewise.
44817         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
44818         Remove rule.
44819         * intl/Makefile [$(build-bounded) = yes]
44820         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
44821         * math/Makefile [$(build-bounded) = yes]
44822         ($(tests:%=$(objpfx)%-bp): Likewise.
44823         * misc/Makefile [$(build-bounded) = yes]
44824         ($(objpfx)tst-tsearch-bp): Likewise.
44825         * nptl/Makeconfig (bounded-thread-library): Remove variable.
44826         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
44827         Remove dependency.
44828         * string/Makefile (o-objects.ob): Remove variable.
44829         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
44830         (CFLAGS-.ob): Remove variable.
44831         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
44832         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
44833         both definitions of variable.
44834         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
44835         (ASFLAGS-.ob): Remove variable.
44837 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
44839         [BZ #13550]
44840         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
44841         Remove __BOUNDED_POINTERS__ from condition.
44842         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
44843         * string/bits/string2.h [!__NO_STRING_INLINES &&
44844         !__BOUNDED_POINTERS__]: Likewise.
44845         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
44846         Likewise.
44847         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
44848         Remove conditional code.
44849         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
44850         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
44851         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
44852         condition.
44854         [BZ #13550]
44855         * csu/libc-start.c: Do not include <bp-sym.h>.
44856         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
44857         * elf/dl-open.c: Do not include <bp-sym.h>.
44858         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
44859         * math/fegetenv.c: Do not include <bp-sym.h>.
44860         (fegetenv): Do not use BP_SYM in versioned symbols.
44861         * nptl/sysdeps/pthread/bits/libc-lockP.h
44862         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
44863         <bp-sym.h>.
44864         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44865         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
44866         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44867         (__pthread_mutex_destroy): Likewise.
44868         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44869         (__pthread_mutex_lock): Likewise.
44870         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44871         (__pthread_mutex_trylock): Likewise.
44872         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44873         (__pthread_mutex_unlock): Likewise.
44874         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44875         (__pthread_mutexattr_init): Likewise.
44876         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44877         (__pthread_mutexattr_destroy): Likewise.
44878         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44879         (__pthread_mutexattr_settype): Likewise.
44880         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44881         (__pthread_rwlock_init): Likewise.
44882         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44883         (__pthread_rwlock_destroy): Likewise.
44884         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44885         (__pthread_rwlock_rdlock): Likewise.
44886         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44887         (__pthread_rwlock_tryrdlock): Likewise.
44888         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44889         (__pthread_rwlock_wrlock): Likewise.
44890         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44891         (__pthread_rwlock_trywrlock): Likewise.
44892         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44893         (__pthread_rwlock_unlock): Likewise.
44894         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44895         (__pthread_key_create): Likewise.
44896         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44897         (__pthread_setspecific): Likewise.
44898         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44899         (__pthread_getspecific): Likewise.
44900         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
44901         Likewise.
44902         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44903         (_pthread_cleanup_push_defer): Likewise.
44904         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44905         (_pthread_cleanup_pop_restore): Likewise.
44906         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44907         (pthread_setcancelstate): Likewise.
44908         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
44909         <bp-sym.h>.
44910         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
44911         (memchr): Do not use BP_SYM in weak_alias.
44912         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
44913         (fegetenv): Do not use BP_SYM in versioned symbols.
44914         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
44915         (fesetenv): Do not use BP_SYM in versioned symbols.
44916         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
44917         (feupdateenv): Do not use BP_SYM in versioned symbols.
44918         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
44919         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
44920         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
44921         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
44922         (open64): Do not use BP_SYM in weak_alias.
44923         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
44924         (fegetenv): Do not use BP_SYM in versioned symbols.
44925         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
44926         (fesetenv): Do not use BP_SYM in versioned symbols.
44927         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
44928         (feupdateenv): Do not use BP_SYM in versioned symbols.
44929         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
44930         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
44931         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
44932         (feraiseexcept): Do not use BP_SYM in versioned symbols.
44933         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
44934         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
44935         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
44936         <bp-sym.h>.
44937         (__libc_start_main): Do not use BP_SYM.
44939 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44941         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
44942         redundant return line.
44943         (norm): Likewise.
44944         (denorm): Likewise.
44945         (dbl_mp): Likewise.
44946         (sub_magnitudes): Likewise.
44947         (__add): Likewise.
44948         (__sub): Likewise.
44949         (__mul): Likewise.
44950         (__inv): Likewise.
44951         (__dvd): Likewise.
44952         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
44953         (norm): Likewise.
44954         (denorm): Likewise.
44955         (dbl_mp): Likewise.
44956         (sub_magnitudes): Likewise.
44957         (__add): Likewise.
44958         (__sub): Likewise.
44959         (__mul): Likewise.
44960         (__inv): Likewise.
44961         (__dvd): Likewise.
44963         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
44964         instead of __mul.
44965         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44966         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
44967         (cc32): Likewise.
44969         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
44970         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
44971         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
44972         of __mul for squares.
44973         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
44974         function
44975         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
44976         Likewise.
44977         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
44978         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44980 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
44982         [BZ #13550]
44983         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
44984         code.
44985         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
44986         prototype or function definition.  Rename ubp_* variables and
44987         parameters.  Remove argv definitions conditional on
44988         [__BOUNDED_POINTERS__].
44989         * debug/backtrace.c (__backtrace): Do not use __unbounded.
44990         * elf/dl-runtime.c (_dl_fixup): Likewise.
44991         * include/set-hooks.h (RUN_HOOK): Likewise.
44992         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
44993         definition.
44994         * string/strcpy.c (strcpy): Do not use __unbounded.
44995         * sysdeps/generic/frame.h (struct layout): Likewise.
44996         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
44997         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
44998         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
44999         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
45000         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
45001         (__backtrace): Likewise.
45002         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
45003         use __ptrvalue.
45004         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
45005         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
45006         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
45007         Likewise.
45008         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
45009         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
45010         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
45011         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
45012         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
45013         Do not use __unbounded.
45014         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
45015         Rename __unboundedrlimits parameter to rlimits in prototype.
45016         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
45017         Do not use __unbounded.
45018         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
45019         not use __ptrvalue.
45020         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
45021         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
45022         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
45023         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
45024         __ptrvalue or __unbounded.
45025         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
45026         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
45027         use __unbounded.
45028         (__new_msgctl): Do not use __ptrvalue.
45029         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
45030         __unbounded.
45031         (__libc_msgrcv): Do not use __ptrvalue.
45032         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
45033         startup_info): Do not use __unbounded.
45034         (__libc_start_main): Likewise.  Rename ubp_* variables and
45035         parameters.  Remove argv definitions conditional on
45036         [__BOUNDED_POINTERS__].
45037         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
45038         __ptrvalue.
45039         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
45040         use __unbounded.
45041         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
45042         or __ptrvalue.
45043         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
45044         use __unbounded.
45045         (__new_shmctl): Do not use __ptrvalue.
45046         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
45047         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
45048         Likewise.
45049         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
45050         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
45051         (__libc_sigaction): Likewise.
45052         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
45053         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
45054         Likewise.
45055         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
45057 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
45059         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
45061         * string/mempcpy.c: Implement by calling memcpy.
45063 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45065         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
45067         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
45068         evaluation.
45070         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
45071         values in the mantissa.
45073         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
45074         minimize writes to Z.
45075         (sub_magnitudes): Simplify code a bit.
45077 2013-02-12  Roland McGrath  <roland@hack.frob.com>
45079         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
45080         from the message.  The linker prefixes all warnings with that already.
45082 2013-02-12  Andreas Schwab  <schwab@suse.de>
45084         [BZ #15078]
45085         * posix/regexec.c (extend_buffers): Add parameter min_len.
45086         (check_matching): Pass minimum needed length.
45087         (clean_state_log_if_needed): Likewise.
45088         (get_subexp): Likewise.
45089         * posix/Makefile (tests): Add bug-regex34.
45090         (bug-regex34-ENV): Define.
45091         * posix/bug-regex34.c: New file.
45093         [BZ #11561]
45094         * posix/regcomp.c (parse_bracket_exp): When looking up collating
45095         elements compare against the byte sequence of it, not its name.
45096         * posix/Makefile (tests): Add bug-regex35.
45097         (bug-regex35-ENV): Define.
45098         * posix/bug-regex35.c: New file.
45100 2013-02-11  Tom de Vries  <tom@codesourcery.com>
45102         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
45103         comment.
45104         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
45105         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
45106         (CHECK_EOL): Add undef.
45108 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
45110         * bits/stdlib-bsearch.h: New file.
45111         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
45112         * stdlib/stdlib.h: Likewise.
45114 2013-02-11  Roland McGrath  <roland@hack.frob.com>
45116         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
45117         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
45118         declaration.
45119         * manual/search.texi (Array Search Function): Add missing const in
45120         lfind prototype.
45121         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
45122         declaration to use rlim_t.
45123         (Basic Scheduling Functions): Remove erroneous const from
45124         sched_getparam prototype.  Remove erroneous * from
45125         sched_get_priority_max and sched_get_priority_min prototypes.
45126         (Resource Usage): Fix summary @comment on vtimes to refer to
45127         sys/vtimes.h rather than vtimes.h.
45128         Add missing *s in vtimes prototype.
45129         (Limits on Resources): Fix ulimit prototype to return long int.
45130         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
45131         prototypes to use long int rather than double.
45132         (BSD Random): Fix initstate and setstate to use char *, not void *.
45133         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
45134         prototype to make second argument 'struct aiocb64 *const[]'.
45135         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
45136         (Status of AIO Operations): Remove erroneous const in aio_return and
45137         aio_return64 prototypes.
45138         (Synchronizing I/O): Fix sync prototype to return void.
45139         * manual/startup.texi (Suboptions): Remove an erroneous const in
45140         getsubopt prototype.
45141         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
45142         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
45143         use size_t rather than int.
45144         (Scanning All Users): Likewise for getpwent_r.
45145         (Setting Groups): Add missing const to setgroups prototype.
45146         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
45147         * manual/socket.texi (Host Names): Fix gethostbyaddr and
45148         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
45149         'const void *' rather than 'const char *'.
45150         (Host Address Functions): Likewise for inet_ntop.
45151         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
45152         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
45153         ssize_t for return value.
45154         (Sending Data): Likewise for send, sendto, sendmsg.
45155         (Socket Option Functions): Add a missing const in setsockopt prototype.
45156         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
45157         use wchar_t for the argument.
45158         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
45159         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
45160         take no arguments.
45161         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
45162         double/float/long double for second argument.
45163         Fix return types of significand, significandf, significandl.
45164         * manual/filesys.texi (Setting Permissions): Use mode_t for second
45165         argument in fchmod prototype.
45166         (File Owner): Use uid_t and gid_t in fchown prototype.
45167         (File Times): Add const to utimes, futimes, and lutimes prototypes.
45168         (Making Special Files): Use mode_t and dev_t in mknod prototype.
45169         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
45170         use 'const struct dirent **' as argument types to CMP function pointer
45171         argument.
45172         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
45173         (File Times): Fix summary magic @comment for struct utimbuf and utime
45174         to refer to utime.h, not time.h.
45175         * manual/string.texi (Argz Functions): Add missing const in
45176         argz_extract and argz_next prototypes.
45177         (Finding Tokens in a String): Likewise for basename.
45178         (String/Array Comparison): Fix typo in wcscasecmp prototype.
45179         (Copying and Concatenation): Fix typo in wmemmove prototype.
45180         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
45181         (Signal Stack): Remove erroneous const in sigstack prototype.
45182         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
45183         prototype.
45184         (Simple Calendar Time): Likewise for stime.
45185         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
45186         prototype.
45187         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
45188         say sys/sysctl.h instead.
45189         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
45190         and vsyslog prototypes.
45192 2013-02-11  Tom de Vries  <tom@codesourcery.com>
45194         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
45195         Remove.
45197 2013-02-11  Roland McGrath  <roland@hack.frob.com>
45199         * misc/sys/mman.h: Fix typo in mremap comment.
45201 2013-02-08  Roland McGrath  <roland@hack.frob.com>
45203         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
45204         the '\0' terminator.
45206 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
45208         [BZ #13550]
45209         * debug/segfault.c: Don't include <bp-checks.h>.
45210         * sysdeps/generic/bp-checks.h: Remove file.
45211         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
45212         (__GETDENTS): Don't use CHECK_N.
45213         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
45214         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
45215         (__getgroups): Don't use CHECK_N.
45216         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
45217         (setgroups): Don't use CHECK_N.
45218         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
45219         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
45220         (__libc_msgrcv): Don't use CHECK_N.
45221         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
45222         (__libc_msgsnd): Don't use CHECK_N.
45223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
45224         <bp-checks.h>.
45225         (__libc_pread): Don't use CHECK_N.
45226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
45227         include <bp-checks.h>.
45228         (__libc_pread64): Don't use CHECK_N.
45229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
45230         include <bp-checks.h>.
45231         (__libc_pwrite): Don't use CHECK_N.
45232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
45233         include <bp-checks.h>.
45234         (__libc_pwrite64): Don't use CHECK_N.
45235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
45236         <bp-checks.h>.
45237         (__libc_pread): Don't use CHECK_N.
45238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
45239         include <bp-checks.h>.
45240         (__libc_pread64): Don't use CHECK_N.
45241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
45242         include <bp-checks.h>.
45243         (__libc_pwrite): Don't use CHECK_N.
45244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
45245         include <bp-checks.h>.
45246         (__libc_pwrite64): Don't use CHECK_N.
45247         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
45248         (do_pread): Don't use CHECK_N.
45249         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
45250         (do_pread64): Don't use CHECK_N.
45251         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
45252         (do_pwrite): Don't use CHECK_N.
45253         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
45254         (do_pwrite64): Don't use CHECK_N.
45255         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
45256         (__libc_readv): Don't use CHECK_N.
45257         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
45258         (semop): Don't use CHECK_N.
45259         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
45260         <bp-checks.h>.
45261         (semtimedop): Don't use CHECK_N.
45262         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
45263         (__libc_pread): Don't use CHECK_N.
45264         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
45265         <bp-checks.h>.
45266         (__libc_pread64): Don't use CHECK_N.
45267         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
45268         <bp-checks.h>.
45269         (__libc_pwrite): Don't use CHECK_N.
45270         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
45271         <bp-checks.h>.
45272         (__libc_pwrite64): Don't use CHECK_N.
45273         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
45274         <bp-checks.h>.
45275         (__libc_msgrcv): Don't use CHECK_N.
45276         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
45277         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
45278         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
45279         (__libc_writev): Don't use CHECK_N.
45281 2013-02-08  Roland McGrath  <roland@hack.frob.com>
45283         * string/strcpy.c: Removed unused variable.
45285         * Makeconfig (+sysdep-includes): Define with := rather than =.
45286         Use an existing include/ subdir of each sysdeps dir before it.
45288 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
45290         * nscd/connection.c (register_traced_file): Comment function.
45291         [HAVE_INOTIFY] (union __inev): Define.
45292         [HAVE_INOTIFY] (inotify_check_files): New function.
45293         [HAVE_INOTIFY] (clear_db_cache): Likewise.
45294         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
45295         clear_db_cache.
45296         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
45298 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
45300         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
45301         loaded if not already and that a failure is permanent.
45303 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
45305         [BZ #15006]
45306         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
45307         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
45309 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
45311         [BZ #13550]
45312         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
45313         (CHECK_1_NULL_OK): Likewise.
45314         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
45315         (__fxstat): Do not use CHECK_1.
45316         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
45317         <bp-checks.h>.
45318         (___fxstat64): Do not use CHECK_1.
45319         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
45320         <bp-checks.h>.
45321         (__fxstatat): Do not use CHECK_1.
45322         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
45323         <bp-checks.h>.
45324         (__fxstatat64): Do not use CHECK_1.
45325         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
45326         <bp-checks.h>.
45327         (__fxstat): Do not use CHECK_1.
45328         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
45329         <bp-checks.h>.
45330         (__fxstatat): Do not use CHECK_1.
45331         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
45332         <bp-checks.h>.
45333         (__getresgid): Do not use CHECK_1.
45334         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
45335         <bp-checks.h>.
45336         (__getresuid): Do not use CHECK_1.
45337         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
45338         <bp-checks.h>.
45339         (__lxstat): Do not use CHECK_1.
45340         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
45341         <bp-checks.h>.
45342         (__old_msgctl): Do not use CHECK_1.
45343         (__new_msgctl): Likewise.
45344         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
45345         <bp-checks.h>.
45346         (__new_setrlimit): Do not use CHECK_1.
45347         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
45348         <bp-checks.h>.
45349         (__old_shmctl): Do not use CHECK_1.
45350         (__new_shmctl): Likewise.
45351         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
45352         <bp-checks.h>.
45353         (__xstat): Do not use CHECK_1.
45354         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
45355         (__lxstat): Do not use CHECK_1.
45356         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
45357         <bp-checks.h>.
45358         (___lxstat64): Do not use CHECK_1.
45359         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
45360         (__old_msgctl): Do not use CHECK_1.
45361         (__new_msgctl): Likewise.
45362         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
45363         <bp-checks.h>.
45364         (__gettimeofday): Do not use CHECK_1.
45365         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
45366         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
45367         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
45368         <bp-checks.h>.
45369         (__gettimeofday): Do not use CHECK_1.
45370         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
45371         (__old_shmctl): Do not use CHECK_1_NULL_OK.
45372         (__new_shmctl): Do not use CHECK_1.
45373         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
45374         <bp-checks.h>.
45375         (do_sigtimedwait): Do not use CHECK_1.
45376         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
45377         <bp-checks.h>.
45378         (do_sigwaitinfo): Do not use CHECK_1.
45379         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
45380         <bp-checks.h>.
45381         (msgctl): Do not use CHECK_1.
45382         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
45383         <bp-checks.h>.
45384         (shmctl): Do not use CHECK_1.
45385         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
45386         (ustat): Do not use CHECK_1.
45387         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
45388         <bp-checks.h>.
45389         (__fxstat): Do not use CHECK_1.
45390         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
45391         <bp-checks.h>.
45392         (__fxstatat): Do not use CHECK_1.
45393         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
45394         <bp-checks.h>.
45395         (__lxstat): Do not use CHECK_1.
45396         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
45397         <bp-checks.h>.
45398         (__xstat): Do not use CHECK_1.
45399         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
45400         (__xstat): Do not use CHECK_1.
45401         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
45402         (___xstat64): Do not use CHECK_1.
45404         [BZ #13550]
45405         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
45406         definitions.
45407         (CHECK_BOUNDS_HIGH): Likewise.
45408         * string/strcpy.c: Do not include <bp-checks.h>.
45409         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
45411 2013-02-07  Roland McGrath  <roland@hack.frob.com>
45413         * nscd/nscd-client.h (__nscd_drop_map_ref):
45414         Add __attribute__ ((unused)).
45415         * nis/nss-nisplus.h (niserr2nss): Likewise.
45417         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
45418         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
45420         * csu/libc-tls.c (init_static_tls, init_slotinfo):
45421         Remove inline keyword.
45422         * include/rounding-mode.h (round_away): Likewise.
45423         * libio/wfileops.c (adjust_wide_data): Likewise.
45424         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
45425         (__m128i_strloadu_tolower): Likewise.
45426         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
45427         (__m128i_strloadu_tolower): Likewise.
45428         * time/mktime.c (ydhms_diff): Likewise.
45429         * locale/elem-hash.h (elem_hash): Likewise.
45430         * locale/setlocale.c (setdata): Likewise.
45431         * posix/regex_internal.h (re_string_char_size_at): Likewise.
45432         (re_string_wchar_at): Likewise.
45433         (bitset_not, bitset_merge, bitset_mask): Likewise.
45434         [!(__GNUC__ > 3)] (inline): Remove macro.
45435         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
45436         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
45437         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
45438         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
45439         * string/memcmp.c (memcmp_bytes): Likewise.
45440         * locale/programs/locarchive.c (compute_hashval): Likewise.
45441         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
45442         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
45443         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
45444         * nss/getent.c (print_rpc, print_protocols): Likewise.
45445         (print_passwd, print_group, print_aliases): Likewise.
45446         * nis/nss-nisplus.h (niserr2nss): Likewise.
45447         * nscd/connections.c (restart_p): Likewise.
45448         Change return type to bool.
45450 2013-02-05  Roland McGrath  <roland@hack.frob.com>
45452         * Makeconfig (all-Depend-files): Add existing
45453         $(sorted-subdirs:=/Depend) files.
45454         (all-subdirs): Remove nss.
45455         * sysdeps/unix/inet/Subdirs: Add it here instead.
45456         * hesiod/Depend: New file.
45458         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
45459         instead of calling alloca.
45461         * io/lseek.c (__lseek): Rename to __libc_lseek.
45462         Define __lseek as an alias.
45464         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
45466 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
45468         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
45469         else clause and remove check for non-standard endianness.
45471 2013-02-04  David S. Miller  <davem@davemloft.net>
45473         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45475 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
45477         [BZ #13550]
45478         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
45479         (__ubp_memchr): Remove prototype.
45480         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
45481         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
45482         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
45483         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
45484         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
45485         Remove alias.
45486         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
45487         (__ubp_memchr): Likewise.
45488         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
45489         (__ubp_memchr): Likewise.
45490         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
45491         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
45492         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
45493         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
45494         CHECK_STRING.
45495         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
45496         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
45497         (__getcwd): Do not use CHECK_STRING.
45498         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
45499         <bp-checks.h>.
45500         (__real_chown): Do not use CHECK_STRING.
45501         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
45502         <bp-checks.h>.
45503         (fchownat): Do not use CHECK_STRING.
45504         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
45505         CHECK_STRING.
45506         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
45507         <bp-checks.h>.
45508         (__lchown): Do not use CHECK_STRING.
45509         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
45510         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
45511         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
45512         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
45513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
45514         include <bp-checks.h>.
45515         (truncate64): Do not use CHECK_STRING.
45516         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
45517         <bp-checks.h>.
45518         (__real_chown): Do not use CHECK_STRING.
45519         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
45520         <bp-checks.h>.
45521         (__lchown): Do not use CHECK_STRING.
45522         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
45523         <bp-checks.h>.
45524         (__chown): Do not use CHECK_STRING.
45525         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
45526         <bp-checks.h>.
45527         (truncate64): Do not use CHECK_STRING.
45528         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
45529         Likewise.
45530         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
45531         (__xmknod): Do not use CHECK_STRING.
45532         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
45533         <bp-checks.h>.
45534         (__xmknodat): Do not use CHECK_STRING.
45535         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
45536         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
45538 2013-02-04  Andreas Schwab  <schwab@suse.de>
45540         [BZ #14142]
45541         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
45542         * include/netdb.h: Likewise for h_errno.
45543         * elf/tst-stackguard1.c: Include <tls.h>.
45545 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
45547         * elf/link.h (struct link_map): Extend the l_addr comment.
45548         * include/link.h (struct link_map): Likewise.
45550 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
45552         [BZ #13550]
45553         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
45554         (BOUNDED_1): Remove macro.
45555         * debug/backtrace.c: Don't include <bp-checks.h>.
45556         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
45557         (__backtrace): Likewise.
45558         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
45559         <bp-checks.h>.
45560         (__backtrace): Don't use BOUNDED_1.
45561         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
45562         <bp-checks.h>.
45563         (__backtrace): Don't use BOUNDED_1.
45564         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
45565         (__backtrace): Don't use BOUNDED_1.
45566         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
45567         (shmat): Don't use BOUNDED_N.
45569 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
45571         [BZ #13550]
45572         * sysdeps/generic/bp-start.h: Remove file.
45573         * csu/libc-start.c: Don't include <bp-start.h>.
45574         (LIBC_START_MAIN): Set up __environ directly instead of using
45575         INIT_ARGV_and_ENVIRON.
45576         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
45577         <bp-start.h>.
45579         [BZ #13550]
45580         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
45581         definitions.
45582         (CHECK_FCNTL): Likewise.
45583         (CHECK_N_PAGES): Likewise.
45585         [BZ #13550]
45586         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
45587         definitions.
45588         (CHECK_SIGSET_NULL_OK): Likewise.
45589         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
45590         <bp-checks.h>.
45591         (sigpending): Don't use CHECK_SIGSET.
45592         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
45593         <bp-checks.h>.
45594         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
45595         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
45596         <bp-checks.h>.
45597         (do_sigsuspend): Don't use CHECK_SIGSET.
45598         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
45599         use CHECK_SIGSET.
45600         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
45601         (do_sigwait): Don't use CHECK_SIGSET.
45602         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
45603         use CHECK_SIGSET.
45604         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
45605         include <bp-checks.h>.
45606         (sigpending): Don't use CHECK_SIGSET.
45607         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
45608         include <bp-checks.h>.
45609         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
45610         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
45611         <bp-checks.h>.
45612         (sigpending): Don't use CHECK_SIGSET.
45613         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
45614         <bp-checks.h>.
45615         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
45617         [BZ #13550]
45618         * sysdeps/generic/bp-semctl.h: Remove file.
45619         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
45620         <bp-checks.h> and <bp-semctl.h>.
45621         (__old_semctl): Don't use CHECK_SEMCTL.
45622         (__new_semctl): Likewise.
45623         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
45624         and <bp-semctl.h>.
45625         (__old_semctl): Don't use CHECK_SEMCTL.
45626         (__new_semctl): Likewise.
45627         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
45628         <bp-checks.h> and <bp-semctl.h>.
45629         (__old_semctl): Don't use CHECK_SEMCTL.
45630         (__new_semctl): Likewise.
45631         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
45632         <bp-checks.h> and <bp-semctl.h>.
45633         (semctl): Don't use CHECK_SEMCTL.
45635         [BZ #13550]
45636         * Makerules (elide-bp-thunks): Remove variable.
45637         (elide-routines.oS): Don't use $(elide-bp-thunks).
45638         (elide-routines.os): Likewise.
45639         (elide-routines.o): Likewise.
45640         (elide-routines.op): Likewise.
45641         (elide-routines.og): Likewise.
45642         (objects): Don't use $(bp-thunks).
45643         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
45644         include.
45645         (common-generated): Do not add s-proto-bp.d.
45646         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
45647         (int): Likewise.
45648         (typ): Likewise.
45649         Do not generate makefile rules for bounded-pointer thunks.
45650         * sysdeps/generic/bp-thunks.h: Remove file.
45651         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
45652         * sysdeps/unix/s-proto-bp.S: Likewise.
45654         [BZ #15062]
45655         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
45656         parts of result separately when argument is not close to line from
45657         -i to i and one part of argument is small.
45658         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45659         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45660         * math/libm-test.inc (cacos_test): Add more tests.
45661         (casin_test): Likewise.
45662         (casinh_test): Likewise.
45663         * sysdeps/i386/fpu/libm-test-ulps: Update.
45664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45666 2013-01-31  David S. Miller  <davem@davemloft.net>
45668         * po/de.po: Update from translation team.
45670 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
45672         * time/tzfile.c: Include stdint.h for SIZE_MAX.
45674 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
45676         * configure.in (_AC_PROG_CC_C89): New definition.
45677         * configure: Regenerate.
45679         * configure.in (AC_PROG_CPP): New definition.
45680         * configure: Regenerate.
45682 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
45684         * debug/tst-backtrace.h: New file.
45685         * debug/tst-backtrace2.c: Include tst-backtrace.h.
45686         (ret): Remove variable.
45687         (x): Likewise.
45688         (FAIL): Remove macro.
45689         (NO_INLINE): Likewise.
45690         (fn1): Use match function instead of strstr.
45691         * debug/tst-backtrace3.c: Include tst-backtrace.h.
45692         (ret): Remove variable.
45693         (x): Likewise.
45694         (FAIL): Remove macro.
45695         (NO_INLINE): Likewise.
45696         (fn): Use match function instead of strstr.
45697         * debug/tst-backtrace4.c: Include tst-backtrace.h.
45698         (ret): Remove variable.
45699         (x): Likewise.
45700         (FAIL): Remove macro.
45701         (NO_INLINE): Likewise.
45702         (handle_signal): Use match function instead of strstr.
45703         * debug/tst-backtrace5.c: Include tst-backtrace.h.
45704         (ret): Remove variable.
45705         (x): Likewise.
45706         (FAIL): Remove macro.
45707         (NO_INLINE): Likewise.
45708         (handle_signal): Use match function instead of strstr.
45710 2013-01-23  Roland McGrath  <roland@hack.frob.com>
45712         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
45714 2013-01-23  David S. Miller  <davem@davemloft.net>
45716         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
45717         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
45718         argument of CAS if possible.
45719         * sysdeps/sparc/sparc64/bits/atomic.h
45720         (__arch_compare_and_exchange_val_32_acq): Likewise.
45721         (__arch_compare_and_exchange_val_64_acq): Likewise.
45723 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
45725         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
45726         * sysdeps/posix/ulimit.c: ... this.
45727         Include <limits.h>.
45728         * sysdeps/unix/bsd/ulimit.c: Remove file.
45730 2013-01-23  Adam Conrad  <adconrad@0c3.net>
45732         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
45733         (LDFLAGS-tst-array5): Likewise.
45735 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
45737         [BZ #15036]
45738         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
45739         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
45740         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
45741         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
45743 2013-01-21  David S. Miller  <davem@davemloft.net>
45745         * sysdeps/sparc/backtrace.c: New file.
45746         * sysdeps/sparc/sparc32/backtrace.h: New file.
45747         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
45748         * sysdeps/sparc/sparc64/backtrace.h: New file.
45749         * sysdeps/sparc/sparc64/backtrace.c: Delete.
45750         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
45751         -funwind-tables.
45753 2013-01-21  Andreas Schwab  <schwab@suse.de>
45755         [BZ #15020]
45756         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
45757         closed its stdout.
45759 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
45761         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
45762         "mpa2.h".
45763         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45765 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
45766             Mark Mitchell  <mark@codesourcery.com>
45767             Tom de Vries  <tom@codesourcery.com>
45768             Paul Pluzhnikov  <ppluzhnikov@google.com>
45770         * debug/tst-backtrace2.c: New file.
45771         * debug/tst-backtrace3.c: Likewise.
45772         * debug/tst-backtrace4.c: Likewise.
45773         * debug/tst-backtrace5.c: Likewise.
45774         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
45775         (CFLAGS-tst-backtrace3.c): Likewise.
45776         (CFLAGS-tst-backtrace4.c): Likewise.
45777         (CFLAGS-tst-backtrace5.c): Likewise.
45778         (LDFLAGS-tst-backtrace2): Likewise.
45779         (LDFLAGS-tst-backtrace3): Likewise.
45780         (LDFLAGS-tst-backtrace4): Likewise.
45781         (LDFLAGS-tst-backtrace5): Likewise.
45782         (tests): Add new tests tst-backtrace2, tst-backtrace3,
45783         tst-backtrace4 and tst-backtrace5.
45785 2013-01-18  Anton Blanchard  <anton@samba.org>
45786             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45788         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
45789         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
45790         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
45791         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
45792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
45793         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
45794         "+r" and remove output regs list as redundant.  Add explicit inline
45795         asm to specify register of return val to work around compiler codegen
45796         bug.  Remove (int) cast on return value.  Add return type parameter to
45797         use in macro so that this macro does not truncate return value for
45798         64-bit values.
45799         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
45800         pass to INTERNAL_VSYSCALL_NCS.
45801         (INLINE_VSYSCALL): Add 'long int' as return type to
45802         INTERNAL_VSYSCALL_NCS macro invocation.
45803         (INTERNAL_VSYSCALL): Add 'long int' as return type to
45804         INTERNAL_VSYSCALL_NCS macro invocation.
45805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45807 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45809         [BZ #14496]
45810         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
45811         Fix application of SIMD FP exception mask.
45813         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
45814         mp_no from a power of two.
45815         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
45816         __mpexp_twomm1.  Use __pow_mp.
45818         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
45819         multiplication.
45821 2013-01-17  David S. Miller  <davem@davemloft.net>
45823         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45825 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
45827         [BZ #15023]
45828         * include/complex.h: Condition contents on [!_COMPLEX_H].
45829         (__kernel_casinhf): New prototype.
45830         (__kernel_casinh): Likewise.
45831         (__kernel_casinhl): Likewise.
45832         * math/Makefile (libm_calls): Add k_casinh.
45833         * math/k_casinh.c: New file.
45834         * math/k_casinhf.c: Likewise.
45835         * math/k_casinhl.c: Likewise.
45836         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
45837         finite nonzero arguments.
45838         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
45839         finite nonzero arguments.
45840         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
45841         finite nonzero arguments.
45842         * math/s_casinh.c: Do not include <float.h>.
45843         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
45844         * math/s_casinhf.c: Do not include <float.h>.
45845         (__casinhf): Move code for finite nonzero arguments to
45846         k_casinhf.c.
45847         * math/s_casinhl.c: Do not include <float.h>.
45848         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
45849         redefine.
45850         (__casinhl): Move code for finite nonzero arguments to
45851         k_casinhl.c.
45852         * math/libm-test.inc (cacos_test): Add more tests.
45853         * sysdeps/i386/fpu/libm-test-ulps: Update.
45854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45856 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
45858         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
45859         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
45860         [!HAVE_MREMAP]: Remove [defined linux] case.
45861         * malloc/arena.c: Do not include <malloc-sysdep.h>.
45863 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45865         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
45867 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
45869         * elf/elf.h (R_386_SIZE32): New relocation.
45870         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
45871         R_386_SIZE32.
45872         (elf_machine_rela): Likewise.
45873         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
45874         R_X86_64_SIZE64 and R_X86_64_SIZE32.
45876 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
45878         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
45879         (FP_FAST_FMA): Do not define.
45880         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
45881         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
45882         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
45883         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
45884         !_SOFT_FLOAT]: Likewise.
45885         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
45886         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
45887         value.
45888         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
45889         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
45890         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
45891         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
45892         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
45893         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
45894         file.
45896 2013-01-16  Andreas Schwab  <schwab@suse.de>
45898         [BZ #14327]
45899         * include/stdlib.h (__mktemp): Add declaration.
45900         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
45901         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
45903 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45905         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
45906         definitions.
45907         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
45908         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
45909         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
45910         definitions here.
45911         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
45912         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
45913         definitions.
45914         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
45915         and ONE.
45916         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
45917         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
45918         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
45919         definitions.
45920         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
45921         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
45922         definitions.
45923         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
45925         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
45927 2013-01-15  David S. Miller  <davem@davemloft.net>
45929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
45930         trunc{,f} to libm-sysdep_routes.
45931         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
45932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
45933         file.
45934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
45935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
45936         file.
45937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
45938         file.
45939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
45940         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
45941         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
45942         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
45943         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
45944         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
45945         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
45946         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
45948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
45949         nearbyint{,f} to libm-sysdep_routes.
45950         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
45951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
45952         New file.
45953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
45954         file.
45955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
45956         New file.
45957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
45958         file.
45959         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
45960         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
45961         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
45962         file.
45963         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
45964         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
45965         file.
45966         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
45967         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
45968         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
45970         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
45971         libc_feholdexcept and libc_fesetenv.
45973 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
45975         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
45977 2013-01-14  David S. Miller  <davem@davemloft.net>
45979         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
45980         (SPARC_ASM_VIS2_IFUNC): Likewise.
45981         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
45982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
45983         use of 'siam' instruction.
45984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
45985         Likewise.
45986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
45987         Likewise.
45988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
45989         Likewise.
45990         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
45991         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
45992         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
45993         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
45994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
45995         file.
45996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
45997         file.
45998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
45999         file.
46000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
46001         file.
46002         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
46003         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
46004         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
46005         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
46006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
46007         new VIS2 routines.
46008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
46009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46011         Likewise.
46012         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46013         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46014         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46015         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
46017         routines to libm-sysdep_routines.
46018         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46021         fdim/fdimf to libm-sysdep_routines.
46022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
46023         file.
46024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
46025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
46026         file.
46027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
46028         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
46029         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
46030         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
46031         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
46032         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
46033         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
46035 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46037         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
46038         to optimize copies.
46040         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
46041         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
46042         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46044         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
46045         local variable MPTWO.
46046         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
46047         Likewise.
46049 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
46051         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
46052         GLOB_NOESCAPE.
46054 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
46056         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
46058 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
46060         * manual/pattern.texi (glob_t): Document gl_flags.
46061         (glob64_t): Likewise.
46063 2013-01-11  David S. Miller  <davem@davemloft.net>
46065         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
46066         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
46067         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
46068         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
46069         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
46070         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
46071         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
46072         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
46073         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
46074         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
46075         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
46076         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
46077         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
46079         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
46080         sparc V9 rather than using V8 code.
46081         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
46082         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
46084         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46085         Move to...
46086         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
46087         Here.
46089 2013-01-11  Roland McGrath  <roland@hack.frob.com>
46091         [BZ #14941]
46092         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
46093         not in the main loop.
46094         * configure: Regenerated.
46096 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
46098         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
46099         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
46100         to just #else.
46101         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
46102         [!__GLIBC_HAVE_LONG_LONG] case.
46103         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
46104         condition to just #else.
46105         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
46106         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
46107         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
46108         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
46109         unconditional.
46110         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
46111         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
46112         #elif condition to just #else.
46113         * sysdeps/unix/sysv/linux/sys/sysmacros.h
46114         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
46115         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
46116         #elif condition to just #else.
46118 2013-01-11  Steve Ellcey  <sellcey@mips.com>
46120         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
46121         (EF_MIPS_ARCH_64): Fix value.
46122         (EF_MIPS_ARCH_32R2): New.
46123         (EF_MIPS_ARCH_64R2): New.
46125 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
46127         * Makeconfig (+link-pie-before-libc): New.
46128         (+link-pie-after-libc): Likewise.
46129         (+link-pie-tests): Likewise.
46130         (+link-pie): Rewritten.
46131         (link-before-libc): Remove $(config-LDFLAGS).
46132         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
46133         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
46134         (config-LDFLAGS): Renamed to ...
46135         (rtld-LDFLAGS): This.
46136         (rtld-tests-LDFLAGS): New macro.
46137         (link-libc-rpath-link): Likewise.
46138         (link-libc-tests-rpath-link): Likewise.
46139         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
46140         (link-libc): Prepand $(link-libc-rpath-link).
46141         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
46142         (test-program-prefix): New macro.
46143         (test-via-rtld-prefix): Likewise.
46144         (test-program-cmd): Likewise.
46145         (host-test-program-cmd): Likewise.
46146         * Makefile ($(common-objpfx)testrun.sh): Replace
46147         $(run-program-prefix) with $(test-program-prefix).
46148         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
46149         $(rtld-LDFLAGS).
46150         ($(common-objpfx)shlib.lds): Likewise.
46151         (build-module-helper): Likewise.
46152         ($(common-objpfx)format.lds): Likewise.
46153         * Rules (binaries-pie-tests): New.
46154         (binaries-pie-notests): Likewise.
46155         (binaries-pie): Rewritten.
46156         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
46157         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
46158         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
46159         (make-test-out): Replace $(host-built-program-cmd) with
46160         $(host-test-program-cmd).
46161         * config.make.in (build-hardcoded-path-in-tests): New variable.
46162         * configure.in (--enable-hardcoded-path-in-tests): New configure
46163         option.
46164         (hardcoded_path_in_tests): New AC_SUBST.
46165         * configure: Regenerated.
46166         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
46167         $(built-program-cmd) with $(test-program-cmd).
46168         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
46169         (test_program_cmd): This.
46170         * elf/Makefile ($(objpfx)order.out): Run test with
46171         $(test-program-prefix).
46172         ($(objpfx)order2.out): Likewise.
46173         ($(objpfx)tst-initorder.out): Likewise.
46174         ($(objpfx)tst-initorder2.out): Likewise.
46175         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
46176         $(test-program-cmd).
46177         ($(objpfx)tst-array1-static.out): Likewise.
46178         ($(objpfx)tst-array2.out): Likewise.
46179         ($(objpfx)tst-array3.out): Likewise.
46180         ($(objpfx)tst-array4.out): Likewise.
46181         ($(objpfx)tst-array5.out): Likewise.
46182         ($(objpfx)tst-array5-static.out): Likewise.
46183         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
46184         $(test-program-cmd).
46185         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
46186         $(run-program-prefix) with $(test-program-prefix).
46187         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
46188         (test_program_prefix): This.
46189         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
46190         $(run-program-prefix) with $(test-program-prefix).
46191         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
46192         (test_program_prefix): This.
46193         * iconvdata/tst-tables.sh: Likewise.
46194         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
46195         $(run-program-prefix) with $(test-program-prefix).
46196         ($(objpfx)tst-translit.out): Likewise.
46197         ($(objpfx)tst-gettext2.out): Likewise.
46198         ($(objpfx)tst-gettext4.out): Likewise.
46199         ($(objpfx)tst-gettext6.out): Likewise.
46200         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
46201         (test_program_prefix): This.
46202         * intl/tst-gettext2.sh: Likewise.
46203         * intl/tst-gettext4.sh  Likewise.
46204         * intl/tst-gettext6.sh: Likewise.
46205         * intl/tst-translit.sh: Likewise.
46206         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
46207         with $(test-program-cmd).
46208         * libio/Makefile ($(objpfx)test-freopen.out): Replace
46209         $(run-program-prefix) with $(test-program-prefix).
46210         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
46211         (test_program_prefix): This.
46212         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
46213         $(run-program-prefix) with $(test-program-prefix).
46214         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
46215         (test_program_prefix): This.
46216         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
46217         * posix/Makefile ($(objpfx)globtest.out): Replace
46218         $(run-via-rtld-prefix) and $(test-wrapper) with
46219         $(test-program-prefix) and $(test-via-rtld-prefix).
46220         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
46221         $(test-program-prefix).
46222         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
46223         $(host-test-program-cmd).
46224         (tst-spawn-ARGS): Likewise.
46225         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
46226         $(test-program-prefix).
46227         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
46228         (test_via_rtld_prefix): This.
46229         (test_wrapper): Renamed to ...
46230         (test_program_prefix): This.
46231         (run_program_prefix): Replaced by test_program_prefix.
46232         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
46233         (test_program_prefix): This.
46234         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
46235         with $(host-test-program-cmd).
46236         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
46237         $(run-program-prefix) with $(test-program-prefix).
46238         ($(objpfx)tst-printf.out): Likewise.
46239         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
46240         $(test-program-cmd).
46241         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
46242         (test_program_prefix): This.
46243         * stdio-common/tst-unbputc.sh: Likewise.
46244         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
46245         $(run-program-prefix) with $(test-program-prefix).
46246         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
46247         (test_program_prefix): This.
46248         * string/Makefile ($(objpfx)tst-svc.out):  Replace
46249         $(built-program-cmd) with $(test-program-cmd).
46251 2013-01-11  Andreas Jaeger  <aj@suse.de>
46253         [BZ #15003]
46254         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
46255         value. Sync with Linux 3.7.
46257 2013-01-10  David S. Miller  <davem@davemloft.net>
46259         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
46260         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
46261         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
46263 2013-01-10  Roland McGrath  <roland@hack.frob.com>
46265         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
46266         never set.
46267         * configure: Regenerated.
46269 2013-01-10  David S. Miller  <davem@davemloft.net>
46271         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
46272         sparc V9 rather than using V8 code.
46273         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
46274         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
46276 2013-01-10  Roland McGrath  <roland@hack.frob.com>
46278         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
46279         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
46280         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
46281         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
46282         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
46283         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
46284         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
46285         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
46286         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
46287         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
46288         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
46289         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
46290         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
46291         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
46292         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
46293         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
46294         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
46295         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
46296         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
46297         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
46298         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
46299         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
46300         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
46301         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
46302         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
46303         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
46304         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
46306 2013-01-10  David S. Miller  <davem@davemloft.net>
46308         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46310 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
46312         * posix/Makefile (tests-static): New variable.
46313         (tests): Add $(tests-static).
46314         (tst-exec-static-ARGS): New variable.
46315         (tst-spawn-static-ARGS): Likewise.
46316         * posix/tst-exec-static.c: New file.
46317         * posix/tst-spawn-static.c: Likewise.
46318         * posix/tst-exec.c: Support run directly.
46319         * posix/tst-spawn.c: Likewise.
46321 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
46323         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
46324         long.
46325         * math/bits/mathcalls.h (llrint): Likewise.
46326         (llround): Likewise.
46327         * stdlib/stdlib.h (struct drand48_data): Likewise.
46328         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
46329         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
46330         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
46331         Likewise.
46332         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
46333         Likewise.
46334         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
46335         (elf_greg_t): Likewise.
46336         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
46337         (__jmp_buf): Likewise.
46338         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
46339         definitions.
46340         (llrint): Likewise, for all definitions.
46341         (llrintl): Likewise.
46343         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
46344         Remove [__GNUC__] condition.
46345         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
46346         condition to just [__USE_ISOC99].
46347         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
46349 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
46351         [BZ #14200]
46352         * sysdeps/unix/sysv/linux/x86/bits/environments.h
46353         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
46354         defined.
46355         (_POSIX_V6_ILP32_OFF32): Likewise.
46356         (_XBS5_ILP32_OFF32): Likewise.
46357         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
46358         (__ILP32_OFFBIG_LDFLAGS): Likewise.
46360 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46362         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
46364         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
46365         doubles __mpexp_twomm1.  Adjust usage.
46366         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
46367         Remove.
46369 2013-01-10  Andreas Schwab  <schwab@suse.de>
46371         [BZ #14964]
46372         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
46373         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
46375 2013-01-09  David S. Miller  <davem@davemloft.net>
46377         [BZ #15003]
46378         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
46379         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
46380         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
46381         (TCP_FASTOPEN): Define.
46382         (tcp_repair_opt): New structure.
46383         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
46384         enum values.
46385         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
46386         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
46387         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
46388         (tcp_cookie_transactions): New structure.
46390 2013-01-09  Anton Blanchard  <anton@samba.org>
46392         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
46393         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
46394         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
46395         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
46397 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
46399         * include/features.h (__USE_ANSI): Remove.
46401 2013-01-09  Roland McGrath  <roland@hack.frob.com>
46403         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
46405         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
46407 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
46409         * sysdeps/s390/fpu/libm-test-ulps: Update.
46411         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46413         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
46414         (__acr): Likewise.
46415         (__cpy): Likewise.
46416         (norm): Likewise.
46417         (denorm): Likewise.
46418         (__mp_dbl): Likewise.
46419         (__dbl_mp): Likewise.
46420         (add_magnitudes): Likewise.
46421         (sub_magnitudes): Likewise.
46422         (__add): Likewise.
46423         (__sub): Likewise.
46424         (__mul): Likewise.
46425         (__inv): Likewise.
46426         (__dvd): Likewise.
46427         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
46428         (__acr): Likewise.
46429         (__cpy): Likewise.
46430         (norm): Likewise.
46431         (denorm): Likewise.
46432         (__mp_dbl): Likewise.
46433         (__dbl_mp): Likewise.
46434         (add_magnitudes): Likewise.
46435         (sub_magnitudes): Likewise.
46436         (__add): Likewise.
46437         (__sub): Likewise.
46438         (__mul): Likewise.
46439         (__inv): Likewise.
46440         (__dvd): Likewise.
46441         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
46442         (__acr): Likewise.
46443         (__cpy): Likewise.
46444         (norm): Likewise.
46445         (denorm): Likewise.
46446         (__mp_dbl): Likewise.
46447         (__dbl_mp): Likewise.
46448         (add_magnitudes): Likewise.
46449         (sub_magnitudes): Likewise.
46450         (__add): Likewise.
46451         (__sub): Likewise.
46452         (__mul): Likewise.
46453         (__inv): Likewise.
46454         (__dvd): Likewise.
46456 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
46458         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
46459         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
46460         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
46461         2 && __USE_EXTERN_INLINES]: Likewise.
46463 2013-01-08  Andreas Jaeger  <aj@suse.de>
46465         [BZ# 14985]
46466         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
46467         Remove.
46468         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
46469         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
46471 2013-01-07  Anton Blanchard  <anton@samba.org>
46473         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
46474         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
46475         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
46476         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
46477         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
46478         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46479         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
46480         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
46481         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
46482         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46483         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46484         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46485         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46486         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46487         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
46488         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46489         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46490         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46491         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
46492         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
46493         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
46494         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
46495         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46496         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
46497         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
46498         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
46499         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46500         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
46501         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
46502         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46503         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
46504         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46505         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46506         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46507         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46508         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46509         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46510         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
46511         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
46512         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
46513         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
46514         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46515         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46517 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
46519         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
46520         (__MALLOC_PMT): Likewise.
46521         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
46522         [__GNUC__], only on [_LIBC].
46523         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
46524         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
46525         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
46526         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
46527         forward declaration.
46528         (realloc_hook_ini): Likewise.
46529         (memalign_hook_ini): Likewise.
46530         (__libc_memalign): Do not use __MALLOC_PMT in variable
46531         declaration.
46532         (__libc_valloc): Likewise.
46533         (__libc_pvalloc): Likewise.
46534         (__libc_calloc): Likewise.
46535         (__posix_memalign): Likewise.
46537         [BZ #14996]
46538         * math/s_casinh.c: Include <float.h>.
46539         (__casinh): Do not do computation with squaring and square root
46540         for large arguments.
46541         * math/s_casinhf.c: Include <float.h>.
46542         (__casinhf): Do not do computation with squaring and square root
46543         for large arguments.
46544         * math/s_casinhl.c: Include <float.h>.
46545         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
46546         (__casinhl): Do not do computation with squaring and square root
46547         for large arguments.
46548         * math/libm-test.inc (casin_test): Add more tests.
46549         (casinh_test): Likewise.
46550         * sysdeps/i386/fpu/libm-test-ulps: Update.
46551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46553 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
46555         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
46556         (__x86_64_raw_data_cache_size): Likewise.
46557         (__x86_64_data_cache_size_half): Likewise.
46558         (__x86_64_raw_data_cache_size_half): Likewise.
46559         (__x86_64_shared_cache_size): Likewise.
46560         (__x86_64_raw_shared_cache_size): Likewise.
46561         (__x86_64_shared_cache_size_half): Likewise.
46562         (__x86_64_raw_shared_cache_size_half): Likewise.
46563         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
46564         to ...
46565         (__x86_data_cache_size): This.
46566         (__x86_64_raw_data_cache_size): Renamed to ...
46567         (__x86_raw_data_cache_size): This.
46568         (__x86_64_data_cache_size_half): Renamed to ...
46569         (__x86_data_cache_size_half): This.
46570         (__x86_64_raw_data_cache_size_half): Renamed to ...
46571         (__x86_raw_data_cache_size_half): This.
46572         (__x86_64_shared_cache_size): Renamed to ...
46573         (__x86_shared_cache_size): This.
46574         (__x86_64_raw_shared_cache_size): Renamed to ...
46575         (__x86_raw_shared_cache_size): This.
46576         (__x86_64_shared_cache_size_half): Renamed to ...
46577         (__x86_shared_cache_size_half): This.
46578         (__x86_64_raw_shared_cache_size_half): Renamed to ...
46579         (__x86_raw_shared_cache_size_half): This.
46580         * sysdeps/x86_64/memcpy.S: Updated.
46581         * sysdeps/x86_64/memset.S: Likewise.
46582         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
46583         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46584         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46586 2013-01-04  David S. Miller  <davem@davemloft.net>
46588         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46590 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
46592         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
46593         1 to avoid redefinition warning.
46594         (__USE_GNU): Don't define.
46595         (init_signaling_nan): Protoize.
46597         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46599 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46601         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
46602         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
46603         (__cpymn): Likewise.
46604         (norm): Remove commented code.
46605         (denorm): Likewise.
46606         (__mp_dbl): Likewise.
46607         (__inv): Likewise.
46608         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
46609         (__cpymn): Likewise.
46610         (norm): Remove commented code.
46611         (denorm): Likewise.
46612         (__mp_dbl): Likewise.
46613         (__inv): Likewise.
46615         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
46616         mp_no value for 1.0 and 2.0.
46617         (norm): Use RADIXI instead of radixi.d.
46618         (denorm): Likewise.
46619         (__mul): Use 0.0 instead of zero.d.
46620         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
46621         mp_no value for 1.0 and 2.0.
46622         (norm): Use RADIXI instead of radixi.d.
46623         (denorm): Likewise.
46624         (__mul): Use 0.0 instead of zero.d.
46626 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
46628         [BZ #14994]
46629         * math/s_casinh.c (__casinh): Reduce finite argument to first
46630         quadrant then set signs of results at the end.
46631         * math/s_casinhf.c (__casinhf): Likewise.
46632         * math/s_casinhl.c (__casinhl): Likewise.
46633         * math/libm-test.inc (casin_test): Add more tests.
46634         (casinh_test): Likewise.
46635         * sysdeps/i386/fpu/libm-test-ulps: Update.
46636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46638 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46640         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
46642         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
46644         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
46645         declarations.
46646         (denorm): Likewise.
46647         (__mp_dbl): Likewise.
46648         (__inv): Likewise.
46650         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
46651         and adjust the header comment.
46653         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
46654         variable name from declaration.
46656 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
46658         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46659         Initialize COMMON_CPUID_INDEX_7 element.
46660         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
46661         (CPUID_RTM): Likewise.
46662         (HAS_RTM): Likewise.
46663         (COMMON_CPUID_INDEX_7): New enum.
46665 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
46667         [BZ #14981]
46668         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
46669         size is zero, record memory as freed.
46671 2013-01-03  Andreas Jaeger  <aj@suse.de>
46673         * po/ia.po: Add new Interlingua translation.
46675 2012-01-03  Allan McRae  <allan@archlinux.org>
46677         * locale/programs/localedef.c: Fix description of '--posix' flag.
46679 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
46681         * NEWS: Update dates in second copyright notice.
46682         * README: Update copyright dates in example.
46683         * manual/libc.texinfo: Update copyright dates.
46684         * scripts/test-installation.pl: Update copyright date in --version
46685         output.
46687         * hurd/ctty-input.c: Fix copyright notice formatting.
46688         * hurd/ctty-output.c: Likewise.
46689         * hurd/dtable.c: Likewise.
46690         * hurd/hurd-raise.c: Likewise.
46691         * hurd/hurdprio.c: Likewise.
46692         * hurd/msgportdemux.c: Likewise.
46693         * misc/sys/file.h: Likewise.
46694         * misc/sys/ioctl.h: Likewise.
46695         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
46696         * sysdeps/mach/hurd/chdir.c: Likewise.
46697         * sysdeps/mach/hurd/fchdir.c: Likewise.
46698         * sysdeps/mach/hurd/rename.c: Likewise.
46699         * sysdeps/mach/hurd/rmdir.c: Likewise.
46700         * sysdeps/mach/hurd/seekdir.c: Likewise.
46701         * sysdeps/mach/hurd/setsid.c: Likewise.
46702         * sysdeps/posix/wait3.c: Likewise.
46704         * All files with FSF copyright notices: Update copyright dates
46705         using scripts/update-copyrights.
46706         * intl/plural.c: Regenerated.
46707         * locale/programs/charmap-kw.h: Likewise.
46708         * locale/programs/locfile-kw.h: Likewise.
46710 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46712         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
46713         four values.
46715         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
46716         calculation loop and add branch prediction.
46718         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
46719         check access beyond bounds of m1np.
46721         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
46722         MPTWO.
46723         (__inv): Remove local variable MPTWO to use the global
46724         constant.
46725         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
46726         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
46727         variable MPTWO.
46728         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
46729         MP3HALFS static const.
46731 2013-01-01  David S. Miller  <davem@davemloft.net>
46733         * po/ca.po: Update from translation team.
46735 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
46737         * scripts/update-copyrights: New file.
46738         * Makeconfig: Reformat copyright notice.
46739         * ctype/ctype.h: Likewise.
46740         * debug/swprintf_chk.c: Likewise.
46741         * elf/dl-cache.c: Likewise.
46742         * elf/dl-debug.c: Likewise.
46743         * elf/dl-object.c: Likewise.
46744         * grp/initgroups.c: Likewise.
46745         * hurd/Makefile: Likewise.
46746         * hurd/hurd/signal.h: Likewise.
46747         * hurd/hurdfault.c: Likewise.
46748         * hurd/hurdioctl.c: Likewise.
46749         * hurd/hurdlookup.c: Likewise.
46750         * hurd/intr-msg.c: Likewise.
46751         * iconv/gconv_open.c: Likewise.
46752         * libio/swprintf.c: Likewise.
46753         * locale/lc-ctype.c: Likewise.
46754         * locale/nl_langinfo.c: Likewise.
46755         * mach/Machrules: Likewise.
46756         * mach/Makefile: Likewise.
46757         * malloc/obstack.h: Likewise.
46758         * manual/Makefile: Likewise.
46759         * manual/tsort.awk: Likewise.
46760         * misc/bits/stab.def: Likewise.
46761         * nis/nis_print_group_entry.c: Likewise.
46762         * nis/nis_table.c: Likewise.
46763         * nis/nss_compat/compat-pwd.c: Likewise.
46764         * nis/nss_compat/compat-spwd.c: Likewise.
46765         * po/Makefile: Likewise.
46766         * posix/fnmatch.c: Likewise.
46767         * posix/regex.h: Likewise.
46768         * resolv/Makefile: Likewise.
46769         * resolv/nss_dns/dns-network.c: Likewise.
46770         * resolv/res_hconf.c: Likewise.
46771         * scripts/gen-sorted.awk: Likewise.
46772         * soft-fp/soft-fp.h: Likewise.
46773         * stdio-common/printf.h: Likewise.
46774         * stdlib/monetary.h: Likewise.
46775         * stdlib/random.c: Likewise.
46776         * stdlib/random_r.c: Likewise.
46777         * sysdeps/generic/Makefile: Likewise.
46778         * sysdeps/gnu/Makefile: Likewise.
46779         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46780         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46781         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46782         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46783         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46784         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46785         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46786         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46787         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46788         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46789         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46790         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46791         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46792         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46793         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
46794         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46795         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46796         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46797         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46798         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46799         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46800         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46801         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46802         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
46803         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
46804         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46805         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
46806         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
46807         * sysdeps/mach/hurd/errnos.awk: Likewise.
46808         * sysdeps/mach/hurd/fork.c: Likewise.
46809         * sysdeps/mach/hurd/getcwd.c: Likewise.
46810         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
46811         * sysdeps/mach/hurd/mmap.c: Likewise.
46812         * sysdeps/mach/hurd/utimes.c: Likewise.
46813         * sysdeps/mach/hurd/xmknod.c: Likewise.
46814         * sysdeps/posix/profil.c: Likewise.
46815         * sysdeps/posix/readdir_r.c: Likewise.
46816         * sysdeps/powerpc/bits/mathdef.h: Likewise.
46817         * sysdeps/powerpc/bits/setjmp.h: Likewise.
46818         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
46819         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
46820         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
46821         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46822         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46823         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46824         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46825         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46826         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46827         * sysdeps/pthread/lio_listio.c: Likewise.
46828         * sysdeps/sparc/dl-procinfo.h: Likewise.
46829         * sysdeps/unix/i386/sysdep.S: Likewise.
46830         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
46831         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
46832         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
46833         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
46834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46835         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
46836         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
46837         * sysdeps/unix/sysv/linux/speed.c: Likewise.
46838         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
46839         * sysdeps/wordsize-32/divdi3.c: Likewise.
46840         * time/sys/time.h: Likewise.
46841         * wcsmbs/Makefile: Likewise.
46843 2013-01-01  David S. Miller  <davem@davemloft.net>
46845         * po/fr.po: Update from translation team.
46847         * catgets/gencat.c: Update copyright year.
46848         * csu/version.c: Likewise.
46849         * debug/catchsegv.sh: Likewise.
46850         * debug/pcprofiledump.c: Likewise.
46851         * debug/xtrace.sh: Likewise.
46852         * elf/ldconfig.c: Likewise.
46853         * elf/ldd.bash.in: Likewise.
46854         * elf/pldd.c: Likewise.
46855         * elf/sotruss.ksh: Likewise.
46856         * elf/sprof.c: Likewise.
46857         * iconv/iconv_prog.c: Likewise.
46858         * iconv/iconvconfig.c: Likewise.
46859         * locale/programs/locale.c: Likewise.
46860         * locale/programs/localedef.c: Likewise.
46861         * login/programs/pt_chown.c: Likewise.
46862         * malloc/memusage.sh: Likewise.
46863         * malloc/memusagestat.c: Likewise.
46864         * malloc/mtrace.pl: Likewise.
46865         * nscd/nscd.c: Likewise.
46866         * nss/getent.c: Likewise.
46867         * nss/makedb.c: Likewise.
46868         * posix/getconf.c: Likewise.
46870 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
46872         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
46873         numbers.
46875 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
46877         * math/bits/mathcalls.h (modf): Use __nonnull.
46879 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46881         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
46882         (split): Use macro CN instead of the bare value.
46883         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
46884         could be used.
46885         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
46886         instead of the bare value.
46887         (power1): Likewise.
46889 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46891         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
46892         __ATAN_TWOM.
46893         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46895         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
46896         their values.
46897         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
46898         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
46899         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
46900         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
46902 2012-12-28  Andreas Jaeger  <aj@suse.de>
46904         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
46905         values are from Linux 3.7.
46907         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
46908         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
46910 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46912         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
46913         TRUE case.
46915         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
46916         (norm): Likewise.
46917         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
46918         variables with preprocessor constants.
46919         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46920         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46921         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46923 2012-12-27  Bruno Haible  <bruno@clisp.org>
46925         [BZ #14317]
46926         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
46927         only if needed.
46929 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46931         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
46932         and use variable directly.
46933         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
46935         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
46936         MPONE.
46937         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
46938         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
46939         variable MPONE.
46940         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
46941         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
46942         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
46943         include directive.  Remove local variable MPONE.
46944         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
46945         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
46946         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46948 2012-12-25  David S. Miller  <davem@davemloft.net>
46950         * version.h (RELEASE): Set to "development".
46951         (VERSION): Set to "2.17.90".
46952         * NEWS: Add 2.18 section.
46954 2012-12-21  David S. Miller  <davem@davemloft.net>
46956         * po/hr.po: Update from translation team.
46958 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46960         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
46962 2012-12-19  Steve Ellcey  <sellcey@mips.com>
46964         * NEWS:  Mention new memcpy for MIPS.
46966 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46968         * manual/contrib.texi (Contributors): Spelling correction.
46970 2012-12-15  David S. Miller  <davem@davemloft.net>
46972         * po/ru.po: Update from translation team.
46974 2012-12-13  David S. Miller  <davem@davemloft.net>
46976         * NEWS: Mention IFUNC testsuite enhancements.
46978         * po/pl.po: Update from translation team.
46979         * po/bg.po: Likewise.
46981         * manual/contrib.texi (Contributors): Update entries for Hongjiu
46982         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
46984 2012-12-11  David S. Miller  <davem@davemloft.net>
46986         * po/sv.po: Update from translation team.
46988         * po/vi.po: Update from translation team.
46990         * po/cs.po: Update from translation team.
46992         * po/de.po: Update from translation team.
46993         * po/eo.po: Likewise.
46994         * po/nl.po: Likewise.
46996 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46998         [BZ #14246]
46999         * manual/argp.texi (Argp Helper Functions): Move node to follow
47000         Argp Parsing State.
47002         [BZ #14872]
47003         * manual/conf.texi (Limits on File System Capacity): Mention if
47004         terminating null is included in the max size.
47006 2012-12-10  Andreas Jaeger  <aj@suse.de>
47008         * po/cs.po: Update from translation team.
47010 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47012         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
47013         void pointer and cast to uintptr_t.
47014         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
47015         path.
47016         * sysdeps/s390/s390-64/memcpy.S: Likewise.
47017         * sysdeps/s390/s390-64/memset.S: Likewise.
47019 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
47021         [BZ #14833]
47022         * menual/message.texi (Message Translation): Fix typos.
47023         (Helper programs for gettext): Likewise.
47025 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
47027         [BZ #14898]
47028         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
47029         Change to -1.
47031 2012-12-07  David S. Miller  <davem@davemloft.net>
47033         * po/libc.pot: Update.
47035 2012-12-07  Richard Henderson  <rth@redhat.com>
47037         [BZ #10114]
47038         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
47039         normal/normal case to before the switch.
47040         (_FP_DIV): Likewise.
47042 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
47043             Mike Frysinger  <vapier@gentoo.org>
47045         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
47046         check for __NR_fadvise64_64.
47048 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
47050         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
47051         0, not just to plain "0" as a statement.
47052         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
47053         with cw.
47055 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
47057         * NEWS: Use sourceware.org in Bugzilla URL.
47059 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
47062         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
47064         * stdio-common/tst-put-error.c (do_test): Add newline to the
47065         padded test to ensure flush.
47067 2012-12-05  Jeff Law  <law@redhat.com>
47069         * sunrpc/etc.rpc (fedfs_admin): Add entry.
47071 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
47073         * README: Don't refer to ports add-on as distributed separately.
47074         Mention AArch64 in list of systems supported in the ports add-on.
47076         * LICENSES: Add more non-FSF copyright and license notices.
47078         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
47079         ((unused)).
47081         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
47083         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
47084         10000 as width of padded output.
47086 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
47088         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
47090         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
47091         variable LX with __attribute__ ((unused)).
47092         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
47093         Likewise.
47094         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
47095         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47096         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
47097         with __attribute__ ((unused)).
47099 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
47101         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
47103 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
47105         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
47106         (CFLAGS-nldbl-acos.c): New variable.
47107         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
47108         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
47109         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
47110         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
47111         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
47112         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
47113         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
47114         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
47115         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
47116         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
47117         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
47118         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
47119         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
47120         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
47121         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
47122         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
47123         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
47124         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
47125         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
47126         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
47127         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
47128         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
47129         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
47130         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
47131         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
47132         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
47133         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
47134         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
47135         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
47136         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
47137         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
47138         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
47139         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
47140         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
47141         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
47142         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
47143         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
47144         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
47145         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
47146         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
47147         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
47148         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
47149         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
47150         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
47151         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
47152         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
47153         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
47154         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
47155         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
47156         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
47157         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
47158         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
47159         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
47160         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
47161         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
47162         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
47163         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
47164         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
47165         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
47166         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
47167         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
47168         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
47169         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
47170         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
47171         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
47172         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
47173         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
47174         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
47175         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
47176         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
47177         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
47178         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
47179         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
47180         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
47181         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
47182         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
47183         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
47184         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
47185         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
47186         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
47187         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
47188         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
47189         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
47190         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
47191         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
47192         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
47193         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
47194         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
47195         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
47196         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
47197         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
47198         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
47199         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
47200         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
47201         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
47202         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
47203         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
47205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
47206         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
47208         [BZ #14914]
47209         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
47210         whole low double instead of just low 47 bits when splitting values
47211         into two parts.
47213 2012-12-03  Allan McRae  <allan@archlinux.org>
47215         * manual/stdio.texi (Predefined Printf Handlers): Remove
47216         @hsep and @vsep usage.
47218 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
47220         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
47221         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
47223 2012-12-03  Jeff Law  <law@redhat.com>
47225         * time/sys/time.h (settimeofday): Do not mark TV argument
47226         as __nonnull.
47228 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
47230         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
47231         when currently writing and seek to current position when not.
47232         * libio/Makefile (tests): Remove bug-fclose1.
47233         * libio/bug-fclose1.c: Delete.
47235 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
47237         * manual/arith.texi (feenableexcept): Fix typo.
47238         (fedisableexcept): Likewise.
47240 2012-11-30  Roland McGrath  <roland@hack.frob.com>
47242         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
47243         second, differently-typed declaration, rather than a cast.
47245 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47247         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
47248         * include/rpc/svc.h: ... here.
47250 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
47252         [BZ #13013]
47253         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
47254         depending n and resplen2 to catch cases where answer
47255         equals answerp2.
47257 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
47259         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
47260         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
47262 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
47264         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
47266 2012-11-29  Roland McGrath  <roland@hack.frob.com>
47268         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
47270 2012-11-28  Jeff Law  <law@redhat.com>
47272         [BZ #13761]
47273         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
47274         dataset_temporary.  Track alloca usage into alloca_used.
47275         If dataset is large allocate and release it via malloc/free.
47277 2012-06-04  Florian Weimer  <fweimer@redhat.com>
47279         [BZ #14197]
47280         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
47282 2012-11-28  David S. Miller  <davem@davemloft.net>
47284         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47286 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
47288         [BZ #14803]
47289         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
47290         of pi/2 rounded to nearest to 64 bits.
47291         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
47292         nearest to 64 bits.
47293         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
47294         bits.
47296 2012-11-28  Jeff Law <law@redhat.com>
47297             Martin Osvald <mosvald@redhat.com>
47299         [BZ #14889]
47300         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
47301         * sunrpc/svc.c: Include time.h.
47302         (__svc_accept_failed): New function.
47303         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
47304         any reason other than EINTR, call __svc_accept_failed.
47305         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
47306         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
47308 2012-11-28  Andreas Schwab  <schwab@suse.de>
47310         * scripts/abilist.awk: Also handle indirect functions in .opd
47311         section.
47313 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
47315         [BZ #13881]
47316         * sysdeps/x86/fpu/powl_helper.c: New file.
47317         * sysdeps/x86/fpu/Makefile: Likewise.
47318         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
47319         (p3): New object.
47320         (__ieee754_powl): Use __powl_helper for finite arguments except
47321         integer exponents below 8.
47322         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
47323         (p3): New object.
47324         (__ieee754_powl): Use __powl_helper for finite arguments except
47325         integer exponents below 8.
47326         * math/libm-test.inc (pow_test): Add more tests and enable some
47327         previously disabled tests.
47328         * sysdeps/i386/fpu/libm-test-ulps: Update.
47329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47331 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47332             Carlos O'Donell  <carlos_odonell@mentor.com>
47334         * nss/makedb.c (is_prime): Assert that input is odd and greater
47335         than 4.  Note that fact in a comment too.
47336         (next_prime): Add 4 to input.
47338 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47340         [BZ #11741]
47341         * libio/Makefile (tests): Add test case tst-fwrite-error.
47342         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
47343         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
47344         * libio/tst-fwrite-error.c: New test case.
47346 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
47348         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
47349         before casting to void *.
47350         * include/libc-internal.h (__pointer_type): New macro.
47351         (__integer_if_pointer_type_sub): Likewise.
47352         (__integer_if_pointer_type): Likewise.
47353         (cast_to_integer): Likewise.
47354         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
47355         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
47356         before casting to atomic64_t.
47357         (atomic_exchange_acq): Likewise.
47358         (__arch_exchange_and_add_body): Likewise.
47359         (__arch_add_body): Likewise.
47360         (atomic_add_negative): Likewise.
47361         (atomic_add_zero): Likewise.
47363 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
47365         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
47366         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
47367         (add_fdes): Likewise.
47368         (linear_search_fdes): Likewise.
47369         (binary_search_unencoded_fdes): Likewise.
47371 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
47373         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
47375 2012-11-24  Adam Conrad  <adconrad@0c3.net>
47377         * configure.in: Autodetect C++ header directories.
47378         * configure: Regenerated.
47380 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
47382         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
47384 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
47386         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47388 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
47390         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
47391         LDBL_MANT_DIG == 106]: Disable some tests.
47392         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
47393         Likewise.
47394         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
47395         Likewise.
47397         [BZ #14871]
47398         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
47399         input for small inputs.  Return +/- pi/2 for large inputs.
47400         * math/libm-test.inc (atan_test): Add more tests.
47402         * sysdeps/generic/unwind-dw2-fde-glibc.c
47403         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
47404         __attribute__ ((unused)).
47406         [BZ #14645]
47407         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
47408         x * y if x and y are nonzero and z is zero.
47410         [BZ #14811]
47411         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
47412         nonzero exponents with absolute value below 0x1p-117 to +/-
47413         0x1p-117.
47415         [BZ #14869]
47416         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
47417         up arguments below 2**-450, not just those below 2**-500.
47418         * math/libm-test.inc (hypot_test): Add another test.
47420         [BZ #14868]
47421         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
47422         Return a+b for ratio over 2**120, not 2**60.
47423         * math/libm-test.inc (hypot_test): Add another test.
47425         * math/libm-test.inc (clog_test): Use
47426         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
47427         (clog10_test): Likewise.
47429         [BZ #6778]
47430         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
47432 2012-11-22  Andreas Schwab  <schwab@suse.de>
47434         * sysdeps/i386/fpu/libm-test-ulps: Update.
47436 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
47438         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
47439         printf output with newline.
47441 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
47443         [BZ #14865]
47444         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
47445         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
47446         -z nodlopen, -z initfirst and -z execstack support.
47447         * configure: Regenerated.
47449         * elf/elf.h (DF_1_NODIRECT): New macro.
47450         (DF_1_IGNMULDEF): Likewise.
47451         (DF_1_NOKSYMS): Likewise.
47452         (DF_1_NOHDR): Likewise.
47453         (DF_1_EDITED): Likewise.
47454         (DF_1_NORELOC): Likewise.
47455         (DF_1_SYMINTPOSE): Likewise.
47456         (DF_1_GLOBAUDIT): Likewise.
47457         (DF_1_SINGLETON): Likewise.
47458         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
47459         DT_1_SUPPORTED_MASK bits.
47460         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
47462 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
47464         * sysdeps/unix/make-syscalls.sh: Document prefixes.
47466 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
47468         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
47469         macro.
47471         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
47472         (sendmmsg): Move declarations...
47473         * socket/sys/socket.h: ... here.
47474         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
47475         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
47476         include it from...
47477         * socket/recvmmsg.c: ... this new file.
47478         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
47479         (sendmmsg): Rename to __sendmmsg, create weak alias and make
47480         definition of __sendmmsg hidden.
47481         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
47482         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
47483         Move ENOSYS stub into and include it from...
47484         * socket/sendmmsg.c: ... this new file.
47485         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
47486         (sysdep_routines): Move recvmmsg and sendmmsg...
47487         * socket/Makefile (routines): ... here.
47488         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
47489         (GLIBC_PRIVATE): Add __sendmmsg.
47490         * include/sys/socket.h (__sendmmsg): Add declarations.
47491         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
47492         sendmmsg.
47494 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
47496         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
47497         variable I1 with __attribute__ ((unused)).
47498         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47500 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
47502         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
47503         DUMMY variables with __attribute__ ((unused)).
47505         * bits/byteswap.h: Include <bits/types.h>.
47506         (__bswap_64): Use __uint64_t instead of unsigned long long int.
47508 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
47510         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
47511         string_t.  Do not manually set errno.
47512         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
47513         length with __strnlen.  Make sure to both set errno and return it on
47514         failure.
47516 2012-11-19  David S. Miller  <davem@davemloft.net>
47518         With help from Joseph Myers.
47519         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
47520         very large arguments properly.
47521         * math/libm-test.inc (atan_test): New tests.
47522         (atan2_test): New tests.
47523         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47524         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47526 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
47528         [BZ #14856]
47529         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
47530         Define to 3.
47532         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
47533         [POSIX] (EADDRNOTAVAIL): Likewise.
47534         [POSIX] (EAFNOSUPPORT): Likewise.
47535         [POSIX] (EALREADY): Likewise.
47536         [POSIX] (ECONNABORTED): Likewise.
47537         [POSIX] (ECONNREFUSED): Likewise.
47538         [POSIX] (ECONNRESET): Likewise.
47539         [POSIX] (EDESTADDRREQ): Likewise.
47540         [POSIX] (EDQUOT): Likewise.
47541         [POSIX] (EHOSTUNREACH): Likewise.
47542         [POSIX] (EIDRM): Likewise.
47543         [POSIX] (EISCONN): Likewise.
47544         [POSIX] (ELOOP): Likewise.
47545         [POSIX] (EMULTIHOP): Likewise.
47546         [POSIX] (ENETDOWN): Likewise.
47547         [POSIX] (ENETUNREACH): Likewise.
47548         [POSIX] (ENOBUFS): Likewise.
47549         [POSIX] (ENODATA): Likewise.
47550         [POSIX] (ENOLINK): Likewise.
47551         [POSIX] (ENOMSG): Likewise.
47552         [POSIX] (ENOPROTOOPT): Likewise.
47553         [POSIX] (ENOSR): Likewise.
47554         [POSIX] (ENOSTR): Likewise.
47555         [POSIX] (ENOTCONN): Likewise.
47556         [POSIX] (ENOTSOCK): Likewise.
47557         [POSIX] (EOPNOTSUPP): Likewise.
47558         [POSIX] (EOVERFLOW): Likewise.
47559         [POSIX] (EPROTO): Likewise.
47560         [POSIX] (EPROTONOSUPPORT): Likewise.
47561         [POSIX] (EPROTOTYPE): Likewise.
47562         [POSIX] (ESTALE): Likewise.
47563         [POSIX] (ETIME): Likewise.
47564         [POSIX] (ETXTBSY): Likewise.
47565         [POSIX] (EWOULDBLOCK): Likewise.
47566         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
47567         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
47568         [POSIX] (SEEK_CUR): Likewise.
47569         [POSIX] (SEEK_END): Likewise.
47570         [POSIX || UNIX98] (mode_t): Do not require.
47571         [POSIX] (off_t): Likewise.
47572         [POSIX] (pid_t): Likewise.
47573         [POSIX] (sys/stat.h): Do not allow header.
47574         [POSIX] (unistd.h): Likewise.
47575         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
47576         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
47577         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
47578         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
47579         require.
47580         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
47581         sigevent): Specify elements.
47582         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
47583         entry.
47584         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
47585         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
47587         * conform/data/cpio.h-data [POSIX]: Disable whole file.
47588         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
47589         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
47590         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
47591         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
47592         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
47593         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
47594         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
47595         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
47596         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
47597         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
47598         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
47599         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
47600         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
47601         Likewise.
47602         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
47603         Likewise.
47604         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
47605         Likewise.
47606         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
47607         Likewise.
47608         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
47609         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
47610         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
47611         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
47612         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
47613         Specify lower bound on value.
47614         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
47615         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
47616         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
47617         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
47618         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
47619         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
47620         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
47621         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
47622         value.
47623         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
47624         as optional.
47625         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
47626         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
47627         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
47628         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
47629         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
47630         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
47631         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
47632         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
47633         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
47634         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
47635         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
47636         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
47637         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
47638         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
47639         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
47640         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
47641         entry.
47642         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
47643         optional.
47644         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
47645         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
47646         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
47647         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
47648         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
47649         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
47650         Likewise.
47651         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
47652         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
47653         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
47654         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
47655         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
47656         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
47657         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
47658         as optional.
47659         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
47660         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
47661         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
47662         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
47663         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
47664         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
47665         specify as optional.
47666         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
47667         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
47668         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
47669         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
47670         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
47671         [XPG3] (NL_LANGMAX): Likewise.
47672         [POSIX || XPG3] (NL_MSGMAX): Likewise.
47673         [POSIX || XPG3] (NL_NMAX): Likewise.
47674         [POSIX || XPG3] (NL_SETMAX): Likewise.
47675         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
47676         [XPG3] (NZERO): Likewise.
47677         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
47678         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
47679         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
47680         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
47681         (REG_ERANGE): Expect.
47682         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
47683         optional-constant.
47684         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
47685         Use (void) in prototype.
47686         [POSIX] (*_t): Allow.
47687         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
47688         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
47689         (WRDE_BADVAL): Expect.
47691         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
47692         expect.
47693         [XPG3 || XPG4] (O_RSYNC): Likewise.
47694         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
47695         Likewise.
47696         [XPG3 || XPG4] (pthread_sigmask): Likewise.
47697         [XPG3 || XPG4] (sigqueue): Likewise.
47698         [XPG3 || XPG4] (sigtimedwait): Likewise.
47699         [XPG3 || XPG4] (sigwaitinfo): Likewise.
47700         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
47701         [XPG3 || XPG4] (vsnprintf): Likewise.
47702         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
47703         Likewise.
47704         [XPG3 || XPG4] (blksize_t): Likewise.
47705         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
47706         Likewise.
47707         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
47708         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
47709         [XPG3 || XPG4] (struct itimerspec): Likewise.
47710         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
47711         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
47712         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
47713         [XPG3 || XPG4] (clockid_t): Likewise.
47714         [XPG3 || XPG4] (timer_t): Likewise.
47715         [XPG3 || XPG4] (clock_getres): Likewise.
47716         [XPG3 || XPG4] (clock_gettime): Likewise.
47717         [XPG3 || XPG4] (clock_settime): Likewise.
47718         [XPG3 || XPG4] (nanosleep): Likewise.
47719         [XPG3 || XPG4] (timer_create): Likewise.
47720         [XPG3 || XPG4] (timer_delete): Likewise.
47721         [XPG3 || XPG4] (timer_gettime): Likewise.
47722         [XPG3 || XPG4] (timer_getoverrun): Likewise.
47723         [XPG3 || XPG4] (timer_settime): Likewise.
47724         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
47725         [XPG3 || XPG4] (getlogin_r): Likewise.
47726         [XPG3 || XPG4] (pread): Likewise.
47727         [XPG3 || XPG4] (pthread_atfork): Likewise.
47728         [XPG3 || XPG4] (pwrite): Likewise.
47730         [BZ #14835]
47731         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
47732         <bits/siginfo.h>.
47734 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
47736         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
47737         finalizing MALLSTREAM.
47739         * sysdeps/mach/hurd/syncfs.c: New file.
47741 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47743         [BZ #14719]
47744         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
47745         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
47746         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
47747         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
47748         (_nss_dns_gethostbyname4_r): Likewise.
47749         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
47750         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
47752 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
47754         [BZ #13763]
47755         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
47757 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
47759         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
47760         * elf/cache.c (print_entry): Print ",AArch64" for
47761         FLAG_AARCH64_LIB64
47763         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
47764         * elf/cache.c (print_entry): Print ",hard-float" for
47765         FLAG_ARM_LIBHF.
47767 2012-11-18  David S. Miller  <davem@davemloft.net>
47769         With help from Joseph Myers.
47770         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
47771         cutoff to 2**-13.
47772         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
47773         cutoff to 2**-25.
47774         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
47775         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
47776         small.
47777         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
47778         * math/libm-test.inc (y0_test): New tests.
47779         (y1_test): New tests.
47780         * sysdeps/i386/fpu/libm-test-ulps: Update.
47781         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47782         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47784 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
47786         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
47787         64-bit targets.
47788         * configure: Regenerated.
47790 2012-11-17  David S. Miller  <davem@davemloft.net>
47792         [BZ #14811]
47793         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
47794         nonzero exponents with absolute value below 0x1p-128 to +/-
47795         0x1p-128.
47797 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
47799         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
47801         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
47803         * posix/getconf-speclist.c: New file.
47804         * posix/posix-envs.def: Likewise.
47805         * posix/confstr.c (START_ENV_GROUP): New macro.
47806         (END_ENV_GROUP): Likewise.
47807         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
47808         (KNOWN_PRESENT_ENV_STRING): Likewise.
47809         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
47810         (UNKNOWN_ENVIRONMENT): Likewise.
47811         (confstr): Include posix-envs.def instead of handling
47812         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
47813         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
47814         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
47815         (END_ENV_GROUP): Likewise.
47816         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
47817         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
47818         (UNKNOWN_ENVIRONMENT): Likewise.
47819         (__sysconf): Include posix-envs.def instead of handling associated
47820         cases directly here.
47821         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
47822         preprocessing getconf-speclist.c rather than running getconf or
47823         generating empty file.
47825 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
47827         * scripts/check-local-headers.sh: Ignore 'mach' headers.
47829 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
47831         [BZ #14672]
47832         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
47834 2012-11-16  David S. Miller  <davem@davemloft.net>
47836         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
47837         smaller than LDBL_EPSILON/2.0L, just return xm1.
47839 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
47841         * elf/tst-array1.c (init): Set constructor priority to 1000.
47842         (fini): Set destructor priority to 1000.
47843         * elf/tst-array2dep.c: Likewise.
47845 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47847         [BZ #11741]
47848         * libio/fileops.c (_IO_new_file_write): Correctly return error.
47849         (_IO_new_file_xsputn): Also return EOF if none of the input
47850         data was written when overflow failed.
47851         * libio/iopadn.c (_IO_padn): Likewise.
47852         * libio/iowpadn.c (_IO_wpadn): Likewise.
47853         * stdio-common/tst-put-error.c: Add copyright notice.
47854         (do_test): Add case for printing padded string.
47855         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
47856         _IO_padn returned error.
47857         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
47858         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
47859         return EOF.
47861 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47863         * libio/libioP.h: Add comment note that the references to C++
47864         bits are now obsolete.
47866 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47868         * math/libm-test.inc (check_complex): Use asprintf.
47870 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
47872         * debug/pcprofiledump.c (print_version): Update copyright year.
47873         * malloc/memusagestat.c (print_version): Likewise.
47875 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
47877         [BZ #14831]
47878         * elf/Makefile (tests): Add tst-audit8.
47879         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
47880         ($(objpfx)tst-audit8.out): New target.
47881         (tst-audit8-ENV): New variable.
47882         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
47883         audit if l_reloc_result is NULL.
47884         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
47885         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
47886         * elf/tst-audit8.c: New file.
47888 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47890         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
47891         * misc/Makefile (CFLAGS-select.c): Define.
47892         * posix/Makefile (CFLAGS-pause.c): Define.
47894 2012-11-13  David S. Miller  <davem@davemloft.net>
47896         * crypt/Makefile: Move test targets after toplevel Rules
47897         inclusion.  Grab any necessary sysdep routines when linking.
47898         * crypt/md5.c (md5_process_block): Remove define, we will always
47899         name it __md5_process_block.
47900         (md5_finish_ctx): Update md5_process_block call.
47901         (md5_stream): Likewise.
47902         (md5_process_bytes): Likewise.
47903         (md5_process_block): Rename to __md5_process_block and move to ...
47904         * crypt/md5-block.c: ... here.
47905         * crypt/sha256.c (sha256_process_block): Move to ...
47906         * crypt/sha256-block.c: ... here.
47907         * crypt/sha512.c (sha512_process_block): Move to ...
47908         * crypt/sha512-block.c: ... here.
47909         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
47910         path.
47911         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
47912         * sysdeps/sparc/sparc64/multiarch/Makefile
47913         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
47914         crypt subdir.
47915         (localedef-aux): Add md5 crypto assembler when in locale subdir.
47916         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
47917         multiarch changes.
47918         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
47919         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
47920         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
47921         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
47922         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
47923         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
47924         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
47925         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
47926         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
47927         file.
47928         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
47929         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
47930         file.
47931         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
47933 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
47935         * timezone/tzselect.ksh: Update from tzcode git revision
47936         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
47937         * timezone/zdump.c: Likewise.
47938         * timezone/zic.c: Likewise.
47939         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
47940         in TZVERSION setting, not $(PKGVERSION).
47941         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
47942         REPORT_BUGS_TO settings.
47944         [BZ #14838]
47945         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
47946         macro.
47948 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47950         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
47951         detection to immediately after _FP_ROUND().
47952         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
47953         bits are 0.
47955 2012-11-11  David S. Miller  <davem@davemloft.net>
47957         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
47958         inttypes.h
47959         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
47960         __close rather than their public counterparts.
47962 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
47964         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
47965         file.
47966         [UNIX98] (sem_timedwait): Do not expect.
47967         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
47968         [XPG4 || UNIX98] (sockatmark): Do not expect.
47969         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
47970         (clock_getcpuclockid): Do not expect.
47971         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
47972         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
47973         Do not expect.
47974         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
47975         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
47976         [UNIX98] (vwscanf): Likewise.
47977         [UNIX98] (vswscanf): Likewise.
47979 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
47981         * timezone/version.h: Remove file.
47982         * timezone/README: Do not refer to version.h.
47983         * timezone/Makefile ($(objpfx)zic.o): New dependency on
47984         $(objpfx)version.h.
47985         ($(objpfx)zdump.o): Likewise.
47986         ($(objpfx)version.h): New target.
47988         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
47989         2012i.
47990         * timezone/README: Don't mention modification to tzselect.ksh.
47991         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
47992         work on unmodified tzselect.ksh.  Substitute version numbers in
47993         tzselect.ksh.
47995         * Makefile (format-me): Remove.
47996         (INSTALL): Adjust indentation.  Use commands directly instead of
47997         using $(format-me).
47999         * aclocal.m4 (ACX_PKGVERSION): New macro.
48000         (ACX_BUGURL): Likewise.
48001         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
48002         (PKGVERSION): New AC_DEFINE_UNQUOTED.
48003         (REPORT_BUGS_TO): Likewise.
48004         * configure: Regenerated.
48005         * config.h.in (PKGVERSION): New macro.
48006         (REPORT_BUGS_TO): Likewise.
48007         * config.make.in (PKGVERSION): New variable.
48008         (PKGVERSION_TEXI): Likewise.
48009         (REPORT_BUGS_TO): Likewise.
48010         (REPORT_BUGS_TEXI): Likewise.
48011         * Makefile (format-me): Use -I$(common-objpfx)manual.
48012         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
48013         ($(common-objpfx)manual/%): New target.
48014         (manual/%): Remove target.
48015         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
48016         (print_version): Use PKGVERSION.
48017         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
48018         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
48019         and REPORT_BUGS_TO.
48020         ($(objpfx)xtrace): Likewise.
48021         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
48022         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
48023         (print_version): Use PKGVERSION.
48024         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
48025         (do_version): Use PKGVERSION.
48026         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
48027         REPORT_BUGS_TO.
48028         (common-ldd-rewrite): Likewise.
48029         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
48030         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
48031         (print_version): Use PKGVERSION.
48032         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
48033         * elf/pldd.c (argp_program_bug_address): Remove variable.
48034         (more_help): New function.
48035         (argp): Use more_help.
48036         (print_version): Use PKGVERSION.
48037         * elf/sln.c (main): Use PKGVERSION.
48038         (usage): Use REPORT_BUGS_TO.
48039         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
48040         (top level): Use PKGVERSION.
48041         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
48042         (print_version): Use PKGVERSION.
48043         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
48044         (print_version): Use PKGVERSION.
48045         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
48046         (print_version): Use PKGVERSION.
48047         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
48048         (print_version): Use PKGVERSION.
48049         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
48050         (print_version): Use PKGVERSION.
48051         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
48052         (print_version): Use PKGVERSION.
48053         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
48054         and BUGURL.
48055         ($(objpfx)memusage): Likewise.
48056         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
48057         (do_version): Use PKGVERSION.
48058         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
48059         (print_version): Use PKGVERSION.
48060         * malloc/mtrace.pl ($PACKAGE): Remove variable.
48061         ($PKGVERSION): New variable.
48062         ($REPORT_BUGS_TO): Likewise.
48063         (usage): Use $REPORT_BUGS_TO.
48064         (top level): Use $PKGVERSION.
48065         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
48066         ($(objpfx)pkgvers.texi): New rule.
48067         ($(objpfx)stamp-pkgvers): Likewise.
48068         * manual/install.texi: Include pkgvers.texi.
48069         (--with-pkgversion): Document new configure option.
48070         (--with-bugurl): Likewise.
48071         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
48072         than necessarily for this particular distribution.  Use
48073         REPORT_BUGS_TO for where to report bugs.
48074         * INSTALL: Regenerated.
48075         * manual/libc.texinfo: Include pkgvers.texi.
48076         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
48077         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
48078         (print_version): Use PKGVERSION.
48079         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
48080         (print_version): Use PKGVERSION.
48081         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
48082         (print_version): Use PKGVERSION.
48083         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
48084         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
48085         macro.
48086         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
48087         (print_version): Use PKGVERSION.
48088         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
48089         (print_version): Use PKGVERSION.
48090         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
48091         and PKGVERSION.
48093         * timezone/checktab.awk: Update from tzcode 2012i.
48094         * timezone/ialloc.c: Likewise.
48095         * timezone/private.h: Likewise.
48096         * timezone/scheck.c: Likewise.
48097         * timezone/tzfile.h: Likewise.
48098         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
48099         (TZVERSION): Hardcode tzcode version number.
48100         * timezone/zdump.c: Update from tzcode 2012i.
48101         * timezone/zic.c: Likewise.
48102         * timezone/version.h: New file.
48103         * timezone/README: Describe version.h.  Update upstream location.
48105         [BZ #14824]
48106         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
48107         (mktemp): Enable declaration.
48108         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
48109         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
48110         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
48111         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
48112         Likewise.
48113         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
48114         Likewise.
48115         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
48116         Likewise.
48117         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
48118         Likewise.
48119         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
48120         Likewise.
48121         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
48122         Likewise.
48124         [BZ #14821]
48125         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
48126         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
48127         for copies of such integer values.
48128         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48129         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48131 2012-11-09  Andreas Jaeger  <aj@suse.de>
48133         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
48134         definitions and declarations that are provided by
48135         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
48137 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48139         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
48140         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
48141         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
48142         definition.
48144 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48146         * elf/elf.h: Update comment before AArch64 relocations.
48148 2012-11-07  David S. Miller  <davem@davemloft.net>
48150         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
48151         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48152         (__start_context): Declare.
48153         (__makecontext_ret): Delete.
48154         (__makecontext): Hook up __start_context instead of
48155         __makecontext_ret.
48156         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
48157         (sysdep_routines): Add __start_context when in stdlib.
48159 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48161         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
48162         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
48163         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
48164         hardcoded "nm".
48165         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
48166         (READELF): New variable.  Use it instead of hardcoded "readelf".
48168 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
48170         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
48171         * sysdeps/x86/Makefile: Here.
48172         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
48173         * sysdeps/x86/tst-xmmymm.sh: This.
48175 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48177         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
48178         expectations.
48179         [UNIX98] (pthread_barrier_t): Do not expect.
48180         [UNIX98] (pthread_barrierattr_t): Likewise.
48181         [UNIX98] (pthread_spinlock_t): Likewise.
48182         [UNIX98] (pthread_barrier_destroy): Likewise.
48183         [UNIX98] (pthread_barrier_init): Likewise.
48184         [UNIX98] (pthread_barrier_wait): Likewise.
48185         [UNIX98] (pthread_barrierattr_destroy): Likewise.
48186         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
48187         [UNIX98] (pthread_barrierattr_init): Likewise.
48188         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
48189         [UNIX98] (pthread_getcpuclockid): Likewise.
48190         [UNIX98] (pthread_mutex_timedlock): Likewise.
48191         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
48192         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
48193         [UNIX98] (pthread_sigmask): Likewise.
48194         [UNIX98] (pthread_spin_destroy): Likewise.
48195         [UNIX98] (pthread_spin_init): Likewise.
48196         [UNIX98] (pthread_spin_lock): Likewise.
48197         [UNIX98] (pthread_spin_trylock): Likewise.
48198         [UNIX98] (pthread_spin_unlock): Likewise.
48199         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
48200         Do not expect.
48201         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
48202         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
48203         [XPG3 || XPG4] (pthread_cond_t): Likewise.
48204         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
48205         [XPG3 || XPG4] (pthread_key_t): Likewise.
48206         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
48207         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
48208         [XPG3 || XPG4] (pthread_once_t): Likewise.
48209         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
48210         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
48211         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
48212         [XPG3 || XPG4] (pthread_t): Likewise.
48214         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
48215         not expect.
48216         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
48218         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
48219         Change function return type to int.
48221         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
48222         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
48223         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
48224         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
48225         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
48226         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
48227         [!POSIX] (posix_madvise): Likewise.
48228         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
48229         && !UNIX98].
48230         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
48231         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
48232         (mode_t): Likewise.
48233         (posix_mem_offset): Likewise.
48234         (posix_typed_mem_get_info): Likewise.
48235         (posix_typed_mem_open): Likewise.
48237         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
48238         Change condition to [XOPEN2K8].
48240         * conform/conformtest.pl: Preprocess allow-header data with -x c
48241         instead of from stdin.
48242         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
48243         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
48244         [C99-based standards] (cerfc): Likewise.
48245         [C99-based standards] (cexp2): Likewise.
48246         [C99-based standards] (cexpm1): Likewise.
48247         [C99-based standards] (clog10): Likewise.
48248         [C99-based standards] (clog1p): Likewise.
48249         [C99-based standards] (clog2): Likewise.
48250         [C99-based standards] (clgamma): Likewise.
48251         [C99-based standards] (ctgamma): Likewise.
48252         [C99-based standards] (cerff): Likewise.
48253         [C99-based standards] (cerfcf): Likewise.
48254         [C99-based standards] (cexp2f): Likewise.
48255         [C99-based standards] (cexpm1f): Likewise.
48256         [C99-based standards] (clog10f): Likewise.
48257         [C99-based standards] (clog1pf): Likewise.
48258         [C99-based standards] (clog2f): Likewise.
48259         [C99-based standards] (clgammaf): Likewise.
48260         [C99-based standards] (ctgammaf): Likewise.
48261         [C99-based standards] (cerfl): Likewise.
48262         [C99-based standards] (cerfcl): Likewise.
48263         [C99-based standards] (cexp2l): Likewise.
48264         [C99-based standards] (cexpm1l): Likewise.
48265         [C99-based standards] (clog10l): Likewise.
48266         [C99-based standards] (clog1pl): Likewise.
48267         [C99-based standards] (clog2l): Likewise.
48268         [C99-based standards] (clgammal): Likewise.
48269         [C99-based standards] (ctgammal): Likewise.
48270         * conform/data/inttypes.h-data [C99-based standards]: Include
48271         stdint.h-data.  Remove all expectations for stdint.h contents.
48272         [C99-based standards] (PRI*): Do not allow.
48273         [C99-based standards] (SCN*): Likewise.
48274         [C99-based standards] (*_t): Likewise.
48275         [C99-based-standards] (PRId8): Expect macro.
48276         [C99-based-standards] (PRIi8): Likewise.
48277         [C99-based-standards] (PRIo8): Likewise.
48278         [C99-based-standards] (PRIu8): Likewise.
48279         [C99-based-standards] (PRIx8): Likewise.
48280         [C99-based-standards] (PRIX8): Likewise.
48281         [C99-based-standards] (SCNd8): Likewise.
48282         [C99-based-standards] (SCNi8): Likewise.
48283         [C99-based-standards] (SCNo8): Likewise.
48284         [C99-based-standards] (SCNu8): Likewise.
48285         [C99-based-standards] (SCNx8): Likewise.
48286         [C99-based-standards] (PRIdLEAST8): Likewise.
48287         [C99-based-standards] (PRIiLEAST8): Likewise.
48288         [C99-based-standards] (PRIoLEAST8): Likewise.
48289         [C99-based-standards] (PRIuLEAST8): Likewise.
48290         [C99-based-standards] (PRIxLEAST8): Likewise.
48291         [C99-based-standards] (PRIXLEAST8): Likewise.
48292         [C99-based-standards] (SCNdLEAST8): Likewise.
48293         [C99-based-standards] (SCNiLEAST8): Likewise.
48294         [C99-based-standards] (SCNoLEAST8): Likewise.
48295         [C99-based-standards] (SCNuLEAST8): Likewise.
48296         [C99-based-standards] (SCNxLEAST8): Likewise.
48297         [C99-based-standards] (PRIdFAST8): Likewise.
48298         [C99-based-standards] (PRIiFAST8): Likewise.
48299         [C99-based-standards] (PRIoFAST8): Likewise.
48300         [C99-based-standards] (PRIuFAST8): Likewise.
48301         [C99-based-standards] (PRIxFAST8): Likewise.
48302         [C99-based-standards] (PRIXFAST8): Likewise.
48303         [C99-based-standards] (SCNdFAST8): Likewise.
48304         [C99-based-standards] (SCNiFAST8): Likewise.
48305         [C99-based-standards] (SCNoFAST8): Likewise.
48306         [C99-based-standards] (SCNuFAST8): Likewise.
48307         [C99-based-standards] (SCNxFAST8): Likewise.
48308         [C99-based-standards] (PRId16): Likewise.
48309         [C99-based-standards] (PRIi16): Likewise.
48310         [C99-based-standards] (PRIo16): Likewise.
48311         [C99-based-standards] (PRIu16): Likewise.
48312         [C99-based-standards] (PRIx16): Likewise.
48313         [C99-based-standards] (PRIX16): Likewise.
48314         [C99-based-standards] (SCNd16): Likewise.
48315         [C99-based-standards] (SCNi16): Likewise.
48316         [C99-based-standards] (SCNo16): Likewise.
48317         [C99-based-standards] (SCNu16): Likewise.
48318         [C99-based-standards] (SCNx16): Likewise.
48319         [C99-based-standards] (PRIdLEAST16): Likewise.
48320         [C99-based-standards] (PRIiLEAST16): Likewise.
48321         [C99-based-standards] (PRIoLEAST16): Likewise.
48322         [C99-based-standards] (PRIuLEAST16): Likewise.
48323         [C99-based-standards] (PRIxLEAST16): Likewise.
48324         [C99-based-standards] (PRIXLEAST16): Likewise.
48325         [C99-based-standards] (SCNdLEAST16): Likewise.
48326         [C99-based-standards] (SCNiLEAST16): Likewise.
48327         [C99-based-standards] (SCNoLEAST16): Likewise.
48328         [C99-based-standards] (SCNuLEAST16): Likewise.
48329         [C99-based-standards] (SCNxLEAST16): Likewise.
48330         [C99-based-standards] (PRIdFAST16): Likewise.
48331         [C99-based-standards] (PRIiFAST16): Likewise.
48332         [C99-based-standards] (PRIoFAST16): Likewise.
48333         [C99-based-standards] (PRIuFAST16): Likewise.
48334         [C99-based-standards] (PRIxFAST16): Likewise.
48335         [C99-based-standards] (PRIXFAST16): Likewise.
48336         [C99-based-standards] (SCNdFAST16): Likewise.
48337         [C99-based-standards] (SCNiFAST16): Likewise.
48338         [C99-based-standards] (SCNoFAST16): Likewise.
48339         [C99-based-standards] (SCNuFAST16): Likewise.
48340         [C99-based-standards] (SCNxFAST16): Likewise.
48341         [C99-based-standards] (PRId32): Likewise.
48342         [C99-based-standards] (PRIi32): Likewise.
48343         [C99-based-standards] (PRIo32): Likewise.
48344         [C99-based-standards] (PRIu32): Likewise.
48345         [C99-based-standards] (PRIx32): Likewise.
48346         [C99-based-standards] (PRIX32): Likewise.
48347         [C99-based-standards] (SCNd32): Likewise.
48348         [C99-based-standards] (SCNi32): Likewise.
48349         [C99-based-standards] (SCNo32): Likewise.
48350         [C99-based-standards] (SCNu32): Likewise.
48351         [C99-based-standards] (SCNx32): Likewise.
48352         [C99-based-standards] (PRIdLEAST32): Likewise.
48353         [C99-based-standards] (PRIiLEAST32): Likewise.
48354         [C99-based-standards] (PRIoLEAST32): Likewise.
48355         [C99-based-standards] (PRIuLEAST32): Likewise.
48356         [C99-based-standards] (PRIxLEAST32): Likewise.
48357         [C99-based-standards] (PRIXLEAST32): Likewise.
48358         [C99-based-standards] (SCNdLEAST32): Likewise.
48359         [C99-based-standards] (SCNiLEAST32): Likewise.
48360         [C99-based-standards] (SCNoLEAST32): Likewise.
48361         [C99-based-standards] (SCNuLEAST32): Likewise.
48362         [C99-based-standards] (SCNxLEAST32): Likewise.
48363         [C99-based-standards] (PRIdFAST32): Likewise.
48364         [C99-based-standards] (PRIiFAST32): Likewise.
48365         [C99-based-standards] (PRIoFAST32): Likewise.
48366         [C99-based-standards] (PRIuFAST32): Likewise.
48367         [C99-based-standards] (PRIxFAST32): Likewise.
48368         [C99-based-standards] (PRIXFAST32): Likewise.
48369         [C99-based-standards] (SCNdFAST32): Likewise.
48370         [C99-based-standards] (SCNiFAST32): Likewise.
48371         [C99-based-standards] (SCNoFAST32): Likewise.
48372         [C99-based-standards] (SCNuFAST32): Likewise.
48373         [C99-based-standards] (SCNxFAST32): Likewise.
48374         [C99-based-standards] (PRId64): Likewise.
48375         [C99-based-standards] (PRIi64): Likewise.
48376         [C99-based-standards] (PRIo64): Likewise.
48377         [C99-based-standards] (PRIu64): Likewise.
48378         [C99-based-standards] (PRIx64): Likewise.
48379         [C99-based-standards] (PRIX64): Likewise.
48380         [C99-based-standards] (SCNd64): Likewise.
48381         [C99-based-standards] (SCNi64): Likewise.
48382         [C99-based-standards] (SCNo64): Likewise.
48383         [C99-based-standards] (SCNu64): Likewise.
48384         [C99-based-standards] (SCNx64): Likewise.
48385         [C99-based-standards] (PRIdLEAST64): Likewise.
48386         [C99-based-standards] (PRIiLEAST64): Likewise.
48387         [C99-based-standards] (PRIoLEAST64): Likewise.
48388         [C99-based-standards] (PRIuLEAST64): Likewise.
48389         [C99-based-standards] (PRIxLEAST64): Likewise.
48390         [C99-based-standards] (PRIXLEAST64): Likewise.
48391         [C99-based-standards] (SCNdLEAST64): Likewise.
48392         [C99-based-standards] (SCNiLEAST64): Likewise.
48393         [C99-based-standards] (SCNoLEAST64): Likewise.
48394         [C99-based-standards] (SCNuLEAST64): Likewise.
48395         [C99-based-standards] (SCNxLEAST64): Likewise.
48396         [C99-based-standards] (PRIdFAST64): Likewise.
48397         [C99-based-standards] (PRIiFAST64): Likewise.
48398         [C99-based-standards] (PRIoFAST64): Likewise.
48399         [C99-based-standards] (PRIuFAST64): Likewise.
48400         [C99-based-standards] (PRIxFAST64): Likewise.
48401         [C99-based-standards] (PRIXFAST64): Likewise.
48402         [C99-based-standards] (SCNdFAST64): Likewise.
48403         [C99-based-standards] (SCNiFAST64): Likewise.
48404         [C99-based-standards] (SCNoFAST64): Likewise.
48405         [C99-based-standards] (SCNuFAST64): Likewise.
48406         [C99-based-standards] (SCNxFAST64): Likewise.
48407         [C99-based-standards] (PRIdMAX): Likewise.
48408         [C99-based-standards] (PRIiMAX): Likewise.
48409         [C99-based-standards] (PRIoMAX): Likewise.
48410         [C99-based-standards] (PRIuMAX): Likewise.
48411         [C99-based-standards] (PRIxMAX): Likewise.
48412         [C99-based-standards] (PRIXMAX): Likewise.
48413         [C99-based-standards] (SCNdMAX): Likewise.
48414         [C99-based-standards] (SCNiMAX): Likewise.
48415         [C99-based-standards] (SCNoMAX): Likewise.
48416         [C99-based-standards] (SCNuMAX): Likewise.
48417         [C99-based-standards] (SCNxMAX): Likewise.
48418         [C99-based-standards] (PRIdPTR): Likewise.
48419         [C99-based-standards] (PRIiPTR): Likewise.
48420         [C99-based-standards] (PRIoPTR): Likewise.
48421         [C99-based-standards] (PRIuPTR): Likewise.
48422         [C99-based-standards] (PRIxPTR): Likewise.
48423         [C99-based-standards] (PRIXPTR): Likewise.
48424         [C99-based-standards] (SCNdPTR): Likewise.
48425         [C99-based-standards] (SCNiPTR): Likewise.
48426         [C99-based-standards] (SCNoPTR): Likewise.
48427         [C99-based-standards] (SCNuPTR): Likewise.
48428         [C99-based-standards] (SCNxPTR): Likewise.
48429         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
48430         allow.
48431         * conform/data/stdint.h-data: Update comments to clarify
48432         requirements.
48433         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
48434         type.
48435         [C99-based standards] (INT8_MAX): Likewise.
48436         [C99-based standards] (INT16_MIN): Likewise.
48437         [C99-based standards] (INT16_MAX): Likewise.
48438         [C99-based standards] (INT32_MIN): Likewise.
48439         [C99-based standards] (INT32_MAX): Likewise.
48440         [C99-based standards] (INT64_MIN): Likewise.
48441         [C99-based standards] (INT64_MAX): Likewise.
48442         [C99-based standards] (UINT8_MAX): Likewise.
48443         [C99-based standards] (UINT16_MAX): Likewise.
48444         [C99-based standards] (UINT32_MAX): Likewise.
48445         [C99-based standards] (UINT64_MAX): Likewise.
48446         [C99-based standards] (INT_LEAST8_MIN): Likewise.
48447         [C99-based standards] (INT_LEAST8_MAX): Likewise.
48448         [C99-based standards] (INT_LEAST16_MIN): Likewise.
48449         [C99-based standards] (INT_LEAST16_MAX): Likewise.
48450         [C99-based standards] (INT_LEAST32_MIN): Likewise.
48451         [C99-based standards] (INT_LEAST32_MAX): Likewise.
48452         [C99-based standards] (INT_LEAST64_MIN): Likewise.
48453         [C99-based standards] (INT_LEAST64_MAX): Likewise.
48454         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
48455         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
48456         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
48457         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
48458         [C99-based standards] (INT_FAST8_MIN): Likewise.
48459         [C99-based standards] (INT_FAST8_MAX): Likewise.
48460         [C99-based standards] (INT_FAST16_MIN): Likewise.
48461         [C99-based standards] (INT_FAST16_MAX): Likewise.
48462         [C99-based standards] (INT_FAST32_MIN): Likewise.
48463         [C99-based standards] (INT_FAST32_MAX): Likewise.
48464         [C99-based standards] (INT_FAST64_MIN): Likewise.
48465         [C99-based standards] (INT_FAST64_MAX): Likewise.
48466         [C99-based standards] (UINT_FAST8_MAX): Likewise.
48467         [C99-based standards] (UINT_FAST16_MAX): Likewise.
48468         [C99-based standards] (UINT_FAST32_MAX): Likewise.
48469         [C99-based standards] (UINT_FAST64_MAX): Likewise.
48470         [C99-based standards] (INTPTR_MIN): Likewise.
48471         [C99-based standards] (INTPTR_MAX): Likewise.
48472         [C99-based standards] (UINTPTR_MAX): Likewise.
48473         [C99-based standards] (INTMAX_MIN): Likewise.
48474         [C99-based standards] (INTMAX_MAX): Likewise.
48475         [C99-based standards] (UINTMAX_MAX): Likewise.
48476         [C99-based standards] (PTRDIFF_MIN): Likewise.
48477         [C99-based standards] (PTRDIFF_MAX): Likewise.
48478         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
48479         [C99-based standards] (SIZE_MAX): Likewise.
48480         [C99-based standards] (WCHAR_MAX): Likewise.
48481         [C99-based standards] (WINT_MAX): Likewise.
48482         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
48483         constraint on value.
48484         [C99-based standards] (WCHAR_MIN): Likewise.
48485         [C99-based standards] (WINT_MIN): Likewise.
48486         [C99-based standards] (*_t): Allow.
48487         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
48488         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
48489         Include math.h-data and complex.h-data.  Remove all expectations
48490         of math.h and complex.h contents.
48491         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
48492         at end of line.
48493         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
48494         (struct tm): Expect tag.
48495         [C99-based-standards] (wcstof): Expect function.
48496         [C99-based-standards] (wcstold): Likewise.
48497         [C99-based-standards] (wcstoll): Likewise.
48498         [C99-based-standards] (wcstoull): Likewise.
48499         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
48500         macro-int-constant.  Specify type.
48501         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
48502         constraint on value.
48503         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
48504         Specify type.
48505         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
48506         Specify value.
48507         [ISO C standards]: Do not allow headers.
48508         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
48509         wcs[abcdefghijklmnopqrstuvwxyz]*.
48510         [ISO C standards] (*_t): Do not allow.
48511         * conform/data/wctype.h-data [C99-based standards] (iswblank):
48512         Expect function.
48513         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
48514         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
48515         Specify type.
48516         [ISO C standards]: Do not allow headers.
48517         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
48518         is[abcdefghijklmnopqrstuvwxyz]*.
48519         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
48520         to[abcdefghijklmnopqrstuvwxyz]*.
48521         [ISO C standards] (*_t): Do not allow.
48522         * conform/data/stdalign.h-data: New file.
48523         * conform/data/stdbool.h-data: Likewise.
48524         * conform/data/stdnoreturn.h-data: Likewise.
48526 2012-11-07  Roland McGrath  <roland@hack.frob.com>
48528         [BZ #14815]
48529         * manual/filesys.texi (Directory Entries): Typo fix.
48530         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
48532 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48534         * elf/elf.h (EM_AARCH64): New macro.
48535         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
48536         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
48537         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
48538         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
48539         (R_AARCH64_TLSDESC): Likewise.
48540         (NT_ARM_TLS): Likewise.
48541         (NT_ARM_HW_BREAK): Likewise.
48542         (NT_ARM_HW_WATCH): Likewise.
48544 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48546         [BZ #14811]
48547         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
48548         (__ieee754_powl): Saturate nonzero exponents with absolute value
48549         below 0x1p-79 to +/- 0x1p-79.
48550         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
48551         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
48552         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
48553         nonzero exponents with absolute value below 0x1p-32 to +/-
48554         0x1p-32.
48555         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
48556         (__ieee754_powl): Saturate nonzero exponents with absolute value
48557         below 0x1p-79 to +/- 0x1p-79.
48558         * math/libm-test.inc (pow_test): Add more tests.
48560 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48562         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
48563         _dl_s390_cap_flags with kernel. Increase string length.
48564         (_dl_s390_platforms): Add z196 and zEC12.
48566 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48568         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
48569         Change XOPEN21K to XOPEN2K.
48571 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
48573         * string/memmove.c: Use memcpy when possible.
48575 2012-11-06  Andreas Jaeger  <aj@suse.de>
48577         * po/eo.po: Update from translation team.
48579 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
48581         [BZ #14793]
48582         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
48583         exponent and small x and y exponents, scale x or y up.  Increase
48584         by 2 the exponent used in scaling up.
48585         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48586         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48587         * math/libm-test.inc (fma_test): Add more tests.
48588         (fma_test_towardzero): Likewise.
48589         (fma_test_downward): Likewise.
48590         (fma_test_upward): Likewise.
48592 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
48594         [BZ #14805]
48595         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
48596         fenv_t *.
48598         [BZ #14801]
48599         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
48600         namespace for names of struct fields.
48601         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
48602         fenv_t fields.
48603         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
48604         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
48606 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48608         [BZ #3665]
48609         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
48611 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
48613         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
48614         PTR_DEMANGLE.
48616         [BZ #5246]
48617         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
48618         PTR_DEMANGLE.
48620 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
48622         [BZ #14797]
48623         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
48624         definitely overflow as x * y not x * y + z.
48625         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48626         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48627         * math/libm-test.inc (fma_test): Add more tests.
48628         (fma_test_towardzero): Likewise.
48629         (fma_test_downward): Likewise.
48630         (fma_test_upward): Likewise.
48632 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
48634         [BZ #157]
48636         * include/stub-tag.h: Remove file.
48637         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
48638         '#include' of it.
48639         * manual/maint.texi (Porting): Don't reference it.
48640         * Makerules ($(objpfx)stubs): Likewise.
48641         * dirent/closedir.c: Don't include <stub-tag.h>.
48642         * dirent/dirfd.c: Likewise.
48643         * dirent/fdopendir.c: Likewise.
48644         * dirent/getdents.c: Likewise.
48645         * dirent/getdents64.c: Likewise.
48646         * dirent/opendir.c: Likewise.
48647         * dirent/readdir.c: Likewise.
48648         * dirent/readdir64.c: Likewise.
48649         * dirent/readdir64_r.c: Likewise.
48650         * dirent/readdir_r.c: Likewise.
48651         * dirent/rewinddir.c: Likewise.
48652         * dirent/seekdir.c: Likewise.
48653         * dirent/telldir.c: Likewise.
48654         * gmon/profil.c: Likewise.
48655         * grp/setgroups.c: Likewise.
48656         * inet/if_index.c: Likewise.
48657         * io/access.c: Likewise.
48658         * io/chdir.c: Likewise.
48659         * io/chmod.c: Likewise.
48660         * io/chown.c: Likewise.
48661         * io/close.c: Likewise.
48662         * io/dup.c: Likewise.
48663         * io/dup2.c: Likewise.
48664         * io/dup3.c: Likewise.
48665         * io/euidaccess.c: Likewise.
48666         * io/faccessat.c: Likewise.
48667         * io/fchdir.c: Likewise.
48668         * io/fchmod.c: Likewise.
48669         * io/fchmodat.c: Likewise.
48670         * io/fchown.c: Likewise.
48671         * io/fchownat.c: Likewise.
48672         * io/fcntl.c: Likewise.
48673         * io/flock.c: Likewise.
48674         * io/fstatfs.c: Likewise.
48675         * io/fstatfs64.c: Likewise.
48676         * io/fstatvfs.c: Likewise.
48677         * io/fstatvfs64.c: Likewise.
48678         * io/futimens.c: Likewise.
48679         * io/fxstat.c: Likewise.
48680         * io/fxstat64.c: Likewise.
48681         * io/fxstatat.c: Likewise.
48682         * io/fxstatat64.c: Likewise.
48683         * io/getcwd.c: Likewise.
48684         * io/isatty.c: Likewise.
48685         * io/lchmod.c: Likewise.
48686         * io/lchown.c: Likewise.
48687         * io/link.c: Likewise.
48688         * io/linkat.c: Likewise.
48689         * io/lseek.c: Likewise.
48690         * io/lseek64.c: Likewise.
48691         * io/lxstat64.c: Likewise.
48692         * io/mkdir.c: Likewise.
48693         * io/mkdirat.c: Likewise.
48694         * io/mkfifo.c: Likewise.
48695         * io/mkfifoat.c: Likewise.
48696         * io/open.c: Likewise.
48697         * io/open64.c: Likewise.
48698         * io/openat.c: Likewise.
48699         * io/openat64.c: Likewise.
48700         * io/pipe.c: Likewise.
48701         * io/pipe2.c: Likewise.
48702         * io/poll.c: Likewise.
48703         * io/posix_fadvise.c: Likewise.
48704         * io/posix_fadvise64.c: Likewise.
48705         * io/posix_fallocate.c: Likewise.
48706         * io/posix_fallocate64.c: Likewise.
48707         * io/read.c: Likewise.
48708         * io/readlink.c: Likewise.
48709         * io/readlinkat.c: Likewise.
48710         * io/rmdir.c: Likewise.
48711         * io/sendfile.c: Likewise.
48712         * io/sendfile64.c: Likewise.
48713         * io/statfs.c: Likewise.
48714         * io/statfs64.c: Likewise.
48715         * io/statvfs.c: Likewise.
48716         * io/statvfs64.c: Likewise.
48717         * io/symlink.c: Likewise.
48718         * io/symlinkat.c: Likewise.
48719         * io/ttyname.c: Likewise.
48720         * io/ttyname_r.c: Likewise.
48721         * io/umask.c: Likewise.
48722         * io/unlink.c: Likewise.
48723         * io/unlinkat.c: Likewise.
48724         * io/utime.c: Likewise.
48725         * io/utimensat.c: Likewise.
48726         * io/write.c: Likewise.
48727         * io/xmknod.c: Likewise.
48728         * io/xmknodat.c: Likewise.
48729         * io/xstat.c: Likewise.
48730         * io/xstat64.c: Likewise.
48731         * login/getpt.c: Likewise.
48732         * login/grantpt.c: Likewise.
48733         * login/unlockpt.c: Likewise.
48734         * math/e_acoshl.c: Likewise.
48735         * math/e_acosl.c: Likewise.
48736         * math/e_asinl.c: Likewise.
48737         * math/e_atan2l.c: Likewise.
48738         * math/e_atanhl.c: Likewise.
48739         * math/e_coshl.c: Likewise.
48740         * math/e_expl.c: Likewise.
48741         * math/e_fmodl.c: Likewise.
48742         * math/e_gammal_r.c: Likewise.
48743         * math/e_hypotl.c: Likewise.
48744         * math/e_j0l.c: Likewise.
48745         * math/e_j1l.c: Likewise.
48746         * math/e_jnl.c: Likewise.
48747         * math/e_lgammal_r.c: Likewise.
48748         * math/e_log10l.c: Likewise.
48749         * math/e_log2l.c: Likewise.
48750         * math/e_logl.c: Likewise.
48751         * math/e_powl.c: Likewise.
48752         * math/e_rem_pio2l.c: Likewise.
48753         * math/e_sinhl.c: Likewise.
48754         * math/e_sqrtl.c: Likewise.
48755         * math/fclrexcpt.c: Likewise.
48756         * math/fedisblxcpt.c: Likewise.
48757         * math/feenablxcpt.c: Likewise.
48758         * math/fegetenv.c: Likewise.
48759         * math/fegetexcept.c: Likewise.
48760         * math/fegetround.c: Likewise.
48761         * math/feholdexcpt.c: Likewise.
48762         * math/fesetenv.c: Likewise.
48763         * math/fesetround.c: Likewise.
48764         * math/feupdateenv.c: Likewise.
48765         * math/fgetexcptflg.c: Likewise.
48766         * math/fraiseexcpt.c: Likewise.
48767         * math/fsetexcptflg.c: Likewise.
48768         * math/ftestexcept.c: Likewise.
48769         * math/k_cosl.c: Likewise.
48770         * math/k_rem_pio2l.c: Likewise.
48771         * math/k_sinl.c: Likewise.
48772         * math/k_tanl.c: Likewise.
48773         * math/s_asinhl.c: Likewise.
48774         * math/s_atanl.c: Likewise.
48775         * math/s_cbrtl.c: Likewise.
48776         * math/s_erfl.c: Likewise.
48777         * math/s_expm1l.c: Likewise.
48778         * math/s_log1pl.c: Likewise.
48779         * math/s_tanhl.c: Likewise.
48780         * misc/acct.c: Likewise.
48781         * misc/brk.c: Likewise.
48782         * misc/chflags.c: Likewise.
48783         * misc/chroot.c: Likewise.
48784         * misc/fchflags.c: Likewise.
48785         * misc/fgetxattr.c: Likewise.
48786         * misc/flistxattr.c: Likewise.
48787         * misc/fremovexattr.c: Likewise.
48788         * misc/fsetxattr.c: Likewise.
48789         * misc/fsync.c: Likewise.
48790         * misc/ftruncate.c: Likewise.
48791         * misc/futimes.c: Likewise.
48792         * misc/futimesat.c: Likewise.
48793         * misc/getdomain.c: Likewise.
48794         * misc/getdtsz.c: Likewise.
48795         * misc/gethostid.c: Likewise.
48796         * misc/gethostname.c: Likewise.
48797         * misc/getloadavg.c: Likewise.
48798         * misc/getpagesize.c: Likewise.
48799         * misc/getsysstats.c: Likewise.
48800         * misc/getxattr.c: Likewise.
48801         * misc/gtty.c: Likewise.
48802         * misc/ioctl.c: Likewise.
48803         * misc/lgetxattr.c: Likewise.
48804         * misc/listxattr.c: Likewise.
48805         * misc/llistxattr.c: Likewise.
48806         * misc/lremovexattr.c: Likewise.
48807         * misc/lsetxattr.c: Likewise.
48808         * misc/lutimes.c: Likewise.
48809         * misc/madvise.c: Likewise.
48810         * misc/mincore.c: Likewise.
48811         * misc/mlock.c: Likewise.
48812         * misc/mlockall.c: Likewise.
48813         * misc/mmap.c: Likewise.
48814         * misc/mprotect.c: Likewise.
48815         * misc/msync.c: Likewise.
48816         * misc/munlock.c: Likewise.
48817         * misc/munlockall.c: Likewise.
48818         * misc/munmap.c: Likewise.
48819         * misc/preadv.c: Likewise.
48820         * misc/preadv64.c: Likewise.
48821         * misc/ptrace.c: Likewise.
48822         * misc/pwritev.c: Likewise.
48823         * misc/pwritev64.c: Likewise.
48824         * misc/readv.c: Likewise.
48825         * misc/reboot.c: Likewise.
48826         * misc/remap_file_pages.c: Likewise.
48827         * misc/removexattr.c: Likewise.
48828         * misc/revoke.c: Likewise.
48829         * misc/select.c: Likewise.
48830         * misc/setdomain.c: Likewise.
48831         * misc/setegid.c: Likewise.
48832         * misc/seteuid.c: Likewise.
48833         * misc/sethostid.c: Likewise.
48834         * misc/sethostname.c: Likewise.
48835         * misc/setregid.c: Likewise.
48836         * misc/setreuid.c: Likewise.
48837         * misc/setxattr.c: Likewise.
48838         * misc/sstk.c: Likewise.
48839         * misc/stty.c: Likewise.
48840         * misc/swapoff.c: Likewise.
48841         * misc/swapon.c: Likewise.
48842         * misc/sync.c: Likewise.
48843         * misc/syncfs.c: Likewise.
48844         * misc/syscall.c: Likewise.
48845         * misc/truncate.c: Likewise.
48846         * misc/ualarm.c: Likewise.
48847         * misc/usleep.c: Likewise.
48848         * misc/ustat.c: Likewise.
48849         * misc/utimes.c: Likewise.
48850         * misc/vhangup.c: Likewise.
48851         * misc/writev.c: Likewise.
48852         * posix/_exit.c: Likewise.
48853         * posix/alarm.c: Likewise.
48854         * posix/execve.c: Likewise.
48855         * posix/fexecve.c: Likewise.
48856         * posix/fork.c: Likewise.
48857         * posix/fpathconf.c: Likewise.
48858         * posix/getaddrinfo.c: Likewise.
48859         * posix/getegid.c: Likewise.
48860         * posix/geteuid.c: Likewise.
48861         * posix/getgid.c: Likewise.
48862         * posix/getgroups.c: Likewise.
48863         * posix/getlogin.c: Likewise.
48864         * posix/getlogin_r.c: Likewise.
48865         * posix/getpgid.c: Likewise.
48866         * posix/getpid.c: Likewise.
48867         * posix/getppid.c: Likewise.
48868         * posix/getresgid.c: Likewise.
48869         * posix/getresuid.c: Likewise.
48870         * posix/getsid.c: Likewise.
48871         * posix/getuid.c: Likewise.
48872         * posix/glob64.c: Likewise.
48873         * posix/nanosleep.c: Likewise.
48874         * posix/pathconf.c: Likewise.
48875         * posix/pause.c: Likewise.
48876         * posix/posix_madvise.c: Likewise.
48877         * posix/pread.c: Likewise.
48878         * posix/pread64.c: Likewise.
48879         * posix/pwrite.c: Likewise.
48880         * posix/pwrite64.c: Likewise.
48881         * posix/sched_getaffinity.c: Likewise.
48882         * posix/sched_getp.c: Likewise.
48883         * posix/sched_gets.c: Likewise.
48884         * posix/sched_primax.c: Likewise.
48885         * posix/sched_primin.c: Likewise.
48886         * posix/sched_rr_gi.c: Likewise.
48887         * posix/sched_setaffinity.c: Likewise.
48888         * posix/sched_setp.c: Likewise.
48889         * posix/sched_sets.c: Likewise.
48890         * posix/sched_yield.c: Likewise.
48891         * posix/setgid.c: Likewise.
48892         * posix/setlogin.c: Likewise.
48893         * posix/setpgid.c: Likewise.
48894         * posix/setresgid.c: Likewise.
48895         * posix/setresuid.c: Likewise.
48896         * posix/setsid.c: Likewise.
48897         * posix/setuid.c: Likewise.
48898         * posix/sleep.c: Likewise.
48899         * posix/spawni.c: Likewise.
48900         * posix/sysconf.c: Likewise.
48901         * posix/times.c: Likewise.
48902         * posix/wait.c: Likewise.
48903         * posix/wait3.c: Likewise.
48904         * posix/wait4.c: Likewise.
48905         * posix/waitpid.c: Likewise.
48906         * resolv/gai_sigqueue.c: Likewise.
48907         * resource/getpriority.c: Likewise.
48908         * resource/getrlimit.c: Likewise.
48909         * resource/getrusage.c: Likewise.
48910         * resource/nice.c: Likewise.
48911         * resource/setpriority.c: Likewise.
48912         * resource/setrlimit.c: Likewise.
48913         * resource/ulimit.c: Likewise.
48914         * rt/aio_cancel.c: Likewise.
48915         * rt/aio_fsync.c: Likewise.
48916         * rt/aio_read.c: Likewise.
48917         * rt/aio_sigqueue.c: Likewise.
48918         * rt/aio_suspend.c: Likewise.
48919         * rt/aio_write.c: Likewise.
48920         * rt/clock_getres.c: Likewise.
48921         * rt/clock_gettime.c: Likewise.
48922         * rt/clock_nanosleep.c: Likewise.
48923         * rt/clock_settime.c: Likewise.
48924         * rt/lio_listio.c: Likewise.
48925         * rt/mq_close.c: Likewise.
48926         * rt/mq_getattr.c: Likewise.
48927         * rt/mq_notify.c: Likewise.
48928         * rt/mq_open.c: Likewise.
48929         * rt/mq_receive.c: Likewise.
48930         * rt/mq_send.c: Likewise.
48931         * rt/mq_setattr.c: Likewise.
48932         * rt/mq_timedreceive.c: Likewise.
48933         * rt/mq_timedsend.c: Likewise.
48934         * rt/mq_unlink.c: Likewise.
48935         * rt/shm_open.c: Likewise.
48936         * rt/shm_unlink.c: Likewise.
48937         * rt/timer_create.c: Likewise.
48938         * rt/timer_delete.c: Likewise.
48939         * rt/timer_getoverr.c: Likewise.
48940         * rt/timer_gettime.c: Likewise.
48941         * rt/timer_settime.c: Likewise.
48942         * setjmp/__longjmp.c: Likewise.
48943         * setjmp/setjmp.c: Likewise.
48944         * signal/kill.c: Likewise.
48945         * signal/killpg.c: Likewise.
48946         * signal/raise.c: Likewise.
48947         * signal/sigaction.c: Likewise.
48948         * signal/sigaltstack.c: Likewise.
48949         * signal/sigblock.c: Likewise.
48950         * signal/sigignore.c: Likewise.
48951         * signal/sigintr.c: Likewise.
48952         * signal/signal.c: Likewise.
48953         * signal/sigpause.c: Likewise.
48954         * signal/sigpending.c: Likewise.
48955         * signal/sigqueue.c: Likewise.
48956         * signal/sigreturn.c: Likewise.
48957         * signal/sigset.c: Likewise.
48958         * signal/sigsetmask.c: Likewise.
48959         * signal/sigstack.c: Likewise.
48960         * signal/sigsuspend.c: Likewise.
48961         * signal/sigtimedwait.c: Likewise.
48962         * signal/sigvec.c: Likewise.
48963         * signal/sigwait.c: Likewise.
48964         * signal/sigwaitinfo.c: Likewise.
48965         * signal/sysv_signal.c: Likewise.
48966         * socket/accept.c: Likewise.
48967         * socket/accept4.c: Likewise.
48968         * socket/bind.c: Likewise.
48969         * socket/connect.c: Likewise.
48970         * socket/getpeername.c: Likewise.
48971         * socket/getsockname.c: Likewise.
48972         * socket/getsockopt.c: Likewise.
48973         * socket/isfdtype.c: Likewise.
48974         * socket/listen.c: Likewise.
48975         * socket/recv.c: Likewise.
48976         * socket/recvfrom.c: Likewise.
48977         * socket/recvmsg.c: Likewise.
48978         * socket/send.c: Likewise.
48979         * socket/sendmsg.c: Likewise.
48980         * socket/sendto.c: Likewise.
48981         * socket/setsockopt.c: Likewise.
48982         * socket/shutdown.c: Likewise.
48983         * socket/sockatmark.c: Likewise.
48984         * socket/socket.c: Likewise.
48985         * socket/socketpair.c: Likewise.
48986         * stdio-common/ctermid.c: Likewise.
48987         * stdio-common/cuserid.c: Likewise.
48988         * stdio-common/remove.c: Likewise.
48989         * stdio-common/rename.c: Likewise.
48990         * stdio-common/renameat.c: Likewise.
48991         * stdio-common/tempname.c: Likewise.
48992         * stdlib/getcontext.c: Likewise.
48993         * stdlib/makecontext.c: Likewise.
48994         * stdlib/setcontext.c: Likewise.
48995         * stdlib/swapcontext.c: Likewise.
48996         * stdlib/system.c: Likewise.
48997         * streams/fattach.c: Likewise.
48998         * streams/fdetach.c: Likewise.
48999         * streams/getmsg.c: Likewise.
49000         * streams/getpmsg.c: Likewise.
49001         * streams/putmsg.c: Likewise.
49002         * streams/putpmsg.c: Likewise.
49003         * sysdeps/unix/bsd/getpt.c: Likewise.
49004         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
49005         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
49006         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49008         Likewise.
49009         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
49010         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49011         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
49012         * sysvipc/msgctl.c: Likewise.
49013         * sysvipc/msgget.c: Likewise.
49014         * sysvipc/msgrcv.c: Likewise.
49015         * sysvipc/msgsnd.c: Likewise.
49016         * sysvipc/semctl.c: Likewise.
49017         * sysvipc/semget.c: Likewise.
49018         * sysvipc/semop.c: Likewise.
49019         * sysvipc/semtimedop.c: Likewise.
49020         * sysvipc/shmat.c: Likewise.
49021         * sysvipc/shmctl.c: Likewise.
49022         * sysvipc/shmdt.c: Likewise.
49023         * sysvipc/shmget.c: Likewise.
49024         * termios/tcdrain.c: Likewise.
49025         * termios/tcflow.c: Likewise.
49026         * termios/tcflush.c: Likewise.
49027         * termios/tcgetattr.c: Likewise.
49028         * termios/tcgetpgrp.c: Likewise.
49029         * termios/tcsendbrk.c: Likewise.
49030         * termios/tcsetattr.c: Likewise.
49031         * termios/tcsetpgrp.c: Likewise.
49032         * time/adjtime.c: Likewise.
49033         * time/clock.c: Likewise.
49034         * time/getitimer.c: Likewise.
49035         * time/gettimeofday.c: Likewise.
49036         * time/setitimer.c: Likewise.
49037         * time/settimeofday.c: Likewise.
49038         * time/stime.c: Likewise.
49039         * time/time.c: Likewise.
49041 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
49043         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
49044         /usr/old/bin.
49046         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
49047         instead of spaces.
49048         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
49050 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
49052         [BZ #14796]
49053         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
49054         FE_TONEAREST before applying Dekker multiplication and Knuth
49055         addition.  Clear inexact exceptions and check for exact zero
49056         results afterwards.
49057         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49058         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
49059         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49060         * math/libm-test.inc (fma_test): Add more tests.
49061         (fma_test_towardzero): Likewise.
49062         (fma_test_downward): Likewise.
49063         (fma_test_upward): Likewise.
49064         * sysdeps/generic/math_private.h (default_libc_fesetround): New
49065         function.
49066         (libc_fesetround): New macro.
49067         (libc_fesetroundf): Likewise.
49068         (libc_fesetroundl): Likewise.
49069         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
49070         function.
49071         (libc_fesetround_387): Likewise.
49072         (libc_fesetroundf): New macro.
49073         (libc_fesetround): Likewise.
49074         (libc_fesetroundl): Likewise.
49075         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
49076         function.
49077         (libc_fesetroundf): New macro.
49078         (libc_fesetround): Likewise.
49079         (libc_fesetroundl): Likewise.
49080         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
49081         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
49082         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
49083         libm_hidden_ver.
49084         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
49085         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
49086         libm_hidden_def.
49087         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
49088         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
49089         libm_hidden_ver.
49090         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
49091         libm_hidden_def.
49093         [BZ #3439]
49094         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
49095         integer constant usable in #if and use that to give value to enum
49096         constant.
49097         (FE_DIVBYZERO): Likewise.
49098         (FE_UNDERFLOW): Likewise.
49099         (FE_OVERFLOW): Likewise.
49100         (FE_INVALID): Likewise.
49101         (FE_INVALID_SNAN): Likewise.
49102         (FE_INVALID_ISI): Likewise.
49103         (FE_INVALID_IDI): Likewise.
49104         (FE_INVALID_ZDZ): Likewise.
49105         (FE_INVALID_IMZ): Likewise.
49106         (FE_INVALID_COMPARE): Likewise.
49107         (FE_INVALID_SOFTWARE): Likewise.
49108         (FE_INVALID_SQRT): Likewise.
49109         (FE_INVALID_INTEGER_CONVERSION): Likewise.
49110         (FE_TONEAREST): Likewise.
49111         (FE_TOWARDZERO): Likewise.
49112         (FE_UPWARD): Likewise.
49113         (FE_DOWNWARD): Likewise.
49114         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
49115         (FE_DIVBYZERO): Likewise.
49116         (FE_OVERFLOW): Likewise.
49117         (FE_UNDERFLOW): Likewise.
49118         (FE_INEXACT): Likewise.
49119         (FE_TONEAREST): Likewise.
49120         (FE_DOWNWARD): Likewise.
49121         (FE_UPWARD): Likewise.
49122         (FE_TOWARDZERO): Likewise.
49123         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
49124         (FE_UNDERFLOW): Likewise.
49125         (FE_OVERFLOW): Likewise.
49126         (FE_DIVBYZERO): Likewise.
49127         (FE_INVALID): Likewise.
49128         (FE_TONEAREST): Likewise.
49129         (FE_TOWARDZERO): Likewise.
49130         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
49131         (FE_OVERFLOW): Likewise.
49132         (FE_UNDERFLOW): Likewise.
49133         (FE_DIVBYZERO): Likewise.
49134         (FE_INEXACT): Likewise.
49135         (FE_TONEAREST): Likewise.
49136         (FE_TOWARDZERO): Likewise.
49137         (FE_UPWARD): Likewise.
49138         (FE_DOWNWARD): Likewise.
49139         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
49140         (FE_DIVBYZERO): Likewise.
49141         (FE_OVERFLOW): Likewise.
49142         (FE_UNDERFLOW): Likewise.
49143         (FE_INEXACT): Likewise.
49144         (FE_TONEAREST): Likewise.
49145         (FE_DOWNWARD): Likewise.
49146         (FE_UPWARD): Likewise.
49147         (FE_TOWARDZERO): Likewise.
49149 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
49151         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
49153 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
49155         * scripts/cross-test-ssh.sh (command): Use newlines to separate
49156         commands.  Quote $PWD.
49157         (blacklist_exports): Don't use remove_newlines.  Replace "declare
49158         -x" by "export".
49159         (remove_newlines): Remove.
49161 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
49163         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
49164         * stdlib/stdlib.h (atof): Moved to ...
49165         * include/bits/stdlib-float.h: Here.  New file.
49166         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
49167         * stdlib/bits/stdlib-float.h: New file.
49168         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
49169         -mno-sse -mno-mmx.
49170         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
49171         <xmmintrin.h>.
49173 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
49175         * conform/conformtest.pl (@headers): Add fenv.h.
49176         * conform/data/fenv.h-data: New file.
49177         * include/fenv.h [_ISOMAC]: Disable all contents of file except
49178         include of <math/fenv.h>.
49180         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
49181         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
49182         && !UNIX98].  Enables tests for XOPEN2K8.
49183         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
49184         POSIX2008]: Likewise.
49186         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
49187         (struct rusage): Do not expect type or its members.
49189         [BZ #3439]
49190         * math/math.h (FP_NAN): Define macro to integer constant usable in
49191         #if and use that to give value to enum constant.
49192         (FP_INFINITE): Likewise.
49193         (FP_ZERO): Likewise.
49194         (FP_SUBNORMAL): Likewise.
49195         (FP_NORMAL): Likewise.
49197 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
49199         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
49200         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
49201         arguments.
49203 2012-11-02  Roland McGrath  <roland@hack.frob.com>
49205         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
49206         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
49207         autoconf-time if not.
49208         * configure.in: Remove AC_PREREQ.
49210 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49212         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
49213         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
49214         of the internal implementation.
49216 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
49218         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
49219         except include of <misc/sys/syslog.h>.
49221 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
49223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
49224         function returns with a NULL context exit with zero.
49226 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49228         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
49230 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
49232         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
49233         (run_program_cmd): This.
49234         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
49235         (tst_langinfo): New variable.  Use it.
49237 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
49239         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
49240         floating point opcodes.
49242 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
49244         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
49245         variable.
49247         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
49249         * sysdeps/mach/hurd/powerpc: Remove directory.
49250         * sysdeps/mach/powerpc: Likewise.
49252 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
49254         * scripts/check-local-headers.sh: Ignore c++ headers.
49256 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
49258         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
49259         __libc_cleanup_region_start argument.
49261 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
49263         [BZ #14784]
49264         [BZ #14785]
49265         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
49266         x * y using scaling, not as x * y + z.
49267         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49268         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49269         * math/libm-test.inc (fma_test): Add more tests.
49270         (fma_test_towardzero): Likewise.
49271         (fma_test_downward): Likewise.
49272         (fma_test_upward): Likewise.
49274 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
49276         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
49278 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
49280         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
49281         New variable.
49283 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
49285         * rt/tst-shm.c (worker): Correct checking for mmap failure.
49287 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
49289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49290         Fix sort order.
49291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49292         Likewise.
49294 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49297         Fix the order of the list for glibc 2.17.
49298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49299         Likewise.
49301 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
49303         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49305 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
49307         [BZ #14610]
49308         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
49309         for low part of x being zero before using __atanl (y).
49310         * math/libm-test.inc (atan2_test): Add another test.
49312         * manual/install.texi (Configuring and compiling): Document
49313         general use of test-wrapper and test-wrapper-env.
49314         * INSTALL: Regenerated.
49316         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
49317         (__fma): Do not extract and scale down low bits on after-rounding
49318         systems when result rounded to normal precision would have normal
49319         exponent.
49320         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
49321         (__fmal): Do not extract and scale down low bits on after-rounding
49322         systems when result rounded to normal precision would have normal
49323         exponent.
49324         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
49325         (__fmal): Do not extract and scale down low bits on after-rounding
49326         systems when result rounded to normal precision would have normal
49327         exponent.
49328         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
49329         macro.
49330         (fma_test): Add more tests.
49331         (fma_test_towardzero): Likewise.
49332         (fma_test_downward): Likewise.
49333         (fma_test_upward): Likewise.
49335 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
49337         * sysdeps/i386/tininess.h: Renamed to ...
49338         * sysdeps/x86/tininess.h: This.
49339         * sysdeps/x86_64/tininess.h: Removed.
49341 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
49343         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
49344         input.  Use $(build-program-cmd).
49345         ($(objpfx)tst-array1-static.out): Likewise.
49346         ($(objpfx)tst-array2.out): Likewise.
49347         ($(objpfx)tst-array3.out): Likewise.
49348         ($(objpfx)tst-array4.out): Likewise.
49349         ($(objpfx)tst-array5.out): Likewise.
49350         ($(objpfx)tst-array5-static.out): Likewise.
49352 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
49354         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
49355         if defined.
49357         * nss/nsswitch.h (nss_interface_function): Provide new
49358         macro for use with NSS functions.
49359         * grp/initgroups.c: Use new macro.
49360         * nss/getXXbyYY.c: Likewise.
49361         * nss/getXXbyYY_r.c: Likewise.
49362         * nss/getXXent.c: Likewise.
49363         * nss/getXXent_r.c: Likewise.
49364         * sysdeps/posix/getaddrinfo.c: Likewise.
49366 2012-10-30  Andreas Jaeger  <aj@suse.de>
49368         * po/ru.po: Update Russion translation from translation project.
49370 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
49372         [BZ #14152]
49373         [BZ #14783]
49374         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
49375         result and shift together with sticky bit instead of replicating
49376         round-to-nearest rounding.
49377         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49378         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49379         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
49380         missing underflow exceptions.
49381         (fma_test_towardzero): Add more tests.
49382         (fma_test_downward): Likewise.
49383         (fma_test_upward): Likewise.
49385         [BZ #14047]
49386         * sysdeps/generic/tininess.h: New file.
49387         * sysdeps/i386/tininess.h: Likewise.
49388         * sysdeps/sh/tininess.h: Likewise.
49389         * sysdeps/x86_64/tininess.h: Likewise.
49390         * stdlib/tst-strtod-underflow.c: Likewise.
49391         * stdlib/tst-tininess.c: Likewise.
49392         * stdlib/strtod_l.c: Include <tininess.h>.
49393         (round_and_return): Do not set errno for exact underflow cases.
49394         Force an underflow exception when setting errno for underflow.
49395         Determine underflow based on rounding to normal precision if
49396         TININESS_AFTER_ROUNDING.
49397         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
49398         ERANGE for exact underflow cases.
49399         * stdlib/Makefile (tests): Add tst-tininess and
49400         tst-strtod-underflow.
49401         ($(objpfx)tst-tininess): Use $(link-libm).
49402         ($(objpfx)tst-strtod-underflow): Likewise.
49404 2012-10-30  Andreas Jaeger  <aj@suse.de>
49406         [BZ#14767]
49407         * elf/Makefile (tests): Remove conditional for have-initfini-array
49408         since this is now always required and the variable does not exist
49409         anymore.
49410         (tests-static): Likewise.
49411         (modules-names): Likewise.
49413         * po/eo.po: Add Esperanto translation from translation project.
49415         * elf/tst-array1.c (fini_array): Make writeable so that it can be
49416         merged with constructor/destructor.
49417         (init_array): Likewise.
49418         * elf/tst-array2dep.c (fini_array): Likewise.
49419         (init_array): Likewise.
49421 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
49423         * manual/message.texi: Delete @cartouche tags.
49425 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
49427         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
49428         EOPNOTSUPP.
49429         * sysdeps/mach/hurd/fsync.c: Likewise.
49431         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
49432         [_POSIX_REALTIME_SIGNALS]: Change condition to
49433         [_POSIX_REALTIME_SIGNALS > 0].
49435 2012-10-27  Andreas Jaeger  <aj@suse.de>
49437         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
49438         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
49439         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
49440         [__WORDSIZE != 64]: Likewise.
49442 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
49444         *  iconvdata/tst-table.sh: Remove ${SHELL}.
49445         *  iconvdata/tst-tables.sh: Likewise.
49447 2012-10-25  David S. Miller  <davem@davemloft.net>
49449         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49450         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
49451         of strtoull.
49453         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
49454         ifunc-impl-list.c
49455         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49456         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
49457         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
49458         file.
49460 2012-10-25  Roland McGrath  <roland@hack.frob.com>
49462         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49463         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
49464         __getdirentries.
49466 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
49467             Jim Blandy  <jimb@codesourcery.com>
49469         * scripts/cross-test-ssh.sh: New file.
49470         * manual/install.texi (Configuring and compiling): Document use of
49471         cross-test-ssh.sh.
49472         * INSTALL: Regenerated.
49474 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
49476         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
49477         EOPNOTSUPP.
49479 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
49481         * Makeconfig (run-program-prefix): Fix comment.
49483 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
49484             Jim Blandy  <jimb@codesourcery.com>
49486         * Makeconfig (test-wrapper): New variable,
49487         (test-wrapper-env): Likewise.
49488         [$(cross-compiling) = yes && $(test-wrapper) != ""]
49489         (run-built-tests): Define to yes.
49490         (run-program-prefix): Use $(test-wrapper).
49491         (built-program-cmd): Likewise.
49492         * Rules (make-test-out): Use $(test-wrapper-env) and
49493         $(host-built-program-cmd).
49494         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
49495         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
49496         tst-pathopt.sh.
49497         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
49498         $(test-wrapper-env) to tst-rtld-load-self.sh.
49499         ($(objpfx)order2.out): Use $(test-wrapper).
49500         ($(objpfx)tst-initorder.out): Likewise.
49501         ($(objpfx)tst-initorder2.out): Likewise.
49502         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
49503         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
49504         (test_wrapper_env): New variable.  Use it to run ld.so.
49505         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
49506         Use it to run ld.so.
49507         (test_wrapper_env): Likewise.
49508         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
49509         $(test-wrapper) to run-iconv-test.sh.
49510         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
49511         (ICONV): Use $test_wrapper.
49512         * posix/Makefile ($(objpfx)globtest.out): Pass
49513         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
49514         globtest.sh, not $(run-program-prefix).
49515         * posix/globtest.sh (run_via_rtld_prefix): New variable.
49516         (test_wrapper): Likewise.
49517         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
49518         set together with run_via_rtld_prefix.
49519         (run_program_prefix): Define in terms of test_wrapper and
49520         run_via_rtld_prefix.
49522 2012-10-24  Roland McGrath  <roland@hack.frob.com>
49524         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
49525         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
49526         Targets removed.
49528         [BZ #14743]
49529         * include/time.h: Remove librt_hidden_proto (clock_gettime).
49530         Declare __clock_getres, __clock_gettime, __clock_settime,
49531         __clock_nanosleep, and __clock_getcpuclockid.
49532         * rt/clock_gettime.c: Define __clock_gettime as an alias.
49533         Remove librt_hidden_def (clock_gettime).
49534         * sysdeps/unix/clock_gettime.c: Likewise.
49535         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
49536         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
49537         * rt/clock_getres.c: Define __clock_getres as an alias.
49538         * sysdeps/posix/clock_getres.c: Likewise.
49539         * rt/clock_settime.c: Define __clock_settime as an alias.
49540         * sysdeps/unix/clock_settime.c: Likewise.
49541         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
49542         * sysdeps/unix/clock_nanosleep.c: Likewise.
49543         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
49544         * rt/clock-compat.c: New file.
49545         * rt/Makefile (librt-routines): Add clock-compat and move
49546         $(clock-routines) to ...
49547         (routines): ... here, new variable.
49548         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
49549         Don't add get_clockfreq here.
49550         * rt/Versions (libc: GLIBC_2.17): New version set.
49551         Add clock_* symbols here.
49552         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
49553         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
49554         (GLIBC_2.17): Add clock_* symbols.
49555         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
49556         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
49557         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
49558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49559         Likewise.
49560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49561         Likewise.
49562         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
49563         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
49564         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
49565         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
49566         * NEWS: Mention the move.
49568         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
49569         Use __open, __read, __close rather than their public counterparts.
49570         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49571         (__get_clockfreq_via_cpuinfo): Likewise.
49572         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
49573         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
49575         * config.h.in (HAVE_IFUNC): New #undef.
49576         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
49577         was successful.
49578         * configure: Regenerated.
49580 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
49582         * configure.in: Move READELF check to start of file.
49583         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
49584         libc_cv_asm_gnu_indirect_function in the process.
49585         * configure: Regenerated.
49587 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
49589         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
49590         send the output to /dev/null.
49591         (libc_cv_cc_with_libunwind): Likewise.
49592         (libc_cv_as_noexecstack): Likewise.
49593         * configure: Regenerate.
49595 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
49597         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
49599         * posix/globtest.sh (TMPDIR): Do not set.
49600         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
49601         (testout): Likewise.
49603 2012-10-24  Andreas Jaeger  <aj@suse.de>
49605         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
49606         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
49607         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
49608         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
49609         posix_fadvise64, posix_fallocate64.
49611         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
49612         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
49613         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
49614         Likewise.
49615         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
49616         Likewise.
49617         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
49619         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
49620         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
49621         <bits/fcntl-linux.h>.
49622         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
49624         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
49625         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
49626         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
49627         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
49628         [__WORDSIZE != 64]: Likewise.
49630 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
49632         * Makeconfig (run-built-tests): New variable.
49633         * Rules [$(cross-compiling) = yes]: Change condition to
49634         [$(run-built-tests) = no].
49635         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
49636         to [$(run-built-tests) = yes].
49637         * elf/Makefile [$(cross-compiling) = no]: Likewise
49638         * grp/Makefile [$(cross-compiling) = no]: Likewise.
49639         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
49640         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
49641         * intl/Makefile [$(cross-compiling) = no]: Likewise.
49642         * io/Makefile [$(cross-compiling) = no]: Likewise.
49643         * libio/Makefile [$(cross-compiling) = no]: Likewise.
49644         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
49645         * misc/Makefile [$(cross-compiling) = no]: Likewise.
49646         * posix/Makefile [$(cross-compiling) = no]: Likewise.
49647         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
49648         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
49649         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
49650         * string/Makefile [$(cross-compiling) = no]: Likewise.
49652         * posix/Makefile ($(objpfx)globtest.out): Pass
49653         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
49654         $(rtld-installed-name).
49655         * posix/globtest.sh (elf_objpfx): Remove variable.
49656         (rtld_installed_name): Likewise.
49657         (library_path): Likewise.
49658         (run_program_prefix): New variable.  Use for running globtest
49659         binary.
49661 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
49662             Joseph Myers  <joseph@codesourcery.com>
49664         * Makeconfig (host-built-program-cmd): New variable.
49665         * elf/Makefile (tst-stackguard1-ARGS): Use
49666         $(host-built-program-cmd).
49667         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
49668         (tst-spawn-ARGS): Likewise.
49669         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
49671 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
49672             Jim Blandy  <jimb@codesourcery.com>
49674         * Makeconfig (run-via-rtld-prefix): New variable.
49675         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
49676         (built-program-cmd): Likewise.
49678 2012-10-22  Andreas Jaeger  <aj@suse.de>
49680         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
49681         __O_RSYNC if it exists, otherwise to O_SYNC.
49683 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
49684             Joseph Myers  <joseph@codesourcery.com>
49686         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
49687         /dev/null.
49688         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
49689         from /dev/null
49690         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
49691         /dev/null.
49693 2012-10-22  Andreas Jaeger  <aj@suse.de>
49695         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
49696         Define always.
49697         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
49699         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49700         bits/fcntl-linux.h.
49702         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
49703         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
49705         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
49706         to __O_LARGEFILE.
49707         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
49708         to __O_LARGEFILE.
49710 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
49711             Joseph Myers  <joseph@codesourcery.com>
49713         * config.make.in (NM): New variable.
49715 2012-10-21  Andreas Jaeger  <aj@suse.de>
49717         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
49718         definitions and declarations that are provided by
49719         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
49721 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
49723         [BZ #14683]
49724         * elf/Makefile (tests-static): Add tst-leaks1-static.
49725         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
49726         ($(objpfx)tst-leaks1-static): New rule.
49727         ($(objpfx)tst-leaks1-static-mem): Likewise.
49728         (tst-leaks1-static-ENV): New macro.
49729         * elf/dl-open.c (dl_open_worker): Check the main application
49730         only if SHARED is defined.
49731         * elf/tst-leaks1-static.c: New file.
49733 2012-10-20  Andreas Jaeger  <aj@suse.de>
49735         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
49736         generic values for Linux.
49737         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
49738         and declarations that are provided by <bits/fcntl-linux.h> and
49739         include <bits/fcntl-linux.h>.
49740         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49741         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49743 2012-10-20  Roland McGrath  <roland@hack.frob.com>
49745         * io/fcntl.h: Move include of <bits/types.h> to the top and
49746         include it unconditionally.
49748 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
49750         * wcsmbs/Makefile (tests-ifunc): New variable.
49751         (tests): Add $(tests-ifunc).
49752         * wcsmbs/test-wcschr-ifunc.c: New file.
49753         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
49754         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
49755         * wcsmbs/test-wcslen-ifunc.c: Likewise.
49756         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
49757         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
49759         * string/Makefile (tests-ifunc): New variable.
49760         (tests): Add $(tests-ifunc).
49761         * string/test-memccpy.c (TEST_NAME): New macro.
49762         * string/test-memchr.c (TEST_NAME): Likewise.
49763         * string/test-memcmp.c (TEST_NAME): Likewise.
49764         * string/test-memcpy.c (TEST_NAME): Likewise.
49765         * string/test-memmem.c (TEST_NAME): Likewise.
49766         * string/test-memmove.c (TEST_NAME): Likewise.
49767         * string/test-memset.c (TEST_NAME): Likewise.
49768         * string/test-rawmemchr.c (TEST_NAME): Likewise.
49769         * string/test-stpcpy.c (TEST_NAME): Likewise.
49770         * string/test-stpncpy.c (TEST_NAME): Likewise.
49771         * string/test-strcasecmp.c (TEST_NAME): Likewise.
49772         * string/test-strcasestr.c (TEST_NAME): Likewise.
49773         * string/test-strcat.c (TEST_NAME): Likewise.
49774         * string/test-strchr.c (TEST_NAME): Likewise.
49775         * string/test-strcmp.c(TEST_NAME): Likewise.
49776         * string/test-strcpy.c (TEST_NAME): Likewise.
49777         * string/test-strcspn.c (TEST_NAME): Likewise.
49778         * string/test-strlen.c (TEST_NAME): Likewise.
49779         * string/test-strncasecmp.c (TEST_NAME): Likewise.
49780         * string/test-strncmp.c (TEST_NAME): Likewise.
49781         * string/test-strncpy.c (TEST_NAME): Likewise.
49782         * string/test-strnlen.c (TEST_NAME): Likewise.
49783         * string/test-strpbrk.c (TEST_NAME): Likewise.
49784         * string/test-strrchr.c (TEST_NAME): Likewise.
49785         * string/test-strspn.c (TEST_NAME): Likewise.
49786         * string/test-strstr.c (TEST_NAME): Likewise.
49787         * string/test-bcopy-ifunc.c: New file.
49788         * string/test-bzero-ifunc.c: Likewise.
49789         * string/test-memccpy-ifunc.c: Likewise.
49790         * string/test-memchr-ifunc.c: Likewise.
49791         * string/test-memcmp-ifunc.c: Likewise.
49792         * string/test-memcpy-ifunc.c: Likewise.
49793         * string/test-memmem-ifunc.c: Likewise.
49794         * string/test-memmove-ifunc.c: Likewise.
49795         * string/test-mempcpy-ifunc.c: Likewise.
49796         * string/test-memset-ifunc.c: Likewise.
49797         * string/test-rawmemchr-ifunc.c: Likewise.
49798         * string/test-stpcpy-ifunc.c: Likewise.
49799         * string/test-stpncpy-ifunc.c: Likewise.
49800         * string/test-strcasecmp-ifunc.c: Likewise.
49801         * string/test-strcasestr-ifunc.c: Likewise.
49802         * string/test-strcat-ifunc.c: Likewise.
49803         * string/test-strchr-ifunc.c: Likewise.
49804         * string/test-strchrnul-ifunc.c: Likewise.
49805         * string/test-strcmp-ifunc.c: Likewise.
49806         * string/test-strcpy-ifunc.c: Likewise.
49807         * string/test-strcspn-ifunc.c: Likewise.
49808         * string/test-strlen-ifunc.c: Likewise.
49809         * string/test-strncasecmp-ifunc.c: Likewise.
49810         * string/test-strncat-ifunc.c: Likewise.
49811         * string/test-strncmp-ifunc.c: Likewise.
49812         * string/test-strncpy-ifunc.c: Likewise.
49813         * string/test-strnlen-ifunc.c: Likewise.
49814         * string/test-strpbrk-ifunc.c: Likewise.
49815         * string/test-strrchr-ifunc.c: Likewise.
49816         * string/test-strspn-ifunc.c: Likewise.
49817         * string/test-strstr-ifunc.c: Likewise.
49819         * debug/Makefile (tests-ifunc): New variable.
49820         (tests): Add $(tests-ifunc).
49821         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
49822         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
49823         * debug/test-stpcpy_chk-ifunc.c: New file.
49824         * debug/test-strcpy_chk-ifunc.c: Likewise.
49826 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49828         [BZ #13601]
49829         * elf/dl-load.c (open_verify): Retry read if the entire ELF
49830         header is not read in.
49832 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
49834         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
49835         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
49836         directly.  Pass built executable to script as
49837         $(built-program-cmd).
49838         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
49839         $testprogram without using LD_LIBRARY_PATH and $ldso.
49841         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
49842         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
49843         $(rtld-installed-name).
49844         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
49845         (rtld_installed_name): Likewise.
49846         (library_path): Likewise.
49847         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
49848         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
49849         $(run-program-prefix) to tst-tables.sh.
49850         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
49851         it to run tst-table-from and tst-table-to.
49852         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
49853         Pass it to tst-table.sh.
49854         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
49855         $(run-program-prefix) to tst-gettext.sh.
49856         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
49857         tst-translit.sh.
49858         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
49859         tst-gettext2.sh.
49860         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
49861         to run tst-gettext.
49862         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
49863         to run tst-gettext2.
49864         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
49865         to run tst-translit.
49866         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
49867         $(run-program-prefix) to tst-mtrace.sh.
49868         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
49869         to run tst-mtrace.
49870         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
49871         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
49872         $(rtld-installed-name).
49873         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
49874         (rtld_installed_name): Likewise.
49875         (run_program_prefix): New variable.  Use it to run wordexp-test.
49877         * Makeconfig (ARCH): Remove all definitions.
49878         (machine): Likewise.
49879         [ARCH]: Remove conditional code.
49880         [!objdir]: Give error.
49881         [!objdir] (objpfx): Remove.
49882         [!objdir] (common-objpfx): Likewise.
49883         [!objdir] (common-objdir): Likewise.
49884         * configure.in (config_makefile): Remove.  Hardcode Makefile in
49885         AC_CONFIG_FILES call.
49886         * configure: Regenerated.
49888         [BZ #13888]
49889         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
49890         or TMPDIR.
49891         (testout): Likewise.
49893         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
49894         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
49895         $(rtld-installed-name).
49896         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
49897         (rtld_installed_name): Likwise.
49898         (runit): Remove function.
49899         (run_getconf): New variable,  Use it for running getconf binary.
49901 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
49903         [BZ #14716]
49904         * string/test-memmem.c (check_result): New function.
49905         (do_one_test): Use it.
49906         (check1): New function.
49907         (test_main): Use it.
49909 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
49911         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
49913 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
49915         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
49916         (_G_LSEEK64): Likewise.
49917         (_G_MMAP64): Likewise.
49918         (_G_FSTAT64): Likewise.
49919         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
49920         (_G_LSEEK64): Likewise.
49921         (_G_MMAP64): Likewise.
49922         (_G_FSTAT64): Likewise.
49923         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
49924         unconditional.  Call __mmap64 directly.
49925         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
49926         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
49927         __lseek64 directly.
49928         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
49929         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
49930         __mmap64 directly.
49931         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
49932         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
49933         __lseek64 directly.
49934         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
49935         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
49936         __lseek64 directly.
49937         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
49938         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
49939         __lseek64 directly.
49940         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
49941         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
49942         __fxstat64 directly.
49943         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
49944         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
49945         unconditional.
49946         (freopen64) [!_G_OPEN64]: Remove conditional code.
49947         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
49948         unconditional.
49949         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
49950         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
49951         unconditional.
49952         (ftello64) [!_G_LSEEK64]: Remove conditional code.
49953         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
49954         unconditional.
49955         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
49956         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
49957         unconditional.
49958         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
49959         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
49960         unconditional.
49961         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
49962         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
49963         unconditional.
49964         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
49965         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
49966         unconditional.
49967         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
49969 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
49971         [BZ #12140]
49972         * manual/memory.texi (Malloc Tunable Parameters): Add note
49973         about free list pointers overwriting some perturb bytes.
49974         Wording suggested by Roland McGrath.
49976 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
49978         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
49979         (lgamma_test): Likewise.
49980         (tgamma_test): Likewise.
49982 2012-10-16  Florian Weimer  <fweimer@redhat.com>
49984         [BZ #14700]
49985         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
49986         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
49988 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
49990         * NEWS: Mention BZ #14716.
49991         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
49992         when removing AVAILABLE1_USES_J macro.
49994 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
49996         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
49997         (__bswap_64): __uint64_t for unsigned 64-bit int.
49999 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
50001         * include/string.h (memmem): Declare libc hidden alias.
50002         * string/memmem.c (memmem): Define libc hidden alias.
50003         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
50004         __read, __close instead of open, read, close.
50006 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
50008         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
50009         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
50010         global and hidden.
50011         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
50012         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
50013         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
50014         Likewise.
50015         (__rawmemchr_sse2): Likewise.
50016         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
50017         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
50018         (__strchr_sse2): Likewise.
50019         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
50020         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
50021         (__strcasecmp_sse2): Likewise.
50022         (__strncasecmp_sse2): Likewise.
50023         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
50024         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
50025         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
50026         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
50027         (__strrchr_sse2): Likewise.
50028         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
50029         ifunc-impl-list.c.
50030         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
50031         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
50032         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
50033         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
50034         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
50035         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
50036         * sysdeps/x86_64/multiarch/memset.S: Likewise.
50037         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50038         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
50039         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
50040         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
50041         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
50042         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
50043         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
50044         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
50045         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
50046         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
50047         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
50048         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
50049         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
50050         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
50051         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
50052         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
50053         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
50054         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
50055         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50056         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
50057         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
50058         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
50059         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
50061         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
50062         global and hidden.
50063         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
50064         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
50065         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
50066         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
50067         Likewise.
50068         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
50069         Likewise.
50070         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
50071         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
50072         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
50073         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
50074         ifunc-impl-list.c.
50075         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50076         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50077         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50078         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50079         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50080         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50081         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50082         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50083         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50084         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50085         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50086         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50087         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50088         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
50089         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
50090         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50091         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
50092         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
50093         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50094         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50095         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50096         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50097         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50098         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50099         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50100         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
50101         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
50102         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
50103         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
50104         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50105         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
50106         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50107         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50108         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
50109         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50110         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50111         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50112         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50113         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50114         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50115         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
50117         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
50118         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
50119         * include/ifunc-impl-list.h: New file.
50120         * misc/ifunc-impl-list.c: Likewise.
50121         * misc/Makefile (routines): Add ifunc-impl-list.
50122         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
50123         * string/test-string.h: Include <ifunc-impl-list.h>.
50124         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
50125         TEST_NAME]: New variables.
50126         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
50127         are defined.
50128         (test_init): Call __libc_ifunc_impl_list to initialize
50129         func_list if TEST_IFUNC and TEST_NAME are defined.
50131         * string/Makefile (strop-tests): Add bcopy and bzero.
50132         * string/test-bcopy.c: New file.
50133         * string/test-bzero.c: Likewise.
50134         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
50135         defined.
50136         * string/test-memset.c: Support bzero test if TEST_BZERO is
50137         defined.
50138         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
50139         __libc_memmove.
50140         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
50141         __libc_memset.
50142         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
50143         of memset.
50145 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
50147         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
50148         * configure: Regenerated.
50150         * Makeconfig (+link-static-before-libc): Don't include
50151         $(link-static-libc).
50153         * libio/libio.h (_IO_pos_t): Remove.
50155 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
50157         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
50158         McGrath.
50160 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
50162         * crypt/crypt-entry.c: Include fips-private.h.
50163         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
50164         * crypt/md5c-test.c (main): Tolerate disabled MD5.
50165         * sysdeps/unix/sysv/linux/fips-private.h: New file.
50166         * sysdeps/generic/fips-private.h: New file, dummy fallback.
50168 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
50170         * crypt/crypt-private.h: Include stdbool.h.
50171         (_ufc_setup_salt_r): Return bool.
50172         * crypt/crypt-entry.c: Include errno.h.
50173         (__crypt_r): Return NULL with EINVAL for bad salt.
50174         * crypt/crypt_util.c (bad_for_salt): New.
50175         (_ufc_setup_salt_r): Check that salt is long enough and within
50176         the specified alphabet.
50177         * crypt/badsalttest.c: New file.
50178         * crypt/Makefile (tests): Add it.
50179         ($(objpfx)badsalttest): New.
50181 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
50183         * NEWS: Add entry for BZ #14602.
50185 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
50187         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
50188         type-generic.
50189         * math/libm-test.inc: Update comment listing what functions and
50190         macros are tested.
50191         (isgreater_test): New function.
50192         (isgreaterequal_test): Likewise.
50193         (isless_test): Likewise.
50194         (islessequal_test): Likewise.
50195         (islessgreater_test): Likewise.
50196         (isunordered_test): Likewise.
50197         (main): Call the new functions.
50199 2012-10-09  Roland McGrath  <roland@hack.frob.com>
50201         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
50202         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
50203         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
50204         * sysdeps/i386/configure: Regenerated.
50205         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
50206         * sysdeps/mach/configure: Regenerated.
50207         * sysdeps/mach/hurd/configure: Regenerated.
50208         * sysdeps/powerpc/configure: Regenerated.
50209         * sysdeps/powerpc/powerpc32/configure: Regenerated.
50210         * sysdeps/powerpc/powerpc64/configure: Regenerated.
50211         * sysdeps/s390/s390-32/configure: Regenerated.
50212         * sysdeps/s390/s390-64/configure: Regenerated.
50213         * sysdeps/sh/configure: Regenerated.
50214         * sysdeps/sparc/configure: Regenerated.
50215         * sysdeps/unix/sysv/linux/configure: Regenerated.
50216         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
50217         * sysdeps/x86_64/configure: Regenerated.
50219         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
50220         defined.  Don't check if MAP is NULL.
50222 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
50224         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
50225         (_G_stat64): Likewise.
50226         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
50227         (_G_stat64): Likewise.
50228         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
50229         instead of struct _G_stat64.
50230         * libio/fileops.c (mmap_remap_check): Likewise.
50231         (decide_maybe_mmap): Likewise.
50232         (_IO_new_file_seekoff): Likewise.
50233         (_IO_file_stat): Likewise.
50234         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
50235         _G_off64_t.
50236         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
50237         instead of struct _G_stat64.
50238         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
50240 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
50242         [BZ #14602]
50243         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
50244         Replace with ...
50245         (CHECK_EOL): New macro.
50246         (two_way_short_needle): Check beginning of haystack for EOL.  Use
50247         CHECK_EOL.
50248         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
50249         Replace with CHECK_EOL.
50250         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
50251         Replace with CHECK_EOL.
50253 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
50255         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
50256         type-generic.
50257         * math/libm-test.inc: Update comment listing what functions and
50258         macros are tested.
50259         (finite_test): New function.
50260         (isinf_test): Likewise.
50261         (isnan_test): Likewise.
50262         (fpclassify_test): Test subnormal input.
50263         (isfinite_test): Likewise.
50264         (isnormal_test): Likewise.
50265         (main): Call the new functions.
50267 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
50269         [BZ #14660]
50270         * Makerules (%.dynsym): Force C locale when running
50271         $(OBJDUMP) --dynamic-syms.
50273 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
50275         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
50276         <stdint.h>.
50278 2012-10-06  David S. Miller  <davem@davemloft.net>
50280         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
50281         upper 32-bits of the length value in %o2 since we use branch-on-register
50282         tests which consider the entire 64-bit register.
50284 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
50286         * string/test-strstr.c (check2): Add a test for page boundary.
50288 2012-10-05  David S. Miller  <davem@davemloft.net>
50290         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
50291         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
50292         file.
50293         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
50294         sysdep_routines.
50295         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
50296         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
50297         and bzero when HWCAP_SPARC_CRYPTO is present.
50299 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
50301         [BZ #14602]
50302         * string/test-strstr.c (check2): New function.
50303         (test_main): Call check2.
50305         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
50306         and bug-strchr1.
50307         * string/bug-strcasestr1.c (do_test): Moved to ...
50308         * string/test-strcasestr.c (check1): Here.  New function.
50309         (do_one_test): Break out result checking code into ...
50310         (check_result): This.  New function.
50311         (do_one_test): Call check_result.
50312         (test_main): Call check1.
50313         * string/bug-strchr1.c (do_test): Moved to ...
50314         * string/test-strchr.c (check1): Here.  New function.
50315         (do_one_test): Break out result checking code into ...
50316         (check_result): This.  New function.
50317         (do_one_test): Call check_result.
50318         (test_main): Call check1.
50319         * string/bug-strstr1.c (main): Moved to ...
50320         * string/test-strstr.c (check1): Here.  New function.
50321         (do_one_test): Break out result checking code into ...
50322         (check_result): This.  New function.
50323         (do_one_test): Call check_result.
50324         (test_main): Call check1.
50325         * string/bug-strcasestr1.c: Removed.
50326         * string/bug-strchr1.c: Likewise.
50327         * string/bug-strstr1.c: Likewise.
50329         * elf/Makefile (dl-routines): Add hwcaps.
50330         * elf/dl-support.c (_dl_important_hwcaps): Removed.
50331         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
50332         (_dl_important_hwcaps): Moved to ...
50333         * elf/dl-hwcaps.c: Here.  New file.
50334         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
50336         [BZ #14557]
50337         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
50338         if IS_IN_rtld isn't defined.
50340         * elf/dl-support.c (_dl_sysinfo_map): New.
50341         Include "get-dynamic-info.h" and "setup-vdso.h".
50342         (_dl_non_dynamic_init): Call setup_vdso.
50343         * elf/dynamic-link.h: Don't include <assert.h>.
50344         (elf_get_dynamic_info): Moved to ...
50345         * elf/get-dynamic-info.h: Here.  New file.
50346         * elf/dynamic-link.h: Include "get-dynamic-info.h".
50347         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
50348         * elf/setup-vdso.h: Here.  New file.
50349         * elf/rtld.c: Include "setup-vdso.h".
50350         (dl_main): Call setup_vdso.
50352 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
50354         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
50355         creal in comment listing functions tested.  List finite, isinf,
50356         isnan, isless, islessequal, isgreater, isgreaterequal,
50357         islessgreater, isunordered, lgamma_r and pow10 as functions and
50358         macros not tested.  Mention which functions not tested are aliases
50359         for other functions.  Fix typo.  Note that signs of NaNs are not
50360         tested.
50362         * scripts/config.guess: Update from config.git.
50363         * scripts/config.sub: Likewise.
50365 2012-10-04  Roland McGrath  <roland@hack.frob.com>
50367         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
50368         * misc/madvise.c (madvise): Renamed to __madvise.
50369         Make madvise a weak alias.
50370         * include/sys/mman.h: Declare __madvise.
50371         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
50372         * sysdeps/unix/syscalls.list
50373         (madvise): Make __madvise the strong name, and madvise a weak alias.
50374         * sysdeps/unix/sysv/linux/syscalls.list
50375         (madvise, mmap): Remove redundant entries.
50376         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
50377         * malloc/malloc.c (mtrim): Likewise.
50378         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
50380 2012-10-03  Roland McGrath  <roland@hack.frob.com>
50382         * sysdeps/mach/hurd/dl-cache.c: File removed.
50383         * config.h.in (USE_LDCONFIG): New #undef.
50384         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
50385         * configure: Regenerated.
50386         * elf/Makefile (dl-routines): Add dl-cache only under
50387         [$(use-ldconfig) = yes].
50388         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
50389         cache on [USE_LDCONFIG].
50390         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
50391         [USE_LDCONFIG].
50392         * elf/rtld.c (dl_main): Likewise.
50394 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
50396         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
50397         _SC_LEVEL4_CACHE_LINESIZE.
50399 2012-10-03  Roland McGrath  <roland@hack.frob.com>
50401         * sysdeps/unix/bsd/confstr.h: File removed.
50403 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
50405         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
50406         sys/sdt-config.h.
50408 2012-10-02  Roland McGrath  <roland@hack.frob.com>
50410         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
50411         Make 'mapoff' field ElfW(Off) rather than off_t.
50413 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
50415         * nscd/Makefile: Remove nscd-cflags and all its users.
50416         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
50417         (CFLAGS-nonlib): Add compiler flags for nscd modules.
50419         [BZ #10631]
50420         * malloc.c (malloc_printerr): Clarify error message.
50422 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
50424         [BZ #14648]
50425         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50426         Set bit_FMA_Usable if FMA is supported.
50427         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
50428         macro.
50429         (bit_FMA4_Usable): Updated.
50430         (index_FMA_Usable): New macro.
50431         (CPUID_FMA): Likewise
50432         (HAS_FMA): Defined with bit_FMA_Usable.
50434 2012-10-01  Roland McGrath  <roland@hack.frob.com>
50436         * bits/types.h (__swblk_t): Type removed.
50437         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
50438         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
50439         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50440         (__SWBLK_T_TYPE): Likewise.
50441         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
50442         (__SWBLK_T_TYPE): Likewise.
50443         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50444         (__SWBLK_T_TYPE): Likewise.
50445         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50446         (__SWBLK_T_TYPE): Likewise.
50448 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
50449             Honza Horak <hhorak@redhat.com>
50451         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
50452         (xdr_mapname): Use YPMAXMAP as maxsize.
50453         (xdr_peername): Use YPMAXPEER as maxsize.
50454         (xdr_keydat): Use YPAXRECORD as maxsize.
50455         (xdr_valdat): Use YPMAXRECORD as maxsize.
50457 2012-10-01  Roland McGrath  <roland@hack.frob.com>
50459         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
50461         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
50462         * csu/init-first.c: ... here.
50463         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
50464         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
50465         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
50466         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
50467         * sysdeps/i386/init-first.c: File removed.
50468         * sysdeps/sh/init-first.c: File removed.
50470 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
50472         [BZ #14645]
50473         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
50474         if x * y might underflow to zero and z is zero.
50475         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50476         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50477         * math/libm-test.inc (min_subnorm_value): New variable.
50478         (fma_test): Add more tests.
50479         (fma_test_towardzero): Likewise.
50480         (fma_test_downward): Likewise
50481         (fma_test_upward): Likewise.
50482         (initialize): Set min_subnorm_value.
50484 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
50486         [BZ #14638]
50487         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
50488         0 + 0.
50489         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
50490         mode for addition resulting in exact zero.
50491         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
50492         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
50493         exact 0 + 0.
50494         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50495         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50496         * math/libm-test.inc (fma_test): Add more tests.
50497         (fma_test_towardzero): New function.
50498         (fma_test_downward): Likewise.
50499         (fma_test_upward): Likewise.
50500         (main): Call the new functions.
50502 2012-09-28  David S. Miller  <davem@davemloft.net>
50504         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
50506 2012-09-28  Roland McGrath  <roland@hack.frob.com>
50508         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
50509         instead of SIGALRM.
50511         * sysdeps/gnu/_G_config.h: Moved to ...
50512         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
50513         * sysdeps/mach/hurd/_G_config.h: Moved to ...
50514         * sysdeps/generic/_G_config.h: ... here.
50516         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
50518         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
50520         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
50521         Conditionalize target on [libnss_test1.so-version].
50523         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
50525         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
50526         (elfobjdir): Move out of conditionals.
50528         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
50529         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
50530         (__nss_lookup_function): Conditionalize label remove_from_tree on
50531         [!DO_STATIC_NSS || SHARED], matching its only use.
50533 2012-09-28  David S. Miller  <davem@davemloft.net>
50535         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
50536         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
50537         file.
50538         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
50539         sysdep_routines.
50540         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
50541         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
50542         when HWCAP_SPARC_CRYPTO is present.
50544 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
50546         * io/tst-mknodat.c: Create a FIFO instead of a socket.
50548 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
50550         [BZ #6530]
50551         * stdio-common/vfprintf.c (process_string_arg): Revert
50552         2000-07-22 change.
50554 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
50556         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
50557         for testcase.
50558         * stdio-common/tst-sprintf.c: Include <locale.h>
50559         (main): Test sprintf's handling of incomplete multibyte
50560         characters.
50562 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
50564         * elf/dl-runtime.c (VERSYMIDX): Removed.
50565         * elf/dl-version.c (VERSYMIDX): Likewise.
50566         * elf/do-rel.h (VERSYMIDX): Likewise.
50567         (VALIDX): Likewise.
50568         * elf/dynamic-link.h (VERSYMIDX): Likewise.
50569         * elf/rtld.c (VALIDX): Likewise.
50570         (ADDRIDX): Likewise.
50571         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
50572         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
50573         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
50574         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
50575         (VALIDX): Likewise.
50576         (ADDRIDX): Likewise.
50578 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
50580         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
50582 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
50584         [BZ #11438]
50585         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
50586         to global scope.
50587         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
50588         addresses are in the same scope as 192.0.2/24.
50589         * posix/gai.conf: Document new scope table defaults.
50591 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50593         [BZ #5298]
50594         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
50595         for ftell.  Compute offsets from write pointers instead.
50596         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
50598 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50600         [BZ #14543]
50601         * libio/Makefile (tests): New test case tst-fseek.
50602         * libio/tst-fseek.c: New test case to verify that fseek/ftell
50603         combination works in wide mode.
50604         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
50605         state when the external buffer state changes.
50607 2012-09-27  David S. Miller  <davem@davemloft.net>
50609         [BZ #14376]
50610         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
50611         pass reloc->r_addend in as the 'high' argument to
50612         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
50614         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50616 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
50618         * rt/tst-aio2.c: Include <pthread.h>.
50619         * rt/tst-aio3.c: Likewise.
50621 2012-09-27  Steve Ellcey  <sellcey@mips.com>
50623         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
50625 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
50627         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
50628         contents on [SHARED].
50630 2012-09-26  Marek Polacek  <polacek@redhat.com>
50632         [BZ #14530]
50633         [BZ #13741]
50634         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
50635         for C++ and GCC <4.3 as well as for non GCC compilers.
50637 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
50639         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50641 2012-09-25  Roland McGrath  <roland@hack.frob.com>
50643         * Makefile.in (all, install): Declare with .PHONY.
50644         Reported by Michael Hope <michael.hope@linaro.org>.
50646 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50648         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
50649         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
50650         system header.
50651         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
50652         Likewise.
50653         (sydep_routines): Add the new and the internal functions.
50654         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
50655         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
50656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
50657         (GLIBC_2.17): Add the new function.
50658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
50659         (GLIBC_2.17): Likewise.
50660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
50661         (GLIBC_2.17): Likewise.
50662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
50663         (GLIBC_2.17): Likewise.
50664         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
50666 2012-09-25  Alan Modra  <amodra@gmail.com>
50668         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
50669         Add release barrier before setting once_control to say
50670         initialisation is done.  Add hints on lwarx.  Use macro in
50671         place of isync.
50672         (clear_once_control): Add release barrier.
50674 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
50676         [BZ #13629]
50677         * math/s_clog.c (__clog): Handle more values close to |z| = 1
50678         specially.
50679         * math/s_clog10.c (__clog10): Likewise.
50680         * math/s_clog10f.c (__clog10f): Likewise.
50681         * math/s_clog10l.c (__clog10l): Likewise.
50682         * math/s_clogf.c (__clogf): Likewise.
50683         * math/s_clogl.c (__clogl): Likewise.
50684         * math/Makefile (libm-calls): Add x2y2m1.
50685         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
50686         (__x2y2m1): Likewise.
50687         (__x2y2m1l): Likewise.
50688         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
50689         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
50690         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
50691         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
50692         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
50693         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
50694         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
50695         * sysdeps/i386/fpu/libm-test-ulps: Update.
50696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50698         [BZ #14621]
50699         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
50700         int as type of variable DEPTH.
50701         (glob): Use size_t instead of int as type of variables NEWCOUNT
50702         and OLD_PATHC.
50704 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50706         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
50707         Add s_sincosf-sse2.
50708         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
50709         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
50710         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
50711         macros for using routine as __sincosf_ia32.
50712         Use macro for function declaration and weak_alias.
50713         * sysdeps/i386/fpu/libm-test-ulps: Update.
50715         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
50716         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50718         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
50719         subnormal argument.
50720         * math/s_cexpf.c (__cexpf): Likewise.
50721         * math/s_csinf.c (__csinf): Likewise.
50722         * math/s_csinhf.c (__csinhf): Likewise.
50723         * math/s_ctanf.c (__ctanf): Likewise.
50724         * math/s_ctanhf.c (__ctanhf): Likewise.
50725         * math/s_ccosh.c (__ccoshf): Likewise.
50726         * math/s_cexp.c (__cexpl): Likewise.
50727         * math/s_csin.c (__csin): Likewise.
50728         * math/s_csinh.c (__csinh): Likewise.
50729         * math/s_ctan.c (__ctan): Likewise.
50730         * math/s_ctanh.c (ctanh): Likewise.
50731         * math/s_ccoshl.c (__ccoshl): Likewise.
50732         * math/s_cexpl.c (__cexpl): Likewise.
50733         * math/s_csinl.c (__csinl): Likewise.
50734         * math/s_csinhl.c (__csinhl): Likewise.
50735         * math/s_ctanl.c (__ctanl): Likewise.
50736         * math/s_ctanhl.c (__ctanhl): Likewise.
50738 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
50740         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
50741         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
50742         (_IO_off_t): Define to __off_t, not _G_off_t.
50743         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
50744         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
50745         (_IO_wint_t): Define to wint_t, not _G_wint_t.
50746         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
50747         type of __dummy and __dummy2 fields.
50748         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
50749         (_G_ssize_t): Likewise.
50750         (_G_off_t): Likewise.
50751         (_G_pid_t): Likewise.
50752         (_G_uid_t): Likewise.
50753         (_G_wchar_t): Likewise.
50754         (_G_wint_t): Likewise.
50755         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
50756         (_G_ssize_t): Likewise.
50757         (_G_off_t): Likewise.
50758         (_G_pid_t): Likewise.
50759         (_G_uid_t): Likewise.
50760         (_G_wchar_t): Likewise.
50761         (_G_wint_t): Likewise.
50762         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
50763         (_G_ssize_t): Likewise.
50764         (_G_off_t): Likewise.
50765         (_G_pid_t): Likewise.
50766         (_G_uid_t): Likewise.
50767         (_G_wchar_t): Likewise.
50768         (_G_wint_t): Likewise.
50770 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50772         * malloc/arena.c: Include malloc-sysdep.h.
50773         (shrink_heap): Use check_may_shrink_heap to decide if madvise
50774         is sufficient to shrink the heap or an unmap is needed.
50775         * sysdeps/generic/malloc-sysdep.h: New file.  Define
50776         new function check_may_shrink_heap.
50777         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
50778         new function check_may_shrink_heap.
50780 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50782         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
50783         comments.
50785 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
50787         * catgets/test-gencat.sh: Add "set -e".
50788         * elf/tst-pathopt.sh: Likewise.
50789         * grp/tst_fgetgrent.sh: Likewise.
50790         * iconvdata/run-iconv-test.sh: Likewise.
50791         * intl/tst-gettext.sh: Likewise.
50792         * intl/tst-gettext2.sh: Likewise.
50793         * intl/tst-gettext4.sh: Likewise.
50794         * intl/tst-gettext6.sh: Likewise.
50795         * intl/tst-translit.sh: Likewise.
50796         * io/ftwtest-sh: Likewise.
50797         * libio/test-freopen.sh: Likewise.
50798         * malloc/tst-mtrace.sh: Likewise.
50799         * posix/globtest.sh: Likewise.
50800         * posix/tst-getconf.sh: Likewise.
50801         * posix/wordexp-tst.sh: Likewise.
50802         * stdio-common/tst-printf.sh: Likewise.
50803         * stdio-common/tst-unbputc.sh: Likewise.
50804         * stdlib/tst-fmtmsg.sh: Likewise.
50805         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
50806         * catgets/Makefile: Do not specify -e option when running
50807         testsuite shell scripts.
50808         * elf/Makefile: Likewise.
50809         * grp/Makefile: Likewise.
50810         * iconvdata/Makefile: Likewise.
50811         * intl/Makefile: Likewise.
50812         * io/Makefile: Likewise.
50813         * libio/Makefile: Likewise.
50814         * malloc/Makefile: Likewise.
50815         * posix/Makefile: Likewise.
50816         * stdio-common/Makefile: Likewise.
50817         * stdlib/Makefile: Likewise.
50818         * sysdeps/x86_64/Makefile: Likewise.
50820         * io/ftwtest-sh: Add copyright header.
50821         * posix/globtest.sh: Likewise.
50822         * posix/tst-getconf.sh: Likewise.
50823         * posix/wordexp-tst.sh: Likewise.
50824         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
50826 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
50828         [BZ #13679]
50829         * Makeconfig (+link): Defined as $(+link-static) if
50830         $(build-shared) isn't yes.
50831         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
50832         isn't yes.
50833         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
50835         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
50837         [BZ #14562]
50838         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
50839         new chunk size with MALLOC_ALIGN_MASK.
50841 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
50843         [BZ #5044]
50844         * stdio-common/printf_fphex.c: Include <stdbool.h> and
50845         <rounding-mode.h>.
50846         (__printf_fphex): Determine rounding using get_rounding_mode and
50847         round_away.
50848         * stdio-common/tst-printf-round.c (struct hex_test): New
50849         structure.
50850         (hex_tests): New variable.
50851         (test_hex_in_one_mode): New function.
50852         (do_test): Also run tests for hex float output.
50854 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
50856         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
50857         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
50858         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
50859         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
50860         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
50861         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
50862         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
50863         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
50865 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
50867         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
50868         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
50869         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
50870         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
50872 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
50874         [BZ #14579]
50875         * elf/rtld.c (dl_main): Limit the check for self loading to normal
50876         mode only.
50877         * elf/tst-rtld-load-self.sh: New test.
50878         * elf/Makefile: Run it.
50880 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
50882         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
50883         (tst-writev-ENV): Remove.
50884         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
50886 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
50888         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
50890 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
50892         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
50893         unconditional.
50894         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
50895         Likewise.
50896         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
50897         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
50898         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
50899         Likewise.
50901 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
50903         [BZ #14587]
50904         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
50905         * config.make.in (have-cpp-asm-debuginfo): Removed.
50906         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
50907         * configure: Regenerated.
50909 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
50911         [BZ #5044]
50912         * stdio-common/printf_fp.c: Include <stdbool.h> and
50913         <rounding-mode.h>.
50914         (___printf_fp): Determine rounding using get_rounding_mode and
50915         round_away.
50916         * stdio-common/tst-printf-round.c: New file.
50917         * stdio-common/Makefile (tests): Add tst-printf-round.
50918         (link-libm): New variable.
50919         ($(objpfx)tst-printf-round): Depend in $(link-libm).
50921 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
50923         [BZ #14576]
50924         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
50925         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
50926         Likewise.
50927         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
50928         Likewise.
50930 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
50932         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
50933         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
50934         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
50935         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
50937 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
50939         [BZ #14518]
50940         * include/rounding-mode.h: New file.
50941         * sysdeps/generic/get-rounding-mode.h: Likewise.
50942         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
50943         * stdlib/strtod_l.c: Include <rounding-mode.h>.
50944         (MAX_VALUE): New macro.
50945         (MIN_VALUE): Likewise.
50946         (overflow_value): New function.
50947         (underflow_value): Likewise.
50948         (round_and_return): Use overflow_value and underflow_value to
50949         determine return values in overflow and underflow cases.  Use
50950         round_away to determine rounding depending on rounding mode.
50951         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
50952         determine return values in overflow and underflow cases.
50953         * stdlib/tst-strtod-round.c: Include <fenv.h>.
50954         (struct test_results): New structure.
50955         (struct test): Use struct test_results to store expected results
50956         for all rounding modes.
50957         (TEST): Include expected results for all rounding modes.
50958         (test_in_one_mode): New function.
50959         (do_test): Use test_in_one_mode to compute and check results.
50960         Check results for all rounding modes.
50961         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
50962         $(link-libm).
50964 2012-12-09  Allan McRae  <allan@archlinux.org>
50966         * sysdeps/i386/fpu/libm-test-ulps: Update
50968 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
50970         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
50971         (_G_int32_t): Likewise.
50972         (_G_uint16_t): Likewise.
50973         (_G_uint32_t): Likewise.
50974         (_G_HAVE_BOOL): Likewise.
50975         (_G_HAVE_ATEXIT): Likewise.
50976         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
50977         (_G_HAVE_IO_FILE_OPEN): Likewise.
50978         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
50979         (_G_int32_t): Likewise.
50980         (_G_uint16_t): Likewise.
50981         (_G_uint32_t): Likewise.
50982         (_G_HAVE_BOOL): Likewise.
50983         (_G_HAVE_ATEXIT): Likewise.
50984         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
50985         (_G_HAVE_IO_FILE_OPEN): Likewise.
50986         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
50987         (_G_int32_t): Likewise.
50988         (_G_uint16_t): Likewise.
50989         (_G_uint32_t): Likewise.
50990         (_G_HAVE_BOOL): Likewise.
50991         (_G_HAVE_ATEXIT): Likewise.
50992         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
50993         (_G_HAVE_IO_FILE_OPEN): Likewise.
50995 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
50997         * csu/libc-tls.c: Update copyright years.
50999 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
51001         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
51002         [!_G_USING_THUNKS]: Remove conditional code.
51003         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
51004         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
51006         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
51007         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
51008         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
51009         (_G_VTABLE_LABEL_PREFIX): Likewise.
51010         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
51011         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
51012         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
51013         (_G_VTABLE_LABEL_PREFIX): Likewise.
51014         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
51015         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
51016         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
51017         (_G_VTABLE_LABEL_PREFIX): Likewise.
51018         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
51020 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
51022         * libio/Makefile: Include ../Makeconfig before tests.
51023         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
51024         only if $(build-shared) is yes.
51026         * iconv/gconv_db.c: Update copyright years.
51028 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51030         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
51031         unwind info if defined PIC. Fix special cases description.
51032         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
51034         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
51035         DP_HI_MASK entry.
51036         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
51038 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
51040         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
51042         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
51043         is NULL.
51045         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
51046         (LDLIBS-tst-chk4): This.
51047         (LDFLAGS-tst-chk5): Renamed to ...
51048         (LDLIBS-tst-chk5): This.
51049         (LDFLAGS-tst-chk6): Renamed to ...
51050         (LDLIBS-tst-chk6): This.
51051         (LDFLAGS-tst-lfschk4): Renamed to ...
51052         (LDLIBS-tst-lfschk4): This.
51053         (LDFLAGS-tst-lfschk5): Renamed to ...
51054         (LDLIBS-tst-lfschk5): This.
51055         (LDFLAGS-tst-lfschk6): Renamed to ...
51056         (LDLIBS-tst-lfschk6): This.
51058         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
51059         on $(common-objpfx)soversions.mk.
51061 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
51063         [BZ #10014]
51064         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
51065         example host name.
51067 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
51069         * malloc/arena.c (arena_get_retry): New function that gets
51070         another arena for the caller to try its request on.
51071         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
51072         current arena cannot fulfill the request.
51073         (__libc_memalign): Likewise.
51074         (__libc_memalign): Likewise.
51075         (__libc_pvalloc): Likewise.
51076         (__libc_calloc): Likewise.
51078 2012-09-05  John Tobey  <john.tobey@gmail.com>
51080         [BZ #13542]
51081         * manual/arith.texi (Operations on Complex): Fix description
51082         of carg branch cut.
51084 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
51086         [BZ #10014]
51087         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
51088         host name.
51090         [BZ #10038]
51091         * manual/memory.texi (Memory): Make order of menu items match
51092         order of sections.
51094 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51096         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
51097         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
51098         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
51100 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51102         * csu/libc-tls.c (static_dtv): Renamed to ...
51103         (_dl_static_dtv): This.  Make it global.
51104         (_dl_initial_dtv): Removed.
51105         (__libc_setup_tls): Updated.
51106         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
51107         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
51108         DL_INITIAL_DTV.
51110 2012-09-06  Petr Machata  <pmachata@redhat.com>
51112         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
51113         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
51114         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
51115         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
51117 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51119         [BZ #14545]
51120         * csu/libc-tls.c (_dl_initial_dtv): New variable.
51121         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
51122         freeing dtv[-1].
51124 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51126         [BZ #14544]
51127         * Makeconfig (link-static-before-libc): Replace $(+prector)
51128         with $(+prectorT).
51129         (link-static-after-libc): Replace $(+postctor) with
51130         $(+postctorT).
51131         (link-bounded): Replace $(+prector)/$(+postctor) with
51132         $(+prectorT)/$(+postctorT).
51133         (+prectorT): New macro.
51134         (+postctorT): Likewise.
51136 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
51138         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
51139         (round_str): Handle values above the maximum for IBM long double
51140         as inexact.
51141         * stdlib/tst-strtod-round.c (tests): Regenerated.
51143 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51145         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
51146         assembler flag.
51147         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
51148         zarch_nohighgprs around the zarch optimized routines.
51149         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
51150         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
51151         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
51152         for zarch.
51154 2012-09-05  David S. Miller  <davem@davemloft.net>
51156         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51158         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
51159         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
51160         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
51161         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51162         entries.
51164 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51166         * malloc/arena.c: Fold copyright years.
51167         * malloc/mcheck.c, malloc/memusage.c: Likewise.
51169 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51171         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
51173 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51175         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
51177 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51179         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
51180         change internal state upon failure.
51182 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51184         * malloc/mcheck.c (mcheck_check_all): Fix typo.
51185         * malloc/memusage.c (mmap): Likewise.
51186         (mmap64, mremap): Likewise.  Adjust name in comment.
51188 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51190         * libio/fileops.c: Fix typos in comments.
51191         * libio/oldfileops.c: Likewise.
51192         * libio/wfileops.c: Likewise.
51194 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51196         [BZ #1349]
51197         * malloc/Makefile (tests): Add tst-malloc-usable test case.
51198         (tst-malloc-usable-ENV): Set environment for test case.
51199         * malloc/hooks.c (malloc_check_get_size): New function to get
51200         requested size.
51201         * malloc/malloc.c (musable): Use malloc_check_get_size.
51202         * malloc/tst-malloc-usable.c: New test case.
51204 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
51206         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
51208 2012-09-05  Allan McRae  <allan@archlinux.org>
51210         [BZ #13966]
51211         * configure.in (CXX_SYSINCLUDES): Use compiler output to
51212         determine header location.
51213         * configure: Regenerated.
51215 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
51217         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
51218         float format.
51219         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
51220         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
51221         format.
51222         (test): Regenerate.
51224 2012-09-04  David S. Miller  <davem@davemloft.net>
51226         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
51227         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
51228         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
51230 2012-09-04  Florian Weimer  <fweimer@redhat.com>
51232         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
51233         failures.
51235         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
51237 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
51239         [BZ #9914]
51240         * libio/iogetdelim.c: Include <limits.h>.
51241         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
51242         + len + 1 would overflow.
51244 2012-09-03  Andreas Jaeger  <aj@suse.de>
51246         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51247         * sysdeps/i386/fpu/libm-test-ulps: Update.
51249 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51251         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
51252         Add s_sinf-sse2, s_conf-sse2.
51254         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
51255         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
51256         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
51257         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
51259         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
51260         for using routine as __sinf_ia32.
51261         Use macro for function declaration and weak_alias.
51262         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
51263         for using routine as __cosf_ia32.
51264         Use macro for function declaration and weak_alias.
51266         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
51267         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
51269         * sysdeps/x86_64/fpu/s_sinf.S: New file.
51270         * sysdeps/x86_64/fpu/s_cosf.S: New file.
51271         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51273         * math/libm-test.inc (cos_test): Add more test cases.
51274         (sin_test): Likewise.
51275         (sincos_test): Likewise.
51277 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51279         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
51280         (IFUNC_RESOLVE): Make pointers to the specialized implementations
51281         hidden.
51282         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
51284 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
51286         [BZ #14538]
51287         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
51288         first element of the GOT.
51289         (elf_machine_load_address): Return the difference between
51290         the runtime address of _DYNAMIC and elf_machine_dynamic ().
51292 2012-09-01  Allan McRae  <allan@archlinux.org>
51294         [BZ #13412]
51295         * configure.in (AWK): Require gawk version 3.0 or later.
51296         * configure: Regenerated.
51298 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
51300         * sysdeps/unix/sysv/linux/kernel-features.h
51301         (__ASSUME_POSIX_CPU_TIMERS): Remove.
51302         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
51303         [__NR_clock_getres]: Make code unconditional.
51304         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
51305         (clock_getcpuclockid): Remove code left unreachable by removal of
51306         conditionals.
51307         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
51308         code unconditional.
51309         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
51310         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
51311         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
51312         Make code unconditional.
51313         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
51314         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
51315         * sysdeps/unix/sysv/linux/clock_settime.c
51316         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
51317         conditional code.
51318         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
51319         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
51321 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
51323         [BZ #14476]
51324         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
51325         scripts/test-installation.pl.
51327         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
51328         and $ld_so_version if it is set.
51330 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51332         [BZ #14516]
51333         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
51334         failure if reading from procfs failed.
51335         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
51337 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
51339         * sysdeps/unix/sysv/linux/kernel-features.h
51340         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
51341         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
51342         Remove conditional code.
51343         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51344         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
51345         Remove conditional code.
51346         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51347         * sysdeps/unix/sysv/linux/i386/fxstat.c
51348         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
51349         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51350         * sysdeps/unix/sysv/linux/i386/fxstatat.c
51351         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
51352         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51353         * sysdeps/unix/sysv/linux/i386/lxstat.c
51354         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
51355         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51356         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
51357         Remove conditional code.
51358         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51359         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
51360         Remove conditional code.
51361         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51362         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
51363         <kernel-features.h>.
51364         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
51365         Remove.
51366         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
51367         Remove conditional code.
51368         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51369         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
51370         Remove conditional.
51372 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
51374         [BZ #5400]
51375         * NEWS: Add fixed bug number.
51377 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
51379         [BZ #14519]
51380         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
51381         underflowing exponent in case of negative sign.
51382         * stdlib/tst-strtod-round-data: Add more tests.
51383         * stdlib/tst-strtod-round.c (tests): Regenerated.
51385         [BZ #3479]
51386         * stdlib/strtod_l.c (NDIG): Remove.
51387         (HEXNDIG): Likewise.
51388         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
51389         smallest representable value.
51390         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
51391         lie within an exact representation of 1/2 ulp of the result.
51392         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
51393         unconditionally.
51394         (TENS_P9_IDX): Define unconditionally.
51395         (TENS_P9_SIZE): Likewise.
51396         (TENS_P10_IDX): Likewise.
51397         (TENS_P10_SIZE): Likewise.
51398         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
51399         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
51400         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
51401         entries for 10^2^13 and 10^2^14.
51402         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
51403         (TENS_P13_IDX): Define.
51404         (TENS_P13_SIZE): Likewise.
51405         (TENS_P14_IDX): Likewise.
51406         (TENS_P14_SIZE): Likewise.
51407         (_fpioconst_pow10): Change array size to
51408         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
51409         unconditional.
51410         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
51411         1024]: Add entries for 10^2^13 and 10^2^14.
51412         [LAST_POW10 > _LAST_POW10]: Remove #error.
51413         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
51414         (_fpioconst_pow10): Change array size to
51415         FPIOCONST_POW10_ARRAY_SIZE.
51416         * stdlib/gen-fpioconst.c: New file.
51417         * stdlib/gen-tst-strtod-round.c: Likewise.
51418         * stdlib/tst-strtod-round-data: Likewise.
51419         * stdlib/tst-strtod-round.c: Likewise.
51420         * stdlib/Makefile (tests): Add tst-strtod-round.
51422         [BZ #14459]
51423         * stdlib/strtod_l.c: Include <stdint.h>.
51424         (NDEBUG): Do not define.
51425         (round_and_return): Change EXPONENT parameter to type intmax_t.
51426         Rearrange calculations to avoid internal overflow possibilities.
51427         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
51428         Rearrange calculations to avoid internal overflow possibilities.
51429         Assert that number fits inside MPNSIZE limbs.
51430         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
51431         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
51432         calculations and add assertions to avoid internal overflow
51433         possibilities.  Add casts to avoid signed/unsigned operations.
51434         * stdlib/tst-strtod-overflow.c: New file.
51435         * stdlib/Makefile (tests): Add tst-strtod-overflow.
51437 2012-08-25  Marek Polacek  <polacek@redhat.com>
51439         * time/time.h: Fix some typos in comments.
51441 2012-08-23  Roland McGrath  <roland@hack.frob.com>
51443         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
51444         * posix/tst-rfc3484-2.c: Likewise.
51445         * posix/tst-rfc3484-3.c: Likewise.
51447 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
51449         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
51450         (EF_ARM_ABI_FLOAT_HARD): Likewise.
51452 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
51454         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
51455         #include of fxstatat64.c.
51457 2012-08-22  Roland McGrath  <roland@hack.frob.com>
51459         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
51460         * shadow/getspent_r.c: Likewise.
51461         * shadow/getspnam.c: Likewise.
51462         * shadow/getspnam_r.c: Likewise.
51463         * gshadow/getsgent.c: Likewise.
51464         * gshadow/getsgent_r.c: Likewise.
51465         * gshadow/getsgnam.c: Likewise.
51466         * gshadow/getsgnam_r.c: Likewise.
51467         * inet/getnetbyad.c: Likewise.
51468         * inet/getnetbyad_r.c: Likewise.
51469         * inet/getnetbynm.c: Likewise.
51470         * inet/getnetbynm_r.c: Likewise.
51471         * inet/getnetent.c: Likewise.
51472         * inet/getnetent_r.c: Likewise.
51473         * inet/getproto.c: Likewise.
51474         * inet/getproto_r.c: Likewise.
51475         * inet/getprtent.c: Likewise.
51476         * inet/getprtent_r.c: Likewise.
51477         * inet/getprtname.c: Likewise.
51478         * inet/getprtname_r.c: Likewise.
51479         * inet/getrpcbyname.c: Likewise.
51480         * inet/getrpcbyname_r.c: Likewise.
51481         * inet/getrpcbynumber.c: Likewise.
51482         * inet/getrpcbynumber_r.c: Likewise.
51483         * inet/getrpcent.c: Likewise.
51484         * inet/getrpcent_r.c: Likewise.
51485         * inet/getaliasent.c: Likewise.
51486         * inet/getaliasent_r.c: Likewise.
51487         * inet/getaliasname.c: Likewise.
51488         * inet/getaliasname_r.c: Likewise.
51489         * nscd/getgrgid_r.c: Likewise.
51490         * nscd/getgrnam_r.c: Likewise.
51491         * nscd/gethstbyad_r.c: Likewise.
51492         * nscd/gethstbynm3_r.c: Likewise.
51493         * nscd/getpwnam_r.c: Likewise.
51494         * nscd/getpwuid_r.c: Likewise.
51495         * nscd/getsrvbynm_r.c: Likewise.
51496         * nscd/getsrvbypt_r.c: Likewise.
51497         * nscd/gai.c: Likewise.
51499         * configure.in (build_nscd): New substituted variable, set
51500         by --disable-build-nscd and defaults to $use_nscd.
51501         * configure: Regenerated.
51502         * config.make.in (build-nscd): New substituted variable.
51503         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
51504         Change conditional to require [$(build-nscd) = yes] as well.
51505         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
51507         [BZ# 13696]
51508         * configure.in (use_nscd): New substituted variable, set by
51509         --disable-nscd.  If enabled, define USE_NSCD.
51510         * configure: Regenerated.
51511         * config.h.in: Add USE_NSCD.
51512         * config.make.in (use-nscd): New substituted variable.
51513         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
51514         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
51515         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
51516         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
51517         (CFLAGS-getgrnam_r.c): Likewise.
51518         (CFLAGS-initgroups.c): Likewise.
51519         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
51520         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
51521         Variables removed.
51522         * inet/getnetgrent_r.c
51523         (nscd_setnetgrent): New function, broken out of ...
51524         (setnetgrent): ... here.  Call it.
51525         (innetgr): Conditionalize nscd bits on [USE_NSCD].
51526         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
51527         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
51528         * nscd/Makefile (routines, aux): Move definitions after include of
51529         Makeconfig.  Conditionalize on [$(use-nscd) != no].
51530         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
51531         Conditionalize on [USE_NSCD].
51532         (is_nscd, nscd_init_cb): Likewise.
51533         (nss_load_library): Conditionalize init callback on [USE_NSCD].
51534         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
51535         * nss/nss_db/db-init.c: Likewise.
51536         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
51537         [USE_NSCD].
51538         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
51539         (make_request): Use it.
51540         (cache_valid_p): New function.
51541         (__check_pf): Use it.
51542         * NEWS: Add item for --disable-nscd.
51544 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
51546         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
51547         to support sed >= 4.2.1-20-ga9bf076.
51548         * configure: Regenerated.
51550 2012-08-22  Roland McGrath  <roland@hack.frob.com>
51552         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
51553         Conditionalize whole body on [IREL].
51555 2012-08-22  Jeff Law <law@redhat.com>
51557         [BZ #14505]
51558         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
51559         if the family is PF_UNSPEC.
51561 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
51563         * Makerules (lib-version): Rename from V.
51564         (install-lib-nosubdir): Change V to lib-version.
51566 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
51568         [BZ #14252]
51569         * powerpc32/power6/wcschr.c: New file.
51570         * powerpc32/power6/wcscpy.c: New file.
51571         * powerpc32/power6/wcsrchr.c: New file.
51572         * powerpc64/power6/wcschr.c: New file.
51573         * powerpc64/power6/wcscpy.c: New file.
51574         * powerpc64/power6/wcsrchr.c: New file.
51576 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
51578         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
51579         (two_way_short_needle): Use it.
51580         * string/strstr.c (AVAILABLE1_USES_J): Define.
51581         * string/strcasestr.c: Likewise.
51583         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
51584         array references.
51585         * string/strcasestr.c (TOLOWER): Make side-effect safe.
51587         [BZ #11607]
51588         * NEWS: Add an entry.
51589         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
51590         define their defaults.
51591         (two_way_short_needle): Detect end-of-string on-the-fly.
51592         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
51593         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
51594         * string/bug-strcasestr1.c: New test.
51595         * string/Makefile: Run it.
51597 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
51599         [BZ #11607]
51600         * string/str-two-way.h (two_way_short_needle): Optimize matching of
51601         the first character.
51603 2012-08-21  Roland McGrath  <roland@hack.frob.com>
51605         * csu/elf-init.c (__libc_csu_irel): Function removed.
51606         * csu/libc-start.c (apply_irel): New function.
51607         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
51609 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
51611         * sysdeps/unix/sysv/linux/kernel-features.h
51612         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
51613         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
51614         <kernel-features.h>.
51615         [__NR_fadvise64_64]: Make code unconditional.
51616         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
51617         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
51618         !__NR_fadvise64_64)]: Likewise.
51619         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
51620         !__NR_fadvise64_64))]: Likewise.
51621         [__NR_fadvise64]: Make code unconditional.
51622         [!__NR_fadvise64]: Remove conditional code.
51623         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
51624         <kernel-features.h>.
51625         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
51626         unconditional.
51627         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
51628         conditional code.
51629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
51630         not include <kernel-features.h>.
51631         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
51632         unconditional.
51633         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
51634         conditional code.
51635         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
51636         include <kernel-features.h>.
51637         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
51638         unconditional.
51639         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
51640         conditional code.
51642 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
51644         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
51645         slight instruction rearrangements per scrollpipe analysis.
51646         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
51648 2012-08-20  Roland McGrath  <roland@hack.frob.com>
51650         * manual/syslog.texi (syslog; vsyslog, closelog):
51651         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
51652         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
51654         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
51655         DSOCAPS to match condition on defining it.
51657 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
51659         * sysdeps/unix/sysv/linux/kernel-features.h
51660         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
51661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
51662         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
51663         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
51664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
51665         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
51666         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
51667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
51668         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
51669         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
51671         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
51672         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
51674         * sysdeps/unix/sysv/linux/kernel-features.h
51675         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
51676         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
51677         unconditional.
51678         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51679         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
51680         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
51681         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51682         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
51683         Make code unconditional.
51684         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51685         (__mmap64) [!__NR_mmap2]: Likewise.
51686         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
51687         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
51688         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51689         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
51690         [__NR_mmap2]: Make code unconditional.
51691         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51692         (__mmap64) [!__NR_mmap2]: Likewise.
51694 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51696         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
51698 2012-08-18  Andreas Jaeger  <aj@suse.de>
51700         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
51702 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
51704         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
51705         * include/unistd.h (__have_sock_cloexec): Likewise.
51706         (__have_pipe2): Likewise.
51707         (__have_dup3): Likewise.
51709 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
51711         [BZ #9685]
51712         * include/unistd.h (__have_pipe2): Change define into an extern int.
51713         (__have_dup3): Likewise.
51714         * socket/have_sock_cloexec.c: Include fcntl.h.
51715         (__have_pipe2): New variable.
51716         (__have_dup3): Likewise.
51718 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
51720         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
51722 2012-08-17  Marek Polacek  <polacek@redhat.com>
51724         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
51725         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
51727 2012-08-17  Roland McGrath  <roland@hack.frob.com>
51729         * configure.in: Add AC_SUBST for sysheaders.
51730         * configure: Regenerated.
51731         * config.make.in (sysheaders): New substituted variable.
51733         * sysdeps/unix/mkfifo.c: Moved ...
51734         * sysdeps/posix/mkfifo.c: ... here.
51735         * sysdeps/unix/mkfifoat.c: Moved ...
51736         * sysdeps/posix/mkfifoat.c: ... here.
51738         * sysdeps/unix/utime.c: Moved ...
51739         * sysdeps/posix/utime.c: ... here.
51741         * sysdeps/unix/time.c: Moved ...
51742         * sysdeps/posix/time.c: ... here.
51743         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
51744         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
51746         * sysdeps/unix/nice.c: Moved ...
51747         * sysdeps/posix/nice.c: ... here.
51749         * sysdeps/unix/alarm.c: Moved ...
51750         * sysdeps/posix/alarm.c: ... here.
51752         * intl/Makefile ($(codeset_mo)): Depend on the input file.
51754 2012-08-17  Jeff Law <law@redhat.com>
51756         * intl/Makefile (codeset_mo): New variable.
51757         ($(codeset_mo)): New target.
51758         (tst-codeset.out): Depend on that.  Remove explicit rule.
51759         (tst-gettext3.out, tst-gettext5.out): Likewise.
51760         (LOCPATH-ENV, tst-codeset-ENV): New variables.
51761         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
51762         * intl/tst-codeset.sh: Remove.
51763         * intl/tst-gettext3.sh: Likewise.
51764         * intl/tst-gettext5.sh: Likewise.
51766 2012-08-17  Roland McGrath  <roland@hack.frob.com>
51768         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
51769         * sysdeps/unix/syscalls.list: ... here.
51771         * sysdeps/posix/getaddrinfo.c
51772         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
51773         (gaiconf_init, gaiconf_reload): Use them.
51774         [!_STATBUF_ST_NSEC]
51775         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
51776         Define using time_t rather than struct timespec.
51778         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
51779         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
51780         Macros removed.
51781         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
51782         [!NO_THREADS].
51783         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
51784         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
51785         Likewise.
51787         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
51788         __libc_cleanup_push argument.
51790         * bits/param.h: New file.
51791         * misc/sys/param.h: New file.
51792         * include/sys/param.h: New file.
51793         * misc/Makefile (headers): Add bits/param.h.
51794         * sysdeps/generic/sys/param.h: File removed.
51795         * sysdeps/unix/sysv/linux/bits/param.h: New file.
51796         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
51797         * sysdeps/mach/hurd/bits/param.h: New file.
51798         * sysdeps/mach/hurd/sys/param.h: File removed.
51800         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
51801         last change.
51803         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
51804         [_IO_MTSAFE_IO].
51805         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
51806         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
51807         New macros.
51809         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
51810         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
51811         rather than -D_IO_MTSAFE_IO conditionally.
51812         * stdio-common/Makefile (CPPFLAGS): Likewise.
51813         * wcsmbs/Makefile (CPPFLAGS): Likewise.
51814         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
51815         Use $(libio-mtsafe).
51816         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
51817         of -D_IO_MTSAFE_IO.
51818         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
51819         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
51820         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
51821         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
51822         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
51823         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
51824         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
51825         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
51826         (CFLAGS-fread_u_chk.c): Likewise.
51827         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
51828         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
51829         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
51830         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
51831         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
51832         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
51833         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
51834         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
51835         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
51837         * libio/Makefile: Test [$(libc-reentrant) = yes]
51838         instead of [$(filter %REENTRANT, $(defines)) nonempty].
51840         * Makeconfig
51841         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
51842         * sysdeps/pthread/configure: File removed.
51843         * sysdeps/pthread/Makeconfig: New file.
51844         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
51845         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
51847 2012-08-16  Gary Benson  <gbenson@redhat.com>
51849         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
51850         unmapping the first object in a namespace.
51852 2012-08-16  Roland McGrath  <roland@hack.frob.com>
51854         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
51855         (__internal_setnetgrent): ... this.  Add internal_function to
51856         definition.  Add libc_hidden_def.
51857         (setnetgrent): Update caller.
51858         (internal_endnetgrent): Renamed to ...
51859         (__internal_endnetgrent): ... this.  Add internal_function to
51860         definition.  Add libc_hidden_def.
51861         (endnetgrent): Update caller.
51862         (internal_getnetgrent_r): Renamed to ...
51863         (__internal_getnetgrent_r): ... this.  Add internal_function to
51864         definition.  Add libc_hidden_def.
51865         (__getnetgrent_r): Update caller.
51866         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
51868 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
51870         * stdlib/longlong.h: Update from GCC.
51872 2012-08-16  Roland McGrath  <roland@hack.frob.com>
51874         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
51875         on _QL, which is set by umul_ppmm but never used.
51876         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
51877         variables, which are set by GMP macros but never used.
51878         * stdio-common/_itowa.c (_itowa): Likewise.
51879         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
51880         * stdlib/mod_1.c (mpn_mod_1): Likewise.
51882 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
51884         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
51885         struct La_sh_regs is not constant.
51886         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
51887         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
51888         and struct La_sparc64_regs are not constant.
51890 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
51892         * sysdeps/unix/sysv/linux/kernel-features.h
51893         (__ASSUME_POSIX_TIMERS): Remove.
51894         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
51895         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
51896         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
51897         Make code unconditional.
51898         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
51899         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
51900         Make code unconditional.
51901         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
51902         * sysdeps/unix/sysv/linux/clock_nanosleep.c
51903         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
51904         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
51905         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
51906         Make code unconditional.
51907         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
51908         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
51909         (__libc_missing_posix_timers): Remove.
51911 2012-08-15  Roland McGrath  <roland@hack.frob.com>
51913         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
51914         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
51916         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
51918         * elf/dl-sym.c: Include <stdlib.h>.
51920         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
51921         constants, which avoids warnings in 32-bit builds.
51923         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
51924         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
51926         * misc/lseek.c: File moved to ...
51927         * io/lseek.c: ... here.
51929         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
51931         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
51932         shifting LEN more than 31 bits at once.
51934 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51936         [BZ #14195]
51937         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
51938         segmentation fault for a case of two empty input strings.
51939         * string/test-strncasecmp.c (check1): Renamed to...
51940         (bz12205): ...this.
51941         (bz14195): Add new testcase for two empty input strings and N > 0.
51942         (test_main): Call new testcase, adapt for renamed function.
51944 2012-08-15  Andreas Jaeger  <aj@suse.de>
51946         [BZ #14090]
51947         * crypt/md5test2.c: New test, based on test supplied by Serge
51948         Belyshev <belyshev@depni.sinp.msu.ru>.
51949         * crypt/Makefile (xtests): Add md5test-giant..
51950         * crypt/Makefile ($(objpfx)md5test-giant): Add.
51952 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
51954         [BZ #14090]
51955         * crypt/md5.c (md5_process_block): Don't assume the buffer
51956         length is less than 2**32.
51957         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
51958         length is less than 2**64.
51960 2012-08-15  Roland McGrath  <roland@hack.frob.com>
51962         * string/str-two-way.h: Include <sys/param.h>.
51963         (MAX): Macro removed.
51965         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
51966         Move #define and #undef of memmove to just before and after
51967         including <string.h>.
51969         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
51970         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
51971         and after including <string.h>.  Move declarations of
51972         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
51973         to before #include "string/memmove.c".
51975         * include/dirent.h: Declare __getdirentries.
51977         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
51978         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
51980 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
51982         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
51983         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
51984         * sysdeps/i386/configure: Regenerated.
51985         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
51986         STABS_CURRENT_FILE, and STABS_FUN.
51987         (END): Remove call to STABS_FUN_END.
51988         (STABS_CURRENT_FILE1): Delete.
51989         (STABS_CURRENT_FILE): Likewise.
51990         (STABS_FUN): Likewise.
51991         (STABS_FUN_END): Likewise.
51992         (STABS_FUN2): Likewise.
51993         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
51994         * sysdeps/x86_64/configure: Regenerated.
51996 2012-08-14  Roland McGrath  <roland@hack.frob.com>
51998         * elf/dl-open.c: Include <atomic.h>.
51999         * elf/dl-lookup.c: Likewise.
52001 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
52003         * sysdeps/unix/sysv/linux/kernel-features.h
52004         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
52005         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
52006         unconditionally.
52007         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
52008         unconditionally.
52009         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
52010         condition on __ASSUME_CLONE_THREAD_FLAGS.
52012 2012-08-14  Andreas Jaeger  <aj@suse.de>
52014         * sysdeps/i386/fpu/libm-test-ulps: Update.
52016 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
52018         * include/atomic.h (atomic_exchange_and_add): Split into ...
52019         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
52020         New atomic macros.
52022 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
52024         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52026 2012-08-13  Jeff Law <law@redhat.com>
52028         * manual/stdio.texi (snprintf): Clarify handling of the trailing
52029         null byte in the output string.
52031 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
52033         * sysdeps/unix/sysv/linux/kernel-features.h
52034         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
52035         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
52036         (__ASSUME_ARG_MAX_STACK_BASED): Define.
52037         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
52038         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
52039         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
52040         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
52042 2012-08-09  Jeff Law <law@redhat.com>
52044         [BZ #13939]
52045         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
52046         When avoid_arena is set, don't retry in the that arena.  Pick the
52047         next one, whatever it might be.
52048         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
52049         (arena_lock): Pass in new parameter to arena_get2.
52050         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
52051         arena_get2.
52052         (__libc_malloc): Unify retrying after main arena failure with
52053         __libc_memalign version.
52054         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
52056 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
52058         [BZ #14166]
52059         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
52060         to __redirect_strstr.
52061         (__strstr_sse42): Use typeof __redirect_strstr.
52062         (__strstr_ia32): Likewise.
52063         (__libc_strstr): New prototype.
52064         (strstr): Renamed to ...
52065         (__libc_strstr): This.
52066         (strstr): New strong alias of __libc_strstr.
52067         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
52068         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
52069         __redirect_time.
52070         Include <time.h>.
52071         (__libc_time): New prototype.
52072         (time_ifunc): Replace time with __libc_time.
52073         (time): New strong alias and hidden definition of __libc_time.
52074         (__GI_time): Remove strong alias.
52075         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
52076         Include <stddef.h>.
52077         (memmove): Redefined to __redirect_memmove.
52078         (__memmove_sse2): Use typeof __redirect_memmove.
52079         (__memmove_ssse3): Likewise.
52080         (__memmove_ssse3_back): Likewise.
52081         (__libc_memmove): New prototype.
52082         (memmove): Renamed to ...
52083         (__libc_memmove): This.
52084         (memmove): New strong alias of __libc_memmove.
52086 2012-08-08  Mark Salter  <msalter@redhat.com>
52088         * elf/elf.h
52089         (R_MN10300_TLS_GD): Define.
52090         (R_MN10300_TLS_LD): Likewise.
52091         (R_MN10300_TLS_LDO): Likewise.
52092         (R_MN10300_TLS_GOTIE): Likewise.
52093         (R_MN10300_TLS_IE): Likewise.
52094         (R_MN10300_TLS_LE): Likewise.
52095         (R_MN10300_TLS_DTPMOD): Likewise.
52096         (R_MN10300_TLS_DTPOFF): Likewise.
52097         (R_MN10300_TLS_TPOFF): Likewise.
52098         (R_MN10300_SYM_DIFF): Likewise.
52099         (R_MN10300_ALIGN): Likewise.
52100         (R_MN10300_NUM): Update.
52102 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
52104         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
52105         Remove.
52107 2012-08-08  Roland McGrath  <roland@hack.frob.com>
52109         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
52111         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
52112         sysdeps/unix -> sysdeps/posix move.
52113         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
52115 2012-08-07      Allan McRae     <allan@archlinux.org>
52117         [BZ #14303]
52118         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
52119         (SUNOS_CPP): Likewise.
52120         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
52121         not found.
52122         (open_input): Call CPP using execvp.
52124 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
52126         * sysdeps/unix/sysv/linux/kernel-features.h
52127         (__ASSUME_PROT_GROWSUPDOWN): Remove.
52128         (__ASSUME_NO_CLONE_DETACHED): Likewise.
52129         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
52130         (__ASSUME_WAITID_SYSCALL): Likewise.
52131         * sysdeps/unix/sysv/linux/dl-execstack.c
52132         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
52133         code unconditional.
52134         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
52135         conditional code.
52136         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
52137         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
52138         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
52139         code.
52140         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
52141         unconditional.
52142         [__ASSUME_WAITID_SYSCALL]: Likewise.
52143         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
52145 2012-08-07  Roland McGrath  <roland@hack.frob.com>
52147         * sysdeps/unix/closedir.c: Renamed to ...
52148         * sysdeps/posix/closedir.c: ... here.
52149         * sysdeps/unix/dirfd.c: Renamed to ...
52150         * sysdeps/posix/dirfd.c: ... here.
52151         * sysdeps/unix/dirstream.h: Renamed to ...
52152         * sysdeps/posix/dirstream.h: ... here.
52153         * sysdeps/unix/fdopendir.c: Renamed to ...
52154         * sysdeps/posix/fdopendir.c: ... here.
52155         * sysdeps/unix/opendir.c: Renamed to ...
52156         * sysdeps/posix/opendir.c: ... here.
52157         * sysdeps/unix/readdir.c: Renamed to ...
52158         * sysdeps/posix/readdir.c: ... here.
52159         * sysdeps/unix/readdir_r.c: Renamed to ...
52160         * sysdeps/posix/readdir_r.c: ... here.
52161         * sysdeps/unix/rewinddir.c: Renamed to ...
52162         * sysdeps/posix/rewinddir.c: ... here.
52163         * sysdeps/unix/seekdir.c: Renamed to ...
52164         * sysdeps/posix/seekdir.c: ... here.
52165         * sysdeps/unix/telldir.c: Renamed to ...
52166         * sysdeps/posix/telldir.c: ... here.
52167         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
52168         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
52169         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
52170         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
52172         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
52173         * bits/fcntl.h: ... here.
52175         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
52176         not 0.
52177         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
52178         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
52179         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
52180         (struct flock): Move l_start, l_len to the beginning.
52181         Use __pid_t for l_pid.
52182         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
52183         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
52184         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
52185         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
52186         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
52187         [__USE_LARGEFILE64] (struct flock64): New type.
52188         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
52190         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
52191         * bits/dirent.h: ... here.
52193         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
52194         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
52196 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
52198         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
52199         Change from 2.6.0 to 2.6.16.
52200         * sysdeps/unix/sysv/linux/configure: Regenerated.
52201         * sysdeps/unix/sysv/linux/kernel-features.h
52202         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
52203         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
52204         version.
52205         (__ASSUME_UTIMES): Likewise.
52206         (__ASSUME_CLONE_STOPPED): Remove.
52207         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
52208         architectures, not kernel version.
52209         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
52210         (__ASSUME_NO_CLONE_DETACHED): Likewise.
52211         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
52212         (__ASSUME_WAITID_SYSCALL): Likewise.
52213         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
52214         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
52215         * README: State 2.6.16 as minimum Linux kernel version.  Do not
52216         refer to older versions.
52218 2012-08-06  Roland McGrath  <roland@hack.frob.com>
52220         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
52221         Define alphasort64 as an alias.
52222         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
52223         Define versionsort64 as an alias.
52224         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
52225         Define scandir64 as an alias.
52226         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
52227         Define scandirat64 as an alias.
52228         * dirent/alphasort64.c (alphasort64):
52229         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
52230         * dirent/versionsort64.c: Likewise.
52231         * dirent/scandir64.c: Likewise.
52232         * dirent/scandirat64.c: Likewise.
52233         * sysdeps/wordsize-64/alphasort.c: File removed.
52234         * sysdeps/wordsize-64/alphasort64.c: File removed.
52235         * sysdeps/wordsize-64/scandir.c: File removed.
52236         * sysdeps/wordsize-64/scandir64.c: File removed.
52237         * sysdeps/wordsize-64/scandirat.c: File removed.
52238         * sysdeps/wordsize-64/scandirat64.c: File removed.
52239         * sysdeps/wordsize-64/versionsort.c: File removed.
52240         * sysdeps/wordsize-64/versionsort64.c: File removed.
52241         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
52242         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
52243         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
52244         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
52245         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
52246         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
52247         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
52248         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
52250         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
52251         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
52252         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
52253         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52254         [defined __arch64__ || defined __sparcv9]
52255         (__INO_T_MATCHES_INO64_T): New macro.
52256         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
52257         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
52258         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
52259         * sysdeps/unix/sysv/linux/bits/dirent.h
52260         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
52261         (_DIRENT_MATCHES_DIRENT64): New macro.
52263         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
52264         Define lockf64 as an alias.
52265         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
52266         Define fseeko64 as an alias.
52267         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
52268         Define ftello64 as an alias.
52269         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
52270         Define _IO_fgetpos64 and fgetpos64 as aliases.
52271         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
52272         Define _IO_fsetpos64 and fsetpos64 as aliases.
52273         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
52274         Conditionalize body on this.
52275         * libio/fseeko64.c: Likewise.
52276         * libio/ftello64.c: Likewise.
52277         * libio/iofgetpos64.c: Likewise.
52278         * libio/iofsetpos64.c: Likewise.
52279         * sysdeps/wordsize-64/lockf.c: File removed.
52280         * sysdeps/wordsize-64/lockf64.c: File removed.
52281         * sysdeps/wordsize-64/fseeko.c: File removed.
52282         * sysdeps/wordsize-64/fseeko64.c: File removed.
52283         * sysdeps/wordsize-64/ftello.c: File removed.
52284         * sysdeps/wordsize-64/ftello64.c: File removed.
52285         * sysdeps/wordsize-64/iofgetpos.c: File removed.
52286         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
52287         * sysdeps/wordsize-64/iofsetpos.c: File removed.
52288         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
52289         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
52290         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
52291         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
52292         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
52293         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
52294         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
52295         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
52296         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
52297         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
52298         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
52300         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
52301         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
52302         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
52303         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52304         [defined __arch64__ || defined __sparcv9]
52305         (__OFF_T_MATCHES_OFF64_T): New macro.
52306         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
52307         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
52308         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52309         (__OFF_T_MATCHES_OFF64_T): New macro.
52311 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
52313         * stdlib/secure-getenv.c (__secure_getenv): Replace
52314         GLIBC_2_16 with GLIBC_2_17.
52316 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
52318         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
52319         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
52321 2012-08-03  David S. Miller  <davem@davemloft.net>
52323         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52325 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
52327         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
52328         Remove.
52329         (__ASSUME_CORRECT_SI_PID): Likewise.
52330         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
52331         (__ASSUME_TMPFS_NAME): Likewise.
52332         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
52333         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
52334         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
52335         (HAVE_AUX_SECURE): Make definition unconditional.
52336         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
52337         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
52339 2012-08-03  Roland McGrath  <roland@hack.frob.com>
52341         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
52342         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
52343         * sysdeps/mach/hurd/eloop-threshold.h: New file.
52344         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
52345         __eloop_threshold instead of SYMLOOP_MAX.
52347         * sysdeps/generic/eloop-threshold.h: New file.
52348         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
52349         of MAXSYMLINKS.
52350         * elf/chroot_canon.c (chroot_canon): Likewise.
52352 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
52354         [BZ #13717]
52355         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
52356         Change to 2.6.0 everywhere.
52357         * sysdeps/unix/sysv/linux/configure: Regenerated.
52358         * sysdeps/unix/sysv/linux/kernel-features.h
52359         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
52360         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
52361         kernel versions.
52362         (__ASSUME_POSIX_TIMERS): Define unconditionally.
52363         (__ASSUME_FUTEX_REQUEUE): Remove.
52364         (__ASSUME_STATFS64): Define unconditionally.
52365         (__ASSUME_AT_SECURE): Likewise.
52366         (__ASSUME_CORRECT_SI_PID): Likewise.
52367         (__ASSUME_TGKILL): Define without depending on kernel version for
52368         i386.
52369         (__ASSUME_UTIMES): Likewise.
52370         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
52371         kernel version.
52372         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
52373         (__ASSUME_TMPFS_NAME): Likewise.
52374         * README: Update reference to Linux kernel versions.
52376 2012-08-02  Marek Polacek  <polacek@redhat.com>
52378         [BZ# 14150]
52379         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
52380         libc_cv_asm_type_prefix with %.
52381         * configure: Regenerated.
52382         * include/libc-symbols.h: Remove comment about
52383         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
52384         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
52385         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
52386         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
52387         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
52388         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
52389         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
52390         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
52391         * elf/tst-unique2mod1.c: Likewise.
52392         * elf/tst-unique1mod2.c: Likewise.
52393         * elf/tst-unique1mod1.c: Likewise.
52394         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
52395         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
52396         Replace ASM_TYPE_DIRECTIVE with .type.
52397         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52398         * sysdeps/i386/sysdep.h: Likewise.
52399         * sysdeps/x86_64/sysdep.h: Likewise.
52400         * sysdeps/sh/sysdep.h: Likewise.
52401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52402         Do not define ASM_TYPE_DIRECTIVE.
52403         * sysdeps/powerpc/sysdep.h: Likewise.
52404         * sysdeps/powerpc/powerpc32/sysdep.h:
52405         Replace ASM_TYPE_DIRECTIVE with .type.
52406         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
52407         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
52408         * sysdeps/i386/fpu/e_powf.S: Likewise.
52409         * sysdeps/i386/fpu/e_expl.S: Likewise.
52410         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52411         * sysdeps/i386/fpu/e_acosh.S: Likewise.
52412         * sysdeps/i386/fpu/e_pow.S: Likewise.
52413         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
52414         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52415         * sysdeps/i386/fpu/s_expm1.S: Likewise.
52416         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
52417         * sysdeps/i386/fpu/e_log2.S: Likewise.
52418         * sysdeps/i386/fpu/e_log2l.S: Likewise.
52419         * sysdeps/i386/fpu/e_scalb.S: Likewise.
52420         * sysdeps/i386/fpu/e_powl.S: Likewise.
52421         * sysdeps/i386/fpu/e_log10f.S: Likewise.
52422         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
52423         * sysdeps/i386/fpu/e_logl.S: Likewise.
52424         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
52425         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
52426         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
52427         * sysdeps/i386/fpu/e_log2f.S: Likewise.
52428         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52429         * sysdeps/i386/fpu/e_log.S: Likewise.
52430         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52431         * sysdeps/i386/fpu/e_logf.S: Likewise.
52432         * sysdeps/i386/fpu/e_log10l.S: Likewise.
52433         * sysdeps/i386/fpu/e_atanh.S: Likewise.
52434         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
52435         * sysdeps/i386/fpu/e_log10.S: Likewise.
52436         * sysdeps/i386/fpu/s_frexp.S: Likewise.
52437         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52438         * sysdeps/i386/fpu/s_asinh.S: Likewise.
52439         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
52440         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52441         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
52442         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
52443         * sysdeps/i386/i686/strtok.S: Likewise.
52444         * sysdeps/i386/i386-mcount.S: Likewise.
52445         * sysdeps/i386/strtok.S: Likewise.
52446         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
52447         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52448         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52449         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52450         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52451         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52452         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
52453         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
52454         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52455         * sysdeps/x86_64/_mcount.S: Likewise.
52456         * sysdeps/x86_64/strtok.S: Likewise.
52457         * sysdeps/sh/_mcount.S: Likewise.
52459 2012-08-01  Roland McGrath  <roland@hack.frob.com>
52461         * libio/iofopen.c: Include <fcntl.h>.
52462         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
52463         (_IO_fopen64, fopen64): Define as aliases.
52464         * libio/iofopen64.c: Include <fcntl.h>.
52465         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
52466         Conditionalize body on this.
52467         * sysdeps/wordsize-64/iofopen.c: File removed.
52468         * sysdeps/wordsize-64/iofopen64.c: File removed.
52470 2012-08-01  Marek Polacek  <polacek@redhat.com>
52472         * libc/Makeconfig: Use elf in place of binfmt-subdir.
52473         Use dlfcn directly instead of a variable.
52474         (binfmt-subdir): Do not define.
52475         (dlfcn): Likewise.
52477 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
52479         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
52480         Remove all definitions.
52481         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
52482         <kernel-features.h>.
52483         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
52484         (miss_F_GETOWN_EX): Remove all definitions.
52485         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
52486         macro definition.
52487         [!__ASSUME_FCNTL64]: Remove conditional code.
52488         [__ASSUME_FCNTL64]: Make code unconditional.
52489         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
52490         <kernel-features.h>.
52491         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
52492         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
52493         (lockf64) [__NR_fcntl64]: Make code unconditional.
52494         (lockf64) [__ASSUME_FCNTL64]: Likewise.
52496         * sysdeps/unix/sysv/linux/kernel-features.h
52497         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
52498         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
52499         Make code unconditional.
52500         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
52501         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
52503         [__NR_vfork]: Make code unconditional.
52504         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
52505         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
52507         [__NR_vfork]: Make code unconditional.
52508         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
52509         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52511 2012-08-01  Roland McGrath  <roland@hack.frob.com>
52513         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
52514         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
52516         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52517         Define mkstemp64 as an alias.
52518         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52519         Define mkstemps64 as an alias.
52520         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52521         Define mkostemp64 as an alias.
52522         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52523         Define mkostemps64 as an alias.
52524         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
52525         Conditionalize body on this.
52526         * misc/mkostemp64.c: Likewise.
52527         * misc/mkostemps64.c: Likewise.
52528         * misc/mkstemps64.c: Likewise.
52529         * sysdeps/wordsize-64/mkstemp64.c: File removed.
52530         * sysdeps/wordsize-64/mkostemp64.c: File removed.
52531         * sysdeps/wordsize-64/mkostemp.c: File removed.
52532         * sysdeps/wordsize-64/mkstemp.c: File removed.
52533         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
52534         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
52535         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
52536         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
52538         [BZ #14138]
52539         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
52540         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
52541         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
52542         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
52544         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
52545         compat_symbol macros from <shlib-compat.h> rather than the underlying
52546         default_symbol_version and symbol_version macros, so that DEFAULT
52547         lines in shlib-versions are respected.
52548         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
52550 2012-08-01  Florian Weimer  <fweimer@redhat.com>
52552         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
52553         Declare with warn_unused_result.
52554         (setgid, setregid, setegid, setresgid): Likewise.
52555         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
52556         Likewise.
52557         * WUR-REPORT: Remove set*id functions.
52559 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
52561         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
52563 2012-07-31  Roland McGrath  <roland@hack.frob.com>
52565         [BZ #10191]
52566         * include/sys/socket.h (__libc_accept, __libc_accept4):
52567         Add attribute_hidden.
52568         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
52570         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
52571         use of PTR_MANGLE.
52572         * inet/getnetgrent_r.c (setup): Likewise.
52574         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
52576 2012-07-31  David S. Miller  <davem@davemloft.net>
52578         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52580 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
52582         [BZ #13629]
52583         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
52584         value between 1.0 and 2.0 and smaller part has absolute value less
52585         than 1.0.
52586         * math/s_clog10.c (__clog10): Likewise.
52587         * math/s_clog10f.c (__clog10f): Likewise.
52588         * math/s_clog10l.c (__clog10l): Likewise.
52589         * math/s_clogf.c (__clogf): Likewise.
52590         * math/s_clogl.c (__clogl): Likewise.
52591         * math/libm-test.inc (clog_test): Add more tests.
52592         (clog10_test): Likewise.
52593         * sysdeps/i386/fpu/libm-test-ulps: Update.
52594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52596 2012-07-31  Florian Weimer  <fweimer@redhat.com>
52598         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
52599         Exit with zero in case no suitable GID is found, and write a
52600         message to standard error.
52602 2012-07-30  Roland McGrath  <roland@hack.frob.com>
52604         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
52605         rather than to 1.
52606         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
52607         (MAXPATHLEN): Removed.
52608         (NOGROUP, NODEV): New macros.
52609         (setbit, clrbit, isset, isclr): New macros.
52610         (howmany, roundup, powerof2): New macros.
52611         (DEV_BSIZE): New macro.
52613         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
52614         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
52616         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
52617         definition on [!__NO_LONG_DOUBLE_MATH].
52619         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
52620         PTR_MANGLE and PTR_DEMANGLE.
52622         * socket/accept4.c (accept4): Rename to __libc_accept4.
52623         Define accept4 as a weak alias.
52625         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
52626         on [_DIRENT_HAVE_D_TYPE].
52627         * io/ftw.c (ftw_dir): Likewise.
52629         * io/xmknod.c (__xmknod): Don't check PATH for being null.
52631         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
52633         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
52634         Use the BSD numbers rather than the arbitrary ones we had.
52635         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
52636         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
52637         (SIGXCPU, SIGXFSZ): New macros.
52638         (_NSIG): Now 32.
52640         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
52641         initializer on [_LIBC_REENTRANT].
52643         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
52644         definitions inside [_POSIX_MAPPED_FILES].
52646         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
52648         * dirent/opendir.c: Include <fcntl.h>.
52650         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
52651         (__libc_getspecific): Likewise.
52652         (__libc_key_create): Likewise.
52654         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
52655         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
52656         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
52657         (tmpfile64): Define as alias.
52658         * sysdeps/wordsize-64/tmpfile.c: File removed.
52659         * sysdeps/wordsize-64/tmpfile64.c: File removed.
52660         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
52661         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
52663         * stdio-common/vfscanf.c: Include <stdbool.h>.
52664         * nss/makedb.c: Likewise.
52665         * stdio-common/_i18n_number.h: Likewise.
52666         * argp/argp-help.c: Likewise.
52667         * posix/wordexp.c: Likewise.
52668         * sysdeps/posix/spawni.c: Likewise.
52669         * nss/nss_files/files-initgroups.c: Likewise.
52670         * stdio-common/reg-modifier.c: Include <stdlib.h>.
52671         * nss/nss_files/files-initgroups.c: Likewise.
52672         * nss/nss_db/db-netgrp.c: Likewise.
52673         * nss/nss_db/db-initgroups.c: Likewise.
52674         * io/fchmodat.c: Include <sys/stat.h>.
52676         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
52677         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
52679         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
52680         [HAVE_MMAP].
52682         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
52683         Add multiple inclusion protection.
52685 2012-07-27  David S. Miller  <davem@davemloft.net>
52687         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52689 2012-07-27  Gary Benson  <gbenson@redhat.com>
52691         [BZ #14298]
52692         * elf/rtld.c: Include <stap-probe.h>.
52693         (dl_main): Added static probes "init_start" and "init_complete".
52694         * elf/dl-load.c: Include <stap-probe.h>.
52695         (lose): Take new parameter "nsid".
52696         Added static probe "map_failed".
52697         (_dl_map_object_from_fd): Pass namespace id to lose.
52698         Added static probe "map_start".
52699         (open_verify): Pass namespace id to lose.
52700         * elf/dl-open.c: Include <stap-probe.h>.
52701         (dl_open_worker) Added static probes "map_complete", "reloc_start"
52702         and "reloc_complete".
52703         * elf/dl-close.c: Include <stap-probe.h>.
52704         (_dl_close_worker): Added static probes "unmap_start" and
52705         "unmap_complete".
52706         * elf/rtld-debugger-interface.txt: New file documenting the above.
52708 2012-07-26  Roland McGrath  <roland@hack.frob.com>
52710         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
52711         rather than a string variable.
52712         * sunrpc/rpc_main.c (h_output): Likewise.
52713         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
52715 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
52717         * inet/check_native.c: New file.
52719 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
52721         [BZ #13629]
52722         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
52723         if larger part has absolute value 1.0.
52724         * math/s_clog10.c (__clog10): Likewise.
52725         * math/s_clog10f.c (__clog10f): Likewise.
52726         * math/s_clog10l.c (__clog10l): Likewise.
52727         * math/s_clogf.c (__clogf): Likewise.
52728         * math/s_clogl.c (__clogl): Likewise.
52729         * math/libm-test.inc (clog_test): Add more tests.
52730         (clog10_test): Likewise.
52731         * sysdeps/i386/fpu/libm-test-ulps: Update.
52732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52734         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
52735         (pltexit): Likewise.
52736         (La_regs): Likewise.
52737         (La_retval): Likewise.
52738         (int_retval): Likewise.
52739         Update #error for removed macros to refer only to definitions in
52740         tst-audit.h.
52741         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
52742         macro.
52743         (pltexit): Likewise.
52744         (La_regs): Likewise.
52745         (La_retval): Likewise.
52746         (int_retval): Likewise.
52747         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
52748         macro.
52749         (pltexit): Likewise.
52750         (La_regs): Likewise.
52751         (La_retval): Likewise.
52752         (int_retval): Likewise.
52753         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
52754         macro.
52755         (pltexit): Likewise.
52756         (La_regs): Likewise.
52757         (La_retval): Likewise.
52758         (int_retval): Likewise.
52759         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
52760         macro.
52761         (pltexit): Likewise.
52762         (La_regs): Likewise.
52763         (La_retval): Likewise.
52764         (int_retval): Likewise.
52765         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
52766         macro.
52767         (pltexit): Likewise.
52768         (La_regs): Likewise.
52769         (La_retval): Likewise.
52770         (int_retval): Likewise.
52771         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
52772         macro.
52773         (pltexit): Likewise.
52774         (La_regs): Likewise.
52775         (La_retval): Likewise.
52776         (int_retval): Likewise.
52777         * sysdeps/generic/tst-audit.h: Update comment to refer only to
52778         macro definitions in tst-audit.h.
52779         * sysdeps/i386/tst-audit.h: New file.
52780         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
52781         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
52782         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
52783         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
52784         * sysdeps/sh/tst-audit.h: Likewise.
52785         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
52786         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
52787         * sysdeps/x86_64/tst-audit.h: Likewise.
52789 2012-07-26  Andreas Jaeger  <aj@suse.de>
52791         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
52792         ptrace.
52794         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
52795         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
52796         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
52797         PTRACE_O_MASK.
52798         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
52799         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
52800         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
52802         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
52803         value.
52805         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
52806         _sigsys.
52807         (si_call_addr, si_syscall, si_arch): Define new macro.
52808         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
52809         _sigsys.
52810         (si_call_addr, si_syscall, si_arch): Define new marcro.
52811         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
52812         _sigsys.
52813         (si_call_addr, si_syscall, si_arch): Define new macro.
52814         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
52815         _sigsys.
52816         (si_call_addr, si_syscall, si_arch): Define new macro.
52818 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
52820         [BZ #13717]
52821         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
52822         Change to 2.4.21 where previously 2.4.1.
52823         * sysdeps/unix/sysv/linux/configure: Regenerated.
52824         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
52825         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
52826         Linux kernel version.
52827         (__ASSUME_STD_AUXV): Remove.
52828         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
52829         kernel version.
52830         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
52831         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
52832         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
52833         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
52834         (__ASSUME_NETLINK_SUPPORT): Likewise.
52835         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
52836         (__no_netlink_support): Remove conditional definition.
52837         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
52838         Remove.
52839         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
52840         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
52841         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
52842         (if_nameindex_ioctl): Remove.
52843         (if_nameindex_netlink): Do not handle __no_netlink_support.
52844         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
52845         code.
52846         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
52847         Remove conditional code.
52848         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
52849         code.
52850         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
52851         unconditional.
52852         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
52853         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
52854         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
52855         Remove.
52856         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
52857         [!__ASSUME_STD_AUXV]: Remove conditional code.
52858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
52859         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
52860         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
52861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
52862         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
52863         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
52864         code.
52865         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
52866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
52867         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
52868         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
52869         conditional code.
52870         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
52871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
52872         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
52873         code.
52874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
52875         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
52876         conditional code.
52877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
52878         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
52879         code unconditional.
52880         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
52881         conditional code.
52882         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
52883         unconditional.
52884         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
52885         conditional code.
52886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52887         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
52888         unconditional.
52889         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
52890         conditional code.
52891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
52892         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
52893         code unconditional.
52894         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
52895         conditional code.
52896         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
52897         unconditional.
52898         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
52899         conditional code.
52900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
52901         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
52902         code unconditional.
52903         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
52904         conditional code.
52905         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
52906         unconditional.
52907         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
52908         conditional code.
52910 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
52912         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
52913         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
52914         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
52915         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
52916         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
52917         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
52918         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
52919         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
52920         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
52921         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
52922         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
52923         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
52924         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
52925         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
52926         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
52927         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
52928         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
52929         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
52930         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
52931         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
52932         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
52933         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
52934         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
52936 2012-07-25  Florian Weimer  <fweimer@redhat.com>
52938         * Versions.def: Add GLIBC_2.17.
52939         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
52940         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
52941         Introduce __libc_secure_getenv.
52942         * stdlib/Versions (2.17): Add secure_getenv
52943         (GLIBC_PRIVATE): Add __libc_secure_getenv.
52944         * stdlib/secure-getenv.c: Rename __secure_getenv to
52945         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
52946         symbol __secure_getenv for GLIBC_2.0.
52947         * stdlib/tst-secure-getenv.c: New.
52948         * stdlib/Makefile (tests): Add testcase.
52949         * manual/startup.texi (Environment Access): Document
52950         secure_getenv.
52951         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
52952         __libc_secure_getenv.
52953         * inet/ruserpass.c (ruserpass): Likewise.
52954         * malloc/mtrace.c (mtrace): Likewise.
52955         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
52956         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
52957         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
52958         * sysdeps/posix/tempname.c: Likewise.  Evaluate
52959         HAVE_SECURE_GETENV.
52960         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
52961         __secure_getenv to __libc_secure_getenv.
52962         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
52963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52964         Likewise.
52965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52966         Likewise.
52967         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
52968         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
52969         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52970         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
52971         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
52972         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52973         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
52975 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
52977         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
52978         (struct La_i86_retval): Likewise.
52979         (struct La_x86_64_regs): Likewise.
52980         (struct La_x86_64_retval): Likewise.
52981         (struct La_x32_regs): Likewise.
52982         (struct La_x32_retval): Likewise.
52983         (struct La_ppc32_regs): Likewise.
52984         (struct La_ppc32_retval): Likewise.
52985         (struct La_ppc64_regs): Likewise.
52986         (struct La_ppc64_retval): Likewise.
52987         (struct La_sh_regs): Likewise.
52988         (struct La_sh_retval): Likewise.
52989         (struct La_s390_32_regs): Likewise.
52990         (struct La_s390_32_retval): Likewise.
52991         (struct La_s390_64_regs): Likewise.
52992         (struct La_s390_64_retval): Likewise.
52993         (struct La_sparc32_regs): Likewise.
52994         (struct La_sparc32_retval): Likewise.
52995         (struct La_sparc64_regs): Likewise.
52996         (struct La_sparc64_retval): Likewise.
52997         (struct audit_ifaces): Remove architecture-specific pltenter and
52998         pltexit members.
52999         * sysdeps/i386/ldsodefs.h: New file.
53000         * sysdeps/powerpc/ldsodefs.h: Likewise.
53001         * sysdeps/s390/ldsodefs.h: Likewise.
53002         * sysdeps/sh/ldsodefs.h: Likewise.
53003         * sysdeps/sparc/ldsodefs.h: Likewise.
53004         * sysdeps/x86_64/ldsodefs.h: Likewise.
53006 2012-07-25  Marek Polacek  <polacek@redhat.com>
53008         [BZ #6808]
53009         * math/libm-test.inc (yn_test): Add another test.
53010         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
53011         to ERANGE when the result is +-Inf.
53012         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
53013         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
53014         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
53015         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
53017 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
53019         * conform/data/time.h-data (NULL): Use macro-constant.  Require
53020         equal to 0.
53021         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
53022         clock_t.
53023         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
53025 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
53027         * configure.in <sysdeps resolving>: Correct printing
53028         Implies_before.
53029         * configure: Regenerate.
53031 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
53033         * math/w_ilogb.c: Include <limits.h>.
53034         * math/w_ilogbl.c: Likewise.
53036 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
53038         * manual/lang.texi (__va_copy): Document primarily as ISO C99
53039         va_copy.  Document allowing for unavailable va_copy only as
53040         pre-C99 compatibility.
53041         * manual/string.texi (Copying and Concatenation): Use va_copy
53042         instead of __va_copy in concat example.
53044 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
53046         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
53047         (__sendto): Use create_address_port.  Initialize APORT and deallocate
53048         it if not null.
53050         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
53051         with O_NOLINK passed to __file_name_lookup.
53053         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
53054         with O_NOLINK passed to __file_name_lookup.
53056         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
53057         negative N or less than NGIDS.
53059         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
53060         type to string_t.  Set ERANGE as errno and return it if NAME is not big
53061         enough.  Use memcpy instead of strncpy.
53063 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
53065         * elf/Makefile (check-data): Remove.
53066         (localplt.data): New vpath directive.
53067         ($(objpfx)check-localplt.out): Use localplt.data from vpath
53068         instead of $(check-data).
53069         * scripts/data/localplt-generic.data: Move to ...
53070         * sysdeps/generic/localplt.data: ... here.
53071         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
53072         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
53073         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
53074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
53075         ... here.
53076         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
53077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
53078         ... here.
53079         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
53080         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
53081         ... here.
53082         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
53083         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
53084         ... here.
53085         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
53086         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
53087         ... here.
53088         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
53089         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
53090         ... here.
53092 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53094         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
53095         PPC32 and PPC64 files.
53096         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
53097         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
53099 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53101         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
53102         __makecontext_ret to ...
53103         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
53104         ... here and call exit if uc_link is NULL.  New file.
53105         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
53106         __makecontext_ret.S.
53107         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
53108         __makecontext_ret to ...
53109         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
53110         ... here and call exit if uc_link is NULL.  New file.
53111         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
53112         __makecontext_ret.S.
53114 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53116         * elf/elf.h (R_390_IRELATIVE): New definition.
53117         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
53118         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
53119         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
53120         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
53121         (elf_machine_lazy_rel): Likewise.
53122         * sysdeps/s390/dl-irel.h: New file.
53123         * sysdeps/s390/s390-64/memcpy.S: New asm code.
53124         * sysdeps/s390/s390-64/memset.S: New asm code.
53125         * sysdeps/s390/s390-64/memcmp.S: New asm code.
53126         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
53127         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
53128         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
53129         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
53130         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
53131         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
53132         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
53133         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
53134         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
53135         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
53136         * sysdeps/s390/s390-32/memcpy.S: New asm code.
53137         * sysdeps/s390/s390-32/memset.S: New asm code.
53138         * sysdeps/s390/s390-32/memcmp.S: New asm code.
53140 2012-07-17  Marek Polacek  <polacek@redhat.com>
53142         [BZ #14349]
53143         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
53144         * sysdeps/s390/s390-64/configure.in: Likewise.
53145         * sysdeps/sparc/configure.in: Likewise.
53146         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
53147         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
53148         * sysdeps/i386/configure.in: Likewise.
53149         * sysdeps/x86_64/configure.in: Likewise.
53150         * sysdeps/sh/configure.in: Likewise.
53151         * sysdeps/s390/s390-32/configure: Regenerated.
53152         * sysdeps/s390/s390-64/configure: Likewise.
53153         * sysdeps/x86_64/configure: Likewise.
53154         * sysdeps/sh/configure: Likewise.
53155         * sysdeps/powerpc/powerpc64/configure: Likewise.
53156         * sysdeps/powerpc/powerpc32/configure: Likewise.
53157         * sysdeps/sparc/configure: Likwise.
53158         * sysdeps/i386/configure: Likewise.
53160         * elf/dl-open.c: Comment fixes.
53162 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
53164         * Makefile [CXX] (check-data): Remove.
53165         [CXX] (c++-types.data): New vpath directive.
53166         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
53167         vpath.  Do not allow for C++ type data being missing.
53168         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
53169         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
53170         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
53171         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
53172         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
53173         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
53174         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
53175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
53176         ... here.
53177         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
53178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
53179         ... here.
53180         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
53181         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
53182         ... here.
53183         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
53184         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
53185         ... here.
53186         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
53187         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
53188         ... here.
53189         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
53190         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
53191         ... here.
53192         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
53193         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
53194         ... here.
53195         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
53196         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
53198         * elf/tls-macros.h (TLS_LE): Move architecture-specific
53199         definitions to architecture-specific files.
53200         (TLS_IE): Likewise.
53201         (TLS_LD): Likewise.
53202         (TLS_GD): Likewise.
53203         * sysdeps/i386/tls-macros.h: New file.
53204         * sysdeps/powerpc/tls-macros.h: Likewise.
53205         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
53206         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
53207         * sysdeps/sh/tls-macros.h: Likewise.
53208         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
53209         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
53210         * sysdeps/x86_64/tls-macros.h: Likewise.
53212 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
53214         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
53215         zero value for regular exit case.
53217         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
53218         (__start_context): Preserve zero value for regular exit case.
53220 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
53221             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53223         * manual/setjmp.texi (setcontext): Clarify normal process
53224         termination when uc_link is the null pointer.
53225         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
53226         exit call.
53228 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
53230         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
53231         preprocessor.  Test for each exception mask separately.
53233 2012-07-16  Andreas Jaeger  <aj@suse.de>
53235         * po/ru.po: Update from translation team.
53237 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
53239         * conform/data/string.h-data (NULL): Use macro-constant.  Require
53240         equal to 0.
53241         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
53242         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
53243         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
53244         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
53245         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53247 2012-07-13  Andreas Jaeger  <aj@suse.de>
53249         * po/fr.po: Update from translation team.
53251 2012-07-12  Marek Polacek  <polacek@redhat.com>
53253         [BZ #14173]
53254         * math/libm-test.inc (yn_test): Add test for BZ #14173.
53255         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
53256         loop condition.
53258 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
53260         [BZ #13717]
53261         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53262         Change to 2.4.1 where previously 2.4.0.
53263         * sysdeps/unix/sysv/linux/configure: Regenerated.
53264         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
53265         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
53266         version.
53267         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
53268         (__ASSUME_AT_CLKTCK): Remove.
53269         (__ASSUME_AT_PAGESIZE): Likewise.
53270         (__ASSUME_AT_XID): Likewise.
53271         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
53272         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
53273         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
53274         unconditionally.
53275         (HAVE_AUX_PAGESIZE): Likewise.
53276         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
53277         [__ASSUME_AT_CLKTCK]: Make code unconditional.
53278         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
53280 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
53282         [BZ #14307]
53283         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
53284         the temporary buffer used to invoke __gethostbyname2_r,
53285         __gethostbyaddr_r and gethostbyname4_r to make room for struct
53286         host_data / struct gaih_addrtuple.
53287         * resolv/nss_dns/dns-host.c (global scope): Move definition of
53288         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
53289         header file nss/nsswitch.h.
53290         * nss/nsswitch.h (global scope): Add definition of implementation
53291         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
53292         resolv/nss_dns/dns-host.c).
53294 2012-07-11  Andreas Jaeger  <aj@suse.de>
53296         * po/fr.po: Update from translation team.
53298         * po/sv.po: Update from translation team
53299         * po/fr.po: Another update from translation team.
53301 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53303         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
53304         for subnormals or multiply small sinh result by itself.
53305         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
53306         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53308 2012-07-11  David S. Miller  <davem@davemloft.net>
53310         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53312 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
53314         [BZ #14347]
53315         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
53316         (INTERNAL_MARK): Shift it here.
53318 2012-07-10  Marek Polacek  <polacek@redhat.com>
53320         [BZ #14151]
53321         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
53322         libc_cv_asm_global_directive with .globl.
53323         * configure: Regenerated.
53324         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
53325         with .globl.
53326         * sysdeps/i386/configure: Regenerated.
53327         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
53328         with .globl.
53329         * sysdeps/x86_64/configure: Regenerated.
53330         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
53331         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
53332         * elf/tst-unique2mod2.c: Likewise.
53333         * elf/tst-unique2mod1.c: Likewise.
53334         * elf/tst-unique1mod2.c: Likewise.
53335         * elf/tst-unique1mod1.c: Likewise.
53336         * sysdeps/s390/s390-32/sysdep.h: Likewise.
53337         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
53338         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53339         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
53340         * sysdeps/mach/sysdep.h: Likewise.
53341         * sysdeps/i386/sysdep.h: Likewise.
53342         * sysdeps/i386/i386-mcount.S: Likewise.
53343         * sysdeps/x86_64/_mcount.S: Likewise.
53344         * sysdeps/x86_64/sysdep.h: Likewise.
53345         * sysdeps/sh/_mcount.S: Likewise.
53346         * sysdeps/sh/sysdep.h: Likewise.
53347         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
53348         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
53349         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
53350         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53351         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
53352         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
53353         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
53354         * locale/localeinfo.h: Likewise.
53355         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
53356         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
53358 2012-07-09  Roland McGrath  <roland@hack.frob.com>
53360         [BZ #14336]
53361         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
53362         system".
53363         * manual/message.texi (The Uniforum approach): Likewise.
53364         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
53365         (glibc iconv Implementation): Likewise.
53367 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
53369         [BZ #14337]
53370         * math/s_clog.c (__clog): Avoid scaling a value down where that
53371         could result in underflow.
53372         * math/s_clog10.c (__clog10): Likewise.
53373         * math/s_clog10f.c (__clog10f): Likewise.
53374         * math/s_clog10l.c (__clog10l): Likewise.
53375         * math/s_clogf.c (__clogf): Likewise.
53376         * math/s_clogl.c (__clogl): Likewise.
53377         * math/libm-test.inc (clog_test): Add more tests.
53378         (clog10_test): Likewise.
53379         * sysdeps/i386/fpu/libm-test-ulps: Update.
53380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53382 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
53384         [BZ #14283]
53385         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
53386         by 7 not 8 to examine high bit of fractional part.
53388         [BZ #14042]
53389         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
53390         for call to __mcount_internal.
53391         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
53392         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
53393         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
53395 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
53397         [BZ #14154]
53398         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
53399         approximation for values within 0x1p-13f of an odd multiple of
53400         pi/4.
53401         * math/libm-test.inc (tan_test): Do not allow spurious underflow
53402         exception.  Add more tests.
53403         * sysdeps/i386/fpu/libm-test-ulps: Update.
53405         [BZ #6778]
53406         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
53407         inputs and return -1 for them.  Do not check for +Inf in case not
53408         reachable for +Inf.
53409         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
53410         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
53411         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
53412         and return -1 for them.  Do not check for +Inf in case not
53413         reachable for +Inf.
53414         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
53415         define.
53416         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
53417         and return -1 for them.  Do not check for +Inf in case not
53418         reachable for +Inf.
53419         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
53420         spurious underflow.
53421         * sysdeps/i386/fpu/libm-test-ulps: Update.
53422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53424 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
53426         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
53428 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
53430         [BZ #14157]
53431         [BZ #14331]
53432         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
53433         could result in spurious underflow.  Scale down values above
53434         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
53435         * math/s_csqrtf.c (__csqrtf): Likewise.
53436         * math/s_csqrtl.c (__csqrtl): Likewise.
53437         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
53438         spurious underflow.
53439         * sysdeps/i386/fpu/libm-test-ulps: Update.
53440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53442 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
53444         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
53445         xopen-msg.sed.
53446         * catgets/xopen-msg.awk: New file.
53447         * catgets/xopen-msg.sed: Removed.
53449         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
53450         po2text.sed.
53451         * intl/po2test.awk: New file.
53452         * intl/po2test.sed: Removed.
53454 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
53456         [BZ #14328]
53457         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
53458         or multiply small sinh result by itself.
53459         * math/s_ctanf.c (__ctanf): Likewise.
53460         * math/s_ctanh.c (__ctanh): Likewise.
53461         * math/s_ctanhf.c (__ctanhf): Likewise.
53462         * math/s_ctanhl.c (__ctanhl): Likewise.
53463         * math/s_ctanl.c (__ctanl): Likewise.
53464         * math/libm-test.inc (ctan_test_tonearest): New function.
53465         (ctan_test_towardzero): Likewise.
53466         (ctan_test_downward): Likewise.
53467         (ctan_test_upward): Likewise.
53468         (ctanh_test_tonearest): Likewise.
53469         (ctanh_test_towardzero): Likewise.
53470         (ctanh_test_downward): Likewise.
53471         (ctanh_test_upward): Likewise.
53472         (main): Call these new functions.
53473         * sysdeps/i386/fpu/libm-test-ulps: Update.
53474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53476 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
53478         * .gitignore: Delete /ports entry.
53480 2012-07-03  Andreas Jaeger  <aj@suse.de>
53482         * po/bg.po: Update from translation team.
53483         * po/cs.po: Likewise.
53484         * po/de.po: Likewise.
53485         * po/hr.po: Likewise.
53486         * po/nl.pl: Likewise.
53487         * po/pl.po: Likewise.
53488         * po/vi.po: Likewise.
53490 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
53492         * Makeconfig [!+link] (+link-before-libc): New variable.
53493         [!+link] (+link-after-libc): Likewise.
53494         [!+link] (+link-tests): Likewise.
53495         [!+link] (+link): Define in terms of $(+link-before-libc) and
53496         $(+link-after-libc).
53497         [!+link-static] (+link-static-before-libc): New variable.
53498         [!+link-static] (+link-static-after-libc): Likewise.
53499         [!+link-static] (+link-static-tests): Likewise.
53500         [!+link-static] (+link-static): Define in terms of
53501         $(+link-static-before-libc) and $(+link-static-after-libc).
53502         [build-shared] (link-libc-before-gnulib): New variable.
53503         [build-shared] (link-libc-tests): Likewise.
53504         [build-shared] (link-libc): Define in terms of
53505         $(link-libc-before-gnulib).
53506         [!build-shared] (link-libc-tests): New variable.
53507         (link-libc-static-tests): New variable.
53508         [!gnulib] (gnulib-arch): New variable.
53509         [!gnulib] (gnulib-tests): Likewise.
53510         [!gnulib] (static-gnulib-arch): Likewise.
53511         [!gnulib] (static-gnulib-tests): Likewise.
53512         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
53513         Define with "=" instead of ":=".
53514         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
53515         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
53516         * Rules (binaries-all-notests): New variable.
53517         (binaries-all-tests): Likewise.
53518         (binaries-static-notests): Likewise.
53519         (binaries-static-tests): Likewise.
53520         (binaries-all): Define using $(binaries-all-notests) and
53521         $(binaries-all-tests).
53522         (binaries-static): Define using $(binaries-static-notests) and
53523         $(binaries-static-tests).
53524         (binaries-shared-tests): New variable.
53525         (binaries-shared-notests): Likewise.
53526         (binaries-shared): Remove variable.
53527         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
53528         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
53529         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
53530         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
53531         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
53532         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
53533         * elf/Makefile (sln-modules): New variable.
53534         (extra-objs): Add $(sln-modules:=.o).
53535         (ldconfig-modules): Add static-stubs.
53536         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
53537         * elf/static-stubs.c: New file.
53539         [BZ #14283]
53540         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
53541         by 7 not 8 to examine high bit of fractional part.  Use volatile
53542         variables when splitting into final array of floats if
53543         __FLT_EVAL_METHOD__ != 0.
53544         * math/libm-test.inc (cos_test): Add another test.
53545         (sin_test): Likewise.
53546         * sysdeps/i386/fpu/libm-test-ulps: Update.
53548         [BZ #14273]
53549         * math/libm-test.inc (cosh_test): Add more tests.
53551         * version.h (RELEASE): Set to "development".
53552         (VERSION): Set to "2.16.90".
53554 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
53556         * NEWS: Update copyright. Remove last-updated date.
53557         Mention math library bug fixes and timezone data changes.
53558         * README: Mention GNU/Hurd, x32, and HPPA support status.
53560 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
53562         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
53564 2012-06-27  Andreas Jaeger  <aj@suse.de>
53566         * manual/contrib.texi (Contributors): Add Samuel Thibault.
53568 2012-06-25  Andreas Jaeger  <aj@suse.de>
53570         * sysdeps/s390/fpu/libm-test-ulps: Update.
53572 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
53573             Thomas Schwinge  <thomas@codesourcery.com>
53575         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
53576         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
53577         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
53578         fanotify_mark.
53580 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
53582         * sysdeps/mach/start.c: Remove file.
53583         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
53584         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
53585         * sysdeps/sh/init-first.c: Likewise.
53587         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
53588         registers for frame unwinding purposes, add CFI directives.
53589         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
53590         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
53591         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
53592         Likewise.
53594         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
53595         __fortify_fail returning.
53596         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
53598         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
53599         sysdeps/sh/____longjmp_chk.S.
53600         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
53601         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
53602         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
53603         (gen-as-const-headers): Append sigaltstack-offsets.sym.
53605         * sysdeps/sh/abort-instr.h: New file.
53606         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
53607         process in case exit returns.
53609         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
53610         initialize the GOT register before use.
53612         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
53613         calculation of ARGC > 4.
53615         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
53616         meaningful names to some local labels.
53618 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53619             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53621         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
53622         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
53623         (__arch_compare_and_exchange_val_16_acq): Likewise.
53624         (__arch_compare_and_exchange_val_32_acq): Likewise.
53625         (atomic_exchange_and_add): Fix gUSA sequence.
53626         (atomic_add): Likewise.
53627         (atomic_add_negative): Likewise.
53628         (atomic_add_zero): Likewise.
53629         (atomic_bit_test_set): Likewise.
53631 2012-06-22  Andreas Schwab  <schwab@redhat.com>
53633         [BZ #13579]
53634         * include/link.h (struct link_map): Add l_free_initfini.
53635         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
53636         l_initfini.
53637         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
53638         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
53639         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
53640         set.
53642 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
53644         * configure.in: Use AC_LANG_SOURCE.
53645         * configure: Regenerate.
53647 2012-06-22  Roland McGrath  <roland@hack.frob.com>
53649         * configure.in (libc_cv_localstatedir): New substituted variable.
53650         * configure: Regenerated.
53651         * config.make.in (localstatedir): New variable, substituted from
53652         libc_cv_localstatedir.
53653         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
53654         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
53655         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
53656         * sysdeps/gnu/configure: Regenerated.
53658 2012-06-21  Jeff Law  <law@redhat.com>
53660         [BZ #14277]
53661         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
53662         free.  Simplify list management for _LIBC case.
53664 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
53666         [BZ #14273]
53667         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
53668         Clear sign bit of 64-bit integer value before comparing against
53669         overflow value.
53671         * sysdeps/mach/configure: Regenerated.
53673 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
53675         [BZ #14278]
53676         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
53678 2012-06-21  Jeff Law  <law@redhat.com>
53680         [BZ #13882]
53681         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
53682         uint16_t for elements in the "seen" array to avoid char overflows.
53683         * elf/dl-fini.c (_dl_sort_fini): Likewise.
53684         * elf/dl-open.c (dl_open_worker): Likewise.
53686 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
53688         * scripts/list-sources.sh: Scan PORTS for translations.
53689         * po/libc.pot: Regenerated.
53691 2012-06-21  Andreas Jaeger  <aj@suse.de>
53693         [BZ #12194]
53694         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
53695         warning.
53696         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
53697         * bits/byteswap-16.h (__bswap_16): Likewise.
53698         * bits/byteswap.h (__bswap_constant_16): Likewise.
53700 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
53702         [BZ #14117]
53703         * sysdeps/i386/fpu_control.h: Removed.
53704         * sysdeps/x86_64/fpu_control.h: Moved to ...
53705         * sysdeps/x86/fpu_control.h: Here.
53707         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
53708         (_FPU_SETCW): Likewise.
53710 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
53712         [BZ #14117]
53713         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
53714         * sysdeps/x86/fpu/bits/mathinline.h: This.
53715         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
53717         [BZ #14050]
53718         [BZ #14117]
53719         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
53720         functions if __x86_64__ is defined.
53722 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
53724         * string/endian.h: Add !__ASSEMBLER__ condition for including
53725         conversion interfaces.
53727 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
53729         [BZ #14241]
53730         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
53731         of ABS(x) in calculating zero to negative powers other than odd
53732         integers.
53733         * math/libm-test.inc (pow_test): Add more tests.
53735 2012-06-15  Andreas Jaeger  <aj@suse.de>
53737         * manual/contrib.texi (Contributors): Update entry of Liubov
53738         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
53739         Machado Filho.
53741 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
53743         * string/string.h: Add __wur to GNU version of strerror_r.
53745 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
53747         [BZ #14229]
53748         * string/Makefile (tests): Add tst-strtok_r.
53749         * string/tst-strtok_r.c: New file.
53750         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
53751         RAX_LP/RDX_LP on SAVE_PTR.
53753 2012-06-14  Roland McGrath  <roland@hack.frob.com>
53755         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
53757 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
53759         * libm_test.inc (csqrt_test): Allow more spurious underflow
53760         exceptions.
53761         (j0_test): Likewise.
53762         (j1_test): Likewise.
53763         (y0_test): Likewise.
53764         (y1_test): Likewise.
53766 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
53768         * po/Makefile (libc.pot): Use UTF-8 charset.
53770 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
53772         [BZ #14210]
53773         Suppress sign-conversion warning from FD_SET.
53774         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
53775         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
53776         not unsigned long int.
53777         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
53779 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
53781         [BZ #14050]
53782         [BZ #14117]
53783         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
53784         __extern_always_inline instead of __extern_inline.
53785         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
53786         (__signbit): Likewise.
53787         (__signbitl): Support C++ namespace.
53788         (lrintf): New inline function.
53789         (lrint): Likewise.
53790         (llrintf): Likewise.
53791         (llrint): Likewise.
53792         (fmaxf): Likewise.
53793         (fmax): Likewise.
53794         (fminf): Likewise.
53795         (fmin): Likewise.
53796         (rint): Likewise.
53797         (rintf): Likewise.
53798         (ceil): Likewise.
53799         (ceilf): Likewise.
53800         (floor): Likewise.
53801         (floorf): Likewise.
53802         (nearbyint): Likewise.
53803         (nearbyintf): Likewise.
53805 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
53807         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
53808         non-default versions.
53810 2012-06-11  Roland McGrath  <roland@hack.frob.com>
53812         [BZ #14218]
53813         * manual/argp.texi (Argp): Reword argp_parse description slightly.
53815 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
53817         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
53818         (FE_UPWARD, FE_DOWNWARD): Don't define.
53819         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
53820         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
53822         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
53823         reading it.
53824         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
53825         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53827 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53829         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
53830         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
53831         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
53832         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
53834 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
53836         [BZ #14117]
53837         * sysdeps/i386/fpu/bits/fenv.h: Removed.
53838         * sysdeps/i386/fpu/Implies: New file.
53839         * sysdeps/x86_64/fpu/Implies: Likewise.
53840         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
53841         * sysdeps/x86/fpu/bits/fenv.h: This.
53843         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
53844         __SSE_MATH__.
53846 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
53848         [BZ #14134]
53849         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
53850         character 0xffff that matches the last element of the
53851         conversion table.
53853 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53855         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
53856         fmodl commit.
53858 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53860         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
53861         values higher than 25.6283.
53863 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53865         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
53866         subnormal exponent extraction and add some __builtin_expect.
53867         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
53868         Fix for subnormal mantissa calculation.
53870 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
53872         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
53873         cpu2 is -1 and errno is not ENOSYS.
53875 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
53877         [BZ #14117]
53878         * sysdeps/i386/i486/bits/string.h: Renamed to ...
53879         * sysdeps/x86/bits/string.h: This.
53880         * sysdeps/x86_64/bits/string.h: Removed.
53882         * sysdeps/i386/i486/bits/string.h: Define inline functions only
53883         if not compiling for x86-64, but compiling for >= i486.
53885         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
53886         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
53888         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
53889         New macro from Linux kernel 3.4.0.
53890         (FP_XSTATE_MAGIC2): Likewise.
53891         (FP_XSTATE_MAGIC2_SIZE): Likewise.
53892         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
53893         (struct _fpx_sw_bytes): New struct.
53894         (struct _xsave_hdr): Likewise.
53895         (struct _ymmh_state): Likewise.
53896         (struct _xstate): Likewise.
53898         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
53899         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
53900         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
53901         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
53902         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
53903         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
53905         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
53906         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
53907         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
53908         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
53909         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
53910         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
53912 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53914         [BZ #13743]
53915         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
53916         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
53917         (sysdep_headers): Include sys/platform/ppc.h.
53918         * sysdeps/powerpc/test-gettimebase.c: Test for
53919         __ppc_get_timebase() to catch future ISA opcode/insn changes.
53920         * manual/Makefile (appendices): Include platform.texi.
53921         * manual/contrib.texi (Contributors): Update @node pointers.
53922         * manual/maint.texi (Maintenance): Likewise.
53923         (Platform): New node.
53924         * manual/platform.texi: New file.  Document the new features.
53926 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53927             Jakub Jelinek  <jakub@redhat.com>
53929         [BZ #14188]
53930         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
53931         where __builtin_expect is unavailable.
53933 2012-06-03  David S. Miller  <davem@davemloft.net>
53935         * stdlib/longlong.h: Updated from GCC.
53937 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
53939         [BZ #14042]
53940         * sysdeps/powerpc/powerpc32/mcount.c: New file.
53941         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
53942         __mcount_internal.
53943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
53944         (GLIBC_2.16): Likewise.
53946 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
53948         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
53950 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
53952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
53953         (default-abi): New variable.
53954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
53955         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
53956         variable.
53957         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
53958         Likewise.
53959         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
53960         Likewise.
53961         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
53962         Likewise.
53964         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
53965         definition.  Document in comment.
53967 2012-06-01  David S. Miller  <davem@davemloft.net>
53969         * stdlib/longlong.h: Updated from GCC.
53971 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
53973         [BZ #14117]
53974         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
53975         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
53976         sys/debugreg.h sys/io.h here.
53977         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
53978         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
53979         sys/io.h.
53980         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
53981         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
53982         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
53983         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
53984         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
53985         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
53987         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
53988         Define only if __x86_64__ is defined.
53990 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
53992         [BZ #14048]
53993         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
53994         Use int64_t for variable i.
53995         * math/libm-test.inc (fmod_test): Add more tests.
53997         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
53998         z computation is not scheduled after fetestexcept.
53999         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
54000         Use math_force_eval instead of asm to ensure calculation scheduled
54001         before exception test.
54002         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
54003         Ensure a1 + u.d computation is not scheduled after fetestexcept.
54005 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
54007         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
54008         computation is not scheduled after fetestexcept.
54010 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54012         [BZ #14117]
54013         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
54014         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
54016 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54018         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
54019         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
54021 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
54023         [BZ #14117]
54024         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
54025         <bits/wordsize.h>.
54026         (__WCHAR_MIN): Support __WORDSIZE == 64.
54027         (__WCHAR_MAX): Likewise.
54029         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
54030         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
54032         [BZ #14183]
54033         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
54034         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
54036         [BZ #14117]
54037         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
54038         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
54040         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
54041         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
54043         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
54044         Defined to 1 if __x86_64__ isn't defined.
54045         (_STAT_VER_LINUX_OLD): New.
54046         (st_atime): Remove duplicate.
54047         (st_mtime): Likewise.
54048         (st_ctime): Likewise.
54050 2012-05-31  David S. Miller  <davem@davemloft.net>
54052         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
54053         entries.
54055 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
54057         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
54058         gen-libm-test.pl.
54060         [BZ #14132]
54061         * elf/dl-reloc.c: Include <_itoa.h>.
54062         (_dl_reloc_bad_type): Remove use of INTUSE.
54063         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
54064         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
54065         * stdio-common/psiginfo.c (psiginfo): Likewise.
54066         * stdio-common/psignal.c (psignal): Likewise.
54067         * string/strsignal.c (strsignal): Likewise.
54068         * include/signal.h (_sys_siglist): Declare hidden proto.
54069         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
54070         INTVARDEF with libc_hidden_data_def.
54071         * stdio-common/itoa-udigits.c: Likewise.
54072         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
54073         (_itoa_lower_digits_internal): Remove declaration.
54074         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
54075         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
54076         (_sys_sigabbrev_internal): Remove aliases.
54077         (_sys_siglist): Define hidden alias.
54079 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
54081         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54082         bits/sysctl.h.
54084 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
54086         [BZ #14117]
54087         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
54088         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
54090         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
54091         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
54092         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
54093         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
54094         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
54095         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
54097         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
54098         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
54099         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
54101         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
54102         with __addr.
54103         (insw): Likewise.
54104         (insl): Likewise.
54105         (outsb): Likewise.
54106         (outsw): Likewise.
54107         (outsl): Likewise.
54109         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
54110         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
54111         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
54113         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
54114         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
54115         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
54116         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
54117         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
54118         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
54120         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
54121         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
54123         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
54124         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
54126         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
54127         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
54128         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
54130         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
54131         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
54132         to ...
54133         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
54135         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
54136         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
54137         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
54139         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
54140         for x86-64.
54141         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
54143 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
54145         * math/math.h (M_El): Use two more decimal places.
54146         (M_LOG2El): Likewise.
54147         (M_LOG10El): Likewise.
54148         (M_LN2l): Likewise.
54149         (M_LN10l): Likewise.
54150         (M_PIl): Likewise.
54151         (M_PI_2l): Likewise.
54152         (M_PI_4l): Likewise.
54153         (M_1_PIl): Likewise.
54154         (M_2_PIl): Likewise.
54155         (M_2_SQRTPIl): Likewise.
54156         (M_SQRT2l): Likewise.
54157         (M_SQRT1_2l): Likewise.
54159 2012-05-31  David S. Miller  <davem@davemloft.net>
54161         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
54162         values between float registers.
54163         * sysdeps/sparc/sparc64/memset.S: Likewise.
54164         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
54166 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
54168         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
54169         -D_FORTIFY_SOURCE=1.
54170         (CPPFLAGS-tst-longjmp_chk.c): Define.
54171         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
54172         (CPPFLAGS-tst-longjmp_chk2.c): Define.
54173         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
54174         CFLAGS-tst-wchar-h.c.
54176 2012-05-31  Marek Polacek  <polacek@redhat.com>
54178         [BZ #14132]
54179         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
54180         __endmntent_internal): Remove declaration.
54181         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
54182         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
54183         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
54185 2012-05-30  David S. Miller  <davem@davemloft.net>
54187         * sysdeps/sparc/sparc32/soft-fp/q_util.c
54188         (___Q_simulate_exceptions): Use real FP ops rather than writing
54189         into the %fsr.
54190         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
54191         Likewise.
54193 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54195         [BZ #14117]
54196         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
54197         * sysdeps/x86/bits/xtitypes.h: This.
54199         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
54200         * sysdeps/x86/bits/wordsize.h: This.
54202         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
54203         * sysdeps/x86/bits/huge_vall.h: This.
54205         * sysdeps/i386/bits/select.h: Removed.
54206         * sysdeps/x86_64/bits/select.h: Renamed to ...
54207         * sysdeps/x86/bits/select.h: This.
54209         * sysdeps/i386/bits/setjmp.h: Removed.
54210         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
54211         * sysdeps/x86/bits/setjmp.h: This.
54213         * sysdeps/i386/bits/mathdef.h: Removed.
54214         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
54215         * sysdeps/x86/bits/mathdef.h: This.
54217 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
54219         [BZ #14132]
54220         * include/sys/socket.h (__connect_internal)
54221         (__libc_sa_len_internal): Remove declaration.
54222         (__connect, __libc_sa_len): Declare hidden_proto.
54223         (SA_LEN): Remove use of INTUSE.
54224         * socket/connect.c: Add libc_hidden_def.
54225         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
54226         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
54227         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
54228         alias.
54229         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
54230         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
54231         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
54232         of adding _internal alias.
54234 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54236         [BZ #14117]
54237         * sysdeps/i386/bits/link.h: Removed.
54238         * sysdeps/i386/bits/linkmap.h: Likewise.
54239         * sysdeps/x86_64/bits/link.h: Renamed to ...
54240         * sysdeps/x86/bits/link.h: This.
54241         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
54242         * sysdeps/x86/bits/linkmap.h: This.
54244         * sysdeps/i386/bits/endian.h: Removed.
54245         * sysdeps/x86_64/bits/endian.h: Renamed to ...
54246         * sysdeps/x86/bits/endian.h: This.
54248         * sysdeps/i386/bits/byteswap.h: Removed.
54249         * sysdeps/i386/bits/byteswap-16.h: Likewise.
54250         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
54251         * sysdeps/x86/bits/byteswap.h: This.
54252         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
54253         * sysdeps/x86/bits/byteswap-16.h: This.
54254         * sysdeps/i386/Implies: Add x86.
54255         * sysdeps/x86_64/Implies: Likewise.
54257 2012-05-30  David S. Miller  <davem@davemloft.net>
54259         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
54260         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
54261         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
54262         (FP_TRAPPING_EXCEPTIONS): Define.
54263         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
54264         (FP_TRAPPING_EXCEPTIONS): Define.
54265         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
54266         subnormals only when inexact has been signalled or underflow
54267         exceptions are enabled.
54268         (_FP_PACK_CANONICAL): Likewise.
54270 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54272         [BZ #14183]
54273         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
54274         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
54276 2012-05-30  Richard Henderson  <rth@twiddle.net>
54278         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
54279         with #ifndef NOT_IN_libc.
54281         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
54282         marked to avoid plt entry.
54284 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54286         [BZ #14112]
54287         * Makeconfig (default-abi): New macro.
54288         (abi-includes): Likewise.
54289         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
54290         $(abi-$(default-abi)-lib-soname) for soname if defined.
54291         ($(common-objpfx)gnu/lib-names.stmp): Generate from
54292         abi-variants.
54293         * Makefile (installed-stubs): Likewise.
54294         * include/stubs-biarch.h: Removed.
54295         * scripts/lib-names.awk: Only handle one library at a time.
54296         * scripts/soversions.awk: Remove WORDSIZE support.
54297         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
54298         entries.
54299         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
54300         Removed.
54301         (syscall-list-default-condition): Likewise.
54302         (syscall-list-default-condition): Likewise.
54303         (syscall-list-includes): Likewise.
54304         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
54305         syscall-list-* with abi-*.  Handle undefined abi-variants.
54306         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
54307         * sysdeps/unix/sysv/linux/i386/Implies: New file.
54308         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
54309         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
54310         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
54311         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
54312         Removed.
54313         (syscall-list-32-options): Likewise.
54314         (syscall-list-32-condition): Likewise.
54315         (syscall-list-64-options): Likewise.
54316         (syscall-list-64-condition): Likewise.
54317         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
54318         macro.
54319         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
54320         Renamed to ...
54321         (abi-*): This.
54322         (abi-64-ld-soname): New macro.
54323         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
54324         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
54325         Renamed to ...
54326         (abi-*): This.
54327         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
54328         * sysdeps/x86_64/x32/shlib-versions: Likewise.
54330 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
54332         * sysdeps/unix/sysv/linux/kernel-features.h
54333         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
54334         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
54335         include <kernel-features.h>.
54336         [!__NR_ftruncate64]: Remove conditional code.
54337         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54338         [__NR_ftruncate64]: Make code unconditional.
54339         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54340         * sysdeps/unix/sysv/linux/truncate64.c: Do not
54341         include <kernel-features.h>.
54342         [!__NR_ftruncate64]: Remove conditional code.
54343         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54344         [__NR_ftruncate64]: Make code unconditional.
54345         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
54347         include <kernel-features.h>.
54348         [!__NR_ftruncate64]: Remove conditional code.
54349         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54350         [__NR_ftruncate64]: Make code unconditional.
54351         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
54353         include <kernel-features.h>.
54354         [!__NR_ftruncate64]: Remove conditional code.
54355         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54356         [__NR_ftruncate64]: Make code unconditional.
54357         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54359         * configure.in (libc_cv_fpie): Weaken to a compile test using
54360         LIBC_TRY_CC_OPTION.
54361         * configure: Regenerated.
54363 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54365         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
54366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
54367         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
54368         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54369         Refreshed.
54370         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
54371         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
54372         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
54373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
54374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
54375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54376         Refreshed.
54378 2012-05-27  David S. Miller  <davem@davemloft.net>
54380         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
54381         (___Q_zero): New.
54382         (__Q_simulate_exceptions): Return void.  Change to simulate
54383         exceptions by writing into the %fsr.
54384         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
54385         (__Qp_handle_exceptions): Likewise.
54386         (numbers): Delete.
54387         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
54388         __Qp_handle_exceptions.
54389         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
54390         __Qp_handle_exceptions.
54391         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
54392         as unused and give dummy FP_RND_NEAREST initializer.
54393         (FP_INHIBIT_RESULTS): Define.
54394         (___Q_simulate_exceptions): Update declaration.
54395         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
54396         formatting.
54397         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
54398         as unused and give dummy FP_RND_NEAREST initializer.
54399         (__Qp_handle_exceptions): Update declaration.
54400         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
54401         formatting.
54403 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
54405         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
54406         the temporary FPU control word.
54407         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
54408         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
54409         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
54410         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
54411         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
54412         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
54413         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
54414         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
54415         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
54416         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
54417         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54419 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54421         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
54422         fields.
54424 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
54426         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
54427         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
54428         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
54429         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
54430         Likewise.
54431         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
54432         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
54433         Likewise.
54435 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
54437         * po/h.po: Update from translation team.
54439 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
54441         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
54443         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
54444         handling of denormals.
54445         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
54446         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
54447         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
54448         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
54449         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54450         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
54451         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
54452         Likewise.
54454 2012-05-26  Marek Polacek  <polacek@redhat.com>
54456         [BZ #14152]
54457         * math/libm-test.inc (fma_test): Don't always expect underflow
54458         exception.
54460 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54462         [BZ #12416]
54463         * elf/tst-execstack.c: Include stackinfo.h.
54464         (do_test): Adjust test case to ensure that pthread_getattr_np
54465         behaviour remains the same after marking stack executable.
54467 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
54469         * sysdeps/unix/sysv/linux/kernel-features.h
54470         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
54471         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
54472         kernel-features.h.
54473         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
54474         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
54475         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
54476         kernel-features.h.
54477         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
54478         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
54480 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
54482         * configure.in: Define the default includes to being none.
54483         * configure: Regenerated.
54485 2012-05-25  Roland McGrath  <roland@hack.frob.com>
54487         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
54488         * sysdeps/x86_64/setjmp.S: Likewise.
54489         * sysdeps/i386/bsd-setjmp.S: Likewise.
54490         * sysdeps/i386/bsd-_setjmp.S: Likewise.
54491         * sysdeps/i386/setjmp.S: Likewise.
54492         * sysdeps/i386/__longjmp.S: Likewise.
54493         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
54494         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
54496         * include/stap-probe.h: New file.
54497         * configure.in: Handle --enable-systemtap.
54498         * configure: Regenerated.
54499         * config.h.in (USE_STAP_PROBE): New #undef.
54500         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
54501         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
54502         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
54504 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
54506         [BZ #13717]
54507         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
54508         to 2.4.0 where earlier.
54509         * sysdeps/unix/sysv/linux/configure: Regenerated.
54510         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
54511         <kernel-features.h>.
54512         [__ASSUME_32BITUIDS]: Make code unconditional.
54513         [!__ASSUME_32BITUIDS]: Remove conditional code.
54514         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
54515         <kernel-features.h>.
54516         [__ASSUME_32BITUIDS]: Make code unconditional.
54517         [!__ASSUME_32BITUIDS]: Remove conditional code.
54518         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
54519         [__ASSUME_32BITUIDS]: Make code unconditional.
54520         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
54521         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
54522         <kernel-features.h>.
54523         [__ASSUME_32BITUIDS]: Make code unconditional.
54524         [!__ASSUME_32BITUIDS]: Remove conditional code.
54525         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
54526         <kernel-features.h>.
54527         [__ASSUME_32BITUIDS]: Make code unconditional.
54528         [!__ASSUME_32BITUIDS]: Remove conditional code.
54529         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
54530         <kernel-features.h>.
54531         [__ASSUME_32BITUIDS]: Make code unconditional.
54532         [!__ASSUME_32BITUIDS]: Remove conditional code.
54533         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
54534         <kernel-features.h>.
54535         [__ASSUME_32BITUIDS]: Make code unconditional.
54536         [!__ASSUME_32BITUIDS]: Remove conditional code.
54537         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
54538         <kernel-features.h>.
54539         [__ASSUME_32BITUIDS]: Make code unconditional.
54540         [!__ASSUME_32BITUIDS]: Remove conditional code.
54541         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
54542         <kernel-features.h>.
54543         [__ASSUME_32BITUIDS]: Make code unconditional.
54544         [!__ASSUME_32BITUIDS]: Remove conditional code.
54545         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
54546         <kernel-features.h>.
54547         [__ASSUME_32BITUIDS]: Make code unconditional.
54548         [!__ASSUME_32BITUIDS]: Remove conditional code.
54549         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
54550         <kernel-features.h>.
54551         [__ASSUME_32BITUIDS]: Make code unconditional.
54552         [!__ASSUME_32BITUIDS]: Remove conditional code.
54553         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
54554         <kernel-features.h>.
54555         [__ASSUME_32BITUIDS]: Make code unconditional.
54556         [!__ASSUME_32BITUIDS]: Remove conditional code.
54557         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
54558         <kernel-features.h>.
54559         [__ASSUME_32BITUIDS]: Make code unconditional.
54560         [!__ASSUME_32BITUIDS]: Remove conditional code.
54561         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
54562         <kernel-features.h>.
54563         [__NR_setresgid] (__setresgid): Do not declare.
54564         [__ASSUME_32BITUIDS]: Make code unconditional.
54565         [!__ASSUME_32BITUIDS]: Remove conditional code.
54566         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
54567         <kernel-features.h>.
54568         [__NR_setresuid] (__setresuid): Do not declare.
54569         [__ASSUME_32BITUIDS]: Make code unconditional.
54570         [!__ASSUME_32BITUIDS]: Remove conditional code.
54571         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
54572         <kernel-features.h>.
54573         [__ASSUME_32BITUIDS]: Make code unconditional.
54574         [!__ASSUME_32BITUIDS]: Remove conditional code.
54575         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
54576         <kernel-features.h>.
54577         [__ASSUME_32BITUIDS]: Make code unconditional.
54578         [!__ASSUME_32BITUIDS]: Remove conditional code.
54579         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
54580         <kernel-features.h>.
54581         [__ASSUME_32BITUIDS]: Make code unconditional.
54582         [!__ASSUME_32BITUIDS]: Remove conditional code.
54583         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
54584         <kernel-features.h>.
54585         [__ASSUME_32BITUIDS]: Make code unconditional.
54586         [!__ASSUME_32BITUIDS]: Remove conditional code.
54587         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
54588         <kernel-features.h>.
54589         [__ASSUME_32BITUIDS]: Make code unconditional.
54590         [!__ASSUME_32BITUIDS]: Remove conditional code.
54591         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
54592         <kernel-features.h>.
54593         [__ASSUME_32BITUIDS]: Make code unconditional.
54594         [!__ASSUME_32BITUIDS]: Remove conditional code.
54595         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
54596         <kernel-features.h>.
54597         [__ASSUME_32BITUIDS]: Make code unconditional.
54598         [!__ASSUME_32BITUIDS]: Remove conditional code.
54599         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
54600         <kernel-features.h>.
54601         [__ASSUME_32BITUIDS]: Make code unconditional.
54602         [!__ASSUME_32BITUIDS]: Remove conditional code.
54603         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
54604         <kernel-features.h>.
54605         [__ASSUME_32BITUIDS]: Make code unconditional.
54606         [!__ASSUME_32BITUIDS]: Remove conditional code.
54607         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
54608         <kernel-features.h>.
54609         [__ASSUME_32BITUIDS]: Make code unconditional.
54610         [!__ASSUME_32BITUIDS]: Remove conditional code.
54611         * sysdeps/unix/sysv/linux/kernel-features.h
54612         (__ASSUME_SETRESUID_SYSCALL): Remove.
54613         (__ASSUME_SETRESGID_SYSCALL): Likewise.
54614         (__ASSUME_32BITUIDS): Likewise.
54615         (__ASSUME_LDT_WORKS): Likewise.
54616         (__ASSUME_O_DIRECTORY): Likewise.
54617         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
54618         architecture but not kernel version.
54619         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
54620         (__ASSUME_MMAP2_SYSCALL): Likewise.
54621         (__ASSUME_STAT64_SYSCALL): Likewise.
54622         (__ASSUME_IPC64): Likewise.
54623         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
54624         <kernel-features.h>.
54625         [__ASSUME_32BITUIDS]: Make code unconditional.
54626         [!__ASSUME_32BITUIDS]: Remove conditional code.
54627         * sysdeps/unix/sysv/linux/opendir.c: Do not include
54628         <kernel-features.h>.
54629         [__ASSUME_O_DIRECTORY]: Make code unconditional.
54630         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
54631         132096]: Remove conditional code.
54632         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
54633         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
54634         <kernel-features.h>.
54635         [__ASSUME_32BITUIDS]: Make code unconditional.
54636         [!__ASSUME_32BITUIDS]: Remove conditional code.
54637         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
54638         <kernel-features.h>.
54639         [__ASSUME_32BITUIDS]: Make code unconditional.
54640         [!__ASSUME_32BITUIDS]: Remove conditional code.
54641         * sysdeps/unix/sysv/linux/setegid.c: Do not include
54642         <kernel-features.h>.
54643         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
54644         unconditional.
54645         (__setresgid): Do not declare.
54646         [__ASSUME_32BITUIDS]: Make code unconditional.
54647         [!__ASSUME_32BITUIDS]: Remove conditional code.
54648         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
54649         <kernel-features.h>.
54650         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
54651         unconditional.
54652         (__setresuid): Do not declare.
54653         [__ASSUME_32BITUIDS]: Make code unconditional.
54654         [!__ASSUME_32BITUIDS]: Remove conditional code.
54655         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
54656         <kernel-features.h>.
54657         [__ASSUME_32BITUIDS]: Make code unconditional.
54658         [!__ASSUME_32BITUIDS]: Remove conditional code.
54659         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
54660         <kernel-features.h>.
54661         [__ASSUME_32BITUIDS]: Make code unconditional.
54662         [!__ASSUME_32BITUIDS]: Remove conditional code.
54664 2012-05-25  Richard Henderson  <rth@twiddle.net>
54666         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
54667         dl_hwcap to ifunc resolver.
54668         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
54669         elf_ifunc_invoke.
54670         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
54671         dl_hwcap to ifunc resolver.
54672         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
54674 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
54676         [BZ #14153]
54677         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
54678         for |x| <= 2**-26, not 2**-57.
54679         * math/libm-test.inc (acos_test): Do not allow spurious underflow
54680         exception.
54682 2012-05-24  Jeff Law  <law@redhat.com>
54684         * stdio-common/Makefile (tests): Add bug25.
54685         * stdio-common/bug25.c: New test.
54687 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
54689         [BZ #13576]
54690         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
54691         multiple of MALLOC_ALIGNMENT in size.
54692         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
54694 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
54696         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
54697         Require >= 256.
54698         (FILENAME_MAX): Use macro-int-constant.
54699         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
54700         (_IOFBF): Use macro-int-constant.
54701         (_IOLBF): Likewise.
54702         (_IONBF): Likewise.
54703         (SEEK_CUR): Likewise.
54704         (SEEK_END): Likewise.
54705         (SEEK_SET): Likewise.
54706         (TMP_MAX): Likewise.
54707         (EOF): Use macro-int-constant.  Require < 0.
54708         (NULL): Use macro-constant.  Require == 0.
54709         (stdin): Require type to be FILE *.
54710         (stdout): Likewise.
54711         (stderr): Likewise.
54712         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
54713         macro-int-constant.
54714         (EXIT_SUCCESS): Likewise.
54715         (NULL): Use macro-constant.  Require == 0.
54716         (RAND_MAX): Use macro-int-constant.
54717         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
54718         [C99-based standards] (strtof): Require function.
54719         [C99-based standards] (strtold): Likewise.
54720         [C99-based standards] (strtoll): Likewise.
54721         [C99-based standards] (strtoull): Likewise.
54722         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
54723         [ISO || ISO99 || ISO11] (limits.h): Likewise.
54724         [ISO || ISO99 || ISO11] (math.h): Likewise.
54725         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
54726         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
54727         [ISO || ISO99 || ISO11] (*_t): Do not allow.
54729 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
54731         [BZ #14132]
54732         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
54733         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
54734         * intl/dgettext.c (DCGETTEXT): Likewise.
54735         * intl/gettext.c (DCGETTEXT): Likewise.
54736         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
54737         * posix/regex_internal.h (gettext): Likewise.
54738         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
54739         Remove declaration.
54740         * include/argz.h (__argz_count_internal)
54741         (__argz_stringify_internal): Remove declaration.
54742         (__argz_count, __argz_stringify): Declare hidden proto.
54743         * intl/dcgettext.c: Remove use of INTDEF.
54744         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
54745         * string/argz-stringify.c: Likewise.
54746         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
54747         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
54748         Declare hidden proto.
54749         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
54750         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
54751         Declare hidden proto.
54752         * include/stdio.h (__asprintf_internal): Don't declare.
54753         (__asprintf): Don't define as macro.  Declare hidden proto.
54754         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
54755         (__fsetlocking): Declare hidden proto.
54756         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
54757         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
54758         hidden proto.
54759         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
54760         (_IO_setlinebuf): Remove use of INTUSE.
54761         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
54762         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
54763         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
54764         Remove declaration.
54765         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
54766         (_IO_do_flush): Remove use of INTUSE.
54767         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
54768         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
54769         (_IO_adjust_column, _IO_least_wmarker)
54770         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
54771         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
54772         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
54773         (_IO_default_doallocate, _IO_wdefault_doallocate)
54774         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
54775         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
54776         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
54777         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
54778         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
54779         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
54780         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
54781         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
54782         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
54783         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
54784         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
54785         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
54786         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
54787         proto.
54788         (_IO_flush_all_internal, _IO_adjust_column_internal)
54789         (_IO_default_uflow_internal, _IO_default_finish_internal)
54790         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
54791         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
54792         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
54793         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
54794         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
54795         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
54796         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
54797         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
54798         (_IO_file_close_internal, _IO_file_close_it_internal)
54799         (_IO_file_underflow_internal, _IO_file_overflow_internal)
54800         (_IO_file_init_internal, _IO_file_attach_internal)
54801         (_IO_file_fopen_internal, _IO_file_read_internal)
54802         (_IO_file_sync_internal, _IO_file_seek_internal)
54803         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
54804         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
54805         (_IO_str_underflow_internal, _IO_str_overflow_internal)
54806         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
54807         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
54808         (_IO_list_all_internal, _IO_link_in_internal)
54809         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
54810         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
54811         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
54812         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
54813         (_IO_do_write_internal, _IO_padn_internal)
54814         (_IO_getline_info_internal, _IO_getline_internal)
54815         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
54816         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
54817         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
54818         (_IO_vfscanf_internal, _IO_vfprintf_internal)
54819         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
54820         (_IO_init_internal, _IO_un_link_internal): Don't declare.
54821         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
54822         with libc_hidden_ver, remove use of INTUSE.
54823         * libio/genops.c: Likewise.
54824         * libio/freopen.c: Likewise.
54825         * libio/freopen64.c: Likewise.
54826         * libio/iofclose.c: Likewise.
54827         * libio/iofdopen.c: Likewise.
54828         * libio/iofflush.c: Likewise.
54829         * libio/iofflush_u.c: Likewise.
54830         * libio/iofgets.c: Likewise.
54831         * libio/iofgets_u.c: Likewise.
54832         * libio/iofopen.c: Likewise.
54833         * libio/iofopncook.c: Likewise.
54834         * libio/iofread.c: Likewise.
54835         * libio/iofread_u.c: Likewise.
54836         * libio/ioftell.c: Likewise.
54837         * libio/iofwrite.c: Likewise.
54838         * libio/iogetline.c: Likewise.
54839         * libio/iogets.c: Likewise.
54840         * libio/iogetwline.c: Likewise.
54841         * libio/iopadn.c: Likewise.
54842         * libio/iopopen.c: Likewise.
54843         * libio/ioseekoff.c: Likewise.
54844         * libio/ioseekpos.c: Likewise.
54845         * libio/iosetbuffer.c: Likewise.
54846         * libio/iosetvbuf.c: Likewise.
54847         * libio/ioungetc.c: Likewise.
54848         * libio/ioungetwc.c: Likewise.
54849         * libio/iovdprintf.c: Likewise.
54850         * libio/iovsprintf.c: Likewise.
54851         * libio/iovsscanf.c: Likewise.
54852         * libio/memstream.c: Likewise.
54853         * libio/obprintf.c: Likewise.
54854         * libio/oldfileops.c: Likewise.
54855         * libio/oldiofclose.c: Likewise.
54856         * libio/oldiofdopen.c: Likewise.
54857         * libio/oldiofopen.c: Likewise.
54858         * libio/oldiopopen.c: Likewise.
54859         * libio/oldstdfiles.c: Likewise.
54860         * libio/putc.c: Likewise.
54861         * libio/setbuf.c: Likewise.
54862         * libio/setlinebuf.c: Likewise.
54863         * libio/stdfiles.c: Likewise.
54864         * libio/strops.c: Likewise.
54865         * libio/vasprintf.c: Likewise.
54866         * libio/vscanf.c: Likewise.
54867         * libio/vsnprintf.c: Likewise.
54868         * libio/vswprintf.c: Likewise.
54869         * libio/wfiledoalloc.c: Likewise.
54870         * libio/wfileops.c: Likewise.
54871         * libio/wgenops.c: Likewise.
54872         * libio/wmemstream.c: Likewise.
54873         * libio/wstrops.c: Likewise.
54874         * libio/__fpurge.c: Likewise.
54875         * libio/__fsetlocking.c: Likewise.
54876         * assert/assert.c: Likewise.
54877         * debug/fgets_chk.c: Likewise.
54878         * debug/fgets_u_chk.c: Likewise.
54879         * debug/fread_chk.c: Likewise.
54880         * debug/fread_u_chk.c: Likewise.
54881         * debug/gets_chk.c: Likewise.
54882         * debug/obprintf_chk.c: Likewise.
54883         * debug/vasprintf_chk.c: Likewise.
54884         * debug/vdprintf_chk.c: Likewise.
54885         * debug/vsnprintf_chk.c: Likewise.
54886         * debug/vsprintf_chk.c: Likewise.
54887         * malloc/mtrace.c: Likewise.
54888         * misc/error.c: Likewise.
54889         * misc/syslog.c: Likewise.
54890         * stdio-common/asprintf.c: Likewise.
54891         * stdio-common/fxprintf.c: Likewise.
54892         * stdio-common/getw.c: Likewise.
54893         * stdio-common/isoc99_fscanf.c: Likewise.
54894         * stdio-common/isoc99_scanf.c: Likewise.
54895         * stdio-common/isoc99_vfscanf.c: Likewise.
54896         * stdio-common/isoc99_vscanf.c: Likewise.
54897         * stdio-common/isoc99_vsscanf.c: Likewise.
54898         * stdio-common/printf-prs.c: Likewise.
54899         * stdio-common/printf_fp.c: Likewise.
54900         * stdio-common/printf_fphex.c: Likewise.
54901         * stdio-common/printf_size.c: Likewise.
54902         * stdio-common/putw.c: Likewise.
54903         * stdio-common/scanf.c: Likewise.
54904         * stdio-common/sprintf.c: Likewise.
54905         * stdio-common/tmpfile.c: Likewise.
54906         * stdio-common/vfprintf.c: Likewise.
54907         * stdio-common/vfscanf.c: Likewise.
54908         * stdlib/strfmon_l.c: Likewise.
54909         * sunrpc/openchild.c: Likewise.
54910         * sunrpc/xdr_stdio.c: Likewise.
54911         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
54912         * sysdeps/mach/hurd/tmpfile.c: Likewise.
54914 2012-05-24  Roland McGrath  <roland@hack.frob.com>
54916         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
54918         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
54919         in the third column, to generate for the shared library an IFUNC
54920         that uses _dl_vdso_vsym.
54921         * Makerules (COMPILE.c, compile-stdin.c): New variables.
54922         * Makeconfig (object-suffixes-noshared): New variable.
54924         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
54925         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
54926         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
54927         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
54929         [BZ #14132]
54930         * include/sys/time.h (__gettimeofday): Remove macro.
54931         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
54932         * time/gettimeofday.c (__gettimeofday): Remove #undef.
54933         Remove INTDEF.
54934         (__gettimeofday): Add libc_hidden_def.
54935         (gettimeofday): Add libc_hidden_weak.
54936         * sysdeps/mach/gettimeofday.c: Likewise.
54937         * sysdeps/posix/gettimeofday.c: Likewise.
54938         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
54939         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
54940         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
54941         (__gettimeofday_internal): Remove strong_alias.
54942         (__gettimeofday): Add libc_hidden_def.
54943         (gettimeofday): Add libc_hidden_weak.
54944         * sysdeps/unix/syscalls.list (gettimeofday):
54945         Remove __gettimeofday_internal alias.
54947 2012-05-24  Daniel Jacobowitz  <drow@false.org>
54948             H.J. Lu  <hongjiu.lu@intel.com>
54950         [BZ #12495]
54951         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
54952         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
54953         (largebin_index_32_big): New.
54954         (largebin_index): Use it for 16-byte alignment.
54955         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
54956         correction with front_misalign.
54958 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
54960         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
54961         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
54962         Likewise.
54963         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
54964         Likewise.
54965         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
54966         Likewise.
54967         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
54968         Likewise.
54969         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
54970         Likewise.
54971         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
54972         Likewise.
54973         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
54974         Likewise.
54975         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
54976         Likewise.
54977         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
54978         Likewise.
54979         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
54980         Likewise.
54981         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
54982         Likewise.
54983         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
54984         Likewise.
54986         * scripts/data/c++-types-x32-linux-gnu.data: New file.
54987         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
54989 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
54991         [BZ #10846]
54992         [BZ #14036]
54993         * math/libm-test.inc (exp_test): Add test from bug 14036.
54994         (pow_test): Add test from bug 10846.
54996         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
54997         and other flags.
54998         (special_function): Do not include flags in test name.
54999         (parse_args): Likewise.
55000         * sysdeps/i386/fpu/libm-test-ulps: Update.
55001         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55002         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55003         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55006         * math/gen-libm-test.pl (%beautify): Add entries for underflow
55007         exceptions.
55008         * math/libm-test.inc ("Philosophy"): Update comment about
55009         exception testing.
55010         (UNDERFLOW_EXCEPTION): New macro.
55011         (UNDERFLOW_EXCEPTION_OK): Likewise.
55012         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
55013         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
55014         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
55015         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
55016         (INVALID_EXCEPTION_OK): Update value.
55017         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
55018         (OVERFLOW_EXCEPTION_OK): Likewise.
55019         (IGNORE_ZERO_INF_SIGN): Likewise.
55020         (test_exceptions): Handle underflow exceptions.
55021         (acos_test): Update for underflow exception expectations.
55022         (cexp_test): Likewise.
55023         (clog_test): Likewise.
55024         (clog10_test): Likewise.
55025         (csqrt_test): Likewise.
55026         (ctan_test): Likewise.
55027         (ctanh_test): Likewise.
55028         (exp_test): Likewise.
55029         (exp10_test): Likewise.
55030         (exp2_test): Likewise.
55031         (expm1_test): Likewise.
55032         (fma_test): Likewise.
55033         (j0_test): Likewise.
55034         (jn_test): Likewise.
55035         (nexttoward_test): Likewise.
55036         (pow_test): Likewise.
55037         (scalbn_test): Likewise.
55038         (scalbln_test): Likewise.
55039         (tan_test): Likewise.
55040         (y1_test): Likewise.
55041         * sysdeps/i386/fpu/libm-test-ulps: Update.
55042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55044 2012-05-23  David S. Miller  <davem@davemloft.net>
55046         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
55047         (__libc_sigaction): Remove unused local variables.
55049 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
55051         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
55053 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
55055         mktime: avoid signed integer overflow
55056         * time/mktime.c (__mktime_internal): Do not mishandle the case
55057         where diff == INT_MIN.
55059         mktime: simplify computation of average
55060         * time/mktime.c (ranged_convert): Use new time_t_avg function
55061         instead of rolling our own (probably-slower) code.
55063         mktime: do not assume signed right shift propagates sign bit
55064         * time/mktime.c (isdst_differ): New static function.
55065         (__mktime_internal): No need to normalize tm_isdst now.
55066         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
55067         tm_isdst values.
55069         mktime: merge another wrapv change from gnulib
55070         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
55071         from some compilers.
55073         mktime: remove incorrect attempt at unusual arithmetics
55074         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
55075         The code didn't really work on such machines anyway.
55076         (TYPE_MINIMUM): Assume two's complement.
55077         (twos_complement_arithmetic): Verify that long_int and time_t
55078         are two's complement (or unsigned, in the latter case).
55080         mktime: check signed shifts on long_int and time_t, too
55081         * time/mktime.c (SHR): Check that shifts work as desired
55082         on the types long_int and time_t too, as SHR is used on
55083         such types.
55085         mktime: do not assume 'long' is wide enough
55086         * time/mktime.c (verify): Move decl up.
55087         (long_int): New type.
55088         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
55089         to remove assumption in the code that 'long' is wide enough to
55090         store year values.  This assumption is not true on x32 and on
55091         some non-glibc platforms.
55093         mktime: merge wrapv change from gnulib
55094         * time/mktime.c (WRAPV): New macro.
55095         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
55096         (guess_time_tm, __mktime_internal): Do not assume that signed
55097         integer overflow wraps around; modern compilers generate code
55098         where this assumption is no longer valid.
55100 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
55102         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
55103         Replace "jmp L(pseudo_end)" with "ret".
55104         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
55105         Likewise.
55107 2012-05-23  Andreas Jaeger  <aj@suse.de>
55109         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
55110         * sysdeps/unix/sysv/linux/poll.c: Remove file.
55112 2012-05-23  Andreas Jaeger  <aj@suse.de>
55113             Maximilian Attems  <max@stro.at>
55115         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
55116         New macros.
55118 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
55120         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
55121         code so that pseudo_end is just ret and the stack pointer is
55122         correct also for static library in error case.
55124 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
55126         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
55127         move to syscalls.list.
55128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
55129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
55130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
55131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
55133         * manual/install.texi (Running make install): Do not mention Linux
55134         kernel version for which pt_chown is not needed.
55135         (Linux): Do not mention problems with nscd with 2.0 kernels.
55136         * INSTALL: Regenerated.
55138 2012-05-23  Andreas Jaeger  <aj@suse.de>
55140         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
55141         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
55142         macro.
55143         * sysdeps/unix/sysv/linux/s390/bits/mman.h
55144         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55145         * sysdeps/unix/sysv/linux/sh/bits/mman.h
55146         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55147         * sysdeps/unix/sysv/linux/i386/bits/mman.h
55148         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55149         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
55150         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55151         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
55152         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55153         * sysdeps/unix/sysv/linux/bits/in.h
55154         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
55156 2012-05-22  Roland McGrath  <roland@hack.frob.com>
55158         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
55159         (PREPARE_VERSION): Just use assert instead, it will be elided
55160         under [NDEBUG] anyway.
55162 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55164         * sysdeps/unix/sysv/linux/Makefile: Include
55165         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
55166         (sysdep_routines): Remove sysctl.
55167         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
55168         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
55169         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
55170         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
55171         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
55173 2012-05-22  Andreas Jaeger  <aj@suse.de>
55175         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
55176         that pseudo_end is just ret and the stack pointer is correct also
55177         for static library in error case.
55179 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
55181         [BZ #14122]
55182         * nss/nsswitch.c (defconfig_entries): New variable.
55183         (__nss_database_lookup): Don't leak defconfig entries.
55184         (nss_parse_service_list): Don't leak on error paths.
55185         (free_database_entries): New function.
55186         (free_defconfig): New function.
55187         (free_mem): Move common code to free_database_entries.
55189 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55191         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
55192         Add arch_prctl.
55193         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
55195         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
55196         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
55197         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
55198         New macro.
55199         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
55200         (INTERNAL_SYSCALL_TYPES): Likewise.
55201         (LOAD_ARGS_TYPES_[1-6]): Likewise.
55202         (LOAD_REGS_TYPES_[1-6]): Likewise.
55203         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
55204         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
55206 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55208         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
55209         copysignl for GLIBC_2_0.
55210         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
55211         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
55212         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
55213         logbl for GLIBC_2_0.
55214         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
55215         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
55217 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55219         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
55220         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
55222         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
55223         Use "neg %eax".
55225         * time/mktime.c: Update copyright years.
55227 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
55229         mktime: merge comment-quoting-style change from gnulib
55230         * time/mktime.c: Quote 'like this' in comments.
55231         The GNU coding standards suggest that we no longer quote `like this',
55232         as "`" and "'" are typically rendered asymmetrically nowadays.
55233         The typical gnulib style is to quote 'like this' when quoting
55234         code, and "like this" when quoting English.
55236         * time/mktime.c (compile-command): Add "-I.".
55238         mktime: merge mktime-internal.h change from gnulib
55239         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
55241         mktime: merge time_r change from gnulib
55242         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
55244         mktime: merge DEBUG change from gnulib
55245         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
55246         case system <time.h> has a #define.
55248         mktime: merge <sys/types.h> change from gnulib
55249         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
55250         since <time.t> is now guaranteed to define time_t.
55252         mktime: merge HAVE_CONFIG_H change from gnulib
55253         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
55255 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55257         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
55258         Use "neg %eax".
55260         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
55261         __rlim_t cast.
55262         (struct rusage): Use anonymous union to pad each field to
55263         __syscall_slong_t.
55265 2012-05-21  David S. Miller  <davem@davemloft.net>
55267         * Makefules (o-iterator): Remove .s cases.
55268         (compile-command.s): Delete.
55269         (COMPILE.s): Delete.
55270         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
55272 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
55274         * configure.in (libc_cv_predef_stack_protector): Only consider
55275         "foobar" and "__stack_chk_fail" lines in libc_undefs.
55276         * configure: Regenerated.
55278 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
55280         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
55281         New macro.  Use R*LP on int and pointer.
55282         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
55283         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
55284         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
55285         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
55287         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
55288         [__WORDSIZE_TIME64_COMPAT32] instead of
55289         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
55290         (struct utmp): Likewise.
55291         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
55292         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
55293         Renamed to ...
55294         (__WORDSIZE_TIME64_COMPAT32): This.
55295         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
55296         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
55297         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
55298         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
55299         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
55300         (__WORDSIZE_TIME64_COMPAT32): New macro.
55302 2012-05-21  Andreas Jaeger  <aj@suse.de>
55304         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
55305         only if [SHARED]. Add prototype for __wcschr_ia32.
55307 2012-05-21  Roland McGrath  <roland@hack.frob.com>
55309         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
55310         of %rbp unmolested in the jmp_buf while mangling the low bits.
55311         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
55312         unmolested high bits of %rbp while demangling the low bits.
55313         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
55315 2012-05-21  Andreas Jaeger  <aj@suse.de>
55317         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
55318         * sunrpc/svc_simple.c: Use it for registerrpc.
55319         * sunrpc/xcrypt.c: Use it for passwd2des.
55321         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
55323 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
55325         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
55326         Don't define if [__SYSCALL_WORDSIZE != 32].
55327         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
55328         New macro.
55330 2012-05-21  Bruno Haible  <bruno@clisp.org>
55331             Andreas Jaeger  <aj@suse.de>
55333         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
55334         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
55335         inptr and inend for must_buffer_ch.
55336         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
55337         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
55338         * stdio-common/Makefile (tests): Remove bug15.
55339         (bug15-ENV): Remove macro.
55340         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
55341         anymore.
55343 2012-05-19  Andreas Jaeger  <aj@suse.de>
55344             Roland McGrath  <roland@hack.frob.com>
55346         * manual/contrib.texi: Completely rewritten. It contains now an
55347         alphabetical list of contributors and their contributions.
55349 2012-05-21  Richard Henderson  <rth@twiddle.net>
55351         * misc/getauxval.c (__getauxval): Use unsigned long int.
55352         * misc/sys/auxv.h: Include <sys/cdefs.h>.
55353         (getauxval): Use unsigned long int.
55355 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
55357         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
55359 2012-05-21  Roland McGrath  <roland@hack.frob.com>
55361         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
55362         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
55363         __alignof__ (long double).
55365 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55367         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55369 2012-05-20  Richard Henderson  <rth@twiddle.net>
55371         * misc/getauxval.c: New file.
55372         * misc/sys/auxv.h: New file.
55373         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
55374         (routines): Add getauxval.
55375         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
55376         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
55377         * elf/dl-sysdep.c (_dl_auxv): Remove.
55378         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
55379         * elf/dl-support.c (_dl_auxv): New variable.
55380         (_dl_aux_init): Initialize it.
55381         * manual/startup.texi (Auxiliary Vector): New node.
55382         * sysdeps/generic/bits/hwcap.h: New file.
55383         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
55384         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
55385         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
55386         * sysdeps/sparc/sysdep.h: ... here.  Include it.
55387         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
55388         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
55389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55390         Update.
55391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
55392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
55393         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
55394         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
55395         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
55396         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
55397         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
55398         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
55400 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55402         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55404 2012-05-19  David S. Miller  <davem@davemloft.net>
55406         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55408 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
55410         [BZ #14123]
55411         * math/s_ccosh.c: Include <float.h>
55412         (__ccosh): Avoid internal overflow calculating sinh and cosh
55413         values before multiplying by sin and cos values.
55414         * math/s_ccoshf.c: Likewise.
55415         * math/s_ccoshl.c: Likewise.
55416         * math/s_csin.c: Likewise.
55417         * math/s_csinf.c: Likewise.
55418         * math/s_csinl.c: Likewise.
55419         * math/s_csinh.c: Likewise.
55420         * math/s_csinhf.c: Likewise.
55421         * math/s_csinhl.c: Likewise.
55422         * math/libm-test.inc (ccos_test): Add more tests.
55423         (ccosh_test): Likewise.
55424         (csin_test): Likewise.
55425         (csinh_test): Likewise.
55426         * sysdeps/i386/fpu/libm-test-ulps: Update.
55427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55429 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
55431         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
55432         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
55434         * sysdeps/x86_64/x32/_itoa.h: Add comment.
55436 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
55438         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
55439         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
55440         * sysdeps/powerpc/soft-fp/Versions: Likewise.
55441         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
55442         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
55443         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
55444         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
55445         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
55446         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
55447         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
55448         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
55449         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
55450         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
55451         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
55452         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
55453         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
55454         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
55455         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
55456         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
55457         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
55458         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
55459         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
55460         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
55461         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
55462         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
55463         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
55464         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
55465         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
55466         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
55467         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
55468         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
55470 2012-05-18  Andreas Jaeger  <aj@suse.de>
55472         * csu/.gitignore: Delete.
55474 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
55476         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
55477         (timex): Use __syscall_slong_t.
55479 2012-05-18  Andreas Jaeger  <aj@suse.de>
55480             Carlos O'Donell  <carlos_odonell@mentor.com>
55482         * manual/install.texi (Configuring and compiling): Update
55483         description about files modified in the source directory.
55484         * INSTALL: Regenerated.
55486 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
55488         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
55489         value.  Use "or" to set return value to -1.
55490         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
55491         negate return value.
55493 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55495         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
55496         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
55497         failure if the compiler has Graphite support disabled.
55498         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
55499         Likewise.
55500         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
55501         (CFLAGS-memmove.c): Likewise.
55502         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
55503         Likewise.
55505 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
55507         * sysdeps/x86_64/x32/_itoa.h: New file.
55509         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
55510         getdents system call only if kernel and user dirents have the
55511         same d_ino and d_off.
55513         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
55514         LLONG_MAX != LONG_MAX.
55515         (_itoa_word): Use _ITOA_WORD_TYPE on value.
55516         (_fitoa_word): Likewise.
55518         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
55519         years.
55520         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
55521         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
55522         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
55524         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
55525         include <bits/wordsize.h>.  Check __x86_64__ instead of
55526         __WORDSIZE.
55527         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
55528         if __x86_64__ is defined.  Use anonymous union on fpstate.
55530         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
55531         anonymous union.
55533 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
55535         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
55536         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
55537         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
55538         Refer to _rtld_local_ro instead of _rtld_global_ro.
55539         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
55540         Likewise.
55541         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
55542         Likewise.
55543         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
55544         Likewise.
55545         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
55546         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
55547         of _rtld_global, and rtld_progname instead of _dl_argv[0].
55549         [BZ #10882]
55550         * sysdeps/powerpc/powerpc32/dl-machine.c
55551         (__elf_machine_runtime_setup) [PROF]: Don't reference
55552         _dl_prof_resolve.
55554 2012-05-18  Andreas Jaeger  <aj@suse.de>
55556         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
55557         function only available for GCCs before 3.4 since GCC 3.4
55558         introduced a builtin.
55559         (lrint): Likewise.
55560         (llrintf): Likewise.
55561         (llrint): Likewise.
55562         (fmaxf): Likewise.
55563         (fmax): Likewise.
55564         (fminf): Likewise.
55565         (fmin): Likewise.
55566         (rint): Likewise.
55567         (rintf): Likewise.
55568         (nearbyint): Likewise.
55569         (nearbyintf): Likewise.
55570         (ceil): Likewise.
55571         (ceilf): Likewise.
55572         (floor): Likewise.
55573         (floorf): Likewise.
55575 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55577         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
55578         on both fields and cast pointer to __syscall_ulong_t.
55580         * bits/types.h (__fsword_t): New type.
55581         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
55582         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
55583         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55584         (__FSWORD_T_TYPE): Likewise.
55585         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55586         (__FSWORD_T_TYPE): Likewise.
55587         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55588         (__FSWORD_T_TYPE): Likewise.
55589         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
55590         (__FSWORD_T_TYPE): Likewise.
55591         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
55592         __SWORD_TYPE with __fsword_t.
55593         (statfs64): Likewise.
55595 2012-05-17  David S. Miller  <davem@davemloft.net>
55597         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
55599 2012-05-17  Andreas Jaeger  <aj@suse.de>
55601         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
55602         warning.
55604 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55606         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
55608 2012-05-17  Andreas Jaeger  <aj@suse.de>
55610         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
55611         when it is used.
55613 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
55615         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
55617 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55619         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
55620         * sysdeps/x86_64/tst-mallocalign1.c: New file.
55622 2012-05-17  Andreas Jaeger  <aj@suse.de>
55623             Carlos O'Donell  <carlos_odonell@mentor.com>
55625         [BZ #14059]
55626         * sysdeps/x86_64/multiarch/init-arch.h
55627         (bit_YMM_Usable): Rename to...
55628         (bit_AVX_Usable): ... this.
55629         (bit_FMA4_Usable): New macro.
55630         (bit_XMM_state): New macro.
55631         (bit_YMM_state): New macro.
55632         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
55633         [__ASSEMBLER__] (index_AVX_Usable): ... this.
55634         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
55635         (CPUID_OSXSAVE): New macro.
55636         (CPUID_AVX): New macro.
55637         (CPUID_FMA4): New macro.
55638         (index_YMM_Usable): Rename to...
55639         (index_AVX_Usable): ... this.
55640         (HAS_AVX): Use HAS_ARCH_FEATURE.
55641         (HAS_FMA4): Likewise.
55642         (HAS_YMM_USABLE): Remove.
55643         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55644         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
55645         are present.
55646         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
55647         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
55648         * sysdeps/x86_64/multiarch/Makefile: Likewise.
55649         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
55650         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
55652 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
55654         * math/libm-test.c: Support platforms without multiple rounding modes.
55655         * math/bug-nextafter.c: Support platforms without FP exceptions.
55656         * math/bug-nexttoward.c: Likewise.
55657         * math/test-fenv.c: Likewise.
55658         * math/test-misc.c: Likewise.
55659         * stdlib/bug-getcontext.c: Likewise.
55661 2012-05-17  Andreas Jaeger  <aj@suse.de>
55663         * manual/examples/search.c (critter_cmp): Change signature to
55664         avoid warnings.
55665         * manual/string.texi (Collation Functions): Likewise.
55667 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55669         * bits/types.h: Fold copyright years.
55670         * bits/typesizes.h: Likewise.
55671         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
55672         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
55673         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
55674         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
55675         * time/time.h: Likewise.
55677 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
55679         [BZ #208]
55680         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
55681         in instead of returning them.  Return void.
55682         (__libc_mallinfo): Accumulate over all arenas.
55683         (__malloc_stats): Adjust for change in int_mallinfo interface.
55685 2012-05-16  Roland McGrath  <roland@hack.frob.com>
55687         [BZ #10375]
55688         * configure.in (NM): Add AC_CHECK_TOOL for it.
55689         (libc_extra_cflags): New substituted variable.
55690         Check for -fstack-protector being used implicitly.
55691         * configure: Regenerated.
55692         * config.make.in (config-extra-cflags): New variable,
55693         gets @libc_extra_cflags@.
55694         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
55696         [BZ #10375]
55697         * configure.in: Check for _FORTIFY_SOURCE being predefined.
55698         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
55699         * configure: Regenerated.
55700         * config.make.in (CPPUNDEFS): New substituted variable.
55701         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
55702         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
55703         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
55705 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55707         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
55708         (mq_attr): Use __syscall_slong_t.
55710 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55712         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
55713         Check __x86_64__ instead of __WORDSIZE.
55714         (_STAT_VER_LINUX): Likewise.
55715         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
55716         __syscall_ulong_t and __syscall_slong_t.
55717         (stat64): Likewise.
55719 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55721         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
55723 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55725         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
55727 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55729         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
55730         __syscall_ulong_t.
55732         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
55733         include <bits/wordsize.h>.  Check __x86_64__ instead of
55734         __WORDSIZE.
55735         (greg_t): Use "__extension__ long long int" if __x86_64__ is
55736         defined.
55737         (mcontext_t): Replace "unsigned long" with "unsigned long long".
55739         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
55740         include <bits/wordsize.h>.  Check __x86_64__ instead of
55741         __WORDSIZE.
55742         (user_regs_struct): Use "__extension__ unsigned long long"
55743         instead of "unsigned long" if __x86_64__ is defined.
55744         (user): Likewise.  Pad after pointer field if __ILP32__ is
55745         defined.
55747 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
55749         * configure.in (makeinfo): Require version 4.5 or later.  Allow
55750         versions 5 to 9.
55751         * configure: Regenerated.
55752         * manual/install.texi (texinfo): Increase version requirement to
55753         4.5 or later.
55754         * INSTALL: Regenerated.
55756         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
55758 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55760         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
55762         * sysdeps/x86_64/x32/ffs.c: New file.
55764         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
55765         __syscall_ulong_t.
55766         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
55767         defined.  Use __syscall_ulong_t.
55768         (shminfo): Use __syscall_ulong_t.
55769         (shm_info): Likewise.
55771         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
55772         __syscall_ulong_t.
55774         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
55775         <bits/wordsize.h>.
55776         (msgqnum_t): Use __syscall_ulong_t.
55777         (msglen_t): Likewise.
55778         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
55779         __syscall_ulong_t.
55781         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
55782         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
55784         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
55786         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
55787         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
55789         * sysvipc/sys/msg.h (msgbuf): Replace long int with
55790         __syscall_slong_t.
55792         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
55793         include <bits/wordsize.h>.  Check __x86_64__ instead of
55794         __WORDSIZE.
55796         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
55797         "unsigned long long int" if __x86_64__ is defined.
55798         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
55800         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
55801         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
55802         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
55804         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
55805         <stdint.h>.
55806         (GET_PC): Cast to uintptr_t first.
55807         (GET_FRAME): Likewise.
55808         (GET_STACK): Likewise.
55810         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
55811         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
55812         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
55813         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
55814         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
55815         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
55816         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
55817         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
55818         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
55819         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
55820         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
55821         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
55822         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
55823         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
55824         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
55825         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
55826         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
55827         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
55828         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
55829         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
55830         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
55831         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
55832         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
55833         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
55834         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
55835         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
55836         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
55837         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
55838         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
55840 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
55842         * Makerules (+depfiles): Also collect depfiles from .oS in
55843         $(extra-objs).
55844         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
55845         .oS, $(libnldbl-routines)).
55847         * Makerules (native-compile-mkdep-flags): Define.
55848         * sunrpc/Makefile (extra-objs): Add $(addprefix
55849         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
55850         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
55851         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
55852         calling $(make-target-directory).
55854 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55856         * bits/types.h (__snseconds_t): Removed.
55857         * time/time.h (struct timespec): Replace __snseconds_t with
55858         __syscall_slong_t.
55859         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
55860         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
55861         Likewise.
55862         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55863         (__SNSECONDS_T_TYPE): Likewise.
55864         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55865         (__SNSECONDS_T_TYPE): Likewise.
55866         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55867         (__SNSECONDS_T_TYPE): Likewise.
55869 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55871         * sysdeps/mach/hurd/bits/typesizes.h
55872         (__SYSCALL_SLONG_TYPE): New macro.
55873         (__SYSCALL_ULONG_TYPE): Likewise.
55875 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55877         * bits/types.h (__syscall_slong_t): New type.
55878         (__syscall_ulong_t): Likewise.
55880         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
55881         (__SYSCALL_ULONG_TYPE): Likewise.
55882         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55883         (__SYSCALL_SLONG_TYPE): Likewise.
55884         (__SYSCALL_ULONG_TYPE): Likewise.
55885         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55886         (__SYSCALL_SLONG_TYPE): Likewise.
55887         (__SYSCALL_ULONG_TYPE): Likewise.
55888         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55889         (__SYSCALL_SLONG_TYPE): Likewise.
55890         (__SYSCALL_ULONG_TYPE): Likewise.
55892 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55894         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
55895         Add sigaltstack-offsets.sym.
55896         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
55897         <sigaltstack-offsets.h>.
55898         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
55899         longjmp_msg pointer.
55900         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
55901         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
55902         signal stack.
55903         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
55905 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
55907         * elf/stackguard-macros.h: Remove file.
55908         * sysdeps/generic/stackguard-macros.h: New file.
55909         * sysdeps/i386/stackguard-macros.h: Likewise.
55910         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
55911         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
55912         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
55913         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
55914         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
55915         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
55916         * sysdeps/x86_64/stackguard-macros.h: Likewise.
55917         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
55918         <elf/stackguard-macros.h>.
55920         [BZ #14109]
55921         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
55922         __aligned__ in attribute.
55923         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
55924         (gregset_t): Likewise.
55926 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55928         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
55929         * sysdeps/x86_64/64/Implies-after: Here.  New file.
55930         * sysdeps/x86_64/x32/Implies-after: New file.
55932 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55934         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
55935         and access return value for _dl_profile_fixup.  Use R10_LP to
55936         load frame size.
55938 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55940         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
55942 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55944         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
55945         * sysdeps/x86_64/x32/sysdep.h: New file.
55947 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55949         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
55950         * sysdeps/x86_64/setjmp.S: Likewise.
55952 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55954         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
55955         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
55956         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
55957         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
55958         remove unused global constant.
55960 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
55962         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
55963         include of <not-cancel.h>.
55965 2012-05-15  Roland McGrath  <roland@hack.frob.com>
55967         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
55969 2012-05-15  Jeff Law  <law@redhat.com>
55970             Andreas Jaeger  <aj@suse.de>
55972         [BZ #13594]
55973         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
55974         out from...
55975         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
55976         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
55977         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
55978         code changing __hst_map_handle.map.
55980 2012-05-15  Roland McGrath  <roland@hack.frob.com>
55982         * configure.in (sysnames): Look for Implies-before and Implies-after
55983         files.
55984         * configure: Regenerated.
55986 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55988         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
55989         8-byte data alignment with LP_SIZE alignment.
55991 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55993         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
55994         into R10_LP.
55996 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55998         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
56000 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56002         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
56003         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
56004         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
56005         Likewise.
56006         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
56008 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56010         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
56011         (stackinfo_sub_sp): Likewise.
56013 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56015         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
56016         RAX_LP.
56018 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56020         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
56021         into R*_LP.
56023 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56025         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
56026         sizes into R*_LP.
56028 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56030         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
56032 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56034         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
56035         into R11_LP and load __x86_64_shared_cache_size_half into
56036         R8_LP.
56038 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56040         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
56041         R8_LP.
56043 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56045         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
56046         logb for POWER7.
56047         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
56048         logbf for POWER7.
56049         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
56050         logbl for POWER7.
56051         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
56052         powerpc32/power7/fpu/s_logb.c via #include.
56053         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
56054         powerpc32/power7/fpu/s_logbf.c via #include.
56055         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
56056         powerpc32/power7/fpu/s_logbl.c via #include.
56058 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
56060         * README.libm: Remove file.
56062 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56064         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
56065         count for x32.  Use R*_LP and omit operand-size suffix.
56067 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56069         * shlib-versions: Move x86_64-.*-linux.* entries to ...
56070         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
56071         * sysdeps/x86_64/x32/shlib-versions: New file.
56073 2012-05-14  Roland McGrath  <roland@hack.frob.com>
56075         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
56076         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
56077         Use _dl_fatal_printf instead.
56079 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
56081         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
56082         set if not set by the user.  Do not allow for being unset.
56083         * sysdeps/unix/sysv/linux/configure: Regenerated.
56085 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56087         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
56088         the `q' suffix from lea and replace .quad with ASM_ADDR.
56090 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56092         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
56093         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
56094         instead of $17.
56095         (PTR_DEMANGLE): Likewise.
56097 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56099         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
56100         (LP_OP): Likewise.
56101         (ASM_ADDR): Likewise.
56102         (RAX_LP): Likewise.
56103         (RBP_LP): Likewise.
56104         (RBX_LP): Likewise.
56105         (RCX_LP): Likewise.
56106         (RDI_LP): Likewise.
56107         (RSI_LP): Likewise.
56108         (RSP_LP): Likewise.
56109         (R8_LP): Likewise.
56110         (R9_LP): Likewise.
56111         (R10_LP): Likewise.
56112         (R10_LP): Likewise.
56113         (R11_LP): Likewise.
56114         (R12_LP): Likewise.
56115         (R13_LP): Likewise.
56116         (R14_LP): Likewise.
56117         (R15_LP): Likewise.
56119 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56121         * sysdeps/x86_64/x32/dl-machine.h: New file.
56123 2012-05-14  Andreas Jaeger  <aj@suse.de>
56125         * manual/Makefile (subdir): Remove export of subdir.
56126         (all): Remove target.
56127         (.PHONY): Remove all from list.
56128         (mkinstalldirs): Remove.
56129         (.PHONY): Remove installdirs from list.
56130         ($(inst_infodir)/libc.info): Use make-target-directory.
56131         (installdirs): Remove.
56132         (subdir_%): Remove.
56133         (glibc-targets): Remove.
56134         (lib): Remove.
56135         (stubs): Remove.
56136         ($(objpfx)stubs ../po/manual.pot): Remove.
56137         ($(objpfx)stamp%): Remove.
56138         (make-target-directory): Remove.
56139         (subdir_install): Remove.
56140         (routines): Remove.
56141         (aux): Remove.
56142         (sources): Remove.
56143         (objects): Remove.
56144         (headers): Remove.
56146         [BZ #13750]
56147         * manual/.gitignore: Remove, it's not needed anymore.
56148         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
56149         all files in it.
56150         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
56151         directory.
56152         (texis): Renamed to $(objpfx)texis.
56153         (texis-path): New, contains path to generated files.
56154         (chapters.%): Use texis-path for complete path, add extra argument
56155         libc-texinfo.sh.
56156         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
56157         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
56158         (summary,texi, stamp-summary): Use complete path of
56159         files. Generate files in build dir.
56160         (dir-add.texi): Build in build dir.
56161         (libm-err.texi,stamp-libm-err): Likewise.
56162         (version.texi, stamp-version): Likewise.
56163         (.%c.texi): Likewise.
56164         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
56165         (mostlyclean): Remove target.
56166         (realclean): Remove target.
56167         (generated): Add new variable with contents from mostlyclean and
56168         realclean, remove entries duplicated in common-mostlyclean, add
56169         stamp-libm-err and stamp-version.
56170         (generated-dirs): Add libc directory.
56171         ($(inst_infodir)/libc.info): Install files from build dir.
56173         * manual/install.texi (Configuring and compiling): Adjust since
56174         the info files are not part of the tar ball anymore.
56176 2012-05-14  Andreas Jaeger  <aj@suse.de>
56178         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
56179         variable.
56181 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
56183         [BZ #13717]
56184         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
56185         to 2.2.0 where earlier.
56186         * sysdeps/unix/sysv/linux/configure: Regenerated.
56187         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
56188         Remove conditional code.
56189         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
56190         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
56191         Remove conditional code.
56192         [!__NR_lchown]: Likewise.
56193         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
56194         [__NR_lchown]: Likewise.
56195         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
56196         comment referencing __ASSUME_LCHOWN_SYSCALL.
56197         * sysdeps/unix/sysv/linux/i386/sigaction.c
56198         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56199         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56200         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
56201         Remove conditional code.
56202         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
56203         (__protocol_available): Remove #if 0 code.
56204         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
56205         conditional code.
56206         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
56207         * sysdeps/unix/sysv/linux/kernel-features.h
56208         (__ASSUME_GETCWD_SYSCALL): Don't define.
56209         (__ASSUME_REALTIME_SIGNALS): Likewise.
56210         (__ASSUME_PREAD_SYSCALL): Likewise.
56211         (__ASSUME_PWRITE_SYSCALL): Likewise.
56212         (__ASSUME_POLL_SYSCALL): Likewise.
56213         (__ASSUME_LCHOWN_SYSCALL): Likewise.
56214         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
56215         non-SPARC.
56216         (__ASSUME_SIOCGIFNAME): Don't define.
56217         (__ASSUME_MSG_NOSIGNAL): Likewise.
56218         (__ASSUME_SENDFILE): Define unconditionally.
56219         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
56220         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
56221         conditional code.
56222         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
56223         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
56224         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
56225         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
56226         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
56227         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
56228         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
56229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
56230         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56231         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
56233         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56234         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
56236         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56237         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
56239         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56240         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
56242         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56243         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
56245         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56246         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
56248         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56249         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
56251         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56252         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56253         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
56254         Remove conditional code.
56255         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56256         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
56257         Remove conditional code.
56258         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56259         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
56260         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
56261         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
56262         Remove conditional code.
56263         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56264         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
56265         Remove conditional code.
56266         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56267         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
56268         Remove conditional code.
56269         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56270         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
56271         Remove conditional code.
56272         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56273         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
56274         Remove conditional code.
56275         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56276         * sysdeps/unix/sysv/linux/sh/pwrite64.c
56277         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56278         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56279         * sysdeps/unix/sysv/linux/sigaction.c
56280         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56281         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56282         * sysdeps/unix/sysv/linux/sigpending.c
56283         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56284         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56285         * sysdeps/unix/sysv/linux/sigprocmask.c
56286         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56287         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56288         * sysdeps/unix/sysv/linux/sigsuspend.c
56289         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56290         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56291         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
56292         (__libc_missing_rt_sigs): Remove.
56293         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
56294         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
56295         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
56296         Remove conditional code.
56297         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
56298         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
56299         return 1.
56300         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
56301         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
56302         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
56303         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
56305 2012-05-14  Andreas Jaeger  <aj@suse.de>
56307         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
56308         it's not used in glibc.
56309         (__coshm1): Likewise.
56310         (__acosh1p): Likewise.
56311         (__sgn): Likewise.
56313         * manual/string.texi (Copying and Concatenation): Add missing
56314         variable in concat example.
56315         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
56317 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56319         [BZ #14103]
56320         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
56321         __builtin_clzl with __builtin_clzll.
56323 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56325         [BZ #14104]
56326         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
56327         libc_freeres_ptr.
56329 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56331         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
56332         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
56333         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
56334         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
56336 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
56338         * NEWS: Update ia64 info.
56340 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
56342         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
56343         used as bcopy.
56345 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
56347         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
56348         * sysdeps/unix/syscalls.list (dup3): Likewise.
56349         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
56350         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
56352 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
56354         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
56355         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
56357 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
56359         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
56360         thread pointer.
56361         (TLS_IE): Use mov/add instead of movq/addq to load thread
56362         pointer.
56363         (TLS_GD_PREFIX): New.
56364         (TLS_GD): Use it.
56366 2012-05-11  David S. Miller  <davem@davemloft.net>
56368         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
56369         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
56370         (_FPU_SETCW): Likewise.
56372 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56374         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
56375         is 32-byte aligned.
56377 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
56379         [BZ #11837]
56380         * iconvdata/gb18030.c: Update tables.
56381         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
56382         characters specially.
56383         (BODY for TO_LOOP): Add encoding of missing ranges.
56385 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
56387         [BZ #13673]
56388         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
56389         * sysdeps/mach/hurd/dup3.c: Likewise.
56390         * sysdeps/mach/hurd/readlinkat.c: Likewise.
56391         * sysdeps/powerpc/memmove.c:: Likewise.
56393 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56395         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
56396         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
56398 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56400         * elf/elf.h (R_X86_64_RELATIVE64): New.
56401         (R_X86_64_NUM): Updated.
56402         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
56403         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
56404         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
56405         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
56406         tst-quad1pie tst-quad2pie
56407         (modules-names): Add tst-quadmod1 tst-quadmod2.
56408         ($(objpfx)tst-quad1): New dependency.
56409         ($(objpfx)tst-quad2): Likewise.
56410         ($(objpfx)tst-quad1pie): Likewise.
56411         ($(objpfx)tst-quad2pie): Likewise.
56412         * sysdeps/x86_64/tst-quad1.c: New file.
56413         * sysdeps/x86_64/tst-quad1pie.c: New file.
56414         * sysdeps/x86_64/tst-quad2.c: Likewise.
56415         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
56416         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
56417         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
56418         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
56419         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
56421 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56423         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
56424         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
56425         * streams/stropts.h (t_scalar_t): Define type.
56427         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
56428         (_PATH_PRESERVE): Set to "/var/lib".
56429         (_PATH_RWHODIR): Set to "/var/spool/rwho".
56431         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
56432         instead of int.
56434         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
56435         if __dir_mkfile succeeded.
56437         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
56438         checking for _hurd_dtablesize.  Unlock it right after having
56439         finished _hurd_dtable allocation.
56441 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56443         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
56444         * sysdeps/mach/hurd/configure: Regenerated.
56445         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
56446         special-casing to...
56447         * sysdeps/gnu/configure.in: ... this new file.
56448         * sysdeps/unix/sysv/linux/configure: Regenerated.
56449         * sysdeps/gnu/configure: New generated file.
56451         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
56452         for Linux: use nsec instead of usec, as well as:
56453         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
56454         members of type struct timespec.
56455         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
56456         New macros.
56457         (struct stat64): Likewise.
56458         (_STATBUF_ST_NSEC): New macro.
56459         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
56461         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
56462         __strtoul_internal rather than strtoul.
56464 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56466         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
56467         and reject them.
56469 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56471         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
56472         which preserves existing values.
56473         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
56475 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56477         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
56478         TIMEOUT values.  Return EINVAL for NFDS values either negative or
56479         greater than FD_SETSIZE.
56481 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56483         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
56484         allocated, call __vm_protect to finish enabling the existing space, and
56485         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
56486         allocate the remainder.
56488 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56490         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
56491         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
56493 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56495         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
56496         sysdeps/mach/hurd/readlink.c.
56498         * posix/tst-sysconf.c (posix_options): Only use
56499         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
56500         _POSIX_SYNCHRONIZED_IO when they are defined
56501         * sysdeps/mach/hurd/bits/posix_opt.h:
56502         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
56503         (_XOPEN_REALTIME): Undefine macro.
56504         (_XOPEN_REALTIME_THREADS): Undefine macro.
56505         (_XOPEN_SHM): Undefine macro.
56506         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
56507         macro to -1.
56508         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
56509         macro to -1.
56510         (_POSIX_ASYNC_IO): Undefine macro.
56511         (_POSIX_PRIORITIZED_IO): Undefine macro.
56512         (_POSIX_SPIN_LOCKS): Define macro to -1.
56514         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
56515         SA_NODEFER, SA_RESETHAND.
56516         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
56517         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
56518         F_DUPFD_CLOEXEC.
56520 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56522         * elf/Makefile (pldd-modules): Define unconditionally.
56524 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56526         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
56528 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56530         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
56531         Return ENOENT when name is empty.
56532         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
56534 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56536         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
56538         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
56540 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56542         Fix mlock in all cases except non-readable pages.
56543         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
56544         instead of VM_PROT_ALL as parameter to __vm_wire function.
56546         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
56547         (__mkdir): When path is `/', just fail with EEXIST.
56548         * sysdeps/mach/hurd/mkdirat.c: Likewise.
56550 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56552         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
56553         <sys/uio.h> (for writev).
56554         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
56555         and <sys/param.h> (for MIN).
56557 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56559         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
56560         REQUESTED_TIME.  Properly set the remaining time and return EINTR
56561         if interrupted.
56563 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56565         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
56566         Depend on against $(link-rpcuserlibs).
56568 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56570         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
56571         (__libc_stack_end): Do not use attribute_relro.
56572         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
56573         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
56574         to libthread-provided value.
56575         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
56576         attribute_relro.
56578 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56580         [BZ #3748]
56581         * bits/libc-lock.h (__libc_once_get): New macro.
56582         * sysdeps/mach/bits/libc-lock.h: Likewise.
56583         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
56584         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
56585         instead of using implementation details.
56587         * libio/fileops.c: Unconditionally include <kernel-features.h>.
56588         * libio/freopen.c: Likewise.
56589         * libio/freopen64.c: Likewise.
56590         * misc/syslog.c: Likewise.
56591         * nscd/connections.c: Likewise.
56592         * nscd/netgroupcache.c: Likewise.
56593         * sysdeps/posix/getcwd.c: Likewise.
56595 2012-05-10  Roland McGrath  <roland@hack.frob.com>
56597         * math/w_ilogbf.c: Add #include <limits.h>.
56599 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56601         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
56602         path instead of returning without unlocking.
56604         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
56605         immediate-write ioctls.
56606         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
56608 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56610         * sysdeps/mach/hurd/i386/init-first.c (init): Use
56611         __builtin_frame_address instead of making assumptions about the
56612         location of the return address relative to DATA.  Force early load of
56613         the return address.
56614         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
56615         __builtin_frame_address.
56617         dup3 for GNU Hurd.
56618         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
56619         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
56620         implement dup3 and do some further code clean-ups.
56621         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
56622         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
56624 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56626         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
56628         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
56629         HURD_CRITICAL_END around holding _hurd_dtable_lock.
56630         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
56631         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
56632         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
56633         d->port.lock.
56635         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
56636         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
56637         when handler == SIG_ERR, not when handler != SIG_ERR.
56639 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56641         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
56642         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
56643         definitions.
56645         accept4 for GNU Hurd.
56646         * include/sys/socket.h (__libc_accept4): New prototype.
56647         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
56648         to implement __libc_accept4.
56649         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
56650         __libc_accept4.
56651         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
56653         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
56654         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
56655         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
56656         signal-defines.sym.
56658 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56660         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
56662 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56664         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
56665         assertion on O_CLOEXEC flag.
56666         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
56667         * hurd/intern-fd.c: Likewise.
56668         * hurd/port2fd.c: Likewise.
56670 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56672         [BZ #3906]
56673         * bits/in.h (IPV6_PKTINFO): Define new macro.
56674         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
56676 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56678         [BZ #13954]
56679         [BZ #13955]
56680         [BZ #13956]
56681         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
56682         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56683         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
56684         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
56685         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56686         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
56687         * math/libm-test.inc (logb_test) : Additional logb tests.
56689 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
56690             Andreas Jaeger  <aj@suse.de>
56692         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
56693         * configure: Regenerated.
56694         * config.h.in (LINK_OBSOLETE_RPC): New macro.
56695         * config.make.in (link-obsolete-rpc): New substituted variable.
56696         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
56697         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
56698         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
56699         (shared-only-routines): Don't set it under [link-obsolete-rpc],
56700         so that libc.a contains the symbols.
56701         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
56702         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
56703         * sunrpc/auth_none.c: Likewise.
56704         * sunrpc/auth_unix.c: Likewise.
56705         * sunrpc/authdes_prot.c: Likewise.
56706         * sunrpc/authuxprot.c: Likewise.
56707         * sunrpc/clnt_gen.c: Likewise.
56708         * sunrpc/clnt_perr.c: Likewise.
56709         * sunrpc/clnt_raw.c: Likewise.
56710         * sunrpc/clnt_simp.c: Likewise.
56711         * sunrpc/clnt_tcp.c: Likewise.
56712         * sunrpc/clnt_udp.c: Likewise.
56713         * sunrpc/clnt_unix.c: Likewise.
56714         * sunrpc/des_crypt.c: Likewise.
56715         * sunrpc/des_soft.c: Likewise.
56716         * sunrpc/get_myaddr.c: Likewise.
56717         * sunrpc/key_call.c: Likewise.
56718         * sunrpc/key_prot.c: Likewise.
56719         * sunrpc/netname.c: Likewise.
56720         * sunrpc/pm_getmaps.c: Likewise.
56721         * sunrpc/pm_getport.c: Likewise.
56722         * sunrpc/pmap_clnt.c: Likewise.
56723         * sunrpc/pmap_prot.c: Likewise.
56724         * sunrpc/pmap_prot2.c: Likewise.
56725         * sunrpc/pmap_rmt.c: Likewise.
56726         * sunrpc/publickey.c: Likewise.
56727         * sunrpc/rpc_cmsg.c: Likewise.
56728         * sunrpc/rpc_common.c: Likewise.
56729         * sunrpc/rpc_dtable.c: Likewise.
56730         * sunrpc/rpc_prot.c: Likewise.
56731         * sunrpc/rpc_thread.c: Likewise.
56732         * sunrpc/rtime.c: Likewise.
56733         * sunrpc/svc.c: Likewise.
56734         * sunrpc/svc_auth.c: Likewise.
56735         * sunrpc/svc_raw.c: Likewise.
56736         * sunrpc/svc_run.c: Likewise.
56737         * sunrpc/svc_tcp.c: Likewise.
56738         * sunrpc/svc_udp.c: Likewise.
56739         * sunrpc/svc_unix.c: Likewise.
56740         * sunrpc/svcauth_des.c: Likewise.
56741         * sunrpc/xcrypt.c: Likewise.
56742         * sunrpc/xdr.c: Likewise.
56743         * sunrpc/xdr_array.c: Likewise.
56744         * sunrpc/xdr_float.c: Likewise.
56745         * sunrpc/xdr_intXX_t.c: Likewise.
56746         * sunrpc/xdr_mem.c: Likewise.
56747         * sunrpc/xdr_rec.c: Likewise.
56748         * sunrpc/xdr_ref.c: Likewise.
56749         * sunrpc/xdr_sizeof.c: Likewise.
56750         * sunrpc/xdr_stdio.c: Likewise.
56752 2012-05-10  Roland McGrath  <roland@hack.frob.com>
56754         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
56755         change.  Update copyright years.
56757 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
56759         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
56761 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
56762             Joseph Myers  <joseph@codesourcery.com>
56763             Paul Pluzhnikov  <ppluzhnikov@google.com>
56765         [BZ #14012]
56766         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
56767         requiring rpcgen.
56768         [cross-compiling] (extra-libs): Likewise.
56769         [cross-compiling] (extra-libs-others): Likewise.
56770         [cross-compiling] (librpcsvc-routines): Likewise.
56771         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
56772         [cross-compiling] (omit-deps): Likewise.
56773         (sunrpc-CPPFLAGS): New variable.
56774         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
56775         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
56776         (cross-rpcgen-objs): New variable.
56777         (extra-objs): Append $(cross-rpcgen-objs).
56778         ($(cross-rpcgen-objs)): New rule.
56779         ($(objpfx)cross-rpcgen): Likewise.
56780         (rpcgen-cmd): Define to use $(built-program-file).  Expand
56781         comment.
56782         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
56783         ($(objpfx)x%.stmp): Likewise.
56784         * sunrpc/proto.h [IS_IN_build] (_): Define.
56785         [IS_IN_build] (_libc_intl_domainname): Likewise.
56787 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56789         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
56790         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
56791         and R_X86_64_TPOFF64.
56793 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
56795         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
56796         sysdeps/unix/sysv/syscalls.list.
56797         (stime): Likewise.
56798         (utime): Likewise.
56799         * sysdeps/unix/sysv/syscalls.list: Remove file.
56801 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
56803         [BZ #3440]
56804         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
56805         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
56806         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
56807         (__LC_IDENTIFICATION): Make these macros useful in #if
56808         expressions, as required by C99.
56810 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
56812         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
56813         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
56814         after this.
56816 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
56818         * stdlib/longlong.h: Updated from GCC.
56820 2012-05-09  Andreas Jaeger  <aj@suse.de>
56822         * nscd/nscd.c (run_modes): Make named enum, reorder so that
56823         default is first entry.
56824         (run_mode): Set type.
56825         (main): Remove informal message about syslog.
56826         (options): Fix typo.
56828         [BZ #14053]
56829         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
56830         to asm.
56831         (lrint): Likewise.
56832         (llrintf): Likewise.
56833         (llrint): Likewise.
56834         (rint): Likewise.
56835         (rintf): Likewise.
56836         (nearbyint): Likewise.
56837         (nearbyintf): Likewise.
56839 2012-05-09  Andreas Jaeger  <aj@suse.de>
56840             Pedro Alves  <palves@redhat.com>
56842         * nscd/nscd.c (run_mode): Use enum.
56843         (main): Cleanup coding style issue.
56845 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
56846             Andreas Jaeger  <aj@suse.de>
56848         * nscd/nscd.c (go_background): Replaced with...
56849         (run_mode): ... this.
56850         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
56851         (options): Add -F --foreground.
56852         (main): Implement it.
56853         (parse_opt): Parse it.
56855 2012-05-09  Andreas Jaeger  <aj@suse.de>
56857         [BZ #14083]
56858         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
56859         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
56860         -Wconversion warning.
56861         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
56862         Likewise.
56864 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
56866         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
56867         == 0.
56868         (LC_ALL): Use macro-int-constant.
56869         (LC_COLLATE): Likewise.
56870         (LC_CTYPE): Likewise.
56871         (LC_MESSAGES): Likewise.
56872         (LC_MONETARY): Likewise.
56873         (LC_NUMERIC): Likewise.
56874         (LC_TIME): Likewise.
56875         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
56876         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
56877         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56878         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
56879         Specify type.
56880         [C99-based standards] (float_t): Expect type.
56881         [C99-based standards] (double_t): Expect type.
56882         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
56883         type.
56884         [C99-based standards] (HUGE_VALL): Likewise.
56885         [C99-based standards] (INFINITY): Likewise.
56886         [C99-based standards] (NAN): Likewise.
56887         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
56888         [C99-based standards] (FP_NAN): Likewise.
56889         [C99-based standards] (FP_NORMAL): Likewise.
56890         [C99-based standards] (FP_SUBNORMAL): Likewise.
56891         [C99-based standards] (FP_ZERO): Likewise.
56892         [C99-based standards] (FP_FAST_FMA): Use
56893         optional-macro-int-constant.  Specify type.  Require == 1.
56894         [C99-based standards] (FP_FAST_FMAF): Likewise.
56895         [C99-based standards] (FP_FAST_FMAL): Likewise.
56896         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
56897         [C99-based standards] (FP_ILOGBNAN): Likewise.
56898         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
56899         Specify type.
56900         [C99-based standards] (MATH_ERREXCEPT): Likewise.
56901         [C99-based standards] (math_errhandling): Specify type.
56902         [ISO99 || ISO11] (signgam): Do not allow.
56903         [non-C99-based standards] (copysignf): Do not allow.
56904         [non-C99-based standards] (exp2f): Likewise.
56905         [non-C99-based standards] (log2f): Likewise.
56906         [non-C99-based standards] (modff): Allow.
56907         [non-C99-based standards] (erff): Do not allow.
56908         [non-C99-based standards] (erfcf): Likewise.
56909         [non-C99-based standards] (gammaf): Likewise.
56910         [non-C99-based standards] (hypotf): Likewise.
56911         [non-C99-based standards] (j0f): Likewise.
56912         [non-C99-based standards] (j1f): Likewise.
56913         [non-C99-based standards] (jnf): Likewise.
56914         [non-C99-based standards] (lgammaf): Likewise.
56915         [non-C99-based standards] (tgammaf): Likewise.
56916         [non-C99-based standards] (y0f): Likewise.
56917         [non-C99-based standards] (y1f): Likewise.
56918         [non-C99-based standards] (ynf): Likewise.
56919         [non-C99-based standards] (isnanf): Likewise.
56920         [non-C99-based standards] (acoshf): Likewise.
56921         [non-C99-based standards] (asinhf): Likewise.
56922         [non-C99-based standards] (atanhf): Likewise.
56923         [non-C99-based standards] (cbrtf): Likewise.
56924         [non-C99-based standards] (expm1f): Likewise.
56925         [non-C99-based standards] (ilogbf): Likewise.
56926         [non-C99-based standards] (log1pf): Likewise.
56927         [non-C99-based standards] (logbf): Likewise.
56928         [non-C99-based standards] (nextafterf): Likewise.
56929         [non-C99-based standards] (remainderf): Likewise.
56930         [non-C99-based standards] (rintf): Likewise.
56931         [non-C99-based standards] (scalbf): Likewise.
56932         [non-C99-based standards] (copysignl): Likewise.
56933         [non-C99-based standards] (exp2l): Likewise.
56934         [non-C99-based standards] (log2l): Likewise.
56935         [non-C99-based standards] (modfl): Allow.
56936         [non-C99-based standards] (erfl): Do not allow.
56937         [non-C99-based standards] (erfcl): Likewise.
56938         [non-C99-based standards] (gammal): Likewise.
56939         [non-C99-based standards] (hypotl): Likewise.
56940         [non-C99-based standards] (j0l): Likewise.
56941         [non-C99-based standards] (j1l): Likewise.
56942         [non-C99-based standards] (jnl): Likewise.
56943         [non-C99-based standards] (lgammal): Likewise.
56944         [non-C99-based standards] (tgammal): Likewise.
56945         [non-C99-based standards] (y0l): Likewise.
56946         [non-C99-based standards] (y1l): Likewise.
56947         [non-C99-based standards] (ynl): Likewise.
56948         [non-C99-based standards] (isnanl): Likewise.
56949         [non-C99-based standards] (acoshl): Likewise.
56950         [non-C99-based standards] (asinhl): Likewise.
56951         [non-C99-based standards] (atanhl): Likewise.
56952         [non-C99-based standards] (cbrtl): Likewise.
56953         [non-C99-based standards] (expm1l): Likewise.
56954         [non-C99-based standards] (ilogbl): Likewise.
56955         [non-C99-based standards] (log1pl): Likewise.
56956         [non-C99-based standards] (logbl): Likewise.
56957         [non-C99-based standards] (nextafterl): Likewise.
56958         [non-C99-based standards] (remainderl): Likewise.
56959         [non-C99-based standards] (rintl): Likewise.
56960         [non-C99-based standards] (scalbl): Likewise.
56961         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56962         [non-C99-based standards] (FP_*): Do not allow.
56963         [C99-based standards] (FP_*): Change to
56964         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
56965         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
56966         allow.
56967         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
56968         (SIG_ERR): Likewise.
56969         [X/Open-based standards] (SIG_HOLD): Likewise.
56970         (SIG_IGN): Likewise.
56971         (SIGABRT): Use macro-int-constant.  Specify type.  Require
56972         positive value.
56973         (SIGFPE): Likewise.
56974         (SIGILL): Likewise.
56975         (SIGINT): Likewise.
56976         (SIGSEGV): Likewise.
56977         (SIGTER): Likewise.
56978         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
56979         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
56980         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
56981         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
56982         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
56983         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
56984         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
56985         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
56986         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
56987         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
56988         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
56989         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
56990         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
56991         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
56992         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
56993         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
56994         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
56995         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
56996         [X/Open-based standards] (SIGTRAP): Likewise.
56997         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
56998         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
56999         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
57000         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
57001         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57002         allow.
57004 2012-05-08  Ian Wienand  <ianw@vmware.com>
57006         [BZ #14080]
57007         * time/tzset.c (__tzset_parse_tz): Update default rules for
57008         daylight time changes in the Energy Policy Act of 2005.
57010 2012-05-09  Andreas Jaeger  <aj@suse.de>
57012         [BZ #13983]
57013         * elf/ldconfig.c (parse_conf): Change string to make clear that
57014         ldconfig only issued a warning if ld.so.conf does not exist.
57016 2012-05-08  David S. Miller  <davem@davemloft.net>
57018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
57019         movxtod instead of popping the value on the stack.
57021         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57023 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
57025         * config.h.in: Add HAVE_ARM_PCS_VFP.
57027 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
57029         [BZ #13979]
57030         * include/features.h: Warn if user requests __FORTIFY_SOURCE
57031         checking but the checks are disabled for any reason.
57033 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
57035         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
57036         and ELF64_R_TYPE with ELFW(R_TYPE).
57038 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
57040         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
57041         (ulimit): Likewise.
57043         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
57044         (settimeofday): Likewise.
57046 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
57048         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
57049         a struct th_u2 inside the union, and move tu_block/tu_code into
57050         a new th_u3 union of tu_block/tu_code inside of that.  Move
57051         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
57052         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
57053         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
57054         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
57055         (th_stuff): Change to th_u1.tu_stuff.
57056         (th_data): Define.
57057         (th_msg): Change to th_u1.th_u2.tu_data.
57059 2012-05-07  David S. Miller  <davem@davemloft.net>
57061         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57063         [BZ #14074]
57064         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
57065         (SETUP_PIC_REG): Use it.
57066         (SETUP_PIC_REG_LEAF): Use it.
57068 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
57070         [BZ #13885]
57071         [BZ #13923]
57072         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57073         USE_AS_EXPM1L.
57074         (EXPL_FINITE): Likewise.
57075         (FLDLOG): Likewise.
57076         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
57077         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
57078         e_expl.S.
57079         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57080         USE_AS_EXPM1L.
57081         (EXPL_FINITE): Likewise.
57082         (FLDLOG): Likewise.
57083         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
57084         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
57085         e_expl.S.
57086         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
57087         test of -max_value argument for long double.
57088         * sysdeps/i386/fpu/libm-test-ulps: Update.
57089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57091 2012-05-06  David S. Miller  <davem@davemloft.net>
57093         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
57094         quad soft-float symbols whose references which are compiler
57095         generated.
57096         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57098 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
57100         [BZ #13884]
57101         [BZ #13914]
57102         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57103         USE_AS_EXP10L.
57104         (EXPL_FINITE): Likewise.
57105         (FLDLOG): Likewise.
57106         (c0): Likewise.
57107         (c1): Likewise.
57108         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
57109         Adjust comments for base varying.
57110         (__expl_finite): Change alias to EXPL_FINITE.
57111         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
57112         e_expl.S.
57113         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
57114         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
57115         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
57116         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
57117         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57118         USE_AS_EXP10L.
57119         (EXPL_FINITE): Likewise.
57120         (FLDLOG): Likewise.
57121         (c0): Likewise.
57122         (c1): Likewise.
57123         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
57124         Adjust comments for base varying.
57125         (__expl_finite): Change alias to EXPL_FINITE.
57126         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
57127         tests for bugs.
57128         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57130         [BZ #14064]
57131         * math/libm-test.inc (check_float_internal): Correct ulp
57132         calculation for subnormal expected results.
57134 2012-05-06  Andreas Jaeger  <aj@suse.de>
57136         * Makeconfig (+math-flags): New, set to -frounding-math.
57137         (+cflags): Add +math-flags so that all of glibc gets compiled with
57138         it.
57140         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
57142 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
57144         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
57145         Disable one test.
57147         [BZ #13787]
57148         [BZ #13922]
57149         [BZ #14036]
57150         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
57151         (__ieee754_expl): Allow for and saturate large arguments.
57152         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
57153         (u_threshold): Likewise.
57154         (__exp): Call __ieee754_exp before checking for overflow and
57155         underflow.
57156         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
57157         (u_threshold): Likewise.
57158         (__expf): Call __ieee754_expf before checking for overflow and
57159         underflow.
57160         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
57161         (u_threshold): Likewise.
57162         (__expl): Call __ieee754_expl before checking for overflow and
57163         underflow.
57164         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
57165         (__ieee754_expl): Allow for and saturate large arguments.
57166         * math/libm-test.inc (exp_test): Add another test.  Do not allow
57167         missing overflow exception on overflow.
57168         (expm1_test): Do not allow missing overflow exception on overflow.
57170         * sysdeps/i386/fpu/e_expl.c: Move to ...
57171         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
57172         rather than using inline asm.
57173         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
57174         * sysdeps/x86_64/fpu/e_expl.S: Copy from
57175         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
57177         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
57178         (nice): Likewise.
57179         (poll): Likewise.
57180         (signal): Likewise.
57181         (time): Likewise.
57182         (times): Likewise.
57184 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
57186         * sysdeps/unix/syscalls.list (adjtime): Add entry from
57187         sysdeps/unix/common/syscalls.list.
57188         (fchmod): Likewise.
57189         (fchown): Likewise.
57190         (ftruncate): Likewise.
57191         (getrusage): Likewise.
57192         (gettimeofday): Likewise.
57193         (setpgid): Likewise.
57194         (setregid): Likewise.
57195         (setreuid): Likewise.
57196         (sigaction): Likewise.
57197         (truncate): Likewise.
57198         (vhangup): Likewise.
57199         * sysdeps/unix/common/syscalls.list: Remove file.
57200         * sysdeps/unix/bsd/Implies: Don't include unix/common.
57201         * sysdeps/unix/sysv/linux/Implies: Likewise.
57203 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
57205         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
57206         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
57207         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
57208         Moved to ...
57209         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
57210         Here.
57211         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
57212         to ...
57213         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
57214         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
57215         to ...
57216         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
57217         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
57218         to ...
57219         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
57220         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
57221         to ...
57222         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
57223         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
57224         to ...
57225         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
57226         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
57227         to ...
57228         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
57229         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
57230         to ...
57231         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
57232         Here.
57233         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
57234         to ...
57235         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
57236         Here.
57237         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
57238         to ...
57239         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
57240         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
57241         Moved to ...
57242         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
57243         Here.
57244         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
57245         to ...
57246         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
57248 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
57250         * sysdeps/unix/common/bits/dirent.h: Remove file.
57251         * sysdeps/unix/common/bits/fcntl.h: Likewise.
57253         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
57254         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
57255         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
57256         * sysdeps/unix/bsd/isatty.c: Likewise.
57257         * sysdeps/unix/bsd/tcdrain.c: Likewise.
57258         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
57259         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
57261 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57263         [BZ #13563]
57264         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
57265         long double comparison inaccuracies.
57266         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
57267         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57269 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
57271         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
57272         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
57274 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
57276         [BZ #14049]
57277         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
57278         nonzero digits before rounding a hex value.
57279         * stdlib/tst-strtod.c (tests): Add another test.
57281 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57283         * sysdeps/s390/fpu/libm-test-ulps: Update.
57285 2012-05-03  Andreas Jaeger  <aj@suse.de>
57287         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
57288         does not get optimized out.
57289         (malloc_opt_barrier): New.
57291 2012-05-03  Andreas Jaeger  <aj@suse.de>
57292             Roland McGrath  <roland@hack.frob.com>
57294         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
57295         intermediate file deletion.
57296         (generated): Add .symlist files.
57298 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
57300         [BZ #13775]
57301         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
57302         Redirect under this condition.
57303         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
57304         [__USE_GNU] (__dprintf_chk): Not under this condition.
57305         [__USE_GNU] (__vdprintf_chk): Likewise.
57306         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
57307         under this condition.
57308         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
57309         [__USE_XOPEN2K8] (dprintf): Define under this condition.
57310         [__USE_XOPEN2K8] (vdprintf): Likewise.
57311         [__USE_GNU] (__dprintf_chk): Not under this condition.
57312         [__USE_GNU] (__vdprintf_chk): Likewise.
57313         [__USE_GNU] (dprintf): Likewise.
57314         [__USE_GNU] (vdprintf): Likewise.
57316 2012-05-03  Roland McGrath  <roland@hack.frob.com>
57318         * elf/Makefile (common-generated): Set this instead of generated for
57319         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
57320         $(all-built-dso)-derived lists.
57322 2012-05-03  Andreas Jaeger  <aj@suse.de>
57324         * sysdeps/i386/fpu/libm-test-ulps: Update.
57326         * FAQ: Removed.
57327         * FAQ.in: Likewise.
57328         * scripts/gen-FAQ.pl: Likewise.
57329         * manual/install.texi (Installation): Point to online location of
57330         FAQ.
57331         * Makefile (files-for-dist): Remove FAQ.
57332         (FAQ): Remove.
57334 2012-05-02  Allan McRae  <allan@archlinux.org>
57336         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
57337         (LDFLAGS-reldepmod5.so): Likewise.
57338         (LDFLAGS-reldep6mod1.so): Likewise.
57339         (LDFLAGS-reldep6mod4.so): Likewise.
57340         (LDFLAGS-reldep8mod3.so): Likewise.
57341         (LDFLAGS-unload4mod1.so): Likewise.
57342         (LDFLAGS-unload4mod2.so): Likewise.
57343         (LDFLAGS-tst-initorder): Likewise.
57344         (LDFLAGS-tst-initordera2.so): Likewise.
57345         (LDFLAGS-tst-initordera3.so): Likewise.
57346         (LDFLAGS-tst-initordera4.so): Likewise.
57347         (LDFLAGS-tst-initorderb2.so): Likewise.
57348         (LDFLAGS-noload): Likewise.
57349         (LDFLAGS-next): Likewise.
57350         (LDFLAGS-order2mod1.so): Likewise.
57351         (LDFLAGS-order2mod2.so): Likewise.
57352         (LDFLAGS-tst-initorder2): Likewise.
57353         (LDFLAGS-tst-initorder2a.so): Likewise.
57354         (LDFLAGS-tst-initorder2b.so): Likewise.
57355         (LDFLAGS-tst-initorder2c.so): Likewise.
57356         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
57358 2012-05-02  David S. Miller  <davem@davemloft.net>
57360         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57362 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
57364         [BZ #14055]
57365         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
57367 2012-05-02  Andreas Jaeger  <aj@suse.de>
57369         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
57370         since we manipulate rounding mode.
57371         (CPPFLAGS-test-idouble.c): Likewise.
57372         (CPPFLAGS-test-ifloat.c): Likewise.
57373         (CFLAGS-test-ldouble.c): Likewise.
57374         (CFLAGS-test-double.c): Likewise.
57375         (CFLAGS-test-float.c): Likewise.
57376         (CFLAGS-test-misc.c): Likewise.
57377         (CFLAGS-test-test-fenv.c): Likewise.
57379 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57381         [BZ #2550]
57382         [BZ #2570]
57383         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
57384         comparisons to determine direction to adjust input.
57386 2012-05-01  Roland McGrath  <roland@hack.frob.com>
57388         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
57389         output to the target.
57391         * scripts/localplt.awk: New file.
57392         * elf/Makefile ($(objpfx)check-localplt): Target removed.
57393         (check-localplt-CFLAGS): Variable removed.
57394         ($(all-built-dso:=.jmprel)): New static pattern rule.
57395         (generated): Add those targets.
57396         (localplt-built-dso): New variable.
57397         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
57399         * elf/check-localplt.c: File removed.
57401         * scripts/check-execstack.awk: New file.
57402         * elf/Makefile ($(objpfx)check-execstack): Target removed.
57403         (check-execstack-CFLAGS): Variable removed.
57404         ($(objpfx)check-execstack.h): Target removed.
57405         ($(objpfx)execstack-default): New target.
57406         (generated): Add that instead of check-execstack.h.
57407         ($(all-built-dso:=.phdr)): New static pattern rule.
57408         (generated): Add those targets.
57409         * elf/check-execstack.c: File removed.
57411         * scripts/check-textrel.awk: New file.
57412         * elf/Makefile ($(objpfx)check-textrel): Target removed.
57413         (check-textrel-CFLAGS): Variable removed.
57414         (all-built-dso): Use := to define.o
57415         ($(all-built-dso:=.dyn)): New static pattern rule.
57416         (generated): Add those targets.
57417         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
57418         * config.make.in (READELF): New substituted variable.
57419         * elf/check-textrel.c: File removed.
57421 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
57423         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57424         allow.
57425         * conform/data/ctype.h-data [C99-based standards] (isblank):
57426         Expect function.
57427         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
57428         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
57429         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57430         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
57431         Specify type.  Require positive value.
57432         (EILSEQ): Likewise.
57433         (ERANGE): Likewise.
57434         [ISO || POSIX] (EILSEQ): Do not expect.
57435         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
57436         Specify type.  Require positive value.
57437         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
57438         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
57439         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
57440         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
57441         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
57442         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
57443         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
57444         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
57445         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
57446         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
57447         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
57448         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
57449         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
57450         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
57451         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
57452         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
57453         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
57454         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
57455         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
57456         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
57457         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
57458         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
57459         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
57460         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
57461         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
57462         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
57463         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
57464         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
57465         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
57466         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
57467         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
57468         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
57469         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
57470         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
57471         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
57472         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
57473         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
57474         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
57475         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
57476         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
57477         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
57478         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
57479         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
57480         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
57481         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
57482         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
57483         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
57484         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
57485         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
57486         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
57487         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
57488         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
57489         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
57490         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
57491         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
57492         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
57493         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
57494         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
57495         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
57496         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
57497         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
57498         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
57499         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
57500         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
57501         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
57502         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
57503         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
57504         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
57505         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
57506         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
57507         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
57508         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
57509         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
57510         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
57511         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
57512         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
57513         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
57514         Require >= 2.
57515         (FLT_ROUNDS): Expect as macro, not constant.
57516         (FLT_MANT_DIG): Use macro-int-constant.
57517         (DBL_MANT_DIG): Likewise.
57518         (LDBL_MANT_DIG): Likewise.
57519         (FLT_DIG): Likewise.
57520         (DBL_DIG): Likewise.
57521         (LDBL_DIG): Likewise.
57522         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
57523         (DBL_MIN_EXP): Likewise.
57524         (LDBL_MIN_EXP): Likewise.
57525         (FLT_MAX_EXP): Use macro-int-constant.
57526         (DBL_MAX_EXP): Likewise.
57527         (LDBL_MAX_EXP): Likewise.
57528         (FLT_MAX_10_EXP): Likewise.
57529         (DBL_MAX_10_EXP): Likewise.
57530         (LDBL_MAX_10_EXP): Likewise.
57531         (FLT_MAX): Use macro-constant.
57532         (DBL_MAX): Likewise.
57533         (LDBL_MAX): Likewise.
57534         (FLT_EPSILON): Use macro-constant.  Give upper bound.
57535         (DBL_EPSILON): Likewise.
57536         (LDBL_EPSILON): Likewise.
57537         (FLT_MIN): Likewise.
57538         (DBL_MIN): Likewise.
57539         (LDBL_MIN): Likewise.
57540         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
57541         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
57542         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
57543         [ISO11] (FLT_HAS_SUBNORM): Likewise.
57544         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
57545         [ISO11] (DBL_DECIMAL_DIG): Likewise.
57546         [ISO11] (FLT_DECIMAL_DIG): Likewise.
57547         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
57548         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
57549         [ISO11] (FLT_TRUE_MIN): Likewise.
57550         [ISO11] (LDBL_TRUE_MIN): Likewise.
57551         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57552         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
57553         (SCHAR_MIN): Use macro-int-constant.  Specify type.
57554         (SCHAR_MAX): Likewise.
57555         (UCHAR_MAX): Likewise.
57556         (CHAR_MIN): Likewise.
57557         (CHAR_MAX): Likewise.
57558         (MB_LEN_MAX): Use macro-int-constant.
57559         (SHRT_MIN): Use macro-int-constant.  Specify type.
57560         (SHRT_MAX): Likewise.
57561         (USHRT_MAX): Likewise.
57562         (INT_MAX): Likewise.
57563         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
57564         bound negative.
57565         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
57566         bound with "U".
57567         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
57568         bound with "L".
57569         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
57570         bound negative.  Suffix upper bound with "L".
57571         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
57572         bound with "UL".
57573         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
57574         Specify type.
57575         [C99-based standards] (LLONG_MAX): Likewise.
57576         [C99-based standards] (ULLONG_MAX): Likewise.
57577         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
57578         == 0.
57579         [ISO11] (max_align_t): Require type.
57580         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57582         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
57583         from $CFLAGS, without defining away __attribute__ calls.
57584         (checknamespace): Use $CFLAGS_namespace.
57586         * conform/conformtest.pl (@keywords): Only include C99 keywords
57587         for standards based on C99 or C11.
57589         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
57590         Disable tests.
57591         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
57592         UNIX98]: Likewise.
57594         * conform/conformtest.pl: Handle "macro-int-constant" and test for
57595         usability of symbols in #if.
57597         * conform/conformtest.pl: If macro or constant types start
57598         "promoted:", expect the symbol to be of the following type
57599         promoted by the integer promotions.
57601         * conform/conformtest.pl: Parse all "constant" and "macro" lines
57602         in one place.  Also handle "macro-constant".
57604         * conform/conformtest.pl: Only accept expected macro values with
57605         "==".  Parse all "macro" lines in one place.
57606         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
57608         * conform/conformtest.pl: Handle braced types on "constant" lines
57609         instead of handling "typed-constant".
57610         * conform/data/signal.h-data: Use "constant" instead of
57611         "typed-constant".
57613         * conform/conformtest.pl: Handle "optional-" at start of lines in
57614         one place rather than duplicating several cases.  Handle each
57615         format of "macro" line with initial "optional-".
57617         * conform/conformtest.pl: Only accept expected constant or
57618         optional-constant values with "==".  Parse all "constant" lines in
57619         one place.  Parse all "optional-constant" lines in one place.
57620         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
57621         * conform/data/fmtmsg.h-data: Likewise.
57622         * conform/data/netinet/in.h-data: Likewise.
57623         * conform/data/tar.h-data: Likewise.
57624         * conform/data/limits.h-data: Use "==" form on "constant" and
57625         "optional-constant" lines.
57627         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
57628         Use -std=c99 for XOPEN2K.
57629         (@knownproblems): Remove.
57630         (newtoken): Don't check %isknown.
57632         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
57633         Do not expect macro.
57634         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
57635         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
57636         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
57637         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
57638         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
57639         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
57640         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
57641         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
57642         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
57643         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
57644         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
57645         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
57646         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
57647         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
57648         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
57649         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
57650         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
57651         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
57652         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
57653         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
57654         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
57655         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
57656         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
57657         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
57658         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
57659         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
57660         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
57661         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
57662         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
57663         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
57664         [XPG3] (acosh): Likewise.
57665         [XPG3] (asinh): Likewise.
57666         [XPG3] (atanh): Likewise.
57667         [XPG3] (cbrt): Likewise.
57668         [XPG3] (expm1): Likewise.
57669         [XPG3] (ilogb): Likewise.
57670         [XPG3] (log1p): Likewise.
57671         [XPG3] (logb): Likewise.
57672         [XPG3] (nextafter): Likewise.
57673         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
57674         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
57675         [XPG3] (remainder): Likewise.
57676         [XPG3] (rint): Likewise.
57677         [XPG3 || XPG4 || UNIX98] (round): Likewise.
57678         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
57679         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
57680         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
57681         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
57682         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
57683         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
57684         [UNIX98 || XOPEN2K] (scalb): Expect.
57685         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
57686         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
57687         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
57688         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
57689         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
57690         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
57691         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
57692         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
57693         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
57694         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
57695         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
57696         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
57697         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
57698         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
57699         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
57700         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
57701         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
57702         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
57703         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
57704         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
57705         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
57706         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
57707         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
57708         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
57709         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
57710         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
57711         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
57712         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
57713         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
57714         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
57715         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
57716         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
57717         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
57718         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
57719         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
57720         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
57721         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
57722         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
57723         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
57724         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
57725         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
57726         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
57727         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
57728         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
57729         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
57730         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
57731         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
57732         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
57733         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
57734         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
57735         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
57736         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
57737         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
57738         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
57739         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
57740         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
57741         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
57742         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
57743         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
57744         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
57745         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
57746         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
57747         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
57748         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
57749         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
57750         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
57751         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
57752         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
57753         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
57754         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
57755         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
57756         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
57757         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
57758         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
57759         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
57760         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
57761         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
57762         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
57763         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
57764         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
57765         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
57766         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
57767         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
57768         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
57769         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
57770         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
57771         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
57772         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
57773         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
57774         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
57775         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
57776         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
57777         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
57778         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
57779         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
57780         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
57781         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
57782         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
57783         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
57784         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
57785         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
57786         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
57787         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
57788         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
57789         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
57790         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
57791         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
57792         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
57793         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
57794         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
57795         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
57796         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
57797         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
57798         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
57799         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
57800         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
57801         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
57802         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
57803         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
57804         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
57805         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
57806         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
57807         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
57808         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
57809         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
57810         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
57811         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
57812         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
57813         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
57814         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
57815         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
57816         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
57817         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
57818         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
57819         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
57820         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
57821         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
57823         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
57824         _XOPEN_SOURCE_EXTENDED for XPG4.
57826         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
57828         * Makeconfig (localtime): Remove variable.
57829         (inst_localtime-file): Likewise.
57831 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
57833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
57834         Update.
57835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57836         Update.
57837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
57838         Update.
57839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
57840         Update.
57841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
57842         Update.
57843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
57844         Update.
57845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57846         Update.
57847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
57848         Update.
57849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
57850         Update.
57852 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
57854         [BZ #2550]
57855         [BZ #2570]
57856         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
57857         comparisons to determine direction to adjust input.
57858         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
57859         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
57860         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
57861         Likewise.
57862         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
57863         Likewise.
57864         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
57865         Likewise.
57866         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
57867         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
57868         Likewise.
57869         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
57870         Likewise.
57871         * math/libm-test.inc (nexttoward_test): Add more tests.
57873 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
57875         [BZ #14040]
57876         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
57877         in version GLIBC_2.1, not GLIBC_2.0.
57878         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
57879         Likewise.
57881 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
57883         [BZ #13942]
57884         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
57885         (1 - x) * (1 + x).
57886         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
57887         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
57888         * math/libm-test.inc (acos_test): Add more tests.
57889         (asin_test): Likewise.
57890         * sysdeps/i386/fpu/libm-test-ulps: Update.
57891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57893         [BZ #14034]
57894         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
57895         of square root.
57896         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
57897         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
57898         * math/libm-test.inc (acos_test_tonearest): New function.
57899         (acos_test_towardzero): Likewise.
57900         (acos_test_downward): Likewise.
57901         (acos_test_upward): Likewise.
57902         (asin_test_tonearest): Likewise.
57903         (asin_test_towardzero): Likewise.
57904         (asin_test_downward): Likewise.
57905         (asin_test_upward): Likewise.
57906         (main): Call the new functions.
57907         * sysdeps/i386/fpu/libm-test-ulps: Update.
57908         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57910         [BZ #13884]
57911         [BZ #13924]
57912         * math/e_exp10.c: Include <float.h>.
57913         (__ieee754_exp10): Handle underflow here rather than multiplying
57914         large negative argument by M_LN10.
57915         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
57916         of __ieee754_expf.
57917         * math/e_exp10l.c: Include <float.h>.
57918         (__ieee754_exp10l): Handle underflow here rather than multiplying
57919         large negative argument by M_LN10l.
57920         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
57921         spurious overflow exception on underflow.
57923 2012-04-29  Marek Polacek  <polacek@redhat.com>
57925         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
57926         (__fortify_function): New macro.
57927         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
57928         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
57929         __extern_always_inline.
57930         * libio/bits/stdio2.h: Likewise.
57931         * libio/bits/stdio.h: Likewise.
57932         * string/string.h: Likewise.
57933         * string/bits/string3.h: Likewise.
57934         * include/stdio.h: Likewise.
57935         * stdlib/bits/stdlib.h: Likewise.
57936         * stdlib/stdlib.h: Likewise.
57937         * rt/bits/mqueue2.h: Likewise.
57938         * rt/mqueue.h: Likewise.
57939         * posix/bits/unistd.h: Likewise.
57940         * posix/unistd.h: Likewise.
57941         * io/bits/poll2.h: Likewise.
57942         * io/bits/fcntl2.h: Likewise.
57943         * io/fcntl.h: Likewise.
57944         * io/sys/poll.h: Likewise.
57945         * misc/bits/syslog.h: Likewise.
57946         * misc/bits/syslog-ldbl.h: Likewise.
57947         * misc/sys/syslog.h: Likewise.
57948         * socket/bits/socket2.h: Likewise.
57949         * socket/sys/socket.h: Likewise.
57950         * debug/tst-chk1.c: Likewise.
57951         * wcsmbs/bits/wchar2.h: Likewise.
57952         * wcsmbs/bits/wchar-ldbl.h: Likewise.
57953         * wcsmbs/wchar.h: Likewise.
57955 2012-04-29  Andreas Jaeger  <aj@suse.de>
57957         * Makerules (tests): Remove enable-check-abi protection.
57958         (check-abi-warn): Remove.
57959         (check-abi-%): Remove check-abi-warn usage.
57961         * configure.in: Remove check-abi configure option.
57962         * configure: Regenerated.
57963         * config.make.in (enable-check-abi): Remove.
57965 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
57967         [BZ #14033]
57968         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
57969         double functions to double *_finite functions.
57971         [BZ #13941]
57972         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
57973         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
57974         LDBL_MIN_EXP.
57975         * stdio-common/Makefile (tests): Add tst-sprintf3.
57976         * stdio-common/tst-sprintf3.c: New file.
57978         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
57979         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
57981 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
57983         * conform/conformtest.pl: Remove duplicate typed-constant
57984         handling.
57986 2012-04-28  David S. Miller  <davem@davemloft.net>
57988         * Makerules (%.abilist): Add vpath on sysdep_dirs.
57989         (check-abi-%): Remove AWK script prerequisite and explicit
57990         abilist directory.
57991         (check-abi): Rewrite to just diff the symlist with the abilist.
57992         (config-tls, config-abi-config): Delete, no longer used.
57993         (update-abi-%): Remove AWK script and explicit abilist directory.
57994         (update-abi): Rewrite to simply compare and conditionally copy the
57995         symlist and the sysdep abilist file.  Remove update-abi-config
57996         checks.
57997         * abilist/ld.abilist: Remove.
57998         * abilist/libBrokenLocale.abilist: Remove.
57999         * abilist/libanl.abilist: Remove.
58000         * abilist/libcrypt.abilist: Remove.
58001         * abilist/libdl.abilist: Remove.
58002         * abilist/librt.abilist: Remove.
58003         * abilist/libthread_db.abilist: Remove.
58004         * abilist/libutil.abilist: Remove.
58005         * scripts/extract-abilist.awk: Remove.
58006         * scripts/merge-abilist.awk: Remove.
58007         * sysdeps/generic/libcidn.abilist: New file.
58008         * sysdeps/generic/libnss_compat.abilist: New file.
58009         * sysdeps/generic/libnss_db.abilist: New file.
58010         * sysdeps/generic/libnss_dns.abilist: New file.
58011         * sysdeps/generic/libnss_files.abilist: New file.
58012         * sysdeps/generic/libnss_hesiod.abilist: New file.
58013         * sysdeps/generic/libnss_nis.abilist: New file.
58014         * sysdeps/generic/libnss_nisplus.abilist: New file.
58015         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
58016         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
58017         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
58018         file.
58019         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
58020         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
58021         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
58022         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
58023         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
58024         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
58025         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
58026         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
58027         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
58028         file.
58029         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
58030         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
58031         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
58032         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
58033         file.
58034         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
58035         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
58036         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
58037         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
58038         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
58039         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
58040         file.
58041         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
58042         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
58043         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
58044         file.
58045         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
58046         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
58047         New file.
58048         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
58049         New file.
58050         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
58051         New file.
58052         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
58053         New file.
58054         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
58055         New file.
58056         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
58057         New file.
58058         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
58059         New file.
58060         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
58061         New file.
58062         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
58063         New file.
58064         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
58065         New file.
58066         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
58067         New file.
58068         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
58069         New file.
58070         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
58071         New file.
58072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
58073         file.
58074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
58075         New file.
58076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
58077         New file.
58078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
58079         file.
58080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
58081         New file.
58082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
58083         New file.
58084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
58085         file.
58086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
58087         New file.
58088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
58089         New file.
58090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
58091         New file.
58092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
58093         New file.
58094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
58095         New file.
58096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
58097         New file.
58098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
58099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
58100         file.
58101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
58102         New file.
58103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
58104         file.
58105         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
58106         file.
58107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
58108         file.
58109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
58110         file.
58111         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
58112         file.
58113         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58114         New file.
58115         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
58116         file.
58117         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
58118         file.
58119         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
58120         New file.
58121         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
58122         file.
58123         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
58124         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
58125         file.
58126         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
58127         New file.
58128         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
58129         file.
58130         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
58131         file.
58132         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
58133         file.
58134         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
58135         file.
58136         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
58137         file.
58138         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58139         New file.
58140         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
58141         file.
58142         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
58143         file.
58144         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
58145         New file.
58146         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
58147         file.
58148         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
58149         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
58150         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
58151         file.
58152         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
58153         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
58154         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
58155         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
58156         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
58157         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
58158         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
58159         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
58160         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
58161         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
58162         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
58163         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
58164         file.
58165         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
58166         New file.
58167         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
58168         file.
58169         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
58170         file.
58171         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
58172         file.
58173         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
58174         file.
58175         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
58176         file.
58177         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
58178         New file.
58179         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
58180         New file.
58181         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
58182         file.
58183         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
58184         New file.
58185         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
58186         file.
58187         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
58188         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
58189         file.
58190         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
58191         New file.
58192         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
58193         file.
58194         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
58195         file.
58196         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
58197         file.
58198         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
58199         file.
58200         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
58201         file.
58202         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
58203         New file.
58204         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
58205         New file.
58206         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
58207         file.
58208         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
58209         New file.
58210         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
58211         file.
58213 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
58215         * conform/conformtest.pl: Fix typo in handling typed-constant from
58216         allow-header.
58218 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
58220         * README: Cut down references to pre-2.6 Linux kernels and
58221         Linuxthreads.  Update lists of configurations in libc and ports
58222         and sort alphabetically.  Say "or newer" with Linux kernel version
58223         requirements.
58225         * config.h.in [IS_IN_build]: Allow compiling without optimization.
58227 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58229         [BZ #887]
58230         * math/libm-test.inc (logb_test_downward): New test to expose
58231         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
58232         rounding mode.
58234 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
58236         [BZ #14027]
58237         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
58238         to be done.
58239         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
58240         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
58242 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
58244         * sysdeps/unix/i386/brk.S: Remove file.
58245         * sysdeps/unix/i386/dl-brk.S: Likewise.
58246         * sysdeps/unix/i386/pipe.S: Likewise.
58247         * sysdeps/unix/i386/sigreturn.S: Likewise.
58248         * sysdeps/unix/i386/syscall.S: Likewise.
58249         * sysdeps/unix/i386/vfork.S: Likewise.
58250         * sysdeps/unix/i386/wait.S: Likewise.
58252         * sysdeps/unix/common/tcsendbrk.c: Move to ...
58253         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
58255         * configure.in (arm*-none*): Do not allow without
58256         --enable-hacker-mode.
58257         (netbsd*): Remove case setting base_os.
58258         (386bsd*): Likewise.
58259         (freebsd*): Likewise.
58260         (bsdi*): Likewise.
58261         (osf*): Likewise.
58262         (sunos*): Likewise.
58263         (ultrix*): Likewise.
58264         (newsos*): Likewise.
58265         (dynix*): Likewise.
58266         (*bsd*): Likewise.
58267         (sysv*): Likewise.
58268         (isc*): Likewise.
58269         (esix*): Likewise.
58270         (sco*): Likewise.
58271         (minix*): Likewise.
58272         (irix4*): Likewise.
58273         (irix6*): Likewise.
58274         (solaris[2-9]*): Likewise.
58275         (none): Likewise.
58276         * configure: Regenerated.
58278 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58280         [BZ #11521]
58281         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
58282         overflow or cancellation in calculating denominator.
58283         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
58284         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
58285         down expression to avoid unexpected rounding in newer GCCs.
58286         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
58288 2012-04-26  David S. Miller  <davem@davemloft.net>
58290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
58291         long-double compat symbols.
58292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
58293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
58294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
58295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
58296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
58297         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
58298         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
58299         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
58300         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
58301         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
58302         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
58303         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
58304         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
58306 2012-04-25  David S. Miller  <davem@davemloft.net>
58308         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
58309         HWCAP_* values only after the memory barriers have been defined.
58310         (atomic_full_barrier): Define.
58311         (atomic_read_barrier): Define.
58312         (atomic_write_barrier): Define.
58314 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58316         * shlib-versions: Add libgcc_s version information.
58317         * sysdeps/generic/libgcc_s.h: Remove.
58318         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
58319         libgcc_s.h.
58320         * sysdeps/gnu/unwind-resume.c: Likewise.
58321         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
58323 2012-04-25  David S. Miller  <davem@davemloft.net>
58325         * sysdeps/unix/sparc/brk.S: Delete.
58326         * sysdeps/unix/sparc/dl-brk.S: Delete.
58327         * sysdeps/unix/sparc/pipe.S: Delete.
58328         * sysdeps/unix/sparc/sysdep.S: Delete.
58329         * sysdeps/unix/sparc/sysdep.h: Delete.
58330         * sysdeps/unix/sparc/vfork.S: Delete.
58331         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
58332         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
58333         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
58334         (ret_ERRVAL, r0, r1, MOVE): Define.
58335         (JUMPTARGET): Remove.
58336         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
58337         sysdeps/unix/sparc/sysdep.h
58338         (ENTRY, END): Remove.
58339         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58341 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
58343         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
58344         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
58345         -DIS_IN_build.
58347         * timezone/README: Update upstream location and email address for
58348         tzcode and tzdata.
58349         * timezone/zdump.c: Update from tzcode 2012b.
58350         * timezone/zic.c: Likewise.
58352         * configure.in (libc_cv_as_needed): Remove test.
58353         * configure: Regenerated.
58354         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
58355         conditional definition.
58356         [$(have-as-needed) != yes] (no-as-needed): Likewise.
58357         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
58358         * config.make.in (have-as-needed): Remove variable.
58360 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58361             Paul Pluzhnikov  <ppluzhnikov@google.com>
58363         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
58364         strings correctly.
58366 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
58368         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
58369         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
58370         * sysdeps/sh/strlen.S: Likewise.
58372 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
58374         * sysdeps/unix/fork.S: Remove file.
58375         * sysdeps/unix/i386/fork.S: Likewise.
58376         * sysdeps/unix/sparc/fork.S: Likewise.
58378         * sysdeps/unix/system.c: Remove file.
58379         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
58381         * sysdeps/unix/getegid.S: Remove file.
58382         * sysdeps/unix/geteuid.S: Likewise.
58384 2012-04-24  Roland McGrath  <roland@hack.frob.com>
58386         * scripts/check-localplt.awk: New file.
58387         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
58388         of diff.
58389         * scripts/data/localplt-generic.data: Add a comment.
58391         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
58392         NODE when __dir_mkfile failed.
58393         * sysdeps/mach/hurd/symlinkat.c: Likewise.
58394         Reported by Ludovic Courtès <ludo@gnu.org>.
58396 2012-04-24  Andreas Jaeger  <aj@suse.de>
58398         * Makerules (common-clean): Also remove gen-as-const-headers
58399         files.
58401 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
58403         * Makerules (native-compile): Do not change working directory for
58404         build.  Use $(OUTPUT_OPTION) in command.
58405         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
58407 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58409         [BZ #13886]
58410         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
58411         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
58412         * math/libm-test.inc (floor_test): Add more tests.
58413         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
58415 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
58417         * sysdeps/unix/getdents.c: Remove file.
58418         * sysdeps/unix/sysv/getdents.c: Likewise.
58419         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
58421         * sysdeps/unix/syscalls.list (madvise): Add syscall from
58422         sysdeps/unix/mman/syscalls.list.
58423         (mmap): Likewise.
58424         (mprotect): Likewise.
58425         (msync): Likewise.
58426         (munmap): Likewise.
58427         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
58428         * sysdeps/unix/mman/syscalls.list: Remove.
58429         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
58431         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
58432         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
58433         * configure: Regenerated.
58434         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
58435         $(libgcc_s_suffix).
58436         * config.make.in (libgcc_s_suffix): Remove variable.
58438 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
58440         * sysdeps/unix/sysv/gethostname.c: Move to ...
58441         * sysdeps/posix/gethostname.c: ... here.
58443         * sysdeps/unix/execve.S: Remove file.
58445         * sysdeps/unix/_exit.S: Remove file.
58447 2012-04-23  Andreas Jaeger  <aj@suse.de>
58449         [BZ #13739]
58450         * manual/Makefile: Remove make dist support, there's no
58451         need for a stand-alone documentation tar ball.
58452         (TEXI2DVI): Define always, it's not in Makeconfig.
58453         (dist): Removed.
58454         (tar-it): Removed.
58455         (edition): Removed.
58456         (glibc-doc-$(edition).tar): Removed
58457         (%.Z): Removed.
58458         (%.gz): Removed.
58459         (%.uu): Removed.
58460         (ETAGS): Remove, it's in Makeconfig.
58461         (move-if-change): Remove, it's in Makeconfig.
58463 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
58465         [BZ #13970]
58466         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
58467         (strtod, strtof, strtold, strtol, strtoul, strtoq)
58468         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
58469         (strtod_l, strtof_l, strtold_l): Remove __wur.
58470         It is not necessarily an error to ignore strtol's return value.
58471         One can reliably look at the stored endptr to decide whether
58472         the number had valid syntax.
58474 2012-04-21  Andreas Jaeger  <aj@suse.de>
58476         [BZ #13739]
58477         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
58479 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
58481         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
58482         * sysdeps/unix/sysv/Versions: Remove file.
58484 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
58486         [BZ #13927]
58487         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58489 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
58491         [BZ #7064]
58492         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
58493         version from __vm86.
58495 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
58497         * sysdeps/unix/common/lxstat.c: Remove file.
58498         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
58500         * sysdeps/unix/sysv/Makefile: Remove file.
58502         * sysdeps/unix/sysv/direct.h: Remove file.
58504         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
58505         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
58506         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
58507         * sysdeps/unix/sysv/bits/signum.h: Likewise.
58508         * sysdeps/unix/sysv/bits/stat.h: Likewise.
58509         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
58510         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
58512         * sysdeps/unix/sysv/setrlimit.c: Remove file.
58514         * sysdeps/unix/xmknod.c: Remove file.
58515         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
58517         * sysdeps/unix/sysv/settimeofday.c: Remove file.
58519         * sysdeps/unix/sysv/i386/time.S: Remove file.
58521         * sysdeps/unix/fxstat.c: Remove file.
58522         * sysdeps/unix/xstat.c: Likewise.
58523         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
58525         * sysdeps/unix/sysv/sigaction.c: Remove file.
58527         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
58528         (sysdep_headers): Remove variable.
58529         [termio.h not in sysdep_headers] (generated): Likewise.
58530         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
58531         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
58532         * sysdeps/unix/sysv/tcdrain.c: Likewise.
58533         * sysdeps/unix/sysv/tcflow.c: Likewise.
58534         * sysdeps/unix/sysv/tcflush.c: Likewise.
58535         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
58536         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
58537         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
58538         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
58539         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
58541         * sysdeps/unix/siglist.c: Remove file.
58543         * sysdeps/unix/getppid.S: Remove file.
58545         * sysdeps/unix/mkdir.c: Remove file.
58546         * sysdeps/unix/rmdir.c: Likewise.
58548 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
58550         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
58551         ERR_MAX value.
58552         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
58553         errlist-compat value.
58555 2012-04-18  David S. Miller  <davem@davemloft.net>
58557         * sysdeps/generic/memcopy.h (reg_char): Delete.
58558         * debug/strcat_chk.c: Use char, not reg_char.
58559         * debug/strcpy_chk.c: Likewise.
58560         * debug/strncat_chk.c: Likewise.
58561         * debug/strncpy_chk.c: Likewise.
58562         * string/memchr.c: Likewise.
58563         * string/memrchr.c: Likewise.
58564         * string/rawmemchr.c: Likewise.
58565         * string/strcat.c: Likewise.
58566         * string/strchr.c: Likewise.
58567         * string/strchrnul.c: Likewise.
58568         * string/strcmp.c: Likewise.
58569         * string/strcpy.c: Likewise.
58570         * string/strncat.c: Likewise.
58571         * string/strncmp.c: Likewise.
58572         * string/strncpy.c: Likewise.
58574 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
58576         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
58577         __builtin_memcopy is called when src and dest ranges are known to not
58578         overlap.
58580 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
58582         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
58583         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
58584         fwd_align_merge macro call.
58585         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
58586         bwd_align_merge macro call.
58587         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
58589 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
58591         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
58592         bwd_align_merge macros.
58593         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
58594         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
58595         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
58597 2012-04-18  David S. Miller  <davem@davemloft.net>
58599         * sysdeps/sparc/sparc64/memcopy.h: Delete.
58601 2012-04-18  Andreas Jaeger  <aj@suse.de>
58603         [BZ# 6794]
58604         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
58605         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
58606         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
58608         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
58609         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
58610         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
58612         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
58613         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
58614         Adjust for changed ldbl-128 files.
58616         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
58617         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
58618         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
58620 2012-04-17  David S. Miller  <davem@davemloft.net>
58622         * sysdeps/sparc/sparc32/memcopy.h: Delete.
58624 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
58626         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
58627         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
58628         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
58629         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
58630         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
58631         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
58633 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58635         [BZ #6794]
58636         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
58637         * math/libm-test.inc: Add ilogb errno and exception tests.
58638         * math/w_ilogb.c: New file: ilogb wrapper.
58639         * math/w_ilogbf.c: New file: ilogbf wrapper.
58640         * math/w_ilogbl.c: New file: ilogbl wrapper.
58641         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
58642         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
58643         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
58644         exception being thrown with 0.0 as argument.
58645         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
58646         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
58647         exception being thrown with 0.0 as argument.
58648         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
58649         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
58650         exception being thrown with 0.0 as argument.
58651         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
58652         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
58653         exception being thrown with 0.0 as argument.
58654         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
58655         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
58656         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
58657         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
58658         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
58659         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
58660         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
58661         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
58662         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
58664 2012-04-17  Petr Baudis  <pasky@ucw.cz>
58666         * include/sys/uio.h: Change __vector to __iovec to avoid clash
58667         with altivec.
58669 2012-04-16  Marek Polacek  <polacek@redhat.com>
58671         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
58673 2012-04-16  Marek Polacek  <polacek@redhat.com>
58675         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
58676         operands of fdivp instruction.
58678 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
58680         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
58681         * elf/tst-auditmod3b.c: Likewise.
58682         * elf/tst-auditmod4b.c: Likewise.
58683         * elf/tst-auditmod5b.c: Likewise.
58684         * elf/tst-auditmod6b.c: Likewise.
58685         * elf/tst-auditmod6c.c: Likewise.
58686         * elf/tst-auditmod7b.c: Likewise.
58687         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
58688         * sysdeps/x86_64/preconfigure.in: Likewise.
58689         * sysdeps/x86_64/preconfigure: Regenerated.
58691 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
58693         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
58694         __ILP32__.
58696 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
58698         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58699         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
58701 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
58703         [BZ #13973]
58704         * locale/iso-639.def: Fix gl language name. Spotted by
58705         Yaron Shahrabani.
58707 2012-04-12  Roland McGrath  <roland@hack.frob.com>
58709         [BZ #2074]
58710         * libio/libio.h (__io_write_fn): Update comment.
58712 2012-04-12  Petr Baudis  <pasky@ucw.cz>
58714         [BZ #2074]
58715         * stdio.texi (Hook Functions): The user provided writer function
58716         is not allowed to return -1.
58718 2012-04-11  David S. Miller  <davem@davemloft.net>
58720         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58722 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
58724         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
58725         Add a leading slash to rtkaio.
58727 2012-04-11  Jim Meyering  <meyering@redhat.com>
58729         [BZ #11959]
58730         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
58731         It is not necessarily an error to ignore fwrite's return
58732         value.  One can reliably use ferror to test for errors after
58733         the fact.
58735 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
58737         * bits/types.h (__snseconds_t): New type.
58738         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
58740         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
58741         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58742         (__SNSECONDS_T_TYPE): Likewise.
58743         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58744         (__SNSECONDS_T_TYPE): Likewise.
58745         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58746         (__SNSECONDS_T_TYPE): Likewise.
58748 2012-04-10  Andreas Jaeger  <aj@suse.de>
58750         [BZ #2636]
58751         * manual/time.texi (Processor Time): Return type of times is
58752         elapsed real time since an arbitrary point in the past.
58753         (CPU Time): Move CLK_TCK from here...
58754         (Processor Time): ...to here.  Correct description.
58755         * manual/conf.texi (Constants for Sysconf): Correct description of
58756         _SC_CLK_TCK.
58758 2012-04-10  David S. Miller  <davem@davemloft.net>
58760         [BZ #13967]
58761         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
58762         where the is a gap between DT_REL(A) and DT_JMPREL.
58764 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
58766         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
58767         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
58768         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
58770 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58772         * elf/dl-support.c (_dl_inhibit_cache): New variable.
58773         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
58774         (dl_main): Handle --inhibit-cache.
58775         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
58776         _dl_inhibit_cache.
58777         * elf/dl-load.c (_dl_map_object): Use it.
58778         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
58780 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
58782         [BZ #13872]
58783         * sysdeps/i386/fpu/e_powl.S (p78): New object.
58784         (__ieee754_powl): Saturate large exponents rather than testing for
58785         overflow of y*log2(x).
58786         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58787         * math/libm-test.inc (pow_test): Do not permit spurious overflow
58788         exceptions.
58790         [BZ #11521]
58791         * math/s_ctan.c: Include <float.h>.
58792         (__ctan): Avoid internal overflow or cancellation in calculating
58793         denominator.
58794         * math/s_ctanf.c: Likewise.
58795         * math/s_ctanl.c: Likewise.
58796         * math/s_ctanh.c: Likewise.
58797         * math/s_ctanhf.c: Likewise.
58798         * math/s_ctanhl.c: Likewise.
58799         * math/libm-test.inc (ctan_test): Add more tests.
58800         (ctanh_test): Likewise.
58801         * sysdeps/i386/fpu/libm-test-ulps: Update.
58802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58804 2012-04-09  Andreas Jaeger  <aj@suse.de>
58806         [BZ #6894]
58807         * manual/filesys.texi (Directory Entries): Mention that d_namlen
58808         is an optional BSD extension.
58810         [BZ #10254]
58811         * manual/stdio.texi (Opening Streams): Document additional fopen
58812         parameters.
58814 2012-04-09  Roland McGrath  <roland@hack.frob.com>
58816         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
58817         %eax without telling the compiler.
58819 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
58821         [BZ # 13963]
58822         * manual/install.texi: Use sourceware.org.
58824 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
58826         [BZ #13873]
58827         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
58828         (__ieee754_pow): Generate overflow and underflow using huge*huge
58829         and tiny*tiny rather than just returning constant infinity or zero
58830         for large exponents.
58831         * math/libm-test.inc (pow_test): Require overflow exceptions for
58832         applicable cases of large exponents.
58834         [BZ #706]
58835         * sysdeps/i386/fpu/e_pow.S (p10): New object.
58836         (__ieee754_pow): Use iterative multiplication algorithm only for
58837         integer exponents with absolute value below 1024.  Check for odd
58838         integer exponents when using algorithm for real exponents.
58839         * math/libm-test.inc (pow_test): Add more tests.
58840         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58842 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
58844         [BZ #13705]
58845         * math/libm-test.inc (exp_test): Do not allow overflow exception
58846         on underflow test.
58848 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
58850         [BZ #13705]
58851         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
58852         instead of __kernel_standard_f.
58854 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
58856         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
58857         * sysdeps/x86_64/memset_chk.S: Likewise.
58859 2012-04-08  Andreas Jaeger  <aj@suse.de>
58861         [BZ #10153]
58862         * manual/startup.texi (Environment Access): Describe return value
58863         for putenv and setenv.
58865         [BZ #6895]
58866         * manual/filesys.texi (Directory Entries): Add description for
58867         DT_LNK.
58869         [BZ #6890]
58870         * manual/filesys.texi (Directory Entries): Clarify that it's file
58871         system not operating system in the description of DT_UNKNOWN.
58873         [BZ #6578]
58874         * manual/syslog.texi (closelog): Fix reference, it's openlog.
58876 2012-04-08  Stephen Compall  <s11@member.fsf.org>
58878         [BZ #6649]
58879         * manual/llio.texi (Opening and Closing Files): Add cross
58880         reference to explain mode argument.
58882 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
58884         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
58885         * sysdeps/x86_64/memset_chk.S: Likewise.
58887 2012-04-07  David S. Miller  <davem@davemloft.net>
58889         * elf/elf.h (R_SPARC_WDISP10): Define.
58890         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
58891         R_SPARC_SIZE32.
58892         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
58893         R_SPARC_SIZE64 and R_SPARC_H34.
58895 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
58897         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
58898         conditions and remove no longer applicable assertion.
58900 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
58902         * bits/byteswap.h: Include <features.h>.
58903         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
58904         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
58906 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
58908         * bits/byteswap.h (__bswap_16): Removed.
58909         Include <bits/byteswap-16.h> to get __bswap_16.
58910         * sysdeps/i386/bits/byteswap.h: Likewise.
58911         * sysdeps/s390/bits/byteswap.h: Likewise.
58912         * sysdeps/x86_64/bits/byteswap.h: Likewise.
58913         * bits/byteswap-16.h: New file.
58914         * sysdeps/i386/bits/byteswap-16.h: Likewise.
58915         * sysdeps/s390/bits/byteswap-16.h: Likewise.
58916         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
58917         * string/Makefile (headers): Add bits/byteswap-16.h.
58919 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
58921         [BZ #13895]
58922         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
58923         extra indirection.
58924         * nss/Makefile (tests-static, tests): Add tst-nss-static.
58925         * nss/tst-nss-static.c: New.
58927 2012-04-06  Robert Millan  <rmh@gnu.org>
58929         [BZ #6486]
58930         * manual/llio.texi (File Position Primitive): lseek
58931         refers to WHENCE when it really means OFFSET.
58933 2012-04-06  Andreas Jaeger  <aj@suse.de>
58935         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
58936         strncmp declarations.
58938         * abilist/libc.abilist: Add __poll and __ppoll.
58940 2012-04-05  David S. Miller  <davem@davemloft.net>
58942         * scripts/check-local-headers.sh: Accept a host triplet in the
58943         path matched by the exclude regexp.
58945         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
58946         definition.
58947         * sysdeps/powerpc/powerpc32/dl-machine.h
58948         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
58949         * sysdeps/s390/s390-32/dl-machine.h
58950         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
58951         * sysdeps/sparc/sparc32/dl-machine.h
58952         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
58953         * sysdeps/sparc/sparc64/dl-machine.h
58954         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
58956         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
58957         lazy binding.
58958         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
58959         undefined symbol errors.
58961         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
58962         DT_NEEDED entries.
58964 2012-04-05  Michael Matz  <matz@suse.de>
58966         [BZ #13592]
58967         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
58969 2012-04-05  Andreas Jaeger  <aj@suse.de>
58971         [BZ #13908]
58972         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
58973         comment.
58975 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58977         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
58978         which ROUND is no valid rounding mode.
58980 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58982         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
58983         read again.
58984         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
58986 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58988         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
58989         an exception using FPU order intentionally.
58991 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58993         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
58994         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
58995         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
58996         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
58998 2012-04-05  Simon Josefsson  <simon@josefsson.org>
59000         [BZ #12340]
59001         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
59002         EINVAL when BUFLEN is too smal.
59004 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
59006         [BZ #13553]
59007         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
59008         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
59010 2012-04-03  Andreas Jaeger  <aj@suse.de>
59012         [BZ #13938]
59013         * manual/setjmp.texi (System V contexts): Fix sentence.
59015         [BZ #13926]
59016         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
59017         New macro for this case.
59018         [!__GNUC__] (__bswap_64): New inline function for this case.
59019         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59020         * bits/byteswap.h: Likewise.
59021         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
59022         ull, guard with __GLIBC_HAVE_LONG_LONG.
59024         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
59025         __GLIBC_HAVE_LONG_LONG.
59027         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
59028         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
59030 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
59032         [BZ #13691]
59033         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
59034         inptr and inend, rather than using last_ch.
59036 2012-04-02  David S. Miller  <davem@davemloft.net>
59038         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
59039         * stdio-common/printf-parse.h (read_int): Change return type to
59040         'int', return -1 on INT_MAX overflow.
59041         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
59042         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
59043         overflows INT_MAX.  Check for overflow of in-format-string precision
59044         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
59045         SIZE_MAX not INT_MAX for integer overflow test.
59046         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
59047         skip the construct in the format string but do not record anything.
59048         * stdio-common/bug22.c: Adjust to test both width/prevision
59049         INT_MAX overflow as well as total length INT_MAX overflow.  Check
59050         explicitly for proper errno values.
59052 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
59054         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
59055         CHAR_MAX.
59056         * string/test-strcmp.c [! WIDE]: Likewise.
59057         * time/tst-mktime2.c: Likewise for INT_MAX.
59058         * string/test-string.h: #include <sys/param.h> for MIN.
59060         * csu/init-first.c (__libc_init_first): Call __ctype_init.
59061         * sysdeps/i386/init-first.c (init): Likewise.
59062         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
59063         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
59064         * sysdeps/sh/init-first.c (init): Likewise.
59066 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
59068         * po/ru.po: Update from translation team.
59069         * po/vi.po: Likewise.
59071 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
59073         * resolv/nss_dns/dns-host.c: Merge copyright years.
59075 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59077         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
59078         Optimize memcpy with prefetch if
59079         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
59080         src, dst pointers have unequal 16 byte alignments.
59082 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
59084         [BZ #13928]
59085         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
59086         from a CNAME entry and return the minimum ttl for the query.
59087         (gaih_getanswer_slice): Likewise.
59089 2012-03-30  Jeff Law  <law@redhat.com>
59091         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
59092         due to long keys.
59093         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
59094         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
59096         * resolv/nss_dns/dns-host.c: Update copyright year.
59098 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
59100         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
59101         requests to save a system call.  Fix check that all bytes are sent.
59103         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
59104         comments for sendmmsg.
59106 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59108         [BZ #13691]
59109         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
59110         with only 1 character between 0x0041 and 0x01b0.
59111         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
59112         * wcsmbs/tst-mbsnrtowcs.c: New file.
59114 2012-03-29  David S. Miller  <davem@davemloft.net>
59116         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
59117         small copies by hand.
59119 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59121         [BZ #13761]
59122         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
59123         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
59124         group memberships.
59126 2012-03-28  David S. Miller  <davem@davemloft.net>
59128         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
59129         that branches into memcpy.
59130         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
59131         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
59132         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
59133         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
59134         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
59135         bits.
59136         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
59137         implementation too.
59138         * sysdeps/sparc/mempcpy.S: New file.
59140         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
59141         the IFUNC routine in the libc case.
59142         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
59144         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
59145         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
59146         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
59147         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
59148         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
59149         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
59150         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
59151         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
59153         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
59154         loop to 256 bytes instead of 64 bytes and fix test signedness.
59156         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
59157         * sysdeps/sparc/sparc32/Makefile: rather than here...
59158         * sysdeps/sparc/sparc64/Makefile: and here.
59160 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
59162         * malloc/mallocbug.c: Avoid warnings about unused variables.
59164 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
59166         [BZ #13760]
59167         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
59168         in the right place. Discard and retry query if response is
59169         larger than input buffer size.
59171 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
59173         [BZ #369]
59174         [BZ #2678]
59175         [BZ #3866]
59176         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
59177         x for large integer exponent.
59178         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
59179         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
59180         sign of result as needed afterwards.
59181         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
59182         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
59183         result for underflowing pow the same as for overflow.
59184         (__kernel_standard_l): Handle powl overflow and underflow here
59185         rather than calling __kernel_standard.
59186         * math/libm-test.inc (pow_test): Add more tests.
59188         [BZ #3868]
59189         [BZ #13879]
59190         [BZ #13910]
59191         [BZ #13911]
59192         [BZ #13912]
59193         [BZ #13913]
59194         [BZ #13915]
59195         [BZ #13916]
59196         [BZ #13917]
59197         [BZ #13918]
59198         [BZ #13919]
59199         [BZ #13920]
59200         [BZ #13921]
59201         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
59202         * sysdeps/ieee754/k_standard.c: Include <float.h>.
59203         (__kernel_standard_l): New function.
59204         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
59205         __kernel_standard.
59206         * math/w_acosl.c (__acosl): Likewise.
59207         * math/w_asinl.c (__asinl): Likewise.
59208         * math/w_atan2l.c (__atan2l): Likewise.
59209         * math/w_atanhl.c (__atanhl): Likewise.
59210         * math/w_coshl.c (__coshl): Likewise.
59211         * math/w_exp10l.c (__exp10l): Likewise.
59212         * math/w_exp2l.c (__exp2l): Likewise.
59213         * math/w_fmodl.c (__fmodl): Likewise.
59214         * math/w_hypotl.c (__hypotl): Likewise.
59215         * math/w_j0l.c (__j0l, __y0l): Likewise.
59216         * math/w_j1l.c (__j1l, __y1l): Likewise.
59217         * math/w_jnl.c (__jnl, __ynl): Likewise.
59218         * math/w_lgammal.c (__lgammal): Likewise.
59219         * math/w_log10l.c (__log10l): Likewise.
59220         * math/w_log2l.c (__log2l): Likewise.
59221         * math/w_logl.c (__logl): Likewise.
59222         * math/w_powl.c (__powl): Likewise.
59223         * math/w_remainderl.c (__remainderl): Likewise.
59224         * math/w_scalbl.c (sysv_scalbl): Likewise.
59225         * math/w_sinhl.c (__sinhl): Likewise.
59226         * math/w_sqrtl.c (__sqrtl): Likewise.
59227         * math/w_tgammal.c (__tgammal): Likewise.
59228         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
59229         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
59230         * math/libm-test.inc (acos_test): Add more tests.
59231         (acosh_test): Likewise.
59232         (asin_test): Likewise.
59233         (atanh_test): Likewise.
59234         (exp_test): Likewise.
59235         (exp10_test): Likewise.
59236         (exp2_test): Likewise.
59237         (expm1_test): Likewise.
59238         (lgamma_test): Likewise.
59239         (log_test): Likewise.
59240         (log10_test): Likewise.
59241         (log1p_test): Likewise.
59242         (log2_test): Likewise.
59243         (pow_test): Do not allow some spurious overflow exceptions.
59244         (sqrt_test): Add more tests.
59245         (tgamma_test): Likewise.
59246         (y0_test): Likewise.
59247         (y1_test): Likewise.
59248         (yn_test): Likewise.
59250 2012-03-27  Anton Blanchard  <anton@samba.org>
59252         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
59253         MAP_HUGETLB.
59254         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59255         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
59256         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59258 2012-03-27  David S. Miller  <davem@davemloft.net>
59260         * conform/Makefile: Run run-conformtest.sh using $(BASH).
59262         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
59263         have-as-vis3 check.
59265 2012-03-27  Andreas Jaeger  <aj@suse.de>
59267         * sysdeps/x86_64/elf/configure.in: Moved to ...
59268         * sysdeps/x86_64/configure.in: ... here.
59269         * sysdeps/x86_64/elf/start.S: Moved to ...
59270         * sysdeps/x86_64/start.S: ... here.
59271         * sysdeps/x86_64/elf/configure: Delete.
59273         * sysdeps/x86_64/configure.in: Merge contents from
59274         sysdeps/i386/configure.in (without i686 check).
59276         * sysdeps/i386/elf/Versions: Merge into ...
59277         * sysdeps/i386/Versions: ... this.
59278         * sysdeps/i386/elf/Versions: Delete file.
59279         * sysdeps/i386/elf/start.S: Moved to ...
59280         * sysdeps/i386/start.S: ...here.
59281         * sysdeps/i386/elf/configure.in: Merge into...
59282         * sysdeps/i386/configure.in: ...here.
59283         * sysdeps/i386/elf/configure.in: Delete file.
59284         * sysdeps/i386/elf/configure: Delete file.
59286         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
59287         * debug/backtracesyms.c: ... here.
59288         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
59289         * debug/backtracesymsfd.c: ... here.
59290         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
59291         * sysdeps/generic/ifunc-sel.h: ... here.
59293         * sysdeps/unix/i386/start.c: Delete file.
59294         * sysdeps/unix/sparc/start.c: Delete file.
59295         * sysdeps/unix/start.c: Delete file.
59297         * sysdeps/sh/elf/configure.in: Moved to ...
59298         * sysdeps/sh/configure.in: ... here.
59299         * sysdeps/sh/elf/start.S: Moved to ...
59300         * sysdeps/sh/start.S: ... here.
59301         * sysdeps/sh/elf/configure: Delete file.
59303         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
59304         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
59305         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
59306         * sysdeps/powerpc/powerpc64/entry.h: ... here.
59307         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
59308         * sysdeps/powerpc/powerpc64/start.S: here.
59309         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
59310         * sysdeps/powerpc/powerpc64/Makefile: ... this.
59311         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
59312         * sysdeps/powerpc/powerpc64/configure.in: ... this.
59313         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
59315         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
59316         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
59317         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
59318         * sysdeps/powerpc/powerpc32/start.S: ... here.
59319         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
59320         * sysdeps/powerpc/powerpc32/configure.in: ... this.
59321         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
59323         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
59324         * sysdeps/powerpc/ifunc-sel.h: ... here.
59325         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
59326         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
59328         * sysdeps/sparc/elf/configure.in: Moved to ...
59329         * sysdeps/sparc/configure.in: ... here.
59330         * sysdeps/sparc/elf/configure: Delete file.
59331         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
59332         * sysdeps/sparc/sparc32/start.S: ... here.
59333         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
59334         * sysdeps/sparc/sparc64/start.S: ... here.
59335         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
59336         * sysdeps/sparc/sparc32/Makefile: ... this.
59337         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
59338         * sysdeps/sparc/sparc64/Makefile: ... this.
59340         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
59341         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
59342         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
59343         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
59344         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
59345         * sysdeps/s390/s390-32/setjmp.S: ... here.
59346         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
59347         * sysdeps/s390/s390-32/configure.in: ... here.
59348         * sysdeps/s390/s390-32/elf/configure: Delete file.
59349         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
59350         * sysdeps/s390/s390-32/start.S: ... here.
59352         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
59353         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
59354         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
59355         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
59356         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
59357         * sysdeps/s390/s390-64/setjmp.S: ... here.
59358         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
59359         * sysdeps/s390/s390-64/configure.in: ... here
59360         * sysdeps/s390/s390-64/elf/configure: Delete file.
59361         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
59362         * sysdeps/s390/s390-64/start.S: ... here.
59363         * sysdeps/s390/s390-64/elf/configure: Delete.
59365         * configure.in: Remove support for elf directories in sysdeps.
59367         * configure: Regenerated.
59368         * sysdeps/i386/configure: Regenerated.
59369         * sysdeps/powerpc/powerpc32/configure: Regenerated.
59370         * sysdeps/powerpc/powerpc64/configure: Regenerated.
59371         * sysdeps/s390/s390-32/configure: Regenerated.
59372         * sysdeps/s390/s390-64/configure: Regenerated.
59373         * sysdeps/sh/configure: Regenerated.
59374         * sysdeps/sparc/configure: Regenerated.
59375         * sysdeps/x86_64/configure: Regenerated.
59377 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
59379         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59381         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
59382         denormal result into account.
59384 2012-03-25  Roland McGrath  <roland@hack.frob.com>
59386         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
59387         Reported by Allan McRae <allan@archlinux.org>.
59389 2012-03-23  Jeff Law  <law@redhat.com>
59391         * nss/getnssent.c (__nss_getent): Fix typo.
59393 2012-03-23  David S. Miller  <davem@davemloft.net>
59395         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59397 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
59399         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
59400         to pad to uint64_t for each field.
59401         (dl_tls_index): Replace unsigned long with uint64_t.
59403 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
59404         Paul Pluzhnikov  <ppluzhnikov@google.com>
59406         [BZ #6528]
59407         * grp/Makefile (otherlibs): Don't set it.
59408         * inet/Makefile (otherlibs): Likewise.
59409         * login/Makefile (otherlibs): Likewise.
59410         * nscd/Makefile (otherlibs): Likewise.
59411         * posix/Makefile (otherlibs): Likewise.
59412         * pwd/Makefile (otherlibs): Likewise.
59413         * rt/Makefile (otherlibs): Likewise.
59414         * sunrpc/Makefile (otherlibs): Likewise.
59415         * nss/Makefile (otherlibs): Likewise.
59416         Add libnss_files to routines and static-only-routines.
59417         ($(objpfx)getent): Remove rule.
59418         * resolv/Makefile: Add libnss_dns and libresolv to routines and
59419         static-only-routines.
59421 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
59423         [BZ #13892]
59424         * math/s_cexp.c: Include <float.h>.
59425         (__cexp): Handle exp result overflowing not necessarily
59426         overflowing both real and imaginary parts of result.
59427         * math/s_cexpf.c: Likewise.
59428         * math/s_cexpl.c: Likewise.
59429         * math/libm-test.inc (cexp_test): Add more tests.
59430         * sysdeps/i386/fpu/libm-test-ulps: Update.
59431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59433 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59435         * include/link.h (ELFW): New macro.
59436         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
59437         Replace ELF64_R_TYPE with ELFW(R_TYPE).
59439 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59441         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
59442         with uint64_t.
59444 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59446         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
59447         declaration.
59448         (struct La_x32_retval): Likewise.
59450 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59452         * sysdeps/x86_64/preconfigure.in: New file.
59453         * sysdeps/x86_64/preconfigure: New generated file.
59455 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
59457         [BZ #13824]
59458         * math/e_exp2l.c: Include <float.h>.
59459         (__ieee754_exp2l): Handle overflow and underflow cases
59460         separately.  Only pass fractional part of argument to
59461         __ieee754_expl.
59462         * math/libm-test.inc (exp2_test): Add more tests.
59464         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
59465         negating x to take absolute value.
59466         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
59467         Likewise.
59468         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
59469         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
59470         Likewise.
59471         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
59472         computing low part if x was negated.
59473         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
59475 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
59477         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
59478         la_x32_gnu_pltexit.
59479         (pltexit): Cast int_retval to ptrdiff_t.
59480         * elf/tst-auditmod3b.c: Likewise.
59481         * elf/tst-auditmod4b.c: Likewise.
59482         * elf/tst-auditmod5b.c: Likewise.
59483         * elf/tst-auditmod6b.c: Likewise.
59484         * elf/tst-auditmod6c.c: Likewise.
59485         * elf/tst-auditmod7b.c: Likewise.
59487         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
59488         and x32_gnu_pltexit.
59490         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
59491         __ELF_NATIVE_CLASS.
59492         (La_x32_regs): New macro.
59493         (La_x32_retval): Likewise.
59494         (la_x32_gnu_pltenter): New function prototype.
59495         (la_x32_gnu_pltexit): Likewise.
59497 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
59499         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
59500         exponent.
59502         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59504         * configure.in (libc_cv_cc_nofma): Check for option to disable
59505         generation of FMA instructions.
59506         * configure: Regenerate.
59507         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
59508         * sysdeps/ieee754/dbl-64/Makefile: New file.
59509         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
59510         Remove brandred-fma4.
59511         (CFLAGS-brandred-fma4.c): Remove.
59512         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
59513         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
59514         define.
59515         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
59516         define.
59518 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
59520         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
59521         LLONG_MAX != LONG_MAX.
59522         (_itoa_word): Use _ITOA_WORD_TYPE on value.
59523         (_fitoa_word): Likewise.
59524         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
59525         LLONG_MAX != LONG_MAX.
59526         * stdio-common/_itowa.h: Include <_itoa.h>.
59527         (_itowa_word): Use _ITOA_WORD_TYPE on value.
59528         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
59529         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
59530         only if not defined.
59531         (_ITOA_WORD_TYPE): Likewise.
59532         (_itoa_word): Use _ITOA_WORD_TYPE on value.
59533         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
59535 2012-03-21  David S. Miller  <davem@davemloft.net>
59537         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59539 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
59541         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
59542         of x86_64 when setting libc_cv_slibdir, libdir and
59543         libc_cv_localedir.
59544         * sysdeps/unix/sysv/linux/configure: Regenerated.
59546 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
59548         * manual/lang.texi (Old Varargs): Remove section.
59549         (How Variadic): Update menu.
59550         (va_start): Do not mention varargs.h.
59552 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
59553             Joseph Myers  <joseph@codesourcery.com>
59555         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
59556         link test.
59557         * configure: Regenerated.
59559 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
59561         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
59562         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
59563         conformtest.pl
59565 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
59567         * NOTES: Remove.
59568         * Makefile (files-for-dist): Remove NOTES.
59569         (NOTES): Remove rule.
59570         * README: Don't refer to NOTES.
59571         * manual/creature.texi: Don't include macros.texi.
59572         * manual/intro.texi (creature.texi): Remove comment referring to
59573         NOTES.
59575         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
59576         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
59577         * configure: Regenerated.
59578         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
59579         LIBC_TRY_CC_OPTION.
59580         (libc_cv_as_i686): Likewise.
59581         (libc_cv_cc_avx): Likewise.
59582         (libc_cv_cc_sse2avx): Likewise.
59583         (libc_cv_cc_fma4): Likewise.
59584         (libc_cv_cc_novzeroupper): Likewise.
59585         * sysdeps/i386/configure: Regenerated.
59587         [BZ #13883]
59588         * sysdeps/i386/fpu/s_cexp.S: Remove.
59589         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
59590         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
59591         * math/libm-test.inc (cexp_test): Add more tests.
59592         * sysdeps/i386/fpu/libm-test-ulps: Update.
59593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59595 2012-03-21  Allan McRae  <allan@archlinux.org>
59597         * timezone/Makefile: Do not install iso3166.tab and zone.tab
59599 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
59601         [BZ #13871]
59602         * math/w_exp2.c: Do not include <float.h>.
59603         (o_threshold, u_threshold): Remove.
59604         (__exp2): Calculate result before checking finiteness and calling
59605         __kernel_standard.
59606         * math/w_exp2f.c: Likewise.
59607         * math/w_exp2l.c: Likewise.
59608         * math/libm-test.inc (exp2_test): Require overflow exception for
59609         1e6 input.
59611         [BZ #3866]
59612         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
59613         range of signed 64-bit integers before using fistpll.  Remove
59614         checks for whether integers fit in mantissa bits.
59615         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
59616         the range of signed 32-bit integers before using fistpl.  Remove
59617         checks for whether integers fit in mantissa bits.
59618         * sysdeps/i386/fpu/e_powl.S (p64): New object.
59619         (__ieee754_powl): Test for y outside the range of signed 64-bit
59620         integers before using fistpll.  Reduce 64-bit values to 63-bit
59621         ones as needed.
59622         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
59623         divide-by-zero is raised for zero to large negative powers.
59624         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
59625         (__ieee754_powl): Test for y outside the range of signed 64-bit
59626         integers before using fistpll.  Reduce 64-bit values to 63-bit
59627         ones as needed.
59628         * math/libm-test.inc (pow_test): Add more tests.
59630 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59632         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
59633         <stdio-common/_itoa.h>.
59634         * debug/segfault.c: Likewise.
59635         * elf/dl-cache.c: Likewise.
59636         * elf/dl-minimal.c: Likewise.
59637         * elf/dl-misc.c: Likewise.
59638         * elf/dl-sysdep.c: Likewise.
59639         * elf/dl-version.c: Likewise.
59640         * elf/rtld.c: Likewise.
59641         * hurd/hurdsock.c: Likewise.
59642         * hurd/lookup-retry.c: Likewise.
59643         * malloc/malloc.c: Likewise.
59644         * malloc/mtrace.c: Likewise.
59645         * nscd/nscd_getgr_r.c: Likewise.
59646         * nscd/nscd_getpw_r.c: Likewise.
59647         * nscd/nscd_getserv_r.c: Likewise.
59648         * posix/getopt_init.c: Likewise.
59649         * posix/wordexp.c: Likewise.
59650         * stdio-common/_itoa.c: Likewise.
59651         * stdio-common/printf_fphex.c: Likewise.
59652         * stdio-common/vfprintf.c: Likewise.
59653         * string/_strerror.c: Likewise.
59654         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
59655         * sysdeps/i386/i686/hp-timing.h: Likewise.
59656         * sysdeps/mach/_strerror.c: Likewise.
59657         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
59658         * sysdeps/mach/hurd/sethostid.c: Likewise.
59659         * sysdeps/mach/hurd/xmknodat.c: Likewise.
59660         * sysdeps/mach/xpg-strerror.c: Likewise.
59661         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
59662         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
59663         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
59664         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
59665         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
59666         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
59667         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
59668         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
59669         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
59670         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
59671         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
59672         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
59673         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
59674         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
59675         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
59676         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
59677         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
59678         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
59679         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
59680         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
59681         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
59683         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
59685         * stdio-common/_itoa.h: Moved to ...
59686         * sysdeps/generic/_itoa.h: Here.
59688         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
59690         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
59691         instead of "_itoa.h" and "_itowa.h".
59692         * stdio-common/vfprintf.: Likewise.
59694 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59696         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
59697         <bits/wordsize.h>.
59698         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
59699         (__signbit): Likwise.
59700         (llrintf): Likwise.
59701         (llrint): Likwise.
59703 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59705         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
59706         __WORDSIZE != 64.
59708 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
59710         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
59711         OVERFLOW_EXCEPTION_OK.
59712         * math/libm-test.inc ("Philosophy"): Update comment about
59713         exception testing.
59714         (OVERFLOW_EXCEPTION): Define.
59715         (OVERFLOW_EXCEPTION_OK): Likewise.
59716         (INVALID_EXCEPTION_OK): Renumber.
59717         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
59718         (IGNORE_ZERO_INF_SIGN): Likewise.
59719         (test_exceptions): Handle FE_OVERFLOW.
59720         (exp10_test): Expect overflow exceptions.
59721         (exp2_test): Likewise.
59722         (expm1_test): Likewise.
59723         (nextafter_test): Likewise.
59724         (pow_test): Likewise.
59725         (scalbn_test): Likewise.
59726         (scalbln_test): Likewise.
59728 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59730         * sysdeps/x86_64/bits/atomic.h
59731         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
59732         64bit integer.
59733         (atomic_exchange_acq): Likewise.
59734         (__arch_exchange_and_add_body): Likewise.
59735         (__arch_add_body): Likewise.
59736         (atomic_add_negative): Likewise.
59737         (atomic_add_zero): Likewise.
59739 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59741         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
59742         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
59744 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59746         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
59747         Check __x86_64__ instead of __WORDSIZE.
59749 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59751         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
59753 2012-03-19  David S. Miller  <davem@davemloft.net>
59755         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59757         * sysdeps/sparc/fpu/fenv_private.h: New file.
59758         * sysdeps/sparc/fpu/math_private.h: Use it.
59759         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
59760         Remove.
59761         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
59762         (libc_feholdexcept_setroundl): Remove.
59763         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
59764         Remove.
59765         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
59766         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
59768 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59770         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
59771         int64_t instead of long int.
59772         (INSERT_WORDS64): Likwise.
59774 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59776         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
59777         _Unwind_GetCFA return to _Unwind_Ptr first.
59779 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
59781         [BZ #13629]
59782         * math/s_clog.c: Include <float.h>.
59783         (__clog): Scale large or subnormal inputs.
59784         * math/s_clogf.c: Likewise.
59785         * math/s_clogl.c: Likewise.
59786         * math/s_clog10.c: Include <float.h>.
59787         (M_LOG10_2): Define.
59788         (__clog10): Scale large or subnormal inputs.
59789         * math/s_clog10f.c: Likewise.
59790         * math/s_clog10l.c: Likewise.
59791         * math/libm-test.inc (clog_test): Add more tests.
59792         (clog10_test): Likewise.
59793         * sysdeps/i386/fpu/libm-test-ulps: Update.
59794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59796         [BZ #11451]
59797         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
59798         x and y.
59799         * math/libm-test.inc (atan2_test): Add another test.
59801         * Makerules (common-objdir-compile): Remove.
59802         * sysdeps/unix/Makefile (config-generated): Do not add
59803         $(unix-generated) to variable.
59804         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
59805         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
59806         Remove rule.
59807         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
59808         Likewise.
59809         [generic bits/local_lim.h] (before-compile): Do not append to
59810         variable.
59811         [generic bits/local_lim.h] (common-generated): Likewise.
59812         [generic sys/param.h] (before-compile): Do not append to variable.
59813         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
59814         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
59815         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
59816         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
59817         include.
59818         [generic sys/param.h] (sys/param.h-includes): Remove variable.
59819         [generic sys/param.h] (sys/param.h-includes): Remove rule.
59820         [generic sys/param.h] ($(addprefix
59821         $(common-objpfx),$(sys/param.h-includes))): Likewise.
59822         [generic sys/param.h] (common-generated): Do not append to
59823         variable.
59824         [generic sys/param.h] (sysdep_headers): Likewise.
59825         [generic bits/errno.h] (before-compile): Do not append to
59826         variable.
59827         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
59828         rule.
59829         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
59830         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
59831         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
59832         [generic bits/errno.h] (common-generated): Do not append to
59833         variable.
59834         [generic bits/ioctls.h] (before-compile): Do not append to
59835         variable.
59836         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
59837         rule.
59838         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
59839         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
59840         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
59841         rule.
59842         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
59843         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
59844         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
59845         [generic bits/ioctls.h] (common-generated): Do not append to
59846         variable.
59847         [generic sys/syscall.h] (syscall.h): Remove variable.
59848         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
59849         rule.
59850         [generic sys/syscall.h] (before-compile): Do not append to
59851         variable.
59852         [generic sys/syscall.h] (common-generated): Likewise.
59853         * sysdeps/unix/errnos-tmpl.c: Remove file.
59854         * sysdeps/unix/errnos.awk: Likewise.
59855         * sysdeps/unix/ioctls-tmpl.c: Likewise.
59856         * sysdeps/unix/ioctls.awk: Likewise.
59857         * sysdeps/unix/mk-local_lim.c: Likewise.
59858         * sysdeps/unix/snarf-ioctls: Likewise.
59860 2012-03-19  Richard Henderson  <rth@twiddle.net>
59862         * sysdeps/i386/fpu/fenv_private.h: New file.
59863         * sysdeps/i386/fpu/math_private.h: Use it.
59864         (math_opt_barrier, math_force_eval): Remove.
59865         (libc_feholdexcept_setround_53bit): Remove.
59866         (libc_feupdateenv_53bit): Remove.
59867         * sysdeps/x86_64/fpu/math_private.h: Likewise.
59868         (math_opt_barrier, math_force_eval): Remove.
59869         (libc_feholdexcept): Remove.
59870         (libc_feholdexcept_setround): Remove.
59871         (libc_fetestexcept, libc_fesetenv): Remove.
59872         (libc_feupdateenv_test): Remove.
59873         (libc_feupdateenv, libc_feholdsetround): Remove.
59874         (libc_feresetround): Remove.
59876         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
59877         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
59879         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
59880         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
59881         (libc_feupdateenv_testl): New.
59882         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
59883         (libc_feupdateenv_testf): New.
59884         (libc_feupdateenv): Use libc_feupdateenv_test.
59885         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
59886         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
59888         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
59889         (libc_feholdsetroundf, libc_feholdsetroundl): New.
59890         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
59891         (libc_feresetround_noex): New.
59892         (libc_feresetround_noexf): New.
59893         (libc_feresetround_noexl): New.
59894         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
59895         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
59896         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
59897         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
59898         SET_RESTORE_ROUND.
59899         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
59900         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
59901         (__cos): Likewise.
59902         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
59903         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
59904         SET_RESTORE_ROUND_NOEX.
59905         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
59906         SET_RESTORE_ROUND_NOEXF.
59907         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
59908         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
59909         (libc_feholdsetroundf): New.
59910         (libc_feresetround, libc_feresetroundf): New.
59912         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
59913         (libc_feholdexcept_setround_53bit): Convert from macro to function.
59914         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
59916         * sysdeps/generic/math_private.h: Include <fenv.h>.
59917         (default_libc_feholdexcept): New.
59918         (default_libc_feholdexcept_setround): New.
59919         (default_libc_fesetenv, default_libc_feupdateenv): New.
59920         (libc_feholdexcept): Only define if undefined.
59921         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
59922         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
59923         (libc_feholdexcept_setroundl): Likewise.
59924         (libc_feholdexcept_setround_53bit): Likewise.
59925         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
59926         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
59927         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
59928         (libc_feupdateenv_53bit): Likewise.
59929         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
59930         (libc_feholdexcept): Convert from macro to inline function.
59931         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
59932         (libc_fesetenv, libc_feupdateenv): Likewise.
59934         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
59935         not previously defined.
59936         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
59937         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
59938         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
59939         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
59940         * sysdeps/ieee754/flt-32/math_private.h: New file.
59941         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
59942         math_private.h below SET_FLOAT_WORD.
59943         (__isnan, __isinf_ns, __finite): Remove.
59944         (__isnanf, __isinf_nsf, __finitef): Remove.
59946 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
59948         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59950 2012-03-17  David S. Miller  <davem@davemloft.net>
59952         [BZ #6471]
59953         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
59954         for 2.16.
59956 2012-03-16  David S. Miller  <davem@davemloft.net>
59958         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
59959         warnings.
59961         [BZ #6471]
59962         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
59963         properly.
59964         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
59965         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
59966         sysdep_routines when subdir is sysvipc.
59967         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
59968         __getshmlba helper.
59970         * sysdeps/sparc/fpu/libm-test/ulps: Update.
59972 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
59974         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
59975         [__LP64__].
59977 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
59979         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
59980         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
59981         (__lround): Renamed to ...
59982         (__llround): This.  Replace long int with long long int.
59983         Define lround functions as aliases of llround functions.
59984         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
59986 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
59988         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
59989         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
59990         adresses to uintptr_t.  Replace "long int" and "unsigned long
59991         int" with "greg_t" on va_arg.
59993 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
59995         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
59996         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
59998         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
59999         Move e_machine check before EI_CLASS check.  Handle x32
60000         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
60001         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
60002         SKIP_EM_IA_64 and include
60003         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
60005         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
60006         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
60007         (add_system_dir): New macro.
60009         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
60010         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
60012 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
60014         [BZ #2551]
60015         [BZ #2552]
60016         [BZ #2553]
60017         [BZ #2554]
60018         [BZ #2562]
60019         [BZ #2563]
60020         [BZ #2565]
60021         [BZ #2566]
60022         [BZ #2576]
60023         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
60024         (y0): Likewise.
60025         * math/w_j0f.c (j0f): Likewise.
60026         (y0f): Likewise.
60027         * math/w_j0l.c (__j0l): Likewise.
60028         (__y0l): Likewise.
60029         * math/w_j1.c (j1): Likewise.
60030         (y1): Likewise.
60031         * math/w_j1f.c (j1f): Likewise.
60032         (y1f): Likewise.
60033         * math/w_j1l.c (__j1l): Likewise.
60034         (__y1l): Likewise.
60035         * math/w_jn.c (jn): Likewise.
60036         (yn): Likewise.
60037         * math/w_jnf.c (jnf): Likewise.
60038         (ynf): Likewise.
60039         * math/w_jnl.c (__jnl): Likewise.
60040         (__ynl): Likewise.
60041         * math/libm-test.inc (j0_test): Add more tests.
60042         (j1_test): Likewise.
60043         (jn_test): Likewise.  Add trailing semicolon to existing test.
60044         (y0_test): Likewise.
60045         (y1_test): Likewise.
60046         * sysdeps/i386/fpu/libm-test-ulps: Update.
60047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60049         [BZ #13851]
60050         [BZ #13854]
60051         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
60052         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
60053         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
60054         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
60055         (__tanl): Set errno for infinite argument.
60056         * sysdeps/i386/fpu/mptan.c: Remove.
60057         * sysdeps/i386/fpu/s_tan.S: Likewise.
60058         * sysdeps/i386/fpu/s_tanl.S: Likewise.
60059         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
60060         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
60061         * math/libm-test.inc (tan_test): Add more tests and enable more
60062         tests for double and long double.
60063         * sysdeps/i386/fpu/libm-test-ulps: Update.
60064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60066 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
60068         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
60069         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
60071 2012-03-16  Roland McGrath  <roland@hack.frob.com>
60073         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
60074         * configure.in: Use it for both main tree and add-ons.
60075         * configure: Regenerated.
60077 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60079         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
60081 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
60083         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
60084         in comment.
60086         [BZ #13851]
60087         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
60088         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
60089         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
60090         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
60091         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
60092         infinite argument.
60093         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
60094         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
60095         != 0 for prec == 2.
60096         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
60097         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
60098         * sysdeps/i386/fpu/s_cosl.S: Likewise.
60099         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
60100         * sysdeps/i386/fpu/s_sinl.S: Likewise.
60101         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
60102         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
60103         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
60104         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
60105         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
60106         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
60107         * math/libm-test.inc (cos_test): Add more tests and enable more
60108         tests for long double.
60109         (sin_test): Likewise.
60110         (sincos_test): Likewise.
60111         * sysdeps/i386/fpu/libm-test-ulps: Update.
60112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60114 2012-03-16  David S. Miller  <davem@davemloft.net>
60116         * sysdeps/sparc/fpu/math_private.h: New file.
60118 2012-03-15  David S. Miller  <davem@davemloft.net>
60120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
60121         file.
60122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
60123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
60124         file.
60125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
60126         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
60127         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
60128         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
60129         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
60130         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
60131         sysdep routines.
60132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
60134         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
60135         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
60137         * sysdeps/sparc/sparc-ifunc.h: New file.
60138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
60139         sparc-ifunc.h
60140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
60141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
60142         Likewise.
60143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
60144         Likewise.
60145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
60146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
60147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
60149         Likewise.
60150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
60151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
60152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
60153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
60154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
60155         Likewise.
60156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
60157         Likewise.
60158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
60159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
60160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
60161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
60162         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
60163         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
60164         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
60165         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
60166         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
60167         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
60168         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
60169         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
60170         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
60171         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
60172         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
60173         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
60174         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
60175         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
60176         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
60177         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
60178         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
60179         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
60180         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
60181         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
60183 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
60185         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
60186         scaling.
60187         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60189 2012-03-15  Andreas Jaeger  <aj@suse.de>
60191         [BZ #13852]
60192         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
60193         ieee754/flt-32 implementation for sin, cos and sincos.
60194         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
60195         * sysdeps/i386/fpu/s_cosf.S: Likewise.
60196         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
60197         * sysdeps/i386/fpu/s_sinf.S: Likewise.
60198         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
60199         ieee754/flt-32 implementation for tan.
60201         * math/libm-test.inc (cos_test): Enable some large input tests for
60202         float as well
60203         (sin_test): Likewise.
60204         (sincos_test): Likewise.
60205         (tan_test): Add tests for large input.
60207         * sysdeps/i386/fpu/libm-test-ulps: Update.
60209 2012-03-15  Andreas Jaeger  <aj@suse.de>
60211         [BZ #13658]
60212         * math/libm-test.inc (cos_test): Add more test cases.
60213         (sin_test): Likewise.
60214         (sincos_test): Likewise.
60216 2012-03-15  Andreas Jaeger  <aj@suse.de>
60218         [BZ #13837]
60219         * math/libm-test.inc (cos_test): Add a test case for large input
60220         value.
60221         (sin_test): Likewise.
60222         (sincos_test): Likewise.
60224 2012-03-15  Andreas Jaeger  <aj@suse.de>
60225             Joseph Myers  <joseph@codesourcery.com>
60227         [BZ #13658]
60228         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
60229         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
60230         * sysdeps/i386/fpu/branred.c: Likewise.
60231         * sysdeps/i386/fpu/dosincos.c: Likewise.
60232         * sysdeps/i386/fpu/mpa.c: Likewise.
60233         * sysdeps/i386/fpu/s_cos.S: Likewise.
60234         * sysdeps/i386/fpu/s_sin.S: Likewise.
60235         * sysdeps/i386/fpu/s_sincos.S: Likewise.
60236         * sysdeps/i386/fpu/sincos32.c: Likewise.
60238         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
60239         Define.
60240         (libc_feupdateenv_53bit): Define.
60241         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
60242         Define.
60243         (libc_feupdateenv_53bit): Define.
60245         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
60246         53 bit (without extend i386 double precision).
60248         * math/libm-test.inc (sincos_test): Add tests for large input.
60249         (sin): Likewise.
60250         (cos): Likewise.
60252         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
60254 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
60256         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60258 2012-03-15  David S. Miller  <davem@davemloft.net>
60260         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
60261         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
60262         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
60263         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
60264         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
60265         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
60266         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
60267         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
60268         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
60269         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
60270         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
60271         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
60272         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
60273         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
60274         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
60275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
60276         file.
60277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
60278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
60279         file.
60280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
60281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
60282         file.
60283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
60284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
60285         file.
60286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
60287         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
60288         fmin/fmax sysdep routines.
60289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
60291 2012-03-14  David S. Miller  <davem@davemloft.net>
60293         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
60294         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
60295         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
60296         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
60297         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
60298         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
60299         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
60300         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
60301         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
60302         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
60303         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
60304         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
60305         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
60306         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
60307         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
60308         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
60309         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
60310         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
60311         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
60312         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
60313         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
60314         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
60315         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
60316         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
60317         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
60318         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
60319         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
60320         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
60321         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
60322         routines.
60323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
60324         file.
60325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
60326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
60327         file.
60328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
60329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
60330         file.
60331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
60332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
60333         file.
60334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
60335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
60336         file.
60337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
60338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
60339         file.
60340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
60341         file.
60342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
60343         file.
60344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
60345         file.
60346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
60347         New file.
60348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
60349         file.
60350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
60351         file.
60352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
60353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
60354         file.
60355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
60356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
60357         file.
60358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
60359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
60360         file.
60361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
60362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
60363         VIS3 routines.
60365         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
60366         New file.
60368         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60370         * sysdeps/sparc/configure.in: New file.
60371         * sysdeps/sparc/configure: Generate.
60372         * configure.in (libc_cv_sparc_as_vis3): Substitute.
60373         * configure: Regenerate.
60374         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
60375         * config.make.in (have-as-vis3): New.
60376         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
60377         available use -Av9d instead of -Av9a.
60378         * sysdeps/sparc/sparc64/Makefile: Likewise.
60379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
60380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
60381         New file.
60382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
60383         file.
60384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
60385         New file.
60386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
60387         file.
60388         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
60389         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
60390         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
60391         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
60392         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
60394         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
60395         fzeros/fnegs to load 0x80000000 into a float register instead of
60396         using the stack.
60397         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
60399 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
60401         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60402         bits/syscall.h.
60403         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
60404         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
60405         ($(inst_includedir)/bits/syscall.h): Remove rule.
60406         ($(objpfx)bits/syscall.d): Include instead of
60407         $(objpfx)syscall-list.d.
60408         (generated): Change syscall-list.h and syscall-list.d to
60409         bits/syscall.h and bits/syscall.d.
60411 2012-03-14  Roland McGrath  <roland@hack.frob.com>
60413         [BZ #13846]
60414         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
60416 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
60418         [BZ #13841]
60419         * math/s_csqrt.c: Include <float.h>.
60420         (__csqrt): Scale large or subnormal inputs.
60421         * math/s_csqrtf.c: Likewise.
60422         * math/s_csqrtl.c: Likewise.
60423         * math/libm-test.inc (csqrt_test): Add more tests.
60424         * sysdeps/i386/fpu/libm-test-ulps: Update.
60425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60427         [BZ #13840]
60428         * math/libm-test.inc (hypot_test): Add more tests.
60430 2012-03-13  David S. Miller  <davem@davemloft.net>
60432         [BZ #13840]
60433         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
60434         double-precision for the calculation instead of scaling.
60436 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
60438         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
60439         manipulate bits before adding and subtracting TWO52[sx].
60440         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
60441         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
60442         Likewise.
60443         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
60445 2012-03-13  David S. Miller  <davem@davemloft.net>
60447         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
60448         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
60449         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
60450         rtld-global-offsets.h
60451         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60453         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
60454         large parameters.
60456         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
60458         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
60459         'err' in the ifdef scope in which it is actually used.
60461         * nss/nss_db/db-init.c: Include string.h
60463 2012-03-12  David S. Miller  <davem@davemloft.net>
60465         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
60466         masking out of the most significant byte of random value used.
60467         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60468         Fix coding style in previous change.
60470         * sysdeps/unix/sysv/linux/kernel-features.h
60471         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
60472         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
60473         expression.
60474         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
60475         later.
60477 2012-03-11  David S. Miller  <davem@davemloft.net>
60479         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
60480         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
60481         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
60482         for 'resultvar' otherwise things get truncated on 64-bit.
60484         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60485         Fix masking out of the most significant byte of random value used.
60487         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60489 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
60491         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60493 2012-03-09  David S. Miller  <davem@davemloft.net>
60495         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
60496         variables with appropriate CPP guards.
60497         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
60498         from the frame pointer, not the stack pointer.  Correct layout
60499         comments.  Fix test on resulting framesize and the management of
60500         the outregs buffer for pltexit.  Preserve floating point return
60501         values across _dl_call_pltexit call.
60502         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
60503         framesize and the management of the outregs buffer for pltexit.
60504         Preserve floating point return values across _dl_call_pltexit
60505         call.
60506         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
60507         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
60508         (la_sparc64_gnu_pltexit): New functions.
60509         (print_exit): Fix format string for return register value.
60511 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
60513         * sunrpc/Makefile (others): Add rpcgen.
60514         ($(objpfx)rpcgen): Remove special build rule and dependency on
60515         libc.
60516         * sunrpc/rpcgen.c: New file.
60518 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
60520         [BZ #13673]
60521         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
60522         * stdio-common/bug-vfprintf-nargs.c: Likewise.
60523         * sysdeps/i386/crti.S: Likewise.
60524         * sysdeps/i386/crtn.S: Likewise.
60525         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
60526         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
60527         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
60528         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
60529         * sysdeps/sh/crti.S: Likewise.
60530         * sysdeps/sh/crtn.S: Likewise.
60531         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
60533         [BZ #13673]
60534         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
60535         with URL.
60536         * locale/programs/locfile-kw.gperf: Likewise.
60537         * locale/programs/charmap-kw.h: Regenerated.
60538         * locale/programs/locfile-kw.h: Likewise.
60540         [BZ #13673]
60541         * intl/plural.y: Replace FSF snail mail address with URL.
60542         * intl/plural.c: Regenerated.
60544 2012-03-09  Richard Henderson  <rth@twiddle.net>
60546         * include/math_private.h: Remove file.
60547         * math/math_private.h: Move file ...
60548         * sysdeps/generic/math_private.h: ... here.
60550         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
60551         * sysdeps/powerpc/fpu/math_private.h: Likewise.
60552         * sysdeps/x86_64/fpu/math_private.h: Likewise.
60554         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
60555         and <math_private.h>.
60556         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
60557         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
60558         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
60559         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
60560         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
60561         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
60562         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60563         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60564         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60565         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60566         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60567         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
60568         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60569         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60570         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60571         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60572         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60573         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60574         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60575         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
60576         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60577         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60578         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60579         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60580         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
60581         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60582         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60583         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60584         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60585         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
60586         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60587         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60588         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
60589         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60590         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
60591         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
60592         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60593         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
60594         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
60595         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60596         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
60597         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
60598         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
60599         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
60600         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
60601         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
60602         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
60603         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
60604         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60605         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
60606         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
60607         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
60608         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
60609         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
60610         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
60611         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
60612         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60613         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
60614         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
60615         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
60616         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60617         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
60618         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60619         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
60620         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
60621         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60622         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60623         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60624         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
60625         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
60626         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
60627         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60628         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
60629         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60630         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
60631         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
60632         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
60633         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
60634         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
60635         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
60636         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
60637         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
60638         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
60639         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
60640         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60641         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
60642         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
60643         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
60644         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
60645         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
60646         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
60647         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
60648         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60649         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
60650         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
60651         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
60652         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60653         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
60654         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60655         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
60656         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
60657         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
60658         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
60659         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
60660         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
60661         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
60662         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
60663         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
60664         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
60665         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
60666         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
60667         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
60668         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
60669         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
60670         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
60671         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60672         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
60673         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
60674         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
60675         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
60676         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
60677         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
60678         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60679         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
60680         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
60681         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
60682         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
60683         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
60684         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
60685         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
60686         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
60687         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
60688         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
60689         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
60690         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
60691         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
60692         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
60693         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
60694         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
60695         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
60696         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60697         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
60698         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
60699         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
60700         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
60701         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
60702         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
60703         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
60704         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
60705         * sysdeps/ieee754/k_standard.c: Likewise.
60706         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
60707         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
60708         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
60709         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
60710         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
60711         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
60712         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
60713         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
60714         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
60715         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
60716         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60717         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
60718         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
60719         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
60720         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
60721         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
60722         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
60723         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
60724         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
60725         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
60726         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
60727         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
60728         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
60729         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
60730         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
60731         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
60732         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
60733         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
60734         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
60735         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
60736         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
60737         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
60738         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
60739         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
60740         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
60741         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
60742         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
60743         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
60744         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
60745         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
60746         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
60747         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
60748         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
60749         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
60750         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
60751         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
60752         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
60753         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
60754         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
60755         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
60756         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
60757         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
60758         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
60759         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
60760         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
60761         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
60762         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
60763         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
60764         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
60765         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
60766         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
60767         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
60768         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
60769         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
60770         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
60771         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
60772         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
60773         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
60774         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
60775         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
60776         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
60777         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
60778         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
60779         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
60780         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
60781         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
60782         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
60783         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
60784         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
60785         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
60786         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
60787         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
60788         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
60789         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
60790         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
60791         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
60792         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
60793         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
60794         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
60795         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
60796         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
60797         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
60798         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
60799         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
60800         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
60801         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
60802         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
60803         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
60804         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
60805         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
60806         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
60807         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
60808         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
60809         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
60810         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
60811         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
60812         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
60813         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
60814         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
60815         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
60816         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
60817         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
60818         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
60819         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
60820         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
60821         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60822         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
60823         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
60824         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60825         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
60826         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60827         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
60828         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60829         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
60830         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
60831         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
60832         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
60833         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
60834         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
60835         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
60836         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
60837         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
60838         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
60839         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
60840         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
60841         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
60842         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
60843         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
60844         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
60845         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
60846         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
60847         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
60848         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
60849         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
60850         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
60851         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
60852         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
60853         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
60854         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
60855         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
60856         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
60857         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
60858         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
60859         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
60860         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
60861         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
60862         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
60863         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
60864         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
60865         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
60866         * sysdeps/ieee754/s_lib_version.c: Likewise.
60867         * sysdeps/ieee754/s_matherr.c: Likewise.
60868         * sysdeps/ieee754/s_signgam.c: Likewise.
60869         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
60870         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60871         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
60872         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
60873         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
60874         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
60875         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
60876         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
60877         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
60878         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
60879         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
60880         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
60881         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
60882         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
60883         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
60884         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
60885         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
60886         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
60887         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
60888         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
60889         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
60891 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
60893         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
60894         * sunrpc/rpc_main.c: Likewise.
60895         * sunrpc/rpc_svcout.c: Likewise.
60897 2012-03-09  David S. Miller  <davem@davemloft.net>
60899         * include/math_private.h: New file.
60901 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
60903         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
60904         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
60905         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
60906         from <bits/socket_type.h>.
60907         (enum __socket_type): Don't define here.
60908         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
60909         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60910         bits/socket_type.h.
60912         [BZ #13566]
60913         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
60914         checking __USE_GNU.
60916         * Makerules ($(inst_includedir)/%.h): New rule.
60917         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
60918         (install-others): Remove variable setting.
60919         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
60921 2012-03-08  Richard Henderson  <rth@twiddle.net>
60923         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
60924         from macro to inline function; merge with the
60925         !__LIBC_INTERNAL_MATH_INLINES version.
60926         (__ieee754_sqrtf): Likewise.
60928         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
60929         to inline function.
60930         (__rintf, __floor, __floorf): Likewise.
60932         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
60933         macro to inline function.
60934         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
60936         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
60937         not <math/math_private.h>.
60939 2012-03-08  David S. Miller  <davem@davemloft.net>
60941         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
60942         copyright year.
60943         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
60945 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
60947         * resolv/gai_misc.c (handle_requests): Fix struct timespec
60948         normalization.
60949         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
60950         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
60952 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
60954         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
60955         be defined individually, they must be defined as a block.  Define
60956         S for printing a string instead of hidint the different by using a
60957         macro for adding the 'l'.
60958         * stdio-common/tst-fphex-wide.c: Adjust.
60960 2012-03-07  Marek Polacek  <polacek@redhat.com>
60962         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
60964 2012-03-08  Marek Polacek  <polacek@redhat.com>
60966         [BZ #13806]
60967         * stdio-common/Makefile (tests): Add tst-fphex-wide.
60968         * stdio-common/tst-fphex.c: Define a few macros to make the
60969         test reusable.  Use them.
60970         * stdio-common/tst-fphex-wide.c: New file.
60972 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
60974         [BZ #6911]
60975         * manual/macros.texi (gnusystems): New macro.
60976         (nongnusystems): Likewise.
60977         (gnulinuxhurdsystems): Likewise.
60978         (gnuhurdsystems): Likewise..
60979         (gnulinuxsystems): Likewise.
60980         * manual/charset.texi: Use new macros or @theglibc{} to refer to
60981         variants of the GNU system, not "GNU system".
60982         * manual/conf.texi: Likewise.
60983         * manual/errno.texi: Likewise.  Update example of errno macro
60984         expansion.
60985         * manual/filesys.texi: Likewise.
60986         (getumask): Document as specific to GNU/Hurd.
60987         * manual/install.texi: Likewise.  Reword some references to
60988         GNU/Linux.
60989         * manual/intro.texi: Likewise.
60990         * manual/io.texi: Likewise.
60991         (File Name Portability): Detail which constraints are inapplicable
60992         to all GNU systems and which are only inapplicable to GNU/Hurd.
60993         * manual/job.texi: Likewise.
60994         * manual/llio.texi: Likewise.
60995         (O_NOCTTY): Document as present on GNU/Linux.
60996         * manual/maint.texi: Likewise.
60997         * manual/memory.texi: Likewise.
60998         * manual/pattern.texi: Likewise.
60999         * manual/pipe.texi: Likewise.
61000         * manual/process.texi: Likewise.
61001         * manual/resource.texi: Likewise.
61002         (RUSAGE_CHILDREN): Remove statement about specifying a particular
61003         child on GNU/Hurd.
61004         * manual/setjmp.texi: Likewise.
61005         * manual/signal.texi: Likewise.
61006         * manual/startup.texi: Likewise.
61007         * manual/stdio.texi: Likewise.
61008         * manual/terminal.texi: Likewise.
61009         (ONLCR): Document as POSIX.
61010         (OXTABS): Document availability on GNU/Linux as XTABS.
61011         (ONOEOT): Document availability separately from other bits.
61012         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
61013         * manual/time.texi: Likewise.
61014         * manual/users.texi: Likewise.
61015         * INSTALL: Regenerated.
61016         * sysdeps/gnu/errlist.c: Regenerated.
61018         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
61019         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
61020         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
61021         puts.
61022         * configure: Regenerated.
61024 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
61026         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
61027         default includes instead of AC_HEADER_CHECK.
61028         * sysdeps/i386/configure: Regenerated.
61030         [BZ #10716]
61031         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
61032         * math/s_cacoshf.c (__cacoshf): Likewise.
61033         * math/s_cacoshl.c (__cacoshl): Likewise.
61034         * math/s_casinh.c (__casinh): Set signs of result from argument.
61035         * math/s_casinhf.c (__casinhf): Likewise.
61036         * math/s_casinhl.c (__casinhl): Likewise.
61037         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
61038         (casinh_test): Add more tests.
61039         * sysdeps/i386/fpu/libm-test-ulps: Update.
61040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61042 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
61044         * po/zh_TW.po: Update from translation team.
61046         * login/Makefile (distribute): Remove variable.
61047         * catgets/Makefile: Likewise.
61048         * mach/Makefile: Likewise.
61049         * malloc/Makefile: Likewise.
61050         * misc/Makefile: Likewise.
61051         * iconv/Makefile: Likewise.
61052         * nscd/Makefile: Likewise.
61053         * hurd/Makefile: Likewise.
61054         * manual/Makefile: Likewise.
61055         * locale/Makefile: Likewise.
61056         * intl/Makefile: Likewise.
61057         * conform/Makefile: Likewise.
61058         * nss/Makefile: Likewise.
61059         * time/Makefile: Likewise.
61060         * soft-fp/Makefile: Likewise.
61061         * dirent/Makefile: Likewise.
61062         * gmon/Makefile: Likewise.
61063         * po/Makefile: Likewise.
61064         * rt/Makefile: Likewise.
61065         * socket/Makefile: Likewise.
61066         * math/Makefile: Likewise.
61067         * signal/Makefile: Likewise.
61068         * debug/Makefile: Likewise.
61069         * elf/Makefile: Likewise.
61070         * timezone/Makefile: Likewise.
61071         * stdlib/Makefile: Likewise.
61072         * iconvdata/Makefile: Likewise.
61073         * sunrpc/Makefile: Likewise.
61074         * io/Makefile: Likewise.
61075         * argp/Makefile: Likewise.
61076         * inet/Makefile: Likewise.
61077         * hesiod/Makefile: Likewise.
61078         * grp/Makefile: Likewise.
61079         * csu/Makefile: Likewise.
61080         * wctype/Makefile: Likewise.
61081         * crypt/Makefile: Likewise.
61082         * libio/Makefile: Likewise.
61083         * string/Makefile: Likewise.
61084         * nis/Makefile: Likewise.
61085         * resolv/Makefile: Likewise.
61086         * stdio-common/Makefile: Likewise.
61087         * wcsmbs/Makefile: Likewise.
61088         * dlfcn/Makefile: Likewise.
61089         * posix/Makefile: Likewise.
61091         [BZ #6959]
61092         * timezone/Makefile: Don't install timezone files, just the programs
61093         and scripts.
61095 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
61097         * nss/databases.def: Add missing gshadow entry.
61099         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
61101 2012-03-06  Marek Polacek  <polacek@redhat.com>
61103         [BZ #13726]
61104         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
61105         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
61106         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
61107         * stdio-common/tst-long-dbl-fphex.c: New file.
61109 2012-03-06  David S. Miller  <davem@davemloft.net>
61111         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61112         (set_obp_int): New function.
61113         (get_obp_int): New function.
61114         (__get_clockfreq_via_dev_openprom): Likewise.
61115         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
61116         Avoid unused variable warnings on 'val' and use builtin_expect.
61117         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
61118         __builtin_expect.
61119         (INLINE_CLONE_SYSCALL): Likewise.
61121 2012-03-05  David S. Miller  <davem@davemloft.net>
61123         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61125 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
61127         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61129         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
61130         only for |x| >= 40.
61131         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61133 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
61135         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
61136         Replace gettimeofday with __vdso_gettimeofday.
61138         * sysdeps/unix/sysv/linux/x86_64/init-first.c
61139         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
61140         __vdso_clock_gettime and __vdso_getcpu.
61142         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
61143         time with __vdso_time.
61145 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
61147         * manual/lang.texi (size_t): Note types to which size_t may be
61148         equivalent with the GNU C Library, but do not describe when
61149         differences between them are significant.
61151 2012-03-05  Andreas Jaeger  <aj@suse.de>
61153         * sysdeps/i386/fpu/libm-test-ulps: Update.
61155 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
61157         [BZ #3976]
61158         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
61159         (__ieee754_pow): Save and restore rounding mode and use
61160         round-to-nearest for main computations.
61161         * math/libm-test.inc (pow_test_tonearest): New function.
61162         (pow_test_towardzero): Likewise.
61163         (pow_test_downward): Likewise.
61164         (pow_test_upward): Likewise.
61165         (main): Call the new functions.
61166         * sysdeps/i386/fpu/libm-test-ulps: Update.
61167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61169         [BZ #3976]
61170         * math/libm-test.inc (cosh_test_tonearest): New function.
61171         (cosh_test_towardzero): Likewise.
61172         (cosh_test_downward): Likewise.
61173         (cosh_test_upward): Likewise.
61174         (sinh_test_tonearest): Likewise.
61175         (sinh_test_towardzero): Likewise.
61176         (sinh_test_downward): Likewise.
61177         (sinh_test_upward): Likewise.
61178         (main): Call the new functions.
61179         * sysdeps/i386/fpu/libm-test-ulps: Update.
61180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61182 2012-03-05  Tom de Vries  <tom@codesourcery.com>
61184         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
61185         default stack guard is set in last bytes.
61186         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
61188 2012-03-05  Kees Cook  <keescook@chromium.org>
61190         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
61192         [BZ #13656]
61193         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
61194         possibly allocate from heap instead of stack.
61195         * stdio-common/bug-vfprintf-nargs.c: New file.
61196         * stdio-common/Makefile (tests): Add nargs overflow test.
61198 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
61200         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61202 2012-03-03  Marek Polacek  <polacek@redhat.com>
61204         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
61205         * math/math_private.h: Likewise.
61206         * stdlib/tst-strtod.c: Likewise.
61207         * sysdeps/i386/i486/bits/atomic.h: Likewise.
61208         * sysdeps/x86_64/bits/atomic.h: Likewise.
61210 2012-03-02  David S. Miller  <davem@davemloft.net>
61212         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
61213         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
61214         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
61215         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
61216         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
61217         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
61218         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
61219         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
61221 2012-03-02  Roland McGrath  <roland@hack.frob.com>
61223         [BZ #13792]
61224         * manual/examples/README: New file, says the example source files
61225         can be used under GPL>=2.
61226         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
61227         line containing just "*/".
61228         * manual/examples/add.c: Add copyright header (GPL>=2).
61229         * manual/examples/argp-ex1.c: Likewise.
61230         * manual/examples/argp-ex2.c: Likewise.
61231         * manual/examples/argp-ex3.c: Likewise.
61232         * manual/examples/argp-ex4.c: Likewise.
61233         * manual/examples/atexit.c: Likewise.
61234         * manual/examples/db.c: Likewise.
61235         * manual/examples/dir.c: Likewise.
61236         * manual/examples/dir2.c: Likewise.
61237         * manual/examples/execinfo.c: Likewise.
61238         * manual/examples/filecli.c: Likewise.
61239         * manual/examples/filesrv.c: Likewise.
61240         * manual/examples/fmtmsgexpl.c: Likewise.
61241         * manual/examples/genpass.c: Likewise.
61242         * manual/examples/inetcli.c: Likewise.
61243         * manual/examples/inetsrv.c: Likewise.
61244         * manual/examples/isockad.c: Likewise.
61245         * manual/examples/longopt.c: Likewise.
61246         * manual/examples/memopen.c: Likewise.
61247         * manual/examples/memstrm.c: Likewise.
61248         * manual/examples/mkfsock.c: Likewise.
61249         * manual/examples/mkisock.c: Likewise.
61250         * manual/examples/mygetpass.c: Likewise.
61251         * manual/examples/pipe.c: Likewise.
61252         * manual/examples/popen.c: Likewise.
61253         * manual/examples/rprintf.c: Likewise.
61254         * manual/examples/search.c: Likewise.
61255         * manual/examples/select.c: Likewise.
61256         * manual/examples/setjmp.c: Likewise.
61257         * manual/examples/sigh1.c: Likewise.
61258         * manual/examples/sigusr.c: Likewise.
61259         * manual/examples/stpcpy.c: Likewise.
61260         * manual/examples/strdupa.c: Likewise.
61261         * manual/examples/strftim.c: Likewise.
61262         * manual/examples/strncat.c: Likewise.
61263         * manual/examples/subopt.c: Likewise.
61264         * manual/examples/swapcontext.c: Likewise.
61265         * manual/examples/termios.c: Likewise.
61266         * manual/examples/testopt.c: Likewise.
61267         * manual/examples/testpass.c: Likewise.
61268         * manual/examples/timeval_subtract.c: Likewise.
61270         [BZ #13792]
61271         * manual/time.texi (Elapsed Time): Move timeval_subtract example
61272         function to ...
61273         * manual/timeval_subtract.c.texi: ... here, new file.
61275 2012-03-02  David S. Miller  <davem@davemloft.net>
61277         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
61279 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
61281         [BZ #3976]
61282         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
61283         (__sin): Save and restore rounding mode and use round-to-nearest
61284         for all computations.
61285         (__cos): Save and restore rounding mode and use round-to-nearest
61286         for all computations.
61287         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
61288         <fenv.h>.
61289         (tan): Save and restore rounding mode and use round-to-nearest for
61290         all computations.
61291         * math/libm-test.inc (cos_test_tonearest): New function.
61292         (cos_test_towardzero): Likewise.
61293         (cos_test_downward): Likewise.
61294         (cos_test_upward): Likewise.
61295         (sin_test_tonearest): Likewise.
61296         (sin_test_towardzero): Likewise.
61297         (sin_test_downward): Likewise.
61298         (sin_test_upward): Likewise.
61299         (tan_test_tonearest): Likewise.
61300         (tan_test_towardzero): Likewise.
61301         (tan_test_downward): Likewise.
61302         (tan_test_upward): Likewise.
61303         (main): Call the new functions.
61304         * sysdeps/i386/fpu/libm-test-ulps: Update.
61305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61307         [BZ #10135]
61308         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
61309         small n, then large n, before computing and testing k+n.
61310         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
61311         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
61312         Likewise.
61313         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
61314         Likewise.
61315         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
61316         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
61317         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
61318         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
61319         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
61320         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
61321         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
61322         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
61323         * math/libm-test.inc (scalbn_test): Add more tests.
61324         (scalbln_test): Likewise.
61326         * manual/filesys.texi (mode_t): Describe constraints on size and
61327         signedness, not exact equivalence to a particular type.
61328         (ino_t): Likewise.
61329         (ino64_t): Likewise.
61330         (dev_t): Likewise.
61331         (nlink_t): Likewise.
61332         (blkcnt_t): Likewise.
61333         (blkcnt64_t): Likewise.
61334         * manual/llio.texi (off_t): Likewise.
61336         [BZ #3976]
61337         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
61338         (__ieee754_exp): Save and restore rounding mode and use
61339         round-to-nearest for all computations.
61340         * math/libm-test.inc (exp_test_tonearest): New function.
61341         (exp_test_towardzero): Likewise.
61342         (exp_test_downward): Likewise.
61343         (exp_test_upward): Likewise.
61344         (main): Call the new functions.
61345         * sysdeps/i386/fpu/libm-test-ulps: Update.
61346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61348 2012-03-01  Chris Demetriou  <cgd@google.com>
61350         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
61351         have predictable order.
61353 2012-03-01  David S. Miller  <davem@davemloft.net>
61355         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
61357         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
61358         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
61359         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
61360         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
61362         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
61363         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
61364         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
61365         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
61366         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
61367         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
61368         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
61369         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
61370         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
61372         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61374         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
61375         * sysdeps/sparc/fpu/libm-test-ulps: to here.
61376         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
61378         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
61379         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
61380         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
61381         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
61382         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
61383         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
61384         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
61385         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
61386         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
61387         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
61388         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
61389         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
61390         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
61391         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
61392         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
61393         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61394         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
61395         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
61396         * sysdeps/sparc/elf/configure: Regenerated.
61398 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
61400         * configure.in (AS, LD): Require binutils 2.20 or later.
61401         * configure: Regenerated.
61402         * manual/install.texi (Tools for Compilation): Give binutils 2.20
61403         as required minimum version.
61404         * INSTALL: Regenerated.
61406         [BZ #2541]
61407         [BZ #4108]
61408         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
61409         before squaring exponent.
61410         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
61411         bottom long double and 27 bits of top long double before squaring
61412         exponent.
61413         * math/libm-test.inc (erfc_test): Add more tests.
61414         * sysdeps/i386/fpu/libm-test-ulps: Update.
61415         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61418 2012-03-01  Kai Tietz  <ktietz@redhat.com>
61420         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
61421         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
61422         containing bit-fields.
61423         * soft-fp/extended.h (_FP_UNION_E): Likewise.
61424         * soft-fp/single.h (_FP_UNION_S): Likewise.
61425         * soft-fp/double.h (_FP_UNION_D): Likewise.
61427 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
61429         [BZ #13786]
61430         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
61431         not include ../strcmp.S.
61432         [USE_AS_STRNCASECMP_L]: Likewise.
61433         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
61434         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
61435         * sysdeps/i386/i686/multiarch/strncase_l-c.c
61436         (__strncasecmp_l_ia32): Define as alias to
61437         __strncasecmp_l_nonascii.
61439         [BZ #5794]
61440         * math/libm-test.inc (expm1_test): Add test for bug 5794.
61441         * sysdeps/i386/fpu/libm-test-ulps: Update.
61442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61444         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
61445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61447 2012-02-29  Jeff Law  <law@redhat.com>
61449         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
61450         out of bounds read.
61452 2012-02-29  Marek Polacek  <polacek@redhat.com>
61454         [BZ #13706]
61455         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
61456         * elf/Makefile: Add rules to run tst-unused-dep.out.
61458 2012-02-28  David S. Miller  <davem@davemloft.net>
61460         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
61461         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
61462         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
61463         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
61464         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
61465         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
61467 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
61469         * math/libm-test.inc (llround_test): Move one test from
61470         lround_test.  Use TEST_f_L in moved test.
61471         (lround_test): Move misplaced test to llround_test.  Add testcase
61472         from bug 2561.
61474 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
61476         * sysdeps/x86_64/fpu/e_expf.S: New file.
61477         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
61479 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
61481         [BZ #13637]
61482         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
61483         of remain_len that may cause incomplete multi-byte character and
61484         false match.
61485         * posix/bug-regex33.c: New file.
61486         * posix/Makefile (tests): Add bug-regex33.
61488 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
61490         * manual/macros.texi: New file.
61491         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
61492         * manual/libc.texinfo: Include macros.texi.
61493         * manual/creatute.texi: Likewise.
61494         * manual/install.texi: Likewise.
61495         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
61496         @glibcadj{} in references to the GNU C Library.
61497         * manual/charset.texi: Likewise.
61498         * manual/conf.texi: Likewise.
61499         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
61500         when not using those macros.
61501         * manual/creature.texi: Likewise.
61502         * manual/crypt.texi: Likewise.
61503         * manual/errno.texi: Likewise.
61504         * manual/filesys.texi: Likewise.
61505         * manual/header.texi: Likewise.
61506         * manual/install.texi: Likewise.
61507         * manual/intro.texi: Likewise.
61508         * manual/io.texi: Likewise.
61509         * manual/job.texi: Likewise.
61510         * manual/lang.texi: Likewise.
61511         * manual/libc.texiinfo: Likewise.
61512         * manual/llio.texi: Likewise.
61513         * manual/locale.texi: Likewise.
61514         * manual/maint.texi: Likewise.
61515         * manual/math.texi: Likewise.
61516         * manual/memory.texi: Likewise.
61517         * manual/message.texi: Likewise.
61518         * manual/nss.texi: Likewise.
61519         * manual/pattern.texi: Likewise.
61520         * manual/process.texi: Likewise.
61521         * manual/resource.texi: Likewise.
61522         * manual/search.texi: Likewise.
61523         * manual/setjmp.texi: Likewise.
61524         * manual/signal.texi: Likewise.
61525         * manual/socket.texi: Likewise.
61526         * manual/startup.texi: Likewise.
61527         * manual/stdio.texi: Likewise.
61528         * manual/string.texi: Likewise.
61529         * manual/sysinfo.texi: Likewise.
61530         * manual/syslog.texi: Likewise.
61531         * manual/terminal.texi: Likewise.
61532         * manual/time.texi: Likewise.
61533         * manual/users.texi: Likewise.
61534         * INSTALL: Regenerated.
61535         * NOTES: Regenerated.
61536         * sysdeps/gnu/errlist.c: Regenerated.
61538 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
61540         * include/dirent.h: Include <dirstream.h> before
61541         <dirent/dirent.h>.
61543 2012-02-28  David S. Miller  <davem@davemloft.net>
61545         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
61546         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
61547         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
61548         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
61550 2012-02-27  David S. Miller  <davem@davemloft.net>
61552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
61553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
61554         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
61555         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
61557         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
61558         frame pointer instead of stack pointer relative arg slot.
61559         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
61560         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
61561         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
61563 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
61565         [BZ #3992]
61566         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
61568 2012-02-27  David S. Miller  <davem@davemloft.net>
61570         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
61571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
61572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
61573         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
61574         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
61575         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
61576         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
61577         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
61579 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
61581         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
61582         later.  Allow versions 5-9.
61583         * configure: Regenerated.
61584         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
61585         required minimum version and 4.6 as recommended version.  Do not
61586         mention bugs in GCC 2.7 and 2.8.
61587         * INSTALL: Regenerated.
61589 2012-02-27  David S. Miller  <davem@davemloft.net>
61591         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
61592         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
61593         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
61594         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
61595         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
61596         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
61597         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
61598         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
61600         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
61601         manipulate bits before adding and subtracting TWO112[sx].
61602         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
61604 2012-02-27  Roland McGrath  <roland@hack.frob.com>
61606         [BZ #13775]
61607         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
61608         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
61609         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
61610         being in POSIX, because they are in 1003.1-2008.
61612         * rt/tst-aio.c: Include <fcntl.h>.
61613         * rt/tst-aio7.c: Likewise.
61614         * rt/tst-aio64.c: Likewise.
61616         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
61618 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
61620         * manual/install.texi (--with-headers): Describe headers as
61621         interface headers, not private headers.
61622         (Specific advice for GNU/Linux systems): Describe use of headers
61623         from "make headers_install", not private headers from older
61624         kernels.
61625         * INSTALL: Regenerated.
61626         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
61627         Change to 2.6.19.
61628         * sysdeps/unix/sysv/linux/configure: Regenerated.
61630         * manual/llio.texi (fclean): Remove documentation.
61632         * manual/Makefile (libc-texi-generated): New variable.  Include
61633         version.texi.
61634         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
61635         $(libc-texi-generated), not duplicated list of files.
61636         (version.texi, stamp-version): New rules.
61637         (realclean): Remove $(libc-texi-generated), not individual files
61638         from that list.  Do not remove dir-add.texinfo.
61639         * manual/libc.texinfo: Comment out uses of edition numbers and
61640         references to printed manual.  Remove last-updated dates.
61641         (EDITION): Comment out.
61642         (ISBN): Likewise.
61643         (VERSION, UPDATED): Remove.
61644         (version.texi): Include.
61646 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
61648         * sysdeps/posix/spawni.c: Include <signal.h>.
61649         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
61650         * sysdeps/pthread/aio_fsync.c: Likewise.
61652 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
61654         * conform/Makefile (tests): Run only when not cross-compiling and
61655         when fast-check is not defined.
61657         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
61658         * conform/data/limits.h-data: Fixes for POSIX2008.
61659         * conform/run-conformtest.sh: Run all tests.
61660         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
61661         headers.
61662         * include/bits/dlfcn.h: Likewise.
61663         * include/langinfo.h: Likewise.
61664         * include/monetary.h: Likewise.
61665         * include/sys/poll.h: Likewise.
61667         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
61668         for __USE_GNU.
61669         * posix/spawn.h: Define __need_sigset_t.
61670         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
61671         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
61672         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
61673         to get sigevent_t only.
61674         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
61675         only for __USE_GNU.
61676         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61677         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
61678         process_vm_writev only for __USE_GNU.
61679         * termios/termios.h: Declare tcgetsid also for POSIX2008.
61681         * conform/Makefile: For now ignore errors from run-conformtest.
61682         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
61683         POSIX to avoid namespace pollution.  Don't prepend headers.
61684         * conform/data/aio.h-data: Fixes for POSIX testing.
61685         * conform/data/fcntl.h-data: Likewise.
61686         * conform/data/glob.h-data: Likewise.
61687         * conform/data/grp.h-data: Likewise.
61688         * conform/data/pthread.h-data: Likewise.
61689         * conform/data/pwd.h-data: Likewise.
61690         * conform/data/signal.h-data: Likewise.
61691         * conform/data/spawn.h-data: Likewise.
61692         * conform/data/stdio.h-data: Likewise.
61693         * conform/data/stdlib.h-data: Likewise.
61694         * conform/data/stropts.h-data: Likewise.
61695         * conform/data/sys/mman.h-data: Likewise.
61696         * conform/data/sys/stat.h-data: Likewise.
61697         * conform/data/sys/types.h-data: Likewise.
61698         * conform/data/sys/wait.h-data: Likewise.
61699         * conform/data/time.h-data: Likewise.
61700         * conform/data/unistd.h-data: Likewise.
61701         * conform/data/utime.h-data: Likewise.
61703         * io/sys/stat.h: fchmod was always in POSIX.
61704         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
61705         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
61706         * rt/aio.h: Define __need_timespec before including <time.h>.
61707         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
61708         struct.  Add forward declaration of pthread_attr_t and use it in
61709         sigevent.
61710         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
61711         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61712         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
61713         always remove CLK_TCK definition.
61715 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
61717         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
61719 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
61721         * conform/run-conformtest.sh: New file.
61722         * conform/Makefile: Run run-conformtest for tests.
61723         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
61724         support.
61726         * conform/data/uchar.h-data: New file.
61727         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
61728         * conform/data/arpa/inet.h-data: Likewise.
61729         * conform/data/assert.h-data: Likewise.
61730         * conform/data/complex.h-data: Likewise.
61731         * conform/data/cpio.h-data: Likewise.
61732         * conform/data/ctype.h-data: Likewise.
61733         * conform/data/dirent.h-data: Likewise.
61734         * conform/data/dlfcn.h-data: Likewise.
61735         * conform/data/errno.h-data: Likewise.
61736         * conform/data/fcntl.h-data: Likewise.
61737         * conform/data/float.h-data: Likewise.
61738         * conform/data/fmtmsg.h-data: Likewise.
61739         * conform/data/fnmatch.h-data: Likewise.
61740         * conform/data/ftw.h-data: Likewise.
61741         * conform/data/glob.h-data: Likewise.
61742         * conform/data/grp.h-data: Likewise.
61743         * conform/data/iconv.h-data: Likewise.
61744         * conform/data/inttypes.h-data: Likewise.
61745         * conform/data/langinfo.h-data: Likewise.
61746         * conform/data/libgen.h-data: Likewise.
61747         * conform/data/limits.h-data: Likewise.
61748         * conform/data/locale.h-data: Likewise.
61749         * conform/data/math.h-data: Likewise.
61750         * conform/data/monetary.h-data: Likewise.
61751         * conform/data/mqueue.h-data: Likewise.
61752         * conform/data/ndbm.h-data: Likewise.
61753         * conform/data/net/if.h-data: Likewise.
61754         * conform/data/netdb.h-data: Likewise.
61755         * conform/data/netinet/in.h-data: Likewise.
61756         * conform/data/nl_types.h-data: Likewise.
61757         * conform/data/poll.h-data: Likewise.
61758         * conform/data/pthread.h-data: Likewise.
61759         * conform/data/pwd.h-data: Likewise.
61760         * conform/data/regex.h-data: Likewise.
61761         * conform/data/sched.h-data: Likewise.
61762         * conform/data/search.h-data: Likewise.
61763         * conform/data/semaphore.h-data: Likewise.
61764         * conform/data/setjmp.h-data: Likewise.
61765         * conform/data/signal.h-data: Likewise.
61766         * conform/data/spawn.h-data: Likewise.
61767         * conform/data/stdarg.h-data: Likewise.
61768         * conform/data/stdio.h-data: Likewise.
61769         * conform/data/stdlib.h-data: Likewise.
61770         * conform/data/string.h-data: Likewise.
61771         * conform/data/strings.h-data: Likewise.
61772         * conform/data/stropts.h-data: Likewise.
61773         * conform/data/sys/ipc.h-data: Likewise.
61774         * conform/data/sys/mman.h-data: Likewise.
61775         * conform/data/sys/msg.h-data: Likewise.
61776         * conform/data/sys/resource.h-data: Likewise.
61777         * conform/data/sys/select.h-data: Likewise.
61778         * conform/data/sys/sem.h-data: Likewise.
61779         * conform/data/sys/shm.h-data: Likewise.
61780         * conform/data/sys/socket.h-data: Likewise.
61781         * conform/data/sys/stat.h-data: Likewise.
61782         * conform/data/sys/statvfs.h-data: Likewise.
61783         * conform/data/sys/time.h-data: Likewise.
61784         * conform/data/sys/timeb.h-data: Likewise.
61785         * conform/data/sys/times.h-data: Likewise.
61786         * conform/data/sys/types.h-data: Likewise.
61787         * conform/data/sys/uio.h-data: Likewise.
61788         * conform/data/sys/un.h-data: Likewise.
61789         * conform/data/sys/utsname.h-data: Likewise.
61790         * conform/data/sys/wait.h-data: Likewise.
61791         * conform/data/syslog.h-data: Likewise.
61792         * conform/data/tar.h-data: Likewise.
61793         * conform/data/termios.h-data: Likewise.
61794         * conform/data/utime.h-data: Likewise.
61795         * conform/data/utmpx.h-data: Likewise.
61796         * conform/data/varargs.h-data: Likewise.
61797         * conform/data/wchar.h-data: Likewise.
61798         * conform/data/wctype.h-data: Likewise.
61799         * conform/data/wordexp.h-data: Likewise.
61801         * include/stropts.h: New file.
61802         * include/uchar.h: New file.
61803         * include/aio.h: Changes to allow conformtest.pl to use the headers.
61804         * include/assert.h: Likewise.
61805         * include/ctype.h: Likewise.
61806         * include/dirent.h: Likewise.
61807         * include/dlfcn.h: Likewise.
61808         * include/fcntl.h: Likewise.
61809         * include/fnmatch.h: Likewise.
61810         * include/glob.h: Likewise.
61811         * include/grp.h: Likewise.
61812         * include/libio.h: Likewise.
61813         * include/locale.h: Likewise.
61814         * include/math.h: Likewise.
61815         * include/net/if.h: Likewise.
61816         * include/netdb.h: Likewise.
61817         * include/netinet/in.h: Likewise.
61818         * include/pthread.h: Likewise.
61819         * include/pwd.h: Likewise.
61820         * include/regex.h: Likewise.
61821         * include/sched.h: Likewise.
61822         * include/search.h: Likewise.
61823         * include/setjmp.h: Likewise.
61824         * include/signal.h: Likewise.
61825         * include/stdio.h: Likewise.
61826         * include/stdlib.h: Likewise.
61827         * include/string.h: Likewise.
61828         * include/sys/cdefs.h: Likewise.
61829         * include/sys/mman.h: Likewise.
61830         * include/sys/msg.h: Likewise.
61831         * include/sys/resource.h: Likewise.
61832         * include/sys/select.h: Likewise.
61833         * include/sys/socket.h: Likewise.
61834         * include/sys/stat.h: Likewise.
61835         * include/sys/statvfs.h: Likewise.
61836         * include/sys/time.h: Likewise.
61837         * include/sys/times.h: Likewise.
61838         * include/sys/uio.h: Likewise.
61839         * include/sys/utsname.h: Likewise.
61840         * include/sys/wait.h: Likewise.
61841         * include/termios.h: Likewise.
61842         * include/time.h: Likewise.
61843         * include/ulimit.h: Likewise.
61844         * include/unistd.h: Likewise.
61845         * include/utime.h: Likewise.
61846         * include/wchar.h: Likewise.
61847         * include/wctype.h: Likewise.
61848         * include/wordexp.h: Likewise.
61850         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
61852         * time/time.h: TIME_UTC must be a macro.
61853         Make timespec_get available for ISO C11 only as well.
61855 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
61857         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
61858         Reported by Peng Haitao <penght@cn.fujitsu.com>.
61860 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
61862         * configure.in: Use -o not -a in test for unsupported multi-arch.
61864 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
61866         * manual/texinfo.tex: Update to version 2012-01-19.16.
61868 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
61870         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
61872 2012-02-24  Roland McGrath  <roland@hack.frob.com>
61874         [BZ #13738]
61875         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
61876         * manual/fdl-1.3.texi: New file.
61877         * manual/fdl-1.1.texi: File removed.
61879         [BZ #13738]
61880         * manual/libc.texinfo (FDL_VERSION): New @set.
61881         Use it for mention of FDL in cover text.
61882         (Documentation License): Use it in @include file name.
61884 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
61885             Roland McGrath  <roland@hack.frob.com>
61887         [BZ #5461]
61888         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
61889         (not LONG_LONG_MAX and LONG_LONG_MIN.
61890         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
61891         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
61892         name.
61893         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
61895 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
61897         [BZ #2547]
61898         [BZ #11365]
61899         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
61900         manipulate bits before adding and subtracting TWO23[sx].
61901         * math/libm-test.inc (nearbyint_test): Add more tests.
61903 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
61905         [BZ #2548]
61906         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
61907         bits before adding and subtracting TWO23[sx].
61908         * math/libm-test.inc (rint_test): Add more tests.
61909         (rint_test_tonearest): Likewise.
61910         (rint_test_towardzero): Likewise.
61911         (rint_test_downward): Likewise.
61912         (rint_test_upward: Likewise.
61914 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
61916         [BZ #10110]
61917         * include/stdc-predef.h: New file.  Extracted from features.h.
61918         * include/features.h: Include stdc-predef.h.
61919         * Makefile (headers): Add stdc-predef.h.
61920         * CONFORMANCE (Compiler limitations): Update.
61922 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
61924         * manual/libc.texinfo (VERSION, UPDATED): Revert.
61926 2012-02-21  David S. Miller  <davem@davemloft.net>
61928         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
61929         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
61931 2012-02-20  David S. Miller  <davem@davemloft.net>
61933         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
61934         using a normal save/restore sequence, rather than allocating a
61935         dummy stack frame just to store a frame pointer and restore.
61936         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
61938 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
61940         * manual/install.texi: Fix stray word in line-wrapped comment.
61942 2012-02-20  David S. Miller  <davem@davemloft.net>
61944         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
61945         both binutils and gcc support GOTDATA.
61947         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
61948         "rd %pc" in the PIC register setup sequences.
61950         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
61951         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
61952         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
61953         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
61954         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
61955         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
61956         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61957         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
61958         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
61959         (SYSCALL_ERROR_HANDLER): Likewise.
61960         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
61961         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
61962         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
61963         (SYSCALL_ERROR_HANDLER): Likewise.
61965         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
61966         (HAVE_GCC_GOTDATA): New.
61967         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
61968         relocation support in both binutils and gcc.
61969         * sysdeps/sparc/elf/configure: Regenerate.
61971         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
61972         * sysdeps/sparc/sparc32/elf/configure: Delete.
61973         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
61974         * sysdeps/sparc/sparc64/elf/configure: Delete.
61975         * sysdeps/sparc/elf/configure.in: New file.
61976         * sysdeps/sparc/elf/configure: Generate.
61978         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
61979         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
61980         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
61981         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
61982         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
61984 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
61986         * manual/install.texi: Do not mention specific glibc version
61987         numbers.
61988         * manual/libc.texinfo (VERSION, UPDATED): Update.
61989         (@copying): Use @copyright{} and range of years.
61991 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
61993         [BZ #13695]
61994         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
61995         [crti.S not in sysdirs] (generated): Do not append.
61996         [crti.S not in sysdirs] (omit-deps): Likewise.
61997         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
61998         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
61999         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
62000         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
62001         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
62002         Likewise.
62003         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
62004         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
62005         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
62006         * csu/defs.awk: Remove file.
62007         * sysdeps/generic/initfini.c: Likewise.
62008         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
62009         variable.
62010         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
62011         Likewise.
62013 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
62015         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
62016         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
62017         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
62018         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
62019         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
62020         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
62021         <bits/epoll.h>.
62022         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
62023         (__EPOLL_PACKED): Define to empty if not defined by
62024         <bits/epoll.h>.
62025         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
62026         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62027         bits/epoll.h.
62029 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
62031         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
62032         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
62033         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
62034         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
62035         <bits/timerfd.h>.
62036         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
62037         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62038         bits/timerfd.h.
62040 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
62042         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
62043         in C locale.
62044         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62045         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
62046         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
62047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62049 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
62051         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62052         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
62054 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
62056         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
62057         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
62058         defined.
62059         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
62060         Likewise.
62061         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
62062         entry for 2.16.
62064 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
62066         * math/w_acos.c: Use non-signaling floating-point comparisons.
62067         * math/w_acosf.c: Likewise.
62068         * math/w_acosh.c: Likewise.
62069         * math/w_acoshf.c: Likewise.
62070         * math/w_acoshl.c: Likewise.
62071         * math/w_acosl.c: Likewise.
62072         * math/w_asin.c: Likewise.
62073         * math/w_asinf.c: Likewise.
62074         * math/w_asinl.c: Likewise.
62075         * math/w_atanh.c: Likewise.
62076         * math/w_atanhf.c: Likewise.
62077         * math/w_atanhl.c: Likewise.
62078         * math/w_exp2.c: Likewise.
62079         * math/w_exp2f.c: Likewise.
62080         * math/w_exp2l.c: Likewise.
62081         * math/w_j0.c: Likewise.
62082         * math/w_j0f.c: Likewise.
62083         * math/w_j0l.c: Likewise.
62084         * math/w_j1.c: Likewise.
62085         * math/w_j1f.c: Likewise.
62086         * math/w_j1l.c: Likewise.
62087         * math/w_jn.c: Likewise.
62088         * math/w_jnf.c: Likewise.
62089         * math/w_log.c: Likewise.
62090         * math/w_log10.c: Likewise.
62091         * math/w_log10f.c: Likewise.
62092         * math/w_log10l.c: Likewise.
62093         * math/w_log2.c: Likewise.
62094         * math/w_log2f.c: Likewise.
62095         * math/w_log2l.c: Likewise.
62096         * math/w_logf.c: Likewise.
62097         * math/w_logl.c: Likewise.
62098         * math/w_sqrt.c: Likewise.
62099         * math/w_sqrtf.c: Likewise.
62100         * math/w_sqrtl.c: Likewise.
62101         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
62102         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
62103         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
62104         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
62105         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
62107 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
62109         [BZ #9739]
62110         * manual/string.texi (strnlen): Use correct parameter name in
62111         equivalent expression.
62113 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
62115         [BZ #11174]
62116         * manual/users.texi (seteuid): Consistently use neweuid for
62117         argument name.
62119 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
62121         [BZ #13704]
62122         * manual/nss.texi (Services in the NSS configuration): Correct
62123         list of services in example configuration file.
62125 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
62127         [BZ #11322]
62128         * manual/arith.texi: Remove statements about negative zero
62129         behaving identically to zero.
62131 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
62133         [BZ #5993]
62134         * manual/install.texi: Do not document upgrading from libc5.
62136 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
62138         [BZ #4596]
62139         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
62141 2012-02-18  David S. Miller  <davem@davemloft.net>
62143         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
62144         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
62145         %o7 across the call.
62146         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
62147         instead.
62148         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
62149         SETUP_PIC_REG_LEAF.
62150         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62151         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
62152         * sysdeps/sparc/crtn.S: Likewise.
62154 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
62156         * aout/Makefile: Remove.
62158 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
62160         [BZ #13058]
62161         * manual/examples/argp-ex1.c (main): Format definition in GNU
62162         style.
62163         * manual/examples/argp-ex2.c (main): Likewise.
62164         * manual/examples/argp-ex3.c (main): Likewise.
62165         * manual/examples/argp-ex4.c (main): Likewise.
62166         * manual/examples/longopt.c (main): Use new-style prototype
62167         definition.
62168         * manual/examples/strncat.c (main): Specify return type and use
62169         (void) for arguments.
62170         * manual/examples/subopt.c (main): Use char **argv argument.
62172 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62174         [BZ #5077]
62175         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
62176         rounding modes.
62178 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
62180         [BZ #6907]
62181         * manual/string.texi (strchr): Change when strchrnul is
62182         recommended.
62184 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
62186         [BZ #174]
62187         * manual/locale.texi (setlocale): Document LOCPATH.
62189 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62191         [BZ #10210]
62192         * manual/process.texi (execle): Move @dots{} before last argument.
62194 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
62196         [BZ #12047]
62197         * manual/charset.texi (Generic Charset Conversion): Fix typo
62198         (LC_TYPE -> LC_CTYPE).
62200 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
62202         [BZ #5805]
62203         * manual/arith.texi (scalbn): Use @var{} on parameter names.
62204         (scalbnf): Likewise.
62205         (scalbnl): Likewise.
62206         (scalbln): Likewise.
62207         (scalblnf): Likewise.
62208         (scalblnl): Likewise.
62209         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
62210         (vwarnx): Likewise.
62211         (verr): Likewise.
62212         (verrx): Likewise.
62213         * manual/filesys.texi (telldir): Use braces around return type.
62214         * manual/llio.texi (mmap): Add space after comma.
62215         (mmap64): Likewise.
62216         * manual/math.texi (jn): Use @var{} on parameter names.
62217         (jnf): Likewise.
62218         (jnl): Likewise.
62219         (yn): Likewise.
62220         (ynf): Likewise.
62221         (ynl): Likewise.
62222         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
62223         line.
62224         * manual/resource.texi (ulimit): Use @dots{} instead of literal
62225         "...".
62226         (sched_get_priority_min): Remove semicolon on @deftypefun line.
62227         (sched_get_priority_max): Likewise.
62228         * manual/signal.texi (sigvec): Add space after comma.
62229         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
62230         names.
62231         (if_indextoname): Likewise.
62232         (if_freenameindex): Likewise.
62233         (sendto): Use ',' instead of '.' in prototype.
62234         * manual/startup.texi (syscall): Use @dots{} instead of literal
62235         "...".
62236         * manual/stdio.texi (__fpending): Separate initial words of
62237         paragraph from @deftypefun line.
62238         * manual/syslog.texi (syslog): Use @dots{} instead of literal
62239         "...".
62240         (vsyslog): Use @var{} on parameter names.
62241         * manual/terminal.texi (stty): Use @var{} on parameter names.
62242         * manual/users.texi (getutmp): Use @var{} on parameter names.
62243         (getutmpx): Likewise.
62245 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62247         [BZ #6884]
62248         * manual/stdio.texi (fopen): Fix typos in description of
62249         ",ccs=STRING".
62251 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
62253         [BZ #4026]
62254         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
62255         get clock_id definition.
62257 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
62259         [BZ #4822]
62260         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
62261         (madvise): Cast every argument to void on its own.
62263 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62265         [BZ #9902]
62266         * manual/startup.texi (Exit Status): Fix typo.
62268 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62270         [BZ #10140]
62271         * manual/examples/argp-ex1.c: Include <stdlib.h>.
62272         * manual/examples/argp-ex2.c: Likewise.
62273         * manual/examples/argp-ex3.c: Likewise.
62275 2012-02-16  Richard Henderson  <rth@redhat.com>
62277         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
62278         * sysdeps/s390/s390-32/initfini.c: Remove.
62279         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
62280         * sysdeps/s390/s390-64/initfini.c: Remove.
62282 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62284         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
62285         compiler output for sysdeps/generic/initfini.c.
62286         * sysdeps/sh/elf/initfini.c: Remove file.
62288 2012-02-16  David S. Miller  <davem@davemloft.net>
62290         [BZ #11494]
62291         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
62293         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
62294         * sysdeps/sparc/crti.S: New file.
62295         * sysdeps/sparc/crtn.S: New file.
62296         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
62297         * sysdeps/sparc/sparc64/Makefile: Likewise.
62299 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
62301         [BZ #3335]
62302         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
62304 2012-02-15  Roland McGrath  <roland@hack.frob.com>
62306         [BZ #4822]
62307         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
62309         * mach/devstream.c (cookie_io_functions_t): Macro removed.
62310         (write, read, close): Likewise.
62311         Patch by Aurelien Jarno <aurelien@aurel32.net>.
62313 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
62315         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
62316         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
62317         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
62318         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
62319         <bits/signalfd.h>.
62320         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
62321         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62322         bits/signalfd.h.
62324 2012-02-14  Marek Polacek  <polacek@redhat.com>
62326         * sysdeps/x86_64/crti.S: New file.
62327         * sysdeps/x86_64/crtn.S: New file.
62328         * sysdeps/x86_64/elf/initfini.c: Remove file.
62330 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
62332         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
62333         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
62334         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
62335         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
62336         <bits/inotify.h>.
62337         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
62338         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62339         bits/inotify.h.
62341 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
62343         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
62344         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
62345         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
62346         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
62347         <bits/eventfd.h>.
62348         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
62349         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62350         bits/eventfd.h.
62352 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
62354         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
62355         __feraiseexcept instead of feraiseexcept.
62357         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
62358         nanosleep invocations.
62359         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
62360         strings, and add error checking for a nanosleep invocations.
62362 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
62364         Replace FSF snail mail address with URLs, as per GNU coding standards.
62365         Most of the snail mail addresses were wrong anyway, and omitting
62366         them makes the source code easier to maintain.  Almost all of the
62367         changes are to license notices and to locale LC_IDENTIFICATION
62368         addresses, except for this one:
62369         * manual/libc.texinfo: In "Published by", give the FSF's URL,
62370         not its snail mail address.
62372 2012-02-09  Richard Henderson  <rth@twiddle.net>
62374         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
62375         of kernel-features.h.
62377         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
62379 2012-02-08  Marek Polacek  <polacek@redhat.com>
62381         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
62382         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
62383         * sysdeps/gnu/_G_config.h: Likewise.
62384         * sysdeps/generic/_G_config.h: Likewise.
62386 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
62388         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
62389         tests.
62390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62392         * sysdeps/powerpc/powerpc32/crti.S: New file.
62393         * sysdeps/powerpc/powerpc32/crtn.S: New file.
62394         * sysdeps/powerpc/powerpc64/crti.S: New file.
62395         * sysdeps/powerpc/powerpc64/crtn.S: New file.
62397         * Makeconfig (have-initfini): Don't set.
62398         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
62399         * configure.in (nopic_initfini): Don't substitute.
62400         * config.h.in (HAVE_INITFINI): Don't #undef.
62401         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
62402         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
62404 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
62406         Support crti.S and crtn.S provided directly by architectures.
62407         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
62408         [crti.S in sysdirs] (omit-deps): Likewise.
62409         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
62410         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
62411         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
62412         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
62413         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
62414         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
62415         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
62416         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
62417         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
62418         compiler output for sysdeps/generic/initfini.c.
62419         * sysdeps/i386/elf/Makefile: Remove file.
62420         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
62422 2012-02-07  Marek Polacek  <polacek@redhat.com>
62424         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
62425         * sysdeps/gnu/_G_config.h: Likewise.
62426         * sysdeps/mach/hurd/_G_config.h: Likewise.
62428 2012-02-07  Marek Polacek  <polacek@redhat.com>
62430         * math/Makefile (tests): Add tst-CMPLX2.
62431         * math/tst-CMPLX2.c: New file.
62433 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
62435         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62437         * math/libm-test.inc (jn_test): Add missing L suffix.
62439 2012-02-06  Marek Polacek  <polacek@redhat.com>
62441         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
62442         * sysdeps/i386/fpu/e_powf.S: Likewise.
62443         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
62444         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
62445         * sysdeps/i386/fpu/e_acosh.S: Likewise.
62446         * sysdeps/i386/fpu/e_pow.S: Likewise.
62447         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
62448         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62449         * sysdeps/i386/fpu/s_expm1.S: Likewise.
62450         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
62451         * sysdeps/i386/fpu/e_log2.S: Likewise.
62452         * sysdeps/i386/fpu/e_log2l.S: Likewise.
62453         * sysdeps/i386/fpu/e_scalb.S: Likewise.
62454         * sysdeps/i386/fpu/e_powl.S: Likewise.
62455         * sysdeps/i386/fpu/s_log1p.S: Likewise.
62456         * sysdeps/i386/fpu/e_log10f.S: Likewise.
62457         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
62458         * sysdeps/i386/fpu/e_logl.S: Likewise.
62459         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
62460         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
62461         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
62462         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
62463         * sysdeps/i386/fpu/e_log2f.S: Likewise.
62464         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62465         * sysdeps/i386/fpu/e_log.S: Likewise.
62466         * sysdeps/i386/fpu/s_cexp.S: Likewise.
62467         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
62468         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
62469         * sysdeps/i386/fpu/e_logf.S: Likewise.
62470         * sysdeps/i386/fpu/e_log10l.S: Likewise.
62471         * sysdeps/i386/fpu/e_atanh.S: Likewise.
62472         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
62473         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
62474         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
62475         * sysdeps/i386/fpu/e_log10.S: Likewise.
62476         * sysdeps/i386/fpu/s_frexp.S: Likewise.
62477         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
62478         * sysdeps/i386/fpu/s_asinh.S: Likewise.
62479         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
62480         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
62481         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
62482         * sysdeps/i386/asm-syntax.h: Likewise.
62483         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
62484         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62485         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
62486         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
62487         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
62488         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
62489         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
62490         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
62491         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
62492         * sysdeps/powerpc/sysdep.h: Likewise.
62493         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
62494         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62496 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
62498         [BZ #411]
62499         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
62501 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
62503         * sysdeps/i386/sysdep.h: Include <features.h>.
62504         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
62505         version.
62507 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
62509         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
62510         Define.
62511         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
62512         LOAD_PIC_REG_STR.
62514 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
62516         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
62517         (SETUP_PIC_REG): Use GET_PC_THUNK.
62518         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
62519         macro.
62521 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
62523         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
62524         for non-PIC compilation.
62525         (SETUP_PIC_REG): Add .p2align directive.
62526         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
62527         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
62528         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
62529         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
62530         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
62531         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
62532         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
62533         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
62534         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
62535         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
62536         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
62537         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
62538         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
62539         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
62540         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
62541         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
62542         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
62543         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
62544         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
62545         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
62546         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
62547         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
62548         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
62549         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
62550         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
62551         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
62552         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
62553         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
62554         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
62555         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
62556         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
62557         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62558         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
62559         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
62560         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
62561         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
62562         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
62563         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
62564         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
62565         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
62566         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
62568 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
62570         * math/tst-CMPLX.c: Include <stdio.h>.
62572 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
62574         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
62575         float.
62576         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
62577         * sysdeps/sparc/bits/mathdef.h: Likewise.
62579 2012-01-31  Marek Polacek  <polacek@redhat.com>
62581         * libio/libio.h: Don't define _PARAMS.
62582         * locale/programs/config.h: Don't define PARAMS.
62583         * stdlib/strtol_l.c: Likewise.
62584         (__strtol_l): Remove PARAMS from the prototype.
62586 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
62588         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
62589         names.  Just use the correct names.  Remove unnecessary wrapper
62590         functions.
62591         * malloc/arena.c: Likewise.
62592         * malloc/hooks.c: Likewise.
62594         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
62595         ARENA_TEST says not to.  Simplify test for creation of a new arena.
62596         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
62598 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
62600         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
62601         into tail calls.
62602         (update_get_addr): New function.
62603         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
62604         GET_ADDR_MODULE parameter.
62606 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
62608         * crypt/cert.c: Remove __STDC__ conditionals.
62609         * crypt/crypt-entry.c: Likewise.
62610         * crypt/crypt_util.c: Likewise.
62611         * libio/filedoalloc.c: Likewise.
62612         * libio/fileops.c: Likewise.
62613         * libio/genops.c: Likewise.
62614         * libio/iofclose.c: Likewise.
62615         * libio/iofdopen.c: Likewise.
62616         * libio/iofopen.c: Likewise.
62617         * libio/iofopen64.c: Likewise.
62618         * libio/iogetdelim.c: Likewise.
62619         * libio/iopopen.c: Likewise.
62620         * libio/obprintf.c: Likewise.
62621         * libio/oldfileops.c: Likewise.
62622         * libio/oldiofclose.c: Likewise.
62623         * libio/oldiofdopen.c: Likewise.
62624         * libio/oldiofopen.c: Likewise.
62625         * libio/oldiopopen.c: Likewise.
62626         * libio/wfiledoalloc.c: Likewise.
62627         * libio/wgenops.c: Likewise.
62628         * locale/programs/xmalloc.c: Likewise.
62629         * misc/syslog.c: Likewise.
62630         * stdio-common/xbug.c: Likewise.
62631         * string/memchr.c: Likewise.
62632         * string/memcmp.c: Likewise.
62633         * string/memrchr.c: Likewise.
62634         * string/rawmemchr.c: Likewise.
62635         * sysdeps/posix/getcwd.c: Likewise.
62636         * time/strftime_l.c: Likewise.
62638 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
62640         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
62641         * config.make.in (config-cflags-sse2avx): Define.
62642         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
62643         Fix typo.
62645 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
62647         * scripts/config.guess: Update from upstream config git repository.
62648         * scripts/config.sub: Likewise.
62650 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
62652         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
62653         (EM_NUM): Update.
62654         (R_TILEPRO_*, R_TILEGX_*): New macros.
62656         * scripts/firstversions.awk: Fix bug in version range handling.
62658         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
62660         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
62662         * include/sys/epoll.h: New file.
62663         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
62664         libc_hidden_def.
62666 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
62668         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
62669         Avoid unnecessary __WORDSIZE == 64 test.
62670         (fmaxf): Use VEX format if possible.
62671         (fmax): Likewise.
62672         (fminf): Likewise.
62673         (fmin): Likewise.
62675         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
62676         * math/math_private.h: Remove libc_fegetround* and
62677         libc_fesetround*.
62678         * sysdeps/i386/configure.in: Check for -msse2avx.
62679         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
62680         also if SSE2AVX is defined.
62681         Remove libc_fegetround* and libc_fesetround*.
62682         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
62683         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
62684         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
62685         of HAS_YMM_USABLE.
62686         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
62687         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
62688         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
62689         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
62690         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
62692         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
62694 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62696         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
62697         size is not set.
62698         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
62700 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
62702         [BZ #13618]
62703         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
62704         relocation.
62705         * Makeconfig (libm): Define.
62706         * elf/Makefile: Add rules to build and run tst-relsort1.
62707         * elf/tst-relsort1.c: New file.
62708         * elf/tst-relsort1mod1.c: New file.
62709         * elf/tst-relsort1mod2.c: New file.
62711 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
62713         * math/s_ldexp.c: Remove __STDC__ conditionals.
62714         * math/s_ldexpf.c: Likewise.
62715         * math/s_ldexpl.c: Likewise.
62716         * math/s_nextafter.c: Likewise.
62717         * math/s_nexttowardf.c: Likewise.
62718         * math/s_significand.c: Likewise.
62719         * math/s_significandf.c: Likewise.
62720         * math/s_significandl.c: Likewise.
62721         * math/w_jnl.c: Likewise.
62722         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
62723         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
62724         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
62725         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
62726         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
62727         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62728         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
62729         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
62730         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62731         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
62732         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
62733         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62734         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
62735         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
62736         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
62737         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
62738         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
62739         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
62740         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
62741         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
62742         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
62743         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
62744         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
62745         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62746         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
62747         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
62748         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
62749         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
62750         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
62751         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
62752         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
62753         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
62754         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
62755         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
62756         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
62757         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
62758         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
62759         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
62760         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
62761         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
62762         * sysdeps/ieee754/k_standard.c: Likewise.
62763         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
62764         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
62765         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
62766         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
62767         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
62768         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
62769         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
62770         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
62771         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
62772         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
62773         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
62774         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
62775         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
62776         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
62777         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
62778         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
62779         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
62780         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
62781         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
62782         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
62783         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
62784         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
62785         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
62786         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
62787         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
62788         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
62789         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
62790         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
62791         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
62792         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
62793         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
62794         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
62795         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
62796         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
62797         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
62798         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
62799         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
62800         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
62801         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
62802         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
62803         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
62804         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
62805         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
62806         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
62807         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
62808         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
62809         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
62810         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
62811         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
62812         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
62813         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
62814         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
62815         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
62816         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
62817         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
62818         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
62819         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
62820         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
62821         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
62822         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
62823         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
62824         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
62825         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
62826         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
62827         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
62828         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
62829         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
62830         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
62831         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
62832         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
62833         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
62834         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
62835         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
62836         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
62837         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
62838         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
62839         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
62840         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
62841         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
62842         * sysdeps/ieee754/s_matherr.c: Likewise.
62843         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
62844         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
62845         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
62846         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
62848 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
62850         * crypt/md5.h: Remove __STDC__ conditionals.
62851         * libio/libioP.h: Likewise.
62852         * locale/programs/config.h: Likewise.
62853         * sysdeps/generic/sysdep.h: Likewise.
62854         * sysdeps/i386/asm-syntax.h: Likewise.
62855         * sysdeps/s390/asm-syntax.h: Likewise.
62856         * sysdeps/unix/sysdep.h: Likewise.
62857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
62858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
62860 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
62862         * libio/libio.h: Remove __STDC__ conditionals.
62863         * malloc/obstack.h: Likewise.
62864         * math/complex.h: Likewise.
62865         * math/math.h: Likewise.
62866         * sysdeps/generic/_G_config.h: Likewise.
62867         * sysdeps/gnu/_G_config.h: Likewise.
62868         * sysdeps/mach/hurd/_G_config.h: Likewise.
62869         * sysdeps/powerpc/bits/mathdef.h: Likewise.
62870         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
62871         * sysdeps/sparc/bits/mathdef.h: Likewise.
62873 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
62875         [BZ #13583]
62876         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
62877         Clean up HAS_* macros.
62878         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
62879         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
62880         possible.
62881         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
62882         HAS_AVX.
62883         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
62884         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
62885         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
62886         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
62887         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
62889 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
62891         * elf/tst-unique3.cc (gets): Remove declaration.
62892         * elf/tst-unique3lib.cc (gets): Likewise.
62893         * elf/tst-unique3lib2.cc (gets): Likewise.
62894         * elf/tst-unique4.cc (gets): Likewise.
62896 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
62898         * include/stdio.h: Add C++ protection.  Add gets declarations and
62899         definitions.
62900         * debug/tst-chk1.c: Don't declare gets here.
62901         * stdio-common/tst-gets.c: Likewise.
62903 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
62905         * posix/glob: Remove directory.
62907 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
62909         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
62911 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
62913         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
62914         of the non-standard EPFNOSUPPORT.
62916 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62918         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
62919         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
62920         ANYWHERE set to 1 only on KERN_NO_SPACE error.
62922 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
62924         * wcsmbs/uchar.h: Test __STDC_VERSION__.
62926 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
62928         * nscd/aicache.c (addhstaiX): Do not cache negative results of
62929         transient errors.
62930         * nscd/grpcache.c (cache_addgr): Likewise.
62931         * nscd/hstcache.c (cache_addhst): Likewise.
62932         * nscd/initgrcache.c (addinitgroupsX): Likewise.
62933         * nscd/pwdcache.c (cache_addpw): Likewise.
62934         * nscd/servicescache.c (cache_addserv): Likewise.
62936 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
62938         * malloc/malloc.c: Various cleanups.
62939         * malloc/hooks.c: Likewise.
62941         * stdlib/Makefile (tests): Add bug-fmtmsg1.
62942         * stdlib/bug-fmtmsg1.c: New file.
62944         * stdlib/fmtmsg.c (init): Add missing unlock.
62945         Patch by Peng Haitao <penght@cn.fujitsu.com>.
62947 2012-01-12  Marek Polacek  <polacek@redhat.com>
62949         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
62950         and _GNU_SOURCE.
62952 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
62954         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
62955         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
62956         macro to ensure uniqueness of label name.
62957         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
62958         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
62960 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
62962         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
62964         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
62965         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
62966         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
62967         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
62969 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
62971         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
62973         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
62974         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
62975         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
62977         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
62979         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
62980         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
62981         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
62982         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
62984         * math/bits/math-finite.h: Add ldexp support.
62986 2012-01-10  Marek Polacek  <polacek@redhat.com>
62988         * locale/programs/localedef.h (show_archive_content): Add noreturn
62989         attribute.
62991 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
62993         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
62995 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
62997         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
62999         * io/Makefile (headers): Add bits/poll2.h.
63001 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
63003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
63004         typo #include statement.
63006 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
63008         * include/sys/cdefs.h: Define __attribute_alloc_size.
63009         * catgets/gencat.c: Add alloc_size attribute and apply consistently
63010         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
63011         * elf/pldd.c: Likewise.
63012         * iconv/iconv_charmap.c: Likewise.
63013         * iconv/iconvconfig.c: Likewise.
63014         * iconv/strtab.c: Likewise.
63015         * locale/programs/locale.c: Likewise.
63016         * locale/programs/localedef.h: Likewise.
63017         * locale/programs/simple-hash.c: Likewise.
63018         * nscd/nscd.h: Likewise.
63019         * nss/makedb.c: Likewise.
63020         * sysdeps/generic/ldconfig.h: Likewise.
63021         * locale/programs/localedef.c: Remove xmalloc prototype.
63022         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
63024 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
63026         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
63027         appropriate.
63029 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
63031         * math/Makefile (tests): Add tst-CMPLX.
63032         * math/tst-CMPLX.c: New file.
63034         * math/complex.h (CMPLXL): Fix typo.
63036         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
63037         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
63038         GLIBC_2.16.
63039         * debug/tst-chk1.c: Add poll and ppoll tests.
63040         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
63041         * include/sys/poll.h: Add hidden proto for ppoll.
63042         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
63043         * sysdeps/mach/hurd/ppoll.c: Likewise.
63044         * io/ppoll.c: Likewise.
63045         * debug/poll_chk.c: New file.
63046         * debug/ppoll_chk.c: New file.
63047         * include/bits/poll2.h: New file.
63048         * io/bits/poll2.h: New file.
63050         [BZ #1350]
63051         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
63053         * configure.in: static is always set to yes.  Remove.
63054         * config.make.in: Don't set build-static.
63055         * Makeconfig: Remove use of build-static.
63056         * dlfcn/Makefile: Likewise.
63057         * elf/Makefile: Likewise.
63058         * math/Makefile: Likewise.
63059         * misc/Makefile: Likewise.
63060         * nptl/Makefile: Likewise.
63061         * sysdeps/mach/hurd/Makefile: Likewise.
63063         * configure.in: PWD_P is not used anymore.
63064         * config.make.in: Remove PWD_P entry.
63066         * configure.in: Remove last remnants of RANLIB.
63067         No need to check for signed size_t anymore.
63068         Don't set libc_commonpagesize and libc_relro_required here for Alpha
63069         and IA-64.
63070         Remove __builtin_expect test because we require at least gcc 3.4.
63071         * aclocal.m4: Likewise.
63073         * wcsmbs/mbrtoc16.c: Implement using towc function.
63074         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
63075         * wcsmbs/wcsmbsload.c: Likewise.
63076         * iconv/gconv_simple.c: Likewise.
63077         * iconv/gconv_int.h: Likewise.
63078         * iconv/gconv_builtin.h: Likewise.
63079         * iconv/iconv_prog.c: Remove CHAR16 handling.
63081         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
63083         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
63085         * configure.in: Remove --with-elf and --enable-bounded options.
63086         Dont set base_machine for ia64.  More non-ELF conditions removed.
63087         Remove testing and setting of leading underscore information.
63088         * config.make.in (build-bounded): Set to no.
63089         * config.h.in: Remove NO_UNDERSCORES entry.
63090         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
63091         them.
63092         * csu/start.c: Remove !NO_UNDERSCORE code.
63093         * locale/localeinfo.h: Likewise.
63094         * sysdeps/generic/machine-gmon.h: Likewise.
63095         * sysdeps/generic/sysdep.h: Likewise.
63096         * sysdeps/i386/sysdep.h: Likewise.
63097         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
63098         * sysdeps/mach/sysdep.h: Likewise.
63099         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63100         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63101         * sysdeps/sh/sysdep.h: Likewise.
63102         * sysdeps/sparc/sparc32/alloca.S: Likewise.
63103         * sysdeps/unix/i386/sysdep.S: Likewise.
63104         * sysdeps/unix/sparc/start.c: Likewise.
63105         * sysdeps/unix/sparc/sysdep.S: Likewise.
63106         * sysdeps/unix/sparc/sysdep.h: Likewise.
63107         * sysdeps/unix/start.c: Likewise.
63108         * sysdeps/unix/x86_64/sysdep.S: Likewise.
63109         * sysdeps/x86_64/sysdep.h: Likewise.
63111 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
63113         [BZ #13553]
63114         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
63115         for non-gcc.
63116         * argp/argp-fmtstream.h: Use const instead __const.
63117         * argp/argp.h: Likewise.
63118         * assert/assert.h: Likewise.
63119         * bits/fenv.h: Likewise.
63120         * bits/sched.h: Likewise.
63121         * bits/sigset.h: Likewise.
63122         * bits/sigthread.h: Likewise.
63123         * catgets/nl_types.h: Likewise.
63124         * conform/data/pthread.h-data: Likewise.
63125         * crypt/crypt-private.h: Likewise.
63126         * crypt/crypt.h: Likewise.
63127         * crypt/crypt_util.c: Likewise.
63128         * ctype/ctype.h: Likewise.
63129         * debug/execinfo.h: Likewise.
63130         * debug/mbsnrtowcs_chk.c: Likewise.
63131         * debug/mbsrtowcs_chk.c: Likewise.
63132         * debug/wcsnrtombs_chk.c: Likewise.
63133         * debug/wcsrtombs_chk.c: Likewise.
63134         * debug/wcstombs_chk.c: Likewise.
63135         * dirent/dirent.h: Likewise.
63136         * dlfcn/dlfcn.h: Likewise.
63137         * elf/neededtest4.c: Likewise.
63138         * grp/grp.h: Likewise.
63139         * gshadow/gshadow.h: Likewise.
63140         * iconv/gconv.h: Likewise.
63141         * iconv/gconv_int.h: Likewise.
63142         * iconv/gconv_simple.c: Likewise.
63143         * iconv/iconv.h: Likewise.
63144         * iconv/loop.c: Likewise.
63145         * iconv/skeleton.c: Likewise.
63146         * include/aio.h: Likewise.
63147         * include/aliases.h: Likewise.
63148         * include/argz.h: Likewise.
63149         * include/arpa/inet.h: Likewise.
63150         * include/assert.h: Likewise.
63151         * include/dirent.h: Likewise.
63152         * include/dlfcn.h: Likewise.
63153         * include/execinfo.h: Likewise.
63154         * include/fcntl.h: Likewise.
63155         * include/fenv.h: Likewise.
63156         * include/glob.h: Likewise.
63157         * include/grp.h: Likewise.
63158         * include/libintl.h: Likewise.
63159         * include/mntent.h: Likewise.
63160         * include/netdb.h: Likewise.
63161         * include/pwd.h: Likewise.
63162         * include/rpc/netdb.h: Likewise.
63163         * include/sched.h: Likewise.
63164         * include/search.h: Likewise.
63165         * include/shadow.h: Likewise.
63166         * include/signal.h: Likewise.
63167         * include/stdio.h: Likewise.
63168         * include/stdlib.h: Likewise.
63169         * include/string.h: Likewise.
63170         * include/sys/socket.h: Likewise.
63171         * include/sys/stat.h: Likewise.
63172         * include/sys/statfs.h: Likewise.
63173         * include/sys/statvfs.h: Likewise.
63174         * include/sys/syslog.h: Likewise.
63175         * include/sys/time.h: Likewise.
63176         * include/sys/uio.h: Likewise.
63177         * include/time.h: Likewise.
63178         * include/unistd.h: Likewise.
63179         * include/utmp.h: Likewise.
63180         * include/wchar.h: Likewise.
63181         * include/wctype.h: Likewise.
63182         * inet/aliases.h: Likewise.
63183         * inet/arpa/inet.h: Likewise.
63184         * inet/netinet/ether.h: Likewise.
63185         * inet/netinet/in.h: Likewise.
63186         * intl/libintl.h: Likewise.
63187         * io/bits/fcntl2.h: Likewise.
63188         * io/fcntl.h: Likewise.
63189         * io/ftw.h: Likewise.
63190         * io/sys/poll.h: Likewise.
63191         * io/sys/stat.h: Likewise.
63192         * io/sys/statfs.h: Likewise.
63193         * io/sys/statvfs.h: Likewise.
63194         * io/utime.h: Likewise.
63195         * libio/bits/stdio.h: Likewise.
63196         * libio/bits/stdio2.h: Likewise.
63197         * libio/libio.h: Likewise.
63198         * libio/libioP.h: Likewise.
63199         * libio/stdio.h: Likewise.
63200         * locale/lc-ctype.c: Likewise.
63201         * locale/locale.h: Likewise.
63202         * login/utmp.h: Likewise.
63203         * malloc/arena.c: Likewise.
63204         * malloc/malloc.c: Likewise.
63205         * malloc/malloc.h: Likewise.
63206         * malloc/mcheck.c: Likewise.
63207         * malloc/mtrace.c: Likewise.
63208         * math/bits/mathcalls.h: Likewise.
63209         * math/fenv.h: Likewise.
63210         * math/math_private.h: Likewise.
63211         * misc/bits/error.h: Likewise.
63212         * misc/bits/syslog.h: Likewise.
63213         * misc/err.h: Likewise.
63214         * misc/error.h: Likewise.
63215         * misc/fstab.h: Likewise.
63216         * misc/mntent.h: Likewise.
63217         * misc/regexp.h: Likewise.
63218         * misc/search.h: Likewise.
63219         * misc/sgtty.h: Likewise.
63220         * misc/sys/mman.h: Likewise.
63221         * misc/sys/syslog.h: Likewise.
63222         * misc/sys/uio.h: Likewise.
63223         * misc/sys/xattr.h: Likewise.
63224         * misc/ttyent.h: Likewise.
63225         * nis/rpcsvc/ypclnt.h: Likewise.
63226         * nss/nss.h: Likewise.
63227         * posix/bits/unistd.h: Likewise.
63228         * posix/fnmatch.h: Likewise.
63229         * posix/glob.h: Likewise.
63230         * posix/sched.h: Likewise.
63231         * posix/spawn.h: Likewise.
63232         * posix/sys/wait.h: Likewise.
63233         * posix/unistd.h: Likewise.
63234         * posix/wordexp.h: Likewise.
63235         * pwd/pwd.h: Likewise.
63236         * resolv/netdb.h: Likewise.
63237         * resource/sys/resource.h: Likewise.
63238         * rt/aio.h: Likewise.
63239         * rt/bits/mqueue2.h: Likewise.
63240         * rt/mqueue.h: Likewise.
63241         * shadow/shadow.h: Likewise.
63242         * signal/signal.h: Likewise.
63243         * socket/send.c: Likewise.
63244         * socket/sendto.c: Likewise.
63245         * socket/sys/socket.h: Likewise.
63246         * stdio-common/printf.h: Likewise.
63247         * stdlib/bits/stdlib.h: Likewise.
63248         * stdlib/fmtmsg.h: Likewise.
63249         * stdlib/monetary.h: Likewise.
63250         * stdlib/stdlib.h: Likewise.
63251         * stdlib/ucontext.h: Likewise.
63252         * streams/stropts.h: Likewise.
63253         * string/argz.h: Likewise.
63254         * string/bits/string2.h: Likewise.
63255         * string/string.h: Likewise.
63256         * string/strings.h: Likewise.
63257         * sunrpc/rpc/auth.h: Likewise.
63258         * sunrpc/rpc/auth_des.h: Likewise.
63259         * sunrpc/rpc/clnt.h: Likewise.
63260         * sunrpc/rpc/netdb.h: Likewise.
63261         * sunrpc/rpc/pmap_clnt.h: Likewise.
63262         * sunrpc/rpc/xdr.h: Likewise.
63263         * sysdeps/generic/inttypes.h: Likewise.
63264         * sysdeps/generic/net/if.h: Likewise.
63265         * sysdeps/generic/sys/swap.h: Likewise.
63266         * sysdeps/gnu/net/if.h: Likewise.
63267         * sysdeps/gnu/utmpx.h: Likewise.
63268         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
63269         * sysdeps/i386/i486/bits/string.h: Likewise.
63270         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
63271         * sysdeps/s390/bits/string.h: Likewise.
63272         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
63273         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
63274         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
63275         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
63276         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
63277         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
63278         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
63279         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
63280         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
63281         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
63282         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
63283         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
63284         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
63285         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
63286         * sysdeps/unix/sysv/linux/readv.c: Likewise.
63287         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
63288         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
63289         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63290         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
63291         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
63292         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
63293         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
63294         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
63295         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
63296         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
63297         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
63298         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
63299         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
63300         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
63301         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
63302         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
63303         * sysvipc/sys/ipc.h: Likewise.
63304         * sysvipc/sys/msg.h: Likewise.
63305         * sysvipc/sys/sem.h: Likewise.
63306         * sysvipc/sys/shm.h: Likewise.
63307         * termios/termios.h: Likewise.
63308         * time/sys/time.h: Likewise.
63309         * time/time.h: Likewise.
63310         * wcsmbs/bits/wchar2.h: Likewise.
63311         * wcsmbs/uchar.h: Likewise.
63312         * wcsmbs/wchar.h: Likewise.
63313         * wctype/wctype.h: Likewise.
63315         [BZ #13551]
63316         * Makeconfig: Remove all but ELF support including AIX support.
63317         * Makerules: Likewise.
63318         * config.h.in: Likewise.
63319         * config.make.in: Likewise.
63320         * configure: Likewise.
63321         * configure.in: Likewise.
63322         * csu/Makefile: Likewise.
63323         * csu/version.c: Likewise.
63324         * debug/Makefile: Likewise.
63325         * dlfcn/Makefile: Likewise.
63326         * elf/Makefile: Likewise.
63327         * extra-lib.mk: Likewise.
63328         * iconv/Makefile: Likewise.
63329         * include/libc-symbols.h: Likewise.
63330         * include/shlib-compat.h: Likewise.
63331         * resolv/Makefile: Likewise.
63332         * resolv/res_libc.c: Likewise.
63333         * rt/Makefile: Likewise.
63334         * sysdeps/i386/asm-syntax.h: Likewise.
63335         * sysdeps/i386/sysdep.h: Likewise.
63336         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
63337         * sysdeps/mach/sysdep.h: Likewise.
63338         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
63339         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
63340         * sysdeps/s390/asm-syntax.h: Likewise.
63341         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63342         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63343         * sysdeps/sh/sysdep.h: Likewise.
63344         * sysdeps/unix/sparc/sysdep.h: Likewise.
63345         * sysdeps/wordsize-32/divdi3.c: Likewise.
63346         * sysdeps/x86_64/sysdep.h: Likewise.
63348         * argp/Versions: Remove _argp_unlock_xxx.
63350         [BZ #13559]
63351         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
63352         * abilist/libBrokenLocale.abilist: Likewise.
63353         * abilist/libanl.abilist: Likewise.
63354         * abilist/libc.abilist: Likewise.
63355         * abilist/libcrypt.abilist: Likewise.
63356         * abilist/libdl.abilist: Likewise.
63357         * abilist/libm.abilist: Likewise.
63358         * abilist/libnsl.abilist: Likewise.
63359         * abilist/libpthread.abilist: Likewise.
63360         * abilist/libresolv.abilist: Likewise.
63361         * abilist/librt.abilist: Likewise.
63362         * abilist/libthread_db.abilist: Likewise.
63363         * abilist/libutil.abilist: Likewise.
63364         * abilist/libnss_db.abilist: New file.
63366         * scripts/abilist.awk: Add support for indirect functions.
63368         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
63370         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
63372         * shlib-versions: Remove entries for ports architectures.
63374         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
63375         files in ports.
63376         * elf/stackguard-macros.h: Remove support for IA-64.
63377         * elf/tst-auditmod1.c: Likewise.
63378         * sysdeps/generic/ldsodefs.h: Likewise.
63380         * sysdeps/unix/sysv/linux/configure.in: Ports should define
63381         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
63382         configure files.
63384         [BZ #13552]
63385         * configure.in: Remove --enable-omitfp support.
63386         * FAQ.in: Adjust.
63387         * config.make.in: Likewise.
63388         * Makeconfig: Likewise.
63389         * manual/install.texi: Likewise.
63391         In case anyone cares, the IA-64 architecture could move to ports.
63392         * sysdeps/ia64/*: Removed.
63393         * sysdeps/unix/sysv/linux/ia64/*: Removed.
63394         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
63396         [BZ #13555]
63397         * configure.in: Remove entries for unsupported architectures.
63399         [BZ #13533]
63400         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
63401         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
63402         routines.
63403         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
63404         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
63405         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
63406         fall back to using wcrtomb.
63407         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
63408         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
63409         renaming.
63410         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
63411         * wcsmbs/tst-c16c32-1.c: New file.
63413         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
63414         local variable.
63416         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
63418         * elf/tst-unique3.cc: Add explicit declaration of gets.
63419         * elf/tst-unique3lib.cc: Likewise.
63420         * elf/tst-unique3lib2.cc: Likewise.
63421         * elf/tst-unique4.cc: Likewise.
63423         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
63425 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
63427         [BZ #13566]
63428         * assert/assert.h (static_assert): Don't define for C++.
63429         * libio/stdio.h (gets): Do declare for C++ <= C++11.
63430         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
63432 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
63434         * iconv/loop.c (single loop): Fix assertion in storing of
63435         remaining bytes.
63437         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
63439 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
63441         * posix/getconf.c: Update copyright year.
63442         * nss/getent.c: Likewise.
63443         * nss/makedb.c: Likewise.
63444         * iconv/iconvconfig.c: Likewise.
63445         * iconv/iconv_prog.c: Likewise.
63446         * elf/ldconfig.c: Likewise.
63447         * elf/pldd.c: Likewise.
63448         * elf/sotruss.ksh: Likewise.
63449         * catgets/gencat.c: Likewise.
63450         * csu/version.c: Likewise.
63451         * elf/ldd.bash.in: Likewise.
63452         * elf/sprof.c (print_version): Likewise.
63453         * locale/programs/locale.c: Likewise.
63454         * locale/programs/localedef.c: Likewise.
63455         * login/programs/pt_chown.c: Likewise.
63456         * nscd/nscd.c (print_version): Likewise.
63457         * debug/xtrace.sh: Likewise.
63458         * malloc/memusage.sh: Likewise.
63459         * malloc/mtrace.pl: Likewise.
63460         * debug/catchsegv.sh: Likewise.
63462 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
63464         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
63465         pure attribute.
63467 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
63469         [BZ #13533]
63470         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
63471         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
63472         transformations.
63473         * iconv/gconv_int.h: Likewise.
63474         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
63475         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
63476         from libc for GLIBC_2.16.
63477         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
63478         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
63479         * wcsmbs/uchar.h: Really define mbstate_t.
63480         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
63481         * wcsmbs/c16rtomb.c: New file.
63482         * wcsmbs/mbrtoc16.c: New file.
63483         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
63484         for C/POSIX locale.
63485         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
63486         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
63488         * wcsmbs/wchar.h: Add missing __restrict.
63490 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
63492         [BZ #13532]
63493         * time/Makefile (routines): Add timespec_get.
63494         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
63495         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
63496         timespec for ISO C11.
63497         * time/timespec_get.c: New file.
63498         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
63499         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
63501         [BZ #13531]
63502         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
63503         * stdlib/stdlib.h: Declare aligned_alloc.
63504         * Versions.def: Add GLIBC_2.16 for libc.
63505         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
63507         [BZ 13527]
63508         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
63509         ISO C11.
63511         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
63512         code.
63514         [BZ #13528]
63515         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
63517         [BZ #13529]
63518         * assert/assert.h (static_assert): Define.
63520         * version.h: Update for 2.16 development version.
63522         [BZ #13526]
63523         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
63524         _ISOC11_SOURCE.
63526         * version.h (RELEASE): Bump for 2.15 release.
63527         * include/features.h (__GLIBC_MINOR__): Bump to 15.
63529         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
63530         Patch by Marek Polacek <mpolacek@redhat.com>.
63532         * bits/byteswap.h: Protect long long constants with __extension__.
63533         * sysdeps/i386/bits/byteswap.h: Likewise.
63534         * sysdeps/ia64/bits/byteswap.h: Likewise.
63535         * sysdeps/s390/bits/byteswap.h: Likewise.
63536         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63538 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63540         [BZ #13540]
63541         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
63542         destination buffer.
63543         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
63545 2011-12-23  Marek Polacek  <polacek@redhat.com>
63547         * elf/dl-addr.c (determine_info): Add inline keyword.
63548         * elf/tst-auditmod4b.c (check_avx): Likewise.
63549         * elf/tst-auditmod6b.c (check_avx): Likewise.
63550         * elf/tst-auditmod6c.c (check_avx): Likewise.
63551         * elf/tst-auditmod7b.c (check_avx): Likewise.
63553 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
63555         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
63556         !__SSE_MATH__.
63558 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63560         [BZ #13540]
63561         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
63562         processing for last bytes.
63564 2011-08-06  Bruno Haible  <bruno@clisp.org>
63566         [BZ #13061]
63567         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
63568         U+0385, not to U+1FEE.
63570         [BZ #13062]
63571         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
63572         entry for U+00A5 U+0301.
63574 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
63576         [BZ #13166]
63577         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
63578         buffer for the output is too small.
63580         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
63581         optimization.
63583         [BZ #13185]
63584         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
63585         SSE flags if possible.
63587 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63589         [BZ #13540]
63590         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
63591         processing for last bytes.
63593 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
63595         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
63596         (syscall-list-default-options, syscall-list-default-condition)
63597         (syscall-list-includes): Define.
63598         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
63599         list of ABIs and options and #if conditions for each ABI.  Do not
63600         handle common syscalls between ABIs specially.
63601         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
63602         Remove.
63603         (syscall-list-variants, syscall-list-32bit-options)
63604         (syscall-list-32bit-condition, syscall-list-64bit-options)
63605         (syscall-list-64bit-condition): Define.
63606         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
63607         (syscall-list-variants, syscall-list-32bit-options)
63608         (syscall-list-32bit-condition, syscall-list-64bit-options)
63609         (syscall-list-64bit-condition): Define.
63610         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
63611         Remove.
63612         (syscall-list-variants, syscall-list-32bit-options)
63613         (syscall-list-32bit-condition, syscall-list-64bit-options)
63614         (syscall-list-64bit-condition): Define.
63615         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
63616         Remove.
63617         (syscall-list-variants, syscall-list-32bit-options)
63618         (syscall-list-32bit-condition, syscall-list-64bit-options)
63619         (syscall-list-64bit-condition): Define.
63621 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
63623         * locale/iso-639.def: Add brx entry.
63625         [BZ #13328]
63626         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
63627         Proposed by Mariusz_Cukr <marcukr@op.pl>.
63629         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
63630         __feraiseexcept_renamed.
63632 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
63634         [BZ #13538]
63635         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
63636         EPOLLET with unsigned values.
63637         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
63638         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
63640         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
63641         to large cancellation.
63642         * math/s_cacoshf.c: Likewise.
63643         * math/s_cacoshl.c: Likewise.
63645 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
63647         [BZ #13305]
63648         [BZ #12786]
63649         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
63650         * math/s_cacoshf.c: Likewise.
63651         * math/s_cacoshl.c: Likewise.
63653 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
63655         [BZ #13439]
63656         * iconv/gconv.h: Define __GCONV_SWAP.
63657         * iconvdata/unicode.c: The swap bit must be stored in __flags.
63658         * iconvdata/utf-16.c: Likewise.
63659         * iconvdata/utf-32.c: Likewise.
63661 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
63663         [BZ #13524]
63664         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
63665         numerator after shifting it by one limb.
63667 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
63669         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
63670         under [__USE_EXTERN_INLINES].
63672 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
63674         [BZ #13446]
63675         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
63677 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63679         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
63680         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
63681         optimized code.
63682         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
63683         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
63684         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
63685         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
63686         for strncasecmp/strncasecmp_l compilation.
63687         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
63688         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
63690 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
63692         [BZ #13484]
63693         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
63694         of __asm__.
63696 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
63698         [BZ #13506]
63699         * time/tzfile.c (__tzfile_read): Check values from file header.
63701 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
63703         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
63704         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
63705         * powerpc/powerpc32/dl-start.S: Likewise.
63706         * powerpc/powerpc32/elf/start.S: Likewise.
63707         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
63708         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
63709         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
63710         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
63711         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
63712         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
63713         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
63714         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
63715         * powerpc/powerpc32/fpu/s_round.S: Likewise.
63716         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
63717         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
63718         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
63719         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
63720         * powerpc/powerpc32/memset.S: Likewise.
63721         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
63722         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
63723         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
63724         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
63725         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
63726         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
63727         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
63728         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
63729         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
63730         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
63731         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
63732         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
63733         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
63735 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63737         * math/libm-test.inc: Added more nearbyint tests.
63738         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
63739         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
63740         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
63741         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
63743 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
63745         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
63746         FD_CLOEXEC.
63748 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63750         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
63751         Add wcscpy-ssse3 wcscpy-c.
63752         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
63753         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
63754         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
63755         * sysdeps/x86_64/wcschr.S: New file.
63756         * sysdeps/x86_64/wcsrchr.S: New file.
63757         * string/test-strcmp.c: Remove checking of wcscmp function for
63758         wrong alignments.
63759         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
63760         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
63761         wcsrchr-sse2 wcsrchr-c.
63762         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
63763         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
63764         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
63765         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
63766         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
63767         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
63768         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
63769         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
63770         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
63771         * wcsmbc/wcschr.c (WCSCHR): New macro.
63773 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63775         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
63776         * wcsmbs/test-wcsrchr.c: New file.
63777         * string/test-strrchr.c: Add wcsrchr support.
63778         (WIDE): New macro.
63779         * wcsmbs/test-wcscpy.c: New file.
63780         * string/test-strcpy.c: Add wcscpy support.
63781         (WIDE): New macro.
63783 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
63785         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
63786         the inner loop.
63788 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
63790         [BZ #13472]
63791         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
63793 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
63795         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
63796         Minor optimizations.
63798         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
63799         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
63800         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
63802 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
63804         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
63805         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
63806         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
63807         for gcc to avoid warnings.
63808         * inet/Makefile (tests): Add tst-checks.
63809         * inet/tst-checks.c: New file.
63811         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
63812         warning.
63814         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
63815         __wmemcmp_sse2.
63817         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
63818         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
63820         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
63822 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
63824         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
63825         problem.
63827         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
63829 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
63831         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
63832         conditional on GCC version.
63833         (__arch_compare_and_exchange_val_8_acq)
63834         (__arch_compare_and_exchange_val_16_acq)
63835         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
63836         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
63837         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
63839 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
63841         * sysdeps/sh/backtrace.c: New file.
63843 2011-12-02  Andreas Schwab  <schwab@redhat.com>
63845         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
63846         parenthesis.
63848 2011-12-01  Andreas Schwab  <schwab@redhat.com>
63850         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
63851         falling back to utime.
63853 2011-11-30  Andreas Schwab  <schwab@redhat.com>
63855         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
63856         expectations for float.
63858 2011-11-29  Andreas Schwab  <schwab@redhat.com>
63860         * locale/weight.h (findidx): Add parameter len.
63861         * locale/weightwc.h (findidx): Likewise.
63862         * posix/fnmatch_loop.c (FCT): Adjust caller.
63863         * posix/regcomp.c (build_equiv_class): Likewise.
63864         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
63865         * posix/regexec.c (check_node_accept_bytes): Likewise.
63866         * string/strcoll_l.c (STRCOLL): Likewise.
63867         * string/strxfrm_l.c (STRXFRM): Likewise.
63869 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
63871         * Makefile.in: Remove CVSOPT handling.
63872         * configure.in: Remove use of AC_REVISION.
63873         * iconvdata/Makefile (distribute): No need to filter out CVS.
63874         * scripts/list-sources.sh: Remove CVS, subversion and monotone
63875         handling.
63877 2011-11-16  Andreas Schwab  <schwab@redhat.com>
63879         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
63880         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
63881         [USE_AS_STRNCASECMP_L]: Likewise.
63882         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
63883         NO_TLS_DIRECT_SEG_REFS.
63884         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
63885         Fix argument offsets for non-PIC.
63886         [USE_AS_STRNCASECMP_L]: Likewise.
63887         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
63888         NO_TLS_DIRECT_SEG_REFS.
63890 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
63892         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
63893         O_CLOEXEC.
63894         * locale/loadlocale.c (_nl_load_locale): Likewise.
63896 2011-11-15  Andreas Schwab  <schwab@redhat.com>
63898         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
63899         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
63900         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
63901         (SYSCALL_GETTIME): Set errno on error.
63903         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
63904         count references to noai6ai_cached.
63906 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
63908         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
63910         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
63911         FD_CLOEXEC for /proc/self/maps.
63913         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
63914         FD_CLOEXEC for /proc/meminfo.
63916         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
63917         gai.conf.
63919         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
63920         FD_CLOEXEC for given file.
63922         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
63924         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
63925         FD_CLOEXEC for /etc/hosts.
63926         (_gethtent): Likewise.
63928         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
63930         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
63931         cancellation and set FD_CLOEXEC for /etc/netgroup.
63933         * nss/nss_files/files-key.c (search): Don't allow cancellation when
63934         reading /etc/publickey.
63936         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
63937         allow cancellation when reading /etc/group.
63939         * nss/nss_files/files-alias.c (internal_setent): Don't allow
63940         cancellation.
63941         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
63943         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
63944         when using data file.
63946         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
63948         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
63949         (write_nis_obj): Use "c" and "e" in fopen.
63951         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
63953         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
63955         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
63957         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
63959         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
63960         locale.alias.
63962         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
63964         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
63966         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
63968         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
63969         file parsing and set FD_CLOEXEC.
63971 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
63973         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
63975 2011-11-14  Andreas Schwab  <schwab@redhat.com>
63977         * malloc/arena.c (arena_get2): Don't call reused_arena when
63978         _int_new_arena failed.
63980 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
63982         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
63983         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
63984         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
63985         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
63986         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
63987         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
63988         to compile strcasecmp and strncasecmp.
63989         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
63990         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
63992         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
63994 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
63996         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
63997         locale-defines.sym to gen-as-const-headers.
63998         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
63999         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
64000         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
64001         to compile strcasecmp and strncasecmp.
64002         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
64003         strcasecmp_l and strncasecmp_l.
64004         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
64005         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
64006         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
64007         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
64008         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
64009         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
64010         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
64011         * sysdeps/i386/i686/multiarch/strncase.S: New file.
64012         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
64013         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
64014         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
64016 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
64018         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
64019         result of SYSDEP_GETTIME_CPU to retval.
64020         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
64021         parameter list to macro.  Remove trailing semicolon.  Adjust users.
64023         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
64024         variable.
64026         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
64027         mantissa words.
64028         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
64030         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
64031         from unused variable.
64033         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
64034         DWARF definitions.
64035         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
64036         for assembling.
64038         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
64039         over namespaces.
64041         * sunrpc/rpc_prot.c (rejected): Fix case value.
64043         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
64044         unsigned long long int to avoid warnings in shift.
64046         * posix/regex_internal.c (re_string_reconstruct): Actually use result
64047         of use of trans.
64048         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
64049         variable tmp.
64051         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
64052         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
64053         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
64055         * nis/nis_table.c (nis_list): Use variable of correct type for
64056         result of __follow_path call.
64058 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64060         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
64061         of math functions ceil, trunc, floor, round, and sqrt, when
64062         avaliable on the platform.
64063         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
64064         name clash.
64065         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
64066         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
64067         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
64069 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
64071         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
64072         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
64074 2011-11-11  Roland McGrath  <roland@hack.frob.com>
64076         * include/unistd.h: Fix __readlink return type.
64077         Reported by Chris Metcalf <cmetcalf@tilera.com>.
64079 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
64081         * stdlib/ucontext.h: Undo last change for makecontext.
64083 2011-11-11  Andreas Schwab  <schwab@redhat.com>
64085         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
64087         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
64088         * setjmp/setjmp.h: Mark functions as non-leaf.
64089         * setjmp/bits/setjmp2.h: Likewise.
64090         * stdlib/ucontext.h: Likewise.
64092 2011-11-10  Andreas Schwab  <schwab@redhat.com>
64094         * malloc/arena.c (_int_new_arena): Don't increment narenas.
64095         (reused_arena): Don't check arena limit.
64096         (arena_get2): Atomically check arena limit.
64098 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
64100         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
64101         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
64103         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
64104         instructions.
64106 2011-11-07  Andreas Schwab  <schwab@redhat.com>
64108         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
64109         handler when locking.
64111         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
64112         Fix size of allocated buffer.
64114 2011-11-04  Andreas Schwab  <schwab@redhat.com>
64116         [BZ #10103]
64117         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
64118         declarations for long double functions.
64119         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
64121         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
64123 2011-11-03  Andreas Schwab  <schwab@redhat.com>
64125         * nscd/nscd.c (main): Don't start AVC thread until credentials are
64126         installed.
64128         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
64129         is disabled.
64131 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64133         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
64135 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
64137         * include/alloca.h (stackinfo_alloca_round): Define.
64138         (extend_alloca): Use it.
64139         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
64140         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
64141         here.
64143         * scripts/check-local-headers.sh: Ignore libaudit.h.
64145         * nscd/Makefile (extra-objs): Make recursively expanded.
64147 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
64149         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
64150         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
64152         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
64153         * posix/tst-rfc3484-2.c: Likewise.
64154         * posix/tst-rfc3484-3.c: Likewise.
64156         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
64157         process_vm_writev.
64158         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
64159         process_vm_writev.
64160         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
64161         process_vm_writev from libc using GLIBC_2.15 version.
64163         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
64165 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
64167         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
64168         stack usage.
64170 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
64172         [BZ #13367]
64173         * nss/getent.c (initgroups_keys): Show error message in case no group
64174         names are given.
64176         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
64177         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
64178         __bump_nl_timestamp.
64179         * nscd/connections (nscd_init): When host database is served open
64180         netlink socket and request notification about configuration changes.
64181         (main_loop_poll): Track netlink file descriptor and bump timestamp
64182         in case data becomes available.
64183         (main_loop_epoll): Likewise.
64184         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
64185         (database_pers_head): Add extra_data fileds.
64186         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
64187         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
64188         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
64189         Adjust caller.
64190         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
64191         in6ai data, call __free_in6ai.
64192         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
64193         Add -DHAVE_NETLINK.
64194         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
64195         interface information.  Reuse previous data if netlink timestamp
64196         is not changed.
64197         (__bump_nl_timestamp): New function.
64198         (__free_in6ai): New function.
64200 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
64202         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
64203         close_not_cancel_no_status here.
64204         (__check_pf): Reorganize code a bit to not call close twice if OOM.
64206 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
64208         [BZ #13276]
64209         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
64210         return value.
64212         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
64213         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
64214         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
64216 2011-07-03  Andreas Jaeger  <aj@suse.de>
64218         [BZ #10709]
64219         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
64220         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
64221         * math/libm-test.inc (sin_test): Add test case.
64223 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
64225         [BZ #13337]
64226         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
64227         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
64229         * elf/chroot_canon.c (chroot_canon): Cleanups.
64231         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
64233         [BZ #13335]
64234         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
64235         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
64237         * string/test-strchr.c: Make usable for strchrnul testing.
64238         * string/test-strchrnul.c: New file.
64239         * string/Makefile (strop-tests): Add strchrnul.
64241         * po/it.po: Update from translation team.
64242         * po/es.po: Likewise.
64244 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
64246         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
64247         the three constants needed as parameters.  Drop the others.
64248         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
64249         __m128i_strloadu_tolower.
64250         Create and initialize variable zero and use it in all the places
64251         where _mm_setzero_si128 was used.
64253         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
64254         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
64255         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
64256         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
64257         anymore.
64258         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
64259         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
64260         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
64261         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
64262         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
64263         __mpranred, __mptan.
64264         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
64265         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
64266         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
64267         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
64268         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
64269         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
64270         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
64271         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
64272         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
64274 2011-10-28  Andreas Schwab  <schwab@redhat.com>
64276         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
64277         redefine if SHARED.
64278         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
64280         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
64281         wide char related routines to wcsmbs subdir.
64283 2011-10-27  Andreas Schwab  <schwab@redhat.com>
64285         [BZ #13344]
64286         * misc/sys/cdefs.h (__THROWNL): Define.
64287         * posix/unistd.h: Use __THREADNL instead of __THREAD
64288         for memory synchronization functions.
64290 2011-10-26  Roland McGrath  <roland@hack.frob.com>
64292         [BZ #13349]
64293         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
64294         doesn't exist.
64295         * manual/stdio.texi (Obstack Streams): Node removed.
64297 2011-10-26  Andreas Schwab  <schwab@redhat.com>
64299         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
64300         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
64301         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
64303         * math/math_private.h (math_force_eval): Allow non-addressable
64304         arguments.
64305         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
64307 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
64309         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
64310         file is not needed.
64312         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
64313         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
64314         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64315         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64316         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64317         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64318         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64319         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
64320         Add AVX variants.
64321         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
64322         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
64323         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
64324         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
64325         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
64326         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
64327         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
64328         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
64329         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
64330         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
64331         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
64332         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
64333         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
64334         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
64335         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
64336         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
64337         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
64338         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
64339         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
64341         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
64342         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
64344         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
64345         place.  Use VEX encoding when compiling for AVX.
64347 2011-10-25  Andreas Schwab  <schwab@redhat.com>
64349         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
64350         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
64352         * string/test-strchr.c (do_test): Don't generate NUL bytes.
64354 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
64356         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
64357         useless if() expression.
64358         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
64359         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
64360         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
64361         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64362         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
64363         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
64364         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
64365         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
64366         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
64367         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64368         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
64369         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
64370         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
64371         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
64372         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
64373         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
64374         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
64375         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
64376         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
64378         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
64380 2011-10-25  Andreas Schwab  <schwab@redhat.com>
64382         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
64383         condition.
64384         * elf/dl-fini.c (_dl_sort_fini): Likewise.
64386 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
64388         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
64389         .text section.  Avoid duplicate constants.
64390         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
64391         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64392         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
64393         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64394         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64395         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64396         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64397         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64398         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
64399         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
64400         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
64401         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
64402         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
64403         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
64404         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
64405         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
64406         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
64407         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
64408         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
64409         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64410         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
64411         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
64412         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
64413         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
64414         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
64415         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
64416         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
64417         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
64418         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
64419         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
64420         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
64421         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
64422         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
64423         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
64424         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
64425         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
64426         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
64427         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
64428         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
64429         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
64430         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
64431         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
64432         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
64433         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
64434         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
64436 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
64438         * sysdeps/x86_64/dla.h: Move to ...
64439         * sysdeps/x86_64/fpu/dla.h: ...here.
64440         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
64441         situations.  Use __builtin_fma only for gcc 4.6 and up.
64443         * config.make.in: Add have-mfma4 entry.
64444         * configure.in: Substitute libc_cv_cc_fma4.
64445         * math/Makefile (dbl-only-routines): Add sincostab.
64446         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
64447         Use __sincostab not sincos.
64448         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
64449         name is a macro.
64450         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64451         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64452         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64453         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
64454         using __copysign.
64455         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
64456         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
64457         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
64458         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
64459         and __inv.
64460         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
64461         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
64462         __copysign.
64463         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
64464         define aliases when function name is a macro.
64465         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
64466         sysdeps/ieee754/dbl-64/sincos.tbl.
64467         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
64468         fma4-enabled routines.
64469         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
64470         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
64471         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
64472         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
64473         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
64474         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
64475         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
64476         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
64477         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
64478         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
64479         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
64480         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
64481         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
64482         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
64483         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
64484         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
64485         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
64486         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
64487         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
64488         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
64489         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
64490         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
64491         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
64492         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
64493         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
64494         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
64495         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
64496         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
64497         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
64498         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
64500         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
64501         rename.
64502         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64503         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64504         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64505         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64506         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64507         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64508         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64509         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64511 2011-10-24  Andreas Schwab  <schwab@redhat.com>
64513         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
64515 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
64517         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
64519         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
64520         prediction.
64521         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
64523         * string/strnlen.c: Don't define STRNLEN, reverse logic.
64524         Remove unused variable magic_bits.
64525         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
64527         * string/strnlen.c: Define and use STRNLEN macro.
64528         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
64529         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
64530         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
64531         * wcsmbs/wcslen.c: Define and use WCSLEN.
64532         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
64533         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
64534         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
64535         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
64536         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
64537         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
64538         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
64540 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64542         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64543         strnlen-sse2-no-bsf.
64544         Rename strlen-no-bsf to strlen-sse2-no-bsf.
64545         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
64546         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
64547         Add strnlen support.
64548         (USE_AS_STRNLEN): New macro.
64549         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
64550         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
64551         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
64552         * sysdeps/x86_64/wcslen.S: New file.
64554 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
64556         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
64557         XMM-moves are used for copying on small sizes.
64559 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64561         * wcsmbs/Makefile (strop-tests): Add wcschr.
64562         * wcsmbs/test-wcschr.c: New file.
64563         * string/test-strchr.c: Update.
64564         Add wcschr support.
64565         (WIDE): New macro.
64567 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64569         * wcsmbs/Makefile (strop-tests): Add wcslen.
64570         * wcsmbs/test-wcslen.c: New file.
64571         * string/test-strlen.c: Update.
64572         Add wcslen support.
64573         (WIDE): New macro.
64575 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
64577         * po/it.po: Update from translation team.
64579 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64581         * sysdeps/x86_64/wcscmp.S: Update.
64582         Fix wrong comparison semantics.
64583         wcscmp shall use signed comparison not unsigned.
64584         Don't use substraction to avoid overflow bug.
64585         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
64586         * wcsmbc/wcscmp.c: Likewise.
64587         * string/test-strcmp.c: Likewise.
64588         Add new tests to check cases with negative values.
64590 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
64592         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
64593         * sysdeps/x86_64/dla.h: ...here.  New file.
64594         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
64595         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64596         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64597         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64598         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64599         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
64600         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64601         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64602         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64604 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
64606         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
64607         __ynl_finite aliases.
64609 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
64611         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64613         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
64614         define DLA_FMA.
64615         [DLA_FMA] (EMULV): Use DLA_FMA.
64616         [DLA_FMA] (MUL12): Use EMULV.
64617         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
64618         that are not needed.
64619         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64620         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64621         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64622         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64623         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64624         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64625         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64627 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
64629         * math/s_nan.c: Undef __nan.
64630         * math/s_nanf.c: Undef __nanf.
64631         * math/s_nanl.c: Undef __nanl.
64632         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
64633         "math_private.h".
64635 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
64637         * math/s_catan.c: Add branch predictions.
64638         * math/s_catanf.c: Likewise.
64639         * math/s_catanh.c: Likewise.
64640         * math/s_catanhf.c: Likewise.
64641         * math/s_catanhl.c: Likewise.
64642         * math/s_catanl.c: Likewise.
64643         * math/s_cexp.c: Likewise.
64644         * math/s_cexpf.c: Likewise.
64645         * math/s_cexpl.c: Likewise.
64646         * math/s_clog.c: Likewise.
64647         * math/s_clog10.c: Likewise.
64648         * math/s_clog10f.c: Likewise.
64649         * math/s_clog10l.c: Likewise.
64650         * math/s_clogf.c: Likewise.
64651         * math/s_clogl.c: Likewise.
64652         * math/s_csqrt.c: Likewise.
64653         * math/s_csqrtf.c: Likewise.
64654         * math/s_csqrtl.c: Likewise.
64655         * math/s_ctanf.c: Likewise.
64656         * math/s_ctanh.c: Likewise.
64657         * math/s_ctanhf.c: Likewise.
64658         * math/s_ctanhl.c: Likewise.
64659         * math/s_ctanl.c: Likewise.
64661         * math/math_private.h: Define __nan, __nanf, __nanl.
64662         * math/s_cacosh.c: Include <math_private.h>.
64663         * math/s_cacoshl.c: Likewise.
64664         * math/s_casinh.c: Likewise.
64665         * math/s_casinhf.c: Likewise.
64666         * math/s_casinhl.c: Likewise.
64667         * math/s_ccos.c: Rely entire on ccosh.
64668         * math/s_ccosf.c: Rely entire on ccoshf.
64669         * math/s_ccosl.c: Rely entirely on ccoshl.
64670         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
64671         Remove tests for FE_INVALID.
64672         * math/s_ccoshf.c: Likewise.
64673         * math/s_ccoshl.c: Likewise.
64674         * math/s_csin.c: Likewise.
64675         * math/s_csinf.c: Likewise.
64676         * math/s_csinh.c Likewise.
64677         * math/s_csinhf.c: Likewise.
64678         * math/s_csinhl.c: Likewise.
64679         * math/s_csinl.c: Likewise.
64680         * math/s_ctan.c: Likewise.
64681         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
64682         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
64683         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
64685 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
64687         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
64688         compilation problems.
64690         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
64691         __builtin_expect.
64693 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
64695         * sysdeps/i386/configure.in: Test for -mfma4 option.
64696         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
64697         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
64698         COMMON_CPUID_INDEX_80000001.
64699         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
64700         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
64701         use it if FMA3 is not supported.
64702         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
64704         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
64705         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
64707 2011-10-20  Andreas Schwab  <schwab@redhat.com>
64709         [BZ #12892]
64710         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
64711         it would create a cycle with a link time dependency.
64713 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
64715         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
64716         instruction.
64717         * string/Makefile (strop-tests): Add rawmemchr.
64718         * string/test-rawmemchr.c: New file.
64720         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
64721         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
64722         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
64723         when compiling str{,n}casecmp and when AVX is available.  Hook up
64724         new optimized code in initializers.
64726 2011-10-19  Andreas Schwab  <schwab@redhat.com>
64728         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
64729         __feraiseexcept instead of feraiseexcept.
64731 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
64733         * math/math_private.h: Define defaults for libc_fetestexcept and
64734         libc_feupdateenv.
64735         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
64736         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
64737         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
64738         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
64739         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
64740         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
64741         libc_fetestexcept and libc_feupdateenv.
64743         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
64744         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
64745         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
64746         * sysdeps/x86_64/fpu/math_private.h: Define special version of
64747         libc_feholdexcept_setround.
64749         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
64750         Add s_nearbyint-c and s_nearbyintf-c.
64751         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
64752         nearbyintf inlines.
64753         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
64754         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
64755         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
64756         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
64758         * math/math_private.h: Define defaults for libc_fegetround,
64759         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
64760         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
64761         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
64762         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
64763         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
64764         standard functions.
64765         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
64766         Remove comments and hacks for old compiler versions.
64767         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
64768         libc_fegetround, libc_fesetround, libc_feholdexcept, and
64769         libc_feholdexceptl.
64771 2011-10-18  Andreas Schwab  <schwab@redhat.com>
64773         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
64774         (__feraiseexcept_renamed): Add __NTH.
64775         (feraiseexcept): Add __NTH.  Rename local variables to fix
64776         namespace violations.
64778 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
64780         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
64782         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
64784         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
64785         recently added interfaces.
64786         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
64788         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
64789         about macro parameter expansion.
64791         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
64792         __NO_MATH_INLINES is defined.  Cleanups.
64794         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
64795         and __floorf is target has SSE4.1.
64796         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
64797         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
64798         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
64799         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
64801         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
64802         name.
64803         (floorf): Likewise.
64805         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
64807 2011-10-17  Andreas Schwab  <schwab@redhat.com>
64809         * misc/sys/cdefs.h: Fix last change.
64811         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
64812         database lookup.
64814 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
64816         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
64818         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
64819         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64820         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
64821         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
64822         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
64823         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
64824         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
64825         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
64826         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
64827         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
64828         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
64829         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
64830         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
64831         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
64832         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
64833         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
64834         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
64835         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
64836         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
64837         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
64838         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
64839         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
64841         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
64842         ceil, ceilf, floor, floorf.
64844         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
64845         Perform IRELATIVE relocations last.
64847         * elf/do-rel.h: Add another parameter nrelative, replacing the
64848         local variable with the same name.  Change name of the function
64849         to end in Rel or Rela (uppercase).
64850         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
64851         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
64852         elf_dynamic_do_##reloc function.
64854 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
64856         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
64857         is sufficient, at least on modern CPUs.
64859         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
64861         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
64862         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
64864         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
64865         __expl_finite.
64866         * math/bits/math-finite.h: Add entries for exp.
64867         * math/e_expl.c: Add __*_finite alias.
64868         * sysdeps/i386/fpu/e_exp.S: Likewise.
64869         * sysdeps/i386/fpu/e_expf.S: Likewise.
64870         * sysdeps/i386/fpu/e_expl.c: Likewise.
64871         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64872         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
64873         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
64874         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
64875         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
64876         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
64877         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
64879         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
64880         is sufficient, at least on modern CPUs.
64882         * ctype/ctype-info.c (__ctype_init): Define.
64883         * include/ctype.h (__ctype_init): Declare.
64884         (__ctype_b_loc): The variable is always initialized.
64885         (__ctype_toupper_loc): Likewise.
64886         (__ctype_tolower_loc): Likewise.
64887         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
64888         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
64890 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
64892         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
64894         * configure.in: Also look in $cxxmachine/include for C++ system
64895         headers.
64897 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64899         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
64900         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
64901         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
64902         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
64903         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
64904         (USE_AS_WMEMCMP): New macro.
64905         Fixing indents.
64906         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
64907         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
64908         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
64909         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
64910         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64911         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
64912         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
64913         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
64914         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
64915         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
64916         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
64917         (USE_AS_WMEMCMP): New macro.
64918         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
64919         * sysdeps/string/test-memcmp.c: Update.
64920         Fix simple_wmemcmp.
64921         Add new tests.
64922         * wcsmbs/wmemcmp.c: Update.
64923         (WMEMCMP): New macro.
64924         Fix overflow bug.
64926 2011-10-12  Andreas Jaeger  <aj@suse.de>
64928         [BZ #13268]
64929         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
64931 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
64933         * libio/iofwide.c (do_length): Avoid warning.
64935         * ctype/ctype.h (__isctype_f): Add missing __THROW.
64937 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
64939         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
64941         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
64942         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
64943         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
64944         * sysdeps/i386/i686/fpu/e_log.S: New file.
64945         * sysdeps/i386/i686/fpu/e_logf.S: New file.
64946         * sysdeps/i386/i686/fpu/e_logl.S: New file.
64948         * ctype/ctype.h: Add support for inlined isXXX functions when
64949         compiling C++ code.
64951 2011-10-14  Andreas Schwab  <schwab@redhat.com>
64953         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64955         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
64957 2011-10-13  Roland McGrath  <roland@hack.frob.com>
64959         [BZ #13291]
64960         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
64962 2011-10-13  Andreas Schwab  <schwab@redhat.com>
64964         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
64965         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
64966         feraiseexcept.
64968         * sysdeps/x86_64/memrchr.S: Check for zero size.
64970         * string/stratcliff.c: Add memrchr tests.
64972 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64974         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64975         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
64976         rawmemchr-sse2 rawmemchr-sse2-bsf.
64977         * sysdeps/i386/i686/multiarch/memchr.S: New file.
64978         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
64979         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
64980         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
64981         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
64982         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
64983         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
64984         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
64985         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
64986         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
64987         * string/memrchr.c (MEMRCHR): New macro.
64989 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
64991         Add integration with gcc's -ffinite-math-only and optimize wrapper
64992         functions in libm.
64993         * Versions.def: Define GLIBC_2.15 version for libm.
64994         * math/Makefile (headers): Add bits/math-finite.h.
64995         * math/bits/math-finite.h: New file.
64996         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
64997         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
64998         * math/e_acoshl.c: Add __*_finite alias.
64999         * math/e_acosl.c: Likewise.
65000         * math/e_asinl.c: Likewise.
65001         * math/e_atan2l.c: Likewise.
65002         * math/e_atanhl.c: Likewise.
65003         * math/e_coshl.c: Likewise.
65004         * math/e_exp10.c: Likewise.
65005         * math/e_exp10f.c: Likewise.
65006         * math/e_exp10l.c: Likewise.
65007         * math/e_exp2l.c: Likewise.
65008         * math/e_fmodl.c: Likewise.
65009         * math/e_gammal_r.c: Likewise.
65010         * math/e_hypotl.c: Likewise.
65011         * math/e_j0l.c: Likewise.
65012         * math/e_j1l.c: Likewise.
65013         * math/e_jnl.c: Likewise.
65014         * math/e_lgammal_r.c: Likewise.
65015         * math/e_log10l.c: Likewise.
65016         * math/e_log2l.c: Likewise.
65017         * math/e_logl.c: Likewise.
65018         * math/e_powl.c: Likewise.
65019         * math/e_sinhl.c: Likewise.
65020         * math/e_sqrtl.c: Likewise.
65021         * math/e_scalb.c: Completely rewritten and optimized.
65022         * math/e_scalbf.c: Likewise.
65023         * math/e_scalbl.c: Likewise.
65024         * math/w_acos.c: Likewise.
65025         * math/w_acosf.c: Likewise.
65026         * math/w_acosl.c: Likewise.
65027         * math/w_acosh.c: Likewise.
65028         * math/w_acoshf.c: Likewise.
65029         * math/w_acoshl.c: Likewise.
65030         * math/w_asin.c: Likewise.
65031         * math/w_asinf.c: Likewise.
65032         * math/w_asinl.c: Likewise.
65033         * math/w_atan2.c: Likewise.
65034         * math/w_atan2f.c: Likewise.
65035         * math/w_atan2l.c: Likewise.
65036         * math/w_atanh.c: Likewise.
65037         * math/w_atanhf.c: Likewise.
65038         * math/w_atanhl.c: Likewise.
65039         * math/w_exp10.c: Likewise.
65040         * math/w_exp10f.c: Likewise.
65041         * math/w_exp10l.c: Likewise.
65042         * math/w_fmod.c: Likewise.
65043         * math/w_fmodf.c: Likewise.
65044         * math/w_fmodl.c: Likewise.
65045         * math/w_j0.c: Likewise.
65046         * math/w_j0f.c: Likewise.
65047         * math/w_j0l.c: Likewise.
65048         * math/w_j1.c: Likewise.
65049         * math/w_j1f.c: Likewise.
65050         * math/w_j1l.c: Likewise.
65051         * math/w_jn.c: Likewise.
65052         * math/w_jnf.c: Likewise.
65053         * math/w_log.c: Likewise.
65054         * math/w_logf.c: Likewise.
65055         * math/w_logl.c: Likewise.
65056         * math/w_log10.c: Likewise.
65057         * math/w_log10f.c: Likewise.
65058         * math/w_log10l.c: Likewise.
65059         * math/w_log2.c: Likewise.
65060         * math/w_log2f.c: Likewise.
65061         * math/w_log2l.c: Likewise.
65062         * math/w_pow.c: Likewise.
65063         * math/w_powf.c: Likewise.
65064         * math/w_powl.c: Likewise.
65065         * math/w_remainder.c: Likewise.
65066         * math/w_remainderf.c: Likewise.
65067         * math/w_remainderl.c: Likewise.
65068         * math/w_scalb.c: Likewise.
65069         * math/w_scalbf.c: Likewise.
65070         * math/w_scalbl.c: Likewise.
65071         * math/w_sqrt.c: Likewise.
65072         * math/w_sqrtf.c: Likewise.
65073         * math/w_sqrtl.c: Likewise.
65074         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
65075         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
65076         used.
65077         * math/math_private.h: Declare __kernel_standard_f.
65078         * math/w_cosh.c: Remove cruft and optimize a bit.
65079         * math/w_coshf.c: Likewise.
65080         * math/w_coshl.c: Likewise.
65081         * math/w_exp2.c: Likewise.
65082         * math/w_exp2f.c: Likewise.
65083         * math/w_exp2l.c: Likewise.
65084         * math/w_hypot.c: Likewise.
65085         * math/w_hypotf.c: Likewise.
65086         * math/w_hypotl.c: Likewise.
65087         * math/w_lgamma.c: Likewise.
65088         * math/w_lgamma_r.c: Likewise.
65089         * math/w_lgammaf.c: Likewise.
65090         * math/w_lgammaf_r.c: Likewise.
65091         * math/w_lgammal.c: Likewise.
65092         * math/w_lgammal_r.c: Likewise.
65093         * math/w_sinh.c: Likewise.
65094         * math/w_sinhf.c: Likewise.
65095         * math/w_sinhl.c: Likewise.
65096         * math/w_tgamma.c: Likewise.
65097         * math/w_tgammaf.c: Likewise.
65098         * math/w_tgammal.c: Likewise.
65099         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
65100         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65101         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
65102         Minor optimizations.  Pretty printing.  Remove cruft.
65103         * sysdeps/i386/fpu/e_acosf.S: Likewise.
65104         * sysdeps/i386/fpu/e_acosh.S: Likewise.
65105         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65106         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65107         * sysdeps/i386/fpu/e_acosl.c: Likewise.
65108         * sysdeps/i386/fpu/e_asin.S: Likewise.
65109         * sysdeps/i386/fpu/e_asinf.S: Likewise.
65110         * sysdeps/i386/fpu/e_atan2.S: Likewise.
65111         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
65112         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
65113         * sysdeps/i386/fpu/e_atanh.S: Likewise.
65114         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65115         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65116         * sysdeps/i386/fpu/e_exp10.S: Likewise.
65117         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
65118         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
65119         * sysdeps/i386/fpu/e_exp2.S: Likewise.
65120         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
65121         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
65122         * sysdeps/i386/fpu/e_fmod.S: Likewise.
65123         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
65124         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
65125         * sysdeps/i386/fpu/e_hypot.S: Likewise.
65126         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
65127         * sysdeps/i386/fpu/e_log.S: Likewise.
65128         * sysdeps/i386/fpu/e_log10.S: Likewise.
65129         * sysdeps/i386/fpu/e_log10f.S: Likewise.
65130         * sysdeps/i386/fpu/e_log10l.S: Likewise.
65131         * sysdeps/i386/fpu/e_log2.S: Likewise.
65132         * sysdeps/i386/fpu/e_log2f.S: Likewise.
65133         * sysdeps/i386/fpu/e_log2l.S: Likewise.
65134         * sysdeps/i386/fpu/e_logf.S: Likewise.
65135         * sysdeps/i386/fpu/e_logl.S: Likewise.
65136         * sysdeps/i386/fpu/e_pow.S: Likewise.
65137         * sysdeps/i386/fpu/e_powf.S: Likewise.
65138         * sysdeps/i386/fpu/e_powl.S: Likewise.
65139         * sysdeps/i386/fpu/e_remainder.S: Likewise.
65140         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
65141         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
65142         * sysdeps/i386/fpu/e_scalb.S: Likewise.
65143         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65144         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65145         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
65146         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
65147         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
65148         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
65149         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65150         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65151         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
65152         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
65153         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
65154         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
65155         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
65156         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
65157         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
65158         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
65159         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
65160         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65161         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
65162         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
65163         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65164         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
65165         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
65166         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65167         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65168         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
65169         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
65170         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
65171         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
65172         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
65173         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
65174         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
65175         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
65176         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
65177         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
65178         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
65179         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
65180         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
65181         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
65182         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
65183         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
65184         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
65185         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
65186         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
65187         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
65188         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
65189         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
65190         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
65191         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
65192         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
65193         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
65194         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
65195         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
65196         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
65197         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
65198         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
65199         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
65200         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
65201         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
65202         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
65203         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
65204         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
65205         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
65206         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
65207         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
65208         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
65209         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
65210         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
65211         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
65212         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
65213         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
65214         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
65215         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
65216         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
65217         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
65218         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
65219         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
65220         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
65221         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
65222         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
65223         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
65224         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
65225         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
65226         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
65227         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
65228         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
65229         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
65230         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
65231         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
65232         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
65233         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
65234         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
65235         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
65236         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
65237         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
65238         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
65239         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
65240         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65241         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
65242         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65243         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
65244         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
65245         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
65246         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
65247         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
65248         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
65249         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
65250         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
65251         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
65252         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65253         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65254         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65255         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65256         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
65257         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65258         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
65259         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
65260         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
65261         (__isnanf): Likewise.
65262         (__isinf_ns): Likewise.
65263         (__isinf_nsf): Likewise.
65264         (__finite): Likewise.
65265         (__finitef): Likewise.
65266         (__ieee754_sqrt): Define as macro.
65267         (__ieee754_sqrtf): Define as macro.
65268         (__ieee754_sqrtl): Define as macro.
65269         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
65270         inlined copy.
65271         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
65272         __FINITE_MATH_ONLY__ consistent.
65273         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
65275 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
65277         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
65278         of rawmemchr.
65280         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
65282 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
65284         * po/ja.po: Update from translation team.
65286 2011-10-08  Roland McGrath  <roland@hack.frob.com>
65288         * locale/programs/locarchive.c (prepare_address_space): New function.
65289         (create_archive, enlarge_archive, open_archive): Use it.
65291         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
65292         inside [SHARED], where it is used.
65294         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
65296         * nss/getent.c (netgroup_keys): Remove unused variable.
65297         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
65299 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
65301         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
65302         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
65303         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
65304         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
65305         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
65306         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
65307         * math/Makefile (libm-calls): Add s_isinf_ns.
65308         * math/divtc3.c: Use __isinf_nsl instead of isinf.
65309         * math/multc3.c: Likewise.
65310         * math/s_casin.c: Likewise.
65311         * math/s_casinf.c: Likewise.
65312         * math/s_casinl.c: Likewise.
65313         * math/s_ccos.c: Likewise.
65314         * math/s_ccosf.c: Likewise.
65315         * math/s_ccosl.c: Likewise.
65316         * math/s_ctan.c: Likewise.
65317         * math/s_ctanf.c: Likewise.
65318         * math/s_ctanh.c: Likewise.
65319         * math/s_ctanhf.c: Likewise.
65320         * math/s_ctanhl.c: Likewise.
65321         * math/s_ctanl.c: Likewise.
65322         * math/w_fmod.c: Likewise.
65323         * math/w_fmodf.c: Likewise.
65324         * math/w_fmodl.c: Likewise.
65325         * math/w_remainder.c: Likewise.
65326         * math/w_remainderf.c: Likewise.
65327         * math/w_remainderl.c: Likewise.
65328         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
65329         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
65330         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
65331         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
65332         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
65333         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
65334         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
65335         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
65337         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
65338         of the number.
65339         * stdio-common/printf_fphex.c: Likewise.
65340         * stdio-common/printf_size.c: Likewise.
65342         * math/e_exp10.c: Include math_private.h using <...> not "...".
65343         * math/e_exp10f.c: Likewise.
65344         * math/e_exp10l.c: Likewise.
65345         * math/e_exp2l.c: Likewise.
65346         * math/e_j0l.c: Likewise.
65347         * math/e_j1l.c: Likewise.
65348         * math/e_jnl.c: Likewise.
65349         * math/e_lgammal_r.c: Likewise.
65350         * math/e_rem_pio2l.c: Likewise.
65351         * math/e_scalb.c: Likewise.
65352         * math/e_scalbf.c: Likewise.
65353         * math/e_scalbl.c: Likewise.
65354         * math/k_cosl.c: Likewise.
65355         * math/k_sinl.c: Likewise.
65356         * math/k_tanl.c: Likewise.
65357         * math/s_cacoshf.c: Likewise.
65358         * math/s_catan.c: Likewise.
65359         * math/s_catanf.c: Likewise.
65360         * math/s_catanh.c: Likewise.
65361         * math/s_catanhf.c: Likewise.
65362         * math/s_catanhl.c: Likewise.
65363         * math/s_catanl.c: Likewise.
65364         * math/s_ccosh.c: Likewise.
65365         * math/s_ccoshf.c: Likewise.
65366         * math/s_ccoshl.c: Likewise.
65367         * math/s_cexp.c: Likewise.
65368         * math/s_cexpf.c: Likewise.
65369         * math/s_cexpl.c: Likewise.
65370         * math/s_clog.c: Likewise.
65371         * math/s_clog10.c: Likewise.
65372         * math/s_clog10f.c: Likewise.
65373         * math/s_clog10l.c: Likewise.
65374         * math/s_clogf.c: Likewise.
65375         * math/s_clogl.c: Likewise.
65376         * math/s_csin.c: Likewise.
65377         * math/s_csinf.c: Likewise.
65378         * math/s_csinh.c: Likewise.
65379         * math/s_csinhf.c: Likewise.
65380         * math/s_csinhl.c: Likewise.
65381         * math/s_csinl.c: Likewise.
65382         * math/s_csqrt.c: Likewise.
65383         * math/s_csqrtf.c: Likewise.
65384         * math/s_csqrtl.c: Likewise.
65385         * math/s_ctan.c: Likewise.
65386         * math/s_ctanf.c: Likewise.
65387         * math/s_ctanh.c: Likewise.
65388         * math/s_ctanhf.c: Likewise.
65389         * math/s_ctanhl.c: Likewise.
65390         * math/s_ctanl.c: Likewise.
65391         * math/s_ldexp.c: Likewise.
65392         * math/s_ldexpf.c: Likewise.
65393         * math/s_ldexpl.c: Likewise.
65394         * math/s_significand.c: Likewise.
65395         * math/s_significandf.c: Likewise.
65396         * math/s_significandl.c: Likewise.
65397         * math/w_acos.c: Likewise.
65398         * math/w_acosf.c: Likewise.
65399         * math/w_acosh.c: Likewise.
65400         * math/w_acoshf.c: Likewise.
65401         * math/w_acoshl.c: Likewise.
65402         * math/w_acosl.c: Likewise.
65403         * math/w_asin.c: Likewise.
65404         * math/w_asinf.c: Likewise.
65405         * math/w_asinl.c: Likewise.
65406         * math/w_atan2.c: Likewise.
65407         * math/w_atan2f.c: Likewise.
65408         * math/w_atan2l.c: Likewise.
65409         * math/w_atanh.c: Likewise.
65410         * math/w_atanhf.c: Likewise.
65411         * math/w_atanhl.c: Likewise.
65412         * math/w_cosh.c: Likewise.
65413         * math/w_coshf.c: Likewise.
65414         * math/w_coshl.c: Likewise.
65415         * math/w_dremf.c: Likewise.
65416         * math/w_exp10.c: Likewise.
65417         * math/w_exp10f.c: Likewise.
65418         * math/w_exp10l.c: Likewise.
65419         * math/w_exp2.c: Likewise.
65420         * math/w_exp2f.c: Likewise.
65421         * math/w_fmod.c: Likewise.
65422         * math/w_fmodf.c: Likewise.
65423         * math/w_fmodl.c: Likewise.
65424         * math/w_hypot.c: Likewise.
65425         * math/w_hypotf.c: Likewise.
65426         * math/w_hypotl.c: Likewise.
65427         * math/w_j0.c: Likewise.
65428         * math/w_j0f.c: Likewise.
65429         * math/w_j0l.c: Likewise.
65430         * math/w_j1.c: Likewise.
65431         * math/w_j1f.c: Likewise.
65432         * math/w_j1l.c: Likewise.
65433         * math/w_jn.c: Likewise.
65434         * math/w_jnf.c: Likewise.
65435         * math/w_jnl.c: Likewise.
65436         * math/w_lgamma.c: Likewise.
65437         * math/w_lgamma_r.c: Likewise.
65438         * math/w_lgammaf.c: Likewise.
65439         * math/w_lgammaf_r.c: Likewise.
65440         * math/w_lgammal.c: Likewise.
65441         * math/w_lgammal_r.c: Likewise.
65442         * math/w_log.c: Likewise.
65443         * math/w_log10.c: Likewise.
65444         * math/w_log10f.c: Likewise.
65445         * math/w_log10l.c: Likewise.
65446         * math/w_log2.c: Likewise.
65447         * math/w_log2f.c: Likewise.
65448         * math/w_log2l.c: Likewise.
65449         * math/w_logf.c: Likewise.
65450         * math/w_logl.c: Likewise.
65451         * math/w_pow.c: Likewise.
65452         * math/w_powf.c: Likewise.
65453         * math/w_powl.c: Likewise.
65454         * math/w_remainder.c: Likewise.
65455         * math/w_remainderf.c: Likewise.
65456         * math/w_remainderl.c: Likewise.
65457         * math/w_scalb.c: Likewise.
65458         * math/w_scalbf.c: Likewise.
65459         * math/w_scalbl.c: Likewise.
65460         * math/w_sinh.c: Likewise.
65461         * math/w_sinhf.c: Likewise.
65462         * math/w_sinhl.c: Likewise.
65463         * math/w_sqrt.c: Likewise.
65464         * math/w_sqrtf.c: Likewise.
65465         * math/w_sqrtl.c: Likewise.
65466         * math/w_tgamma.c: Likewise.
65467         * math/w_tgammaf.c: Likewise.
65468         * math/w_tgammal.c: Likewise.
65470         * po/ja.po: Update from translation team.
65472 2011-09-29  Andreas Jaeger  <aj@suse.de>
65474         [BZ #13179]
65475         * sunrpc/netname.c (netname2host): Fix logic.
65477         [BZ #6779]
65478         [BZ #6783]
65479         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
65480         correctly.
65481         * math/w_remainder.c (__remainder): Likewise.
65482         * math/w_remainderf.c (__remainderf): Likewise.
65483         * math/libm-test.inc (remainder_test): Add test cases.
65485 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65487         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
65488         sdiv_qrnnd.
65490 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
65492         * string/test-memcmp.c: Avoid unncessary #defines.
65493         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
65495 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65497         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
65498         Use new sse2 version for core i3 - i7 as it's faster
65499         than sse42 version.
65500         (bit_Prefer_PMINUB_for_stringop): New.
65501         * sysdeps/x86_64/rawmemchr.S: Update.
65502         Replace with faster SSE2 version.
65503         * sysdeps/x86_64/memrchr.S: New file.
65504         * sysdeps/x86_64/memchr.S: Update.
65505         Replace with faster SSE2 version.
65507 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
65509         * elf/dl-load.c (lose): Add cast to avoid warning.
65511 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
65513         * po/ca.po: Update from translation team.
65515         * inet/getnetgrent_r.c: Hook up nscd.
65516         * nscd/Makefile (routines): Add nscd_netgroup.
65517         (nscd-modules): Add netgroupcache.
65518         (CFLAGS-netgroupcache.c): Define.
65519         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
65520         (cache_search): Add const to second parameter.
65521         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
65522         INNETGR.
65523         (dbs): Add netgrdb entry.
65524         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
65525         (verify_persistent_db): Handle netgrdb.
65526         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
65527         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
65528         GETFDNETGR.
65529         (netgroup_response_header): Define.
65530         (innetgroup_response_header): Define.
65531         (datahead): Add netgroup_response_header and innetgroup_response_header
65532         elements.
65533         * nscd/nscd.conf: Add entries for netgroup cache.
65534         * nscd/nscd.h (dbtype): Add netgrdb.
65535         (_PATH_NSCD_NETGROUP_DB): Define.
65536         (netgroup_iov_disabled): Declare.
65537         (xmalloc, xcalloc, xrealloc): Move declarations here.
65538         (cache_search): Adjust prototype.
65539         Add netgroup-related prototypes.
65540         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
65541         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
65542         (__nscd_innetgr): Declare.
65543         * nscd/selinux.c (perms): Use access_vector_t as element type and
65544         add netgroup-related initializers.
65545         * nscd/netgroupcache.c: New file.
65546         * nscd/nscd_netgroup.c: New file.
65547         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
65548         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
65549         For four parameters use innetgr.
65550         * nss/nss_files/files-init.c: Add definition and callback for netgr.
65551         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
65552         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
65553         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
65555         * nscd/connections.c (register_traced_file): Don't register file
65556         for disabled databases.
65558 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
65560         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
65562         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
65563         from tree and freeing node.
65565 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
65567         * nss/nsswitch.c (__nss_database_lookup): Handle
65568         nss_parse_service_list out of memory case.
65570 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
65572         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
65573         out of memory case.
65575 2011-10-04  Andreas Schwab  <schwab@redhat.com>
65577         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
65578         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
65579         pass it down.
65580         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
65581         elf_machine_rela, elf_machine_lazy_rel.
65582         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
65583         (ELF_DYNAMIC_DO_REL): Likewise.
65584         (ELF_DYNAMIC_DO_RELA): Likewise.
65585         (ELF_DYNAMIC_RELOCATE): Likewise.
65586         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
65587         to ELF_DYNAMIC_DO_REL.
65588         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
65589         (dl_main): In trace mode always set __RTLD_NOIFUNC.
65590         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
65591         elf_machine_rela.
65592         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
65593         skip_ifunc, don't call ifunc function if non-zero.
65594         (elf_machine_rela): Likewise.
65595         (elf_machine_lazy_rel): Likewise.
65596         (elf_machine_lazy_rela): Likewise.
65597         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
65598         (elf_machine_lazy_rel): Likewise.
65599         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
65600         Likewise.
65601         (elf_machine_lazy_rel): Likewise.
65602         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65603         Likewise.
65604         (elf_machine_lazy_rel): Likewise.
65605         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
65606         (elf_machine_lazy_rel): Likewise.
65607         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
65608         (elf_machine_lazy_rel): Likewise.
65609         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
65610         (elf_machine_lazy_rel): Likewise.
65611         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
65612         (elf_machine_lazy_rel): Likewise.
65613         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
65614         (elf_machine_lazy_rel): Likewise.
65615         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
65616         (elf_machine_lazy_rel): Likewise.
65618 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
65620         * nss/nss_files/files-init.c (_nss_files_init): Use static
65621         initialization for all the *_traced_file variables.
65623 2011-09-28  Andreas Schwab  <schwab@redhat.com>
65625         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65627 2011-09-27  Roland McGrath  <roland@hack.frob.com>
65629         [BZ #13226]
65630         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
65632 2011-09-27  Andreas Schwab  <schwab@redhat.com>
65634         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
65635         Reread the line before reparsing it.
65637 2011-09-26  Andreas Schwab  <schwab@redhat.com>
65639         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
65641 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
65642             Maxim Kuvyrkov  <maxim@codesourcery.com>
65643             Joseph Myers  <joseph@codesourcery.com>
65645         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
65646         if needed for __stack_chk_guard.
65648 2011-09-19  Roland McGrath  <roland@hack.frob.com>
65650         * sysdeps/posix/spawni.c (script_execute): Always define it.
65651         It will be optimized away if unused.
65652         (maybe_script_execute): New function.
65653         (__spawni): Call it.
65655         * Makerules: Don't include tls.make.
65656         (config-tls): Always set to thread.
65657         * tls.make.c: File removed.
65659 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
65661         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
65662         * config.make.in (CPPFLAGS-config): New substituted variable.
65664 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
65666         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
65668         [BZ #13192]
65669         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
65670         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
65672 2011-09-15  Roland McGrath  <roland@hack.frob.com>
65674         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
65675         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
65676         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
65677         (CALL_FAIL): Likewise.
65678         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
65679         (CALL_FAIL): Macro removed.
65680         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
65682 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
65684         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
65685         for __FINITE_MATH_ONLY__ == 1.
65687 2011-09-15  Andreas Schwab  <schwab@redhat.com>
65689         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
65690         __ieee754_sqrt instead of sqrt.
65691         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
65692         __ieee754_sqrtf instead of sqrtf.
65693         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
65694         __floorf instead of floorf.
65695         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
65696         __floorf, __truncf instead of floorf, truncf.
65698 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
65700         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
65702         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
65703         __extern_always_inline.
65704         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
65705         32-bit.
65707 2011-09-14  Andreas Schwab  <schwab@redhat.com>
65709         * elf/rtld.c (dl_main): Also relocate in dependency order when
65710         doing symbol dependency testing.
65712 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
65714         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65715         Always define `refsym'.
65717 2011-09-13  Andreas Schwab  <schwab@redhat.com>
65719         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
65720         (__FD_ELT): Renamed from __FDELT.
65721         * misc/bits/select2.h (__FD_ELT): Likewise.
65722         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
65723         __FD_MASK instead of __FDELT, __FDMASK.
65724         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
65725         Likewise.
65726         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
65727         Likewise.
65729         * elf/Makefile (gen-ldd): Fix pattern.
65731         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
65732         (init_tls): Likewise.
65734 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
65736         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
65738 2011-09-12  Andreas Schwab  <schwab@redhat.com>
65740         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
65741         `struct cmsghdr *' instead of `void *'.
65742         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
65743         Likewise.
65745 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
65747         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
65748         if non-absolute.
65749         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
65750         ldd_rewrite_script.
65752 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
65754         * configure.in: Remove --with-tls option.
65755         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
65756         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
65757         out in case it is missing.
65758         * sysdeps/ia64/elf/configure.in: Likewise.
65759         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
65760         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
65761         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
65762         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
65763         * sysdeps/sh/elf/configure.in: Likewise.
65764         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
65765         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
65766         * sysdeps/x86_64/elf/configure.in: Likewise.
65767         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
65768         * sysdeps/mach/hurd/tls.h: Likewise.
65770         [BZ #13067]
65771         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
65773         [BZ #13090]
65774         * configure.in: Fix use of AC_INIT.
65776         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
65778 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
65780         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
65781         __set_errno.
65782         * malloc/hooks.c: Likewise.
65784         [BZ #11929]
65785         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
65786         variables statically.
65787         (narenas): Initialize.
65788         (list_lock): Initialize.
65789         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
65790         initializtion of main_arena and list_lock.  Small cleanups.
65791         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
65792         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
65793         Add initializers to main_arena and mp_.
65794         (malloc_state): Remove pagesize member.  Change all users to use
65795         GLRO(dl_pagesize).
65797         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
65798         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
65799         is always initialized.
65801         * malloc/malloc.c: Removed unused configurations and dead code.
65802         * malloc/arena.c: Likewise.
65803         * malloc/hooks.c: Likewise.
65804         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
65806         * include/tls.h: Removed.  USE___THREAD must always be defined.
65807         * bits/libc-tsd.h: Don't handle !USE___THREAD.
65808         * elf/dl-libc.c: Likewise.
65809         * elf/dl-tsd.c: Likewise.
65810         * include/errno.h: Likewise.
65811         * include/netdb.h: Likewise.
65812         * include/resolv.h: Likewise.
65813         * inet/herrno-loc.c: Likewise.
65814         * inet/herrno.c: Likewise.
65815         * malloc/arena.c: Likewise.
65816         * malloc/hooks.c: Likewise.
65817         * malloc/malloc.c: Likewise.
65818         * resolv/res-state.c: Likewise.
65819         * resolv/res_libc.c: Likewise.
65820         * sysdeps/i386/dl-machine.h: Likewise.
65821         * sysdeps/ia64/dl-machine.h: Likewise.
65822         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
65823         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
65824         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
65825         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
65826         * sysdeps/sh/dl-machine.h: Likewise.
65827         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
65828         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
65829         * sysdeps/unix/i386/sysdep.S: Likewise.
65830         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
65831         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
65832         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
65833         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
65834         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
65835         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
65836         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
65837         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
65838         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65839         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
65840         * sysdeps/unix/x86_64/sysdep.S: Likewise.
65841         * sysdeps/x86_64/dl-machine.h: Likewise.
65842         * tls.make.c: Likewise.
65844         * configure.in: Remove --with-__thread option.  Make tests for
65845         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
65846         tls_model attribute fail if no support is available.  Remove
65847         USE_IN_LIBIO.
65848         * Makeconfig: Adjust for dropped configure option.  All features are
65849         now mandatory.
65850         * Makerules: Likewise.
65851         * Versions.def: Likewise.
65852         * argp/argp-fmtstream.c: Likewise.
65853         * argp/argp-fmtstream.h: Likewise.
65854         * argp/argp-help.c: Likewise.
65855         * assert/assert.c: Likewise.
65856         * config.h.in: Likewise.
65857         * config.make.in: Likewise.
65858         * configure: Likewise.
65859         * configure.in: Likewise.
65860         * csu/Versions: Likewise.
65861         * csu/init.c: Likewise.
65862         * elf/tst-audit2.c: Likewise.
65863         * elf/tst-tls10.c: Likewise.
65864         * elf/tst-tls10.h: Likewise.
65865         * elf/tst-tls11.c: Likewise.
65866         * elf/tst-tls12.c: Likewise.
65867         * elf/tst-tls14.c: Likewise.
65868         * elf/tst-tlsmod11.c: Likewise.
65869         * elf/tst-tlsmod12.c: Likewise.
65870         * elf/tst-tlsmod13.c: Likewise.
65871         * elf/tst-tlsmod13a.c: Likewise.
65872         * elf/tst-tlsmod14a.c: Likewise.
65873         * elf/tst-tlsmod15b.c: Likewise.
65874         * elf/tst-tlsmod16a.c: Likewise.
65875         * elf/tst-tlsmod16b.c: Likewise.
65876         * elf/tst-tlsmod7.c: Likewise.
65877         * elf/tst-tlsmod8.c: Likewise.
65878         * elf/tst-tlsmod9.c: Likewise.
65879         * gmon/gmon.c: Likewise.
65880         * grp/fgetgrent_r.c: Likewise.
65881         * grp/putgrent.c: Likewise.
65882         * hurd/fopenport.c: Likewise.
65883         * include/libc-symbols.h: Likewise.
65884         * include/tls.h: Likewise.
65885         * intl/gettextP.h: Likewise.
65886         * intl/loadinfo.h: Likewise.
65887         * locale/global-locale.c: Likewise.
65888         * locale/localeinfo.h: Likewise.
65889         * mach/devstream.c: Likewise.
65890         * malloc/arena.c: Likewise.
65891         * malloc/set-freeres.c: Likewise.
65892         * misc/err.c: Likewise.
65893         * misc/getttyent.c: Likewise.
65894         * misc/mntent_r.c: Likewise.
65895         * posix/getopt.c: Likewise.
65896         * posix/wordexp.c: Likewise.
65897         * pwd/fgetpwent_r.c: Likewise.
65898         * resolv/Versions: Likewise.
65899         * resolv/res_hconf.c: Likewise.
65900         * shadow/fgetspent_r.c: Likewise.
65901         * shadow/putspent.c: Likewise.
65902         * stdio-common/printf_fphex.c: Likewise.
65903         * stdio-common/tmpfile.c: Likewise.
65904         * stdlib/abort.c: Likewise.
65905         * stdlib/fmtmsg.c: Likewise.
65906         * sunrpc/auth_unix.c: Likewise.
65907         * sunrpc/clnt_perr.c: Likewise.
65908         * sunrpc/clnt_tcp.c: Likewise.
65909         * sunrpc/clnt_udp.c: Likewise.
65910         * sunrpc/clnt_unix.c: Likewise.
65911         * sunrpc/openchild.c: Likewise.
65912         * sunrpc/svc_simple.c: Likewise.
65913         * sunrpc/svc_tcp.c: Likewise.
65914         * sunrpc/svc_udp.c: Likewise.
65915         * sunrpc/svc_unix.c: Likewise.
65916         * sunrpc/xdr.c: Likewise.
65917         * sunrpc/xdr_array.c: Likewise.
65918         * sunrpc/xdr_rec.c: Likewise.
65919         * sunrpc/xdr_ref.c: Likewise.
65920         * sunrpc/xdr_stdio.c: Likewise.
65922 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
65924         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65926 2011-07-03  Andreas Jaeger  <aj@suse.de>
65928         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
65929         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
65930         regenerate with gen-libm-tests.pl.
65932 2010-05-12  Petr Baudis  <pasky@suse.cz>
65934         [BZ #11589]
65935         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
65936         around j0() zero points by switching to j1().
65937         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
65938         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
65939         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
65940         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
65942 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
65944         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
65945         instead of 0.
65946         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
65947         instead of 0.
65948         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
65949         Patch in part by Pavel Roskin <proski@gnu.org>.
65951         [BZ #13138]
65952         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
65953         realloc.
65954         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
65955         Free memory block if necessary.
65957         [BZ #12847]
65958         * libio/genops.c (INTDEF): For string streams the _lock pointer can
65959         be NULL.  Don't lock in this case.
65961 2011-09-09  Roland McGrath  <roland@hack.frob.com>
65963         * elf/elf.h (ELFOSABI_GNU): New macro.
65964         (ELFOSABI_LINUX): Define to that.
65966 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
65968         * string/strncat.c (strncat): Undef the symbol in case it has been
65969         defined in bits/string.h.
65971 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
65973         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
65975         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
65976         link map.
65978 2011-08-17  Andreas Jaeger  <aj@suse.de>
65980         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
65982 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
65983             Ian Lance Taylor  <iant@google.com>
65985         * math/libm-test.inc (lround_test): New testcase.
65986         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
65988 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
65990         * Makefile: Remove support for automatic cvs check-ins.
65991         * Makerules: Likewise.
65992         * config.make.in: Likewise.
65993         * configure.in: Likewise.
65994         * intl/Makefile: Likewise.
65995         * locale/Makefile: Likewise.
65996         * po/Makefile: Likewise.
65997         * posix/Makefile: Likewise.
65998         * sysdeps/gnu/Makefile: Likewise.
65999         * sysdeps/mach/hurd/Makefile: Likewise.
66000         * sysdeps/sparc/sparc32/Makefile: Likewise.
66002         [BZ #13118]
66003         * posix/Makefile (bug-regex32-ENV): Define.
66004         Patch by John Stanley <jpsinthemix@verizon.net>.
66006         * misc/Makefile (headers): Add bits/select2.h.
66007         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
66008         * misc/bits/select2.h: New file.
66009         * include/bits/select2.h: New file.
66010         * debug/Makefile (routines): Add fdelt_chk.
66011         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
66012         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
66013         FD_ISSET.
66014         * debug/fdelt_chk.c: New file.
66016         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
66017         * wcsmbs/test-wmemcmp.c: Likewise.
66018         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
66019         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
66021 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66023         * string/Makefile (strop-tests): Add memcmp.
66024         * string/test-wmemcmp.c: New file.
66025         * string/test-memcmp.c: Add wmemcmp support.
66027 2011-09-08  Roland McGrath  <roland@hack.frob.com>
66029         [BZ #13153]
66030         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
66031         2011-07-19 change.
66033         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
66034         garbage value in a __mach_port_mod_refs call in the cases of the
66035         task-self and thread-self ports.
66037 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66039         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
66041 2011-09-08  Andreas Schwab  <schwab@redhat.com>
66043         * elf/dl-load.c (lose): Check for non-null L.
66045 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
66047         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
66049         * elf/dl-libc.c (dlerror_run): Pass back error code from
66050         dl_catch_error.
66052         [BZ #13123]
66053         * elf/dl-load.c (lose): Free l_origin if it is valid.
66055         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
66056         names.
66057         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
66058         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
66059         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
66060         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
66061         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
66062         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
66064 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66066         * sysdeps/powerpc/fpu/e_hypot.c: New file.
66067         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
66068         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
66069         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
66070         * sysdeps/powerpc/fpu/k_cosf.c: New file.
66071         * sysdeps/powerpc/fpu/k_sinf.c: New file.
66072         * sysdeps/powerpc/fpu/s_cosf.c: New file.
66073         * sysdeps/powerpc/fpu/s_sinf.c: New file.
66074         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
66075         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
66077 2011-08-15  Alan Modra  <amodra@gmail.com>
66079         [BZ #13092]
66080         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
66081         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
66082         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
66083         ppc_mcount to static-only-routines.
66084         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
66085         __mcount_internal.
66086         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
66087         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
66089 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
66091         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
66092         for finite and infinity parameters.
66094 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
66096         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
66097         and add nop instructions for throughput optimization.
66098         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
66100 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
66102         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
66103         aligned copy for power7 with vector-scalar instructions.
66104         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
66106 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
66108         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
66109         AVX check.
66111 2011-09-07  Andreas Schwab  <schwab@redhat.com>
66113         [BZ #13144]
66114         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
66115         last change.
66117 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
66119         * sysdeps/unix/sysv/linux/x86_64/init-first.c
66120         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
66121         syscall wrapper around clock_gettime in __vdso_clock_gettime.
66122         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
66123         clock_gettime.
66125 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
66127         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
66128         Forgot to demangle the pointer.
66130         * sysdeps/i386/sysdep.h: Define atom_text_section.
66131         * sysdeps/x86_64/sysdep.h: Likewise.
66132         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
66133         section with atom_text_section.
66134         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
66135         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
66136         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
66137         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
66138         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
66140         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
66141         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
66142         already be defined.  Change to take two parameters and don't assign
66143         result to variable.  Adjust all users.
66144         Define INTERNAL_GETTIME if not already defined.
66145         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
66146         call.
66147         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
66148         HAVE_CLOCK_GETTIME_VSYSCALL.
66149         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
66151         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
66152         gettimeofday vsyscall, just use time.
66154 2011-09-06  Andreas Schwab  <schwab@redhat.com>
66156         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
66157         <errno.h>.
66159 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
66161         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
66162         syscall on x86-64.
66163         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
66164         syscall.
66165         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
66166         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
66167         syscall if possible.
66169 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
66171         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
66172         e_ident.  Don't pass to find_mapsXX.
66173         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
66175 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66177         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66178         strchr-sse2-no-bsf strrchr-sse2-no-bsf
66179         * sysdeps/x86_64/multiarch/strchr.S: Update.
66180         Check bit_slow_BSF bit.
66181         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
66182         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
66183         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
66185 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
66187         [BZ #13134]
66188         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
66189         before glibc 2.15.
66190         (tryshell): Define.
66191         (__spawni): Change last parameter to be flag.  Test
66192         SPAWN_XFLAGS_USE_PATH flag to use path or not.
66193         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
66194         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
66195         * posix/spawni.c: Likewise.
66196         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
66197         * posix/spawnp.c: Likewise.  Change normal version to use
66198         SPAWN_XFLAGS_USE_PATH.
66199         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
66200         SPAWN_XFLAGS_TRY_SHELL.
66202         [BZ #13150]
66203         * posix/glob.h: Remove gcc 1.x support.
66205         [BZ #13068]
66206         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
66208 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66210         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66211         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
66212         strrchr-sse2-bsf
66213         * sysdeps/i386/i686/multiarch/strchr.S: New file.
66214         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
66215         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
66216         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
66217         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
66218         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
66220 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66222         * sysdeps/x86_64/wcscmp.S: New file.
66224         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
66225         wcscmp-c wcscmp-sse2
66226         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
66227         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
66228         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
66229         * wcsmbs/wcscmp.c: Allow renaming.
66231 2011-09-05  David S. Miller  <davem@davemloft.net>
66233         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
66234         stack slot, rather than the struct return pointer slot.
66235         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
66236         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
66237         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
66238         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
66240 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
66242         * po/ja.po: Update from translation team.
66244         [BZ #13144]
66245         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
66246         kernel in 64-bit binaries.
66248 2011-09-01  David S. Miller  <davem@davemloft.net>
66250         * elf/elf.h (HWCAP_SPARC_*): Move to..
66251         * sysdeps/sparc/sysdep.h: this new file and add new values.
66252         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
66253         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
66254         _DL_HWCAP_COUNT to 24.
66255         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
66256         entries.
66257         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
66258         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
66259         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
66260         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
66261         instead of magic constants.
66262         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66264 2011-08-31  David S. Miller  <davem@davemloft.net>
66266         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
66267         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
66268         Reimplement to do errno handling inline.
66269         (SYSCALL_ERROR_HANDLER): New macro.
66270         (__SYSCALL_STRING): Do not do errno handling in asm.
66271         (__CLONE_SYSCALL_STRING): Delete.
66272         (__INTERNAL_SYSCALL_STRING): Delete.
66273         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
66274         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
66275         (PSEUDO): Reimplement to do errno handling inline.
66276         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
66277         (SYSCALL_ERROR_HANDLER): New macro.
66278         (__SYSCALL_STRING): Do not do errno handling in asm.
66279         (__CLONE_SYSCALL_STRING): Delete.
66280         (__INTERNAL_SYSCALL_STRING): Delete.
66281         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
66282         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
66283         i386.
66284         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
66285         (inline_syscall*): Add 'err' argument.
66286         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
66287         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
66288         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
66289         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
66291         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
66292         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
66294 2011-08-30  Andreas Schwab  <schwab@redhat.com>
66296         * elf/rtld.c (dl_main): Relocate objects in dependency order.
66298 2011-08-29  Jiri Olsa <jolsa@redhat.com>
66300         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
66301         directive.
66303 2011-08-24  David S. Miller  <davem@davemloft.net>
66305         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
66307 2011-08-24  Andreas Schwab  <schwab@redhat.com>
66309         * elf/Makefile: Add rules to build and run unload8 test.
66310         * elf/unload8.c: New file.
66311         * elf/unload8mod1.c: New file.
66312         * elf/unload8mod1x.c: New file.
66313         * elf/unload8mod2.c: New file.
66314         * elf/unload8mod3.c: New file.
66316         * elf/dl-close.c (_dl_close_worker): Reset private search list if
66317         it wasn't used.
66319 2011-08-23  David S. Miller  <davem@davemloft.net>
66321         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
66322         subtract stack bias.
66323         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
66324         %sp not %fp in calculations.
66325         (_JMPBUF_UNWINDS_ADJ): Likewise.
66327         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
66328         (aio_suspend): Call it to force an exception region around the
66329         AIO_MISC_WAIT() invocation.
66331 2011-08-23  Andreas Schwab  <schwab@redhat.com>
66333         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
66334         backslash.
66336 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
66338         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
66339         protection macro.
66340         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
66341         and <dl-machine.h>.
66342         (Elf64_FuncDesc): Remove.
66344 2011-08-22  David S. Miller  <davem@davemloft.net>
66346         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
66347         sigaltstack check, add missing cfi directives.
66348         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
66349         missing cfi directives, and sigaltstack handling.
66351 2011-08-16  Andreas Schwab  <schwab@redhat.com>
66353         [BZ #11724]
66354         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
66355         object is seen twice.
66356         * elf/dl-fini.c (_dl_sort_fini): Likewise.
66358         * elf/Makefile (distribute): Add tst-initorder2.c.
66359         (tests): Add tst-initorder2.
66360         (modules-names): Add tst-initorder2a tst-initorder2b
66361         tst-initorder2c tst-initorder2d.  Add rules to build them.
66362         ($(objpfx)tst-initorder2.out): New rule.
66363         * elf/tst-initorder2.c: New file.
66364         * elf/tst-initorder2.exp: New file.
66366 2011-08-22  Andreas Schwab  <schwab@redhat.com>
66368         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
66370         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
66371         dependencies back to end of function.
66373         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
66374         $(elfobjdir)/ld.so.
66376 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
66378         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
66379         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
66380         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
66381         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
66382         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
66383         of __vdso_gettimeofday.
66384         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
66385         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
66386         attribute_hidden.
66387         (_libc_vdso_platform_setup): Remove initialization of
66388         __vdso_gettimeofday and __vdso_time.
66390 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
66392         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
66393         and fgetc_unlocked.
66394         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
66395         getc_unlocked.
66397         * elf/dl-open.c (add_to_global): Report additions to the global scope
66398         for LD_DEBUG=scopes.
66399         (dl_open_worker): Also print scope of newly loaded dependencies.
66400         (_dl_show_scope): Indicate if there is no scope.
66402         [BZ #13114]
66403         * stdio-common/Makefile (tests): Add bug24.
66404         * stdio-common/bug24.c: New file.
66406 2011-08-19  Andreas Jaeger  <aj@suse.de>
66408         [BZ #13114]
66409         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
66410         non-existant file when using close-on-exec mode.
66412 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
66414         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
66415         the very first instruction.
66417         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
66418         the CFI state in the end.
66419         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
66420         inclusion of dl-trampoline.h.
66421         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
66423 2011-08-19  Andreas Schwab  <schwab@redhat.com>
66425         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
66426         expectations for long double.
66428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
66429         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
66431 2011-08-14  David S. Miller  <davem@davemloft.net>
66433         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
66434         artificual limit depends upon the system page size.
66436 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
66438         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
66439         * resolv/Makefile: Define CFLAGS-libresolv.
66441 2011-08-17  Andreas Schwab  <schwab@redhat.com>
66443         * nss/makedb.c (compute_tables): Make variables used in nested
66444         function static.
66446 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
66448         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
66449         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
66450         if buffer was too small.
66452         * elf/pldd.c (main): Attach to all threads in the process.
66453         Rewrite /proc handling to use *at functions.
66455 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
66457         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
66458         specifies first scope to show.
66459         (dl_open_worker): Update callers.  Move printing scope of new
66460         object to before the relocation.
66461         * elf/rtld.c (dl_main): Update _dl_show_scope call.
66462         * sysdeps/generic/ldsodefs.h: Update declaration.
66464         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
66465         string for the scope number.
66467 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
66469         * nscd/servicescache.c (cache_addserv): Make sure written is always
66470         initialized.
66472 2011-08-14  Roland McGrath  <roland@hack.frob.com>
66474         * sysdeps/i386/i486/bits/atomic.h
66475         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
66476         statement expression, so as to suppress "set but not used" warning.
66477         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
66479         * string/strncat.c (STRNCAT): Use prototype definition.
66481         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
66482         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
66483         -Iprograms here.
66484         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
66485         (localedef-modules): Add localedef.
66486         (locale-modules): Add locale.
66488         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
66489         * elf/rtld.c (dl_main): Invert order of assignment in last change,
66490         to avoid a warning.
66492 2011-08-14  David S. Miller  <davem@davemloft.net>
66494         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
66495         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
66497 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
66499         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
66500         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
66501         * elf/rtld.c (dl_main): Set l_name of vDSO.
66502         Call _dl_show_scope when DL_DEBUG_SCOPES.
66503         (process_dl_debug): Recognize scopes flag and also set it for all.
66504         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
66505         Declare _dl_show_scope.
66507         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
66508         (do_dlopen): Pass caller_dlopen to dl_open.
66509         (__libc_dlopen_mode): Initialize caller_dlopen.
66511         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
66512         of libc.  Make tolower call locale-independent.  Optimize a bit by
66513         using isdigit instead of isalnum.
66514         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
66516 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
66518         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
66519         was a dependency or dynamically loaded.
66521 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
66523         * intl/l10nflist.c: Allow architecture-specific pop function.
66524         * sysdeps/x86_64/l10nflist.c: New file.
66526         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
66527         classification.
66529 2011-08-10  Andreas Schwab  <schwab@redhat.com>
66531         * include/dirent.h: Add libc_hidden_proto for scandirat and
66532         scandirat64.  Don't declare __scandirat64.
66533         * dirent/scandirat.c: Add libc_hidden_def.
66534         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
66535         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
66537 2011-08-10  David S. Miller  <davem@davemloft.net>
66539         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
66540         enum.
66541         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
66542         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
66543         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
66545 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
66547         * Versions.def [libc]: Add GLIBC_2.15.
66548         * dirent/Makefile (routines): Add scandirat and scandirat64.
66549         * dirent/Versions [libc]: Export scandirat and scandirat64 for
66550         GLIBC_2.15.
66551         * dirent/dirent.h: Declare scandirat and scandirat64.
66552         * dirent/scandirat.c: New file.
66553         * dirent/scandirat64.c: New file.
66554         * sysdeps/wordsize-64/scandirat.c: New file.
66555         * sysdeps/wordsize-64/scandirat64.c: New file.
66556         * dirent/opendir.c: Define opendirat.
66557         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
66558         using scandirat.
66559         * dirent/scandir64.c: Adjust for scandir.c change.
66560         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
66561         __scandirat64, and __scandir_cancel_handler.
66562         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
66563         additional parameter and use openat instead of open (outside of ld.so).
66564         Add new __opendir as wrapper around __opendirat.
66565         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
66566         here without requiring old scandirat implementation.
66568 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
66570         * dirent/scandir.c (cancel_handler): Renamed to
66571         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
66572         defined.  Adjust users.
66573         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
66574         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
66576 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
66578         * string/test-string.h (IMPL): Use __STRING to expand name and then
66579         stringify it.
66581         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
66582         of cleanups.
66584 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66586         * string/Makefile: Update.
66587         (strop-tests): Append strncat.
66588         * string/test-wcscmp.c: New file.
66589         New comprehensive test for wcscmp.
66590         * string/test-strcmp.c: Update.
66591         (WIDE): New define.
66593 2011-07-22  Andreas Schwab  <schwab@redhat.com>
66595         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
66596         line.
66598 2011-07-26  Andreas Schwab  <schwab@redhat.com>
66600         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
66601         encoding to ACE if AI_IDN.
66603 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
66605         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
66606         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
66608 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66610         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
66611         Fix overflow bug in strncat.
66612         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
66614         * string/test-strncat.c: Update.
66615         Add new tests for checking overflow bugs.
66617 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66619         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66620         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
66621         * sysdeps/i386/i686/multiarch/strcat.S: New file.
66622         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
66623         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
66624         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
66625         * sysdeps/i386/i686/multiarch/strncat.S: New file.
66626         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
66627         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
66629         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
66630         (USE_AS_STRCAT): Define.
66631         Add strcat and strncat support.
66632         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
66634 2011-07-25  Andreas Schwab  <schwab@redhat.com>
66636         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
66637         __n bigger than INT_MAX+1.
66638         (__strncmp_g): Likewise.
66640 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
66642         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
66643         * libio/stido.h: Likewise.
66645         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
66646         (AF_NFC): Define.
66647         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
66648         (AF_NFC): Define.
66650         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
66651         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
66652         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
66653         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
66654         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
66656         [BZ #13021]
66657         * scripts/test-installation.pl: Don't expect libnss_test1 to be
66658         installed.
66660         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
66661         typo.
66662         (_dl_x86_64_save_sse): Likewise.
66664 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
66666         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
66667         OSXSAVE.
66668         (_dl_x86_64_save_sse): Likewise.
66670         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
66672         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
66674 2011-07-21  Andreas Schwab  <schwab@redhat.com>
66676         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
66677         change.
66678         (_dl_x86_64_save_sse): Use correct AVX check.
66680 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66682         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
66683         bug in strncpy/strncat.
66684         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
66686 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
66688         * string/tester.c (test_strcat): Add tests for different alignments
66689         of source and destination.
66690         (test_strncat): Likewise.
66692 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
66694         [BZ #12852]
66695         * posix/glob.c (glob): Check passed in values before using them in
66696         expressions to avoid some overflows.
66697         (glob_in_dir): Likewise.
66699         [BZ #13007]
66700         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
66701         check for AVX enablement so that we don't crash with old kernels and
66702         new hardware.
66703         * elf/tst-audit4.c: Add same checks here.
66704         * elf/tst-audit6.c: Likewise.
66706         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
66708 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
66710         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
66712 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
66714         * po/cs.po: Update from translation team.
66715         * po/bg.po: Likewise.
66717 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
66719         * misc/sys/cdefs.h: Add support for const attribute.
66720         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
66721         to gnu_dev_{major,minor,makedev} functions.
66723 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
66725         * intl/dcigettext.c (get_output_charset): Add missing bracket.
66727 2011-07-20  Andreas Schwab  <schwab@redhat.com>
66729         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
66730         strlen results.
66732 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66734         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
66735         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
66736         register in order to avoid conflicts with the soft frame pointer
66737         being held in r11 when necessary.
66738         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
66739         (INTERNAL_VSYSCALL_NCS): Likewise.
66741 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
66743         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
66744         * elf/dl-fini.c (_dl_fini): Adjust caller.
66745         * elf/dl-close.c (_dl_close_worker): Likewise.
66746         * sysdeps/generic/ldsodefs.h: Adjust declaration.
66748 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
66750         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
66751         "aux_cache->nlibs < 0".
66753         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
66754         in the reload-count case.
66756 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66758         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66759         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
66760         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
66761         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
66762         * sysdeps/x86_64/multiarch/strcat.S: New file.
66763         * sysdeps/x86_64/multiarch/strncat.S: New file.
66764         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
66765         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
66766         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
66767         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
66768         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
66769         (USE_AS_STRCAT): Define.
66770         Add strcat and strncat support.
66771         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
66772         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
66773         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
66774         * string/strncat.c: Update.
66775         (USE_AS_STRNCAT): Define.
66776         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66777         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
66778         and i7.
66779         * sysdeps/x86_64/multiarch/init-arch.h
66780         (bit_Prefer_PMINUB_for_stringop): New.
66781         (index_Prefer_PMINUB_for_stringop): Likewise.
66782         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
66783         bit_Prefer_PMINUB_for_stringop.
66785 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
66787         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
66788         buffer64.
66789         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
66790         of casting of buffer.
66791         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
66792         buffer32 and buffer64.
66793         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
66794         writes instead of casting of buffer.
66795         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
66796         buffer32.
66797         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
66798         casting of buffer.
66800 2011-07-19  Andreas Schwab  <schwab@redhat.com>
66802         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
66804 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
66806         * nscd/nscd.c (termination_handler): Don't do anything for a database
66807         if it has not yet been initialized.
66809 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
66811         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
66813 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
66815         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
66817 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
66819         * po/nl.po: Update from translation team.
66820         * po/sv.po: Likewise.
66822 2011-07-16  Roland McGrath  <roland@hack.frob.com>
66824         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
66825         now disallowed by GCC.
66827         * configure.in (use-default-link): Default to yes if a test -shared
66828         link meets our qualifications.
66829         * configure: Regenerated.
66831         * config.make.in (output-format): New variable.
66832         * configure.in: Check for ld --print-output-format support.
66833         * configure: Regenerated.
66834         * Makerules ($(common-objpfx)format.lds)
66835         [$(output-format) != unknown]: Just use $(output-format),
66836         instead of the linker-script munging.
66838 2011-07-14  Roland McGrath  <roland@hack.frob.com>
66840         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
66841         of $(common-objpfx)shlib.lds.
66842         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
66844         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
66845         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
66847         * configure.in (-z relro check): Adjust test code to add a large
66848         writable data section after it.
66849         * configure: Regenerated.
66851 2011-07-11  Roland McGrath  <roland@hack.frob.com>
66853         * configure.in (-z relro check): Fix test code to make the variable
66854         truly const.
66855         * configure: Regenerated.
66857 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
66859         * nscd/nscd.h (struct traced_file): Define.
66860         (struct database_dyn): Remove inotify_descr, reset_res, and filename
66861         elements.  Add traced_files.
66862         (inotify_fd): Declare.
66863         (register_traced_file): Declare.
66864         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
66865         (inotify_fd): Export.
66866         (resolv_conf_descr): Remove.
66867         (nscd_init): Move inotify descriptor creation to main.
66868         Don't register files for notification here.
66869         (register_traced_file): New function.
66870         (invalidate_cache): Don't use reset_res to determine whether to call
66871         res_init, go through the list of registered files.
66872         (main_loop_poll): The inotify descriptors are now stored in the
66873         structures for the traced files.
66874         (main_loop_epoll): Likewise
66875         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
66876         to __nss_disable_nscd.
66877         * nscd/cache.c (prune_cache): There is no single inotify descriptor
66878         for a database anymore.  Check the records for all the registered
66879         files instead.
66880         * nss/Makefile (libnss_files-routines): Add files-init.
66881         (libnss_db-routines): Add db-init.
66882         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
66883         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
66884         * nss/nss_db/db-init.c: New file.
66885         * nss/nss_files/files-init.c: New file.
66886         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
66887         __nss_lookup_function.
66888         (__nss_lookup_function): Call nss_load_library.
66889         (nss_load_all_libraries): New function.
66890         (__nss_disable_nscd): Take parameter with callback function for files
66891         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
66892         used for the cached services.
66893         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
66894         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
66895         options for features to all the files in nscd.
66897         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
66899 2011-07-10  Roland McGrath  <roland@hack.frob.com>
66901         * csu/elf-init.c (__libc_csu_init): Comment typo.
66903 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
66905         * po/pl.po: Update from translation team.
66906         * po/ja.po: Likewise.
66907         * po/ru.po: Likewise.
66908         * po/ko.po: Likewise.
66909         * po/fr.po: Likewise.
66911 2011-07-09  Roland McGrath  <roland@hack.frob.com>
66913         * configure.in (.ctors/.dtors header and trailer check):
66914         Use an empirical test on a built program.
66915         * configure: Regenerated.
66917         * configure.in (-z relro check): Use an empirical test on a built DSO.
66918         Detect, but do not require, on ia64.
66919         * configure: Regenerated.
66921         * configure.in (READELF): Find it with AC_CHECK_TOOL.
66922         Update tests that use readelf to use $READELF instead.
66923         * configure: Regenerated.
66925 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
66927         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
66928         if the result is not used.
66930 2011-07-05  Andreas Jaeger  <aj@suse.de>
66932         [BZ#9696]
66933         * stdlib/tst-strtod.c: Add testcase.
66935 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
66937         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
66938         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
66939         The latter has a higher limit.  Take additional parameter to pass to
66940         the new function.
66941         (__pathconf): Pass file to __statfs_link_max.
66942         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
66943         __statfs_link_max.
66944         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
66945         __statfs_link_max.
66947         [BZ #12868]
66948         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
66949         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
66950         Handle Lustre.
66951         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
66952         (__statfs_filesize_max): Likewise.
66953         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
66955 2011-07-05  Andreas Jaeger  <aj@suse.de>
66957         * resolv/res_comp.c (dn_skipname): Remove unused variable.
66959 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
66961         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
66962         `status' variable.
66963         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
66964         Likewise.
66966 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
66968         * Makefile (strop-tests): Add strncat.
66969         * string/test-strncat.c: New file.
66971 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
66973         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
66975 2011-06-21  Andreas Jaeger  <aj@suse.de>
66977         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
66978         Copy rule from iconvdata/Makefile.
66980 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
66982         [BZ #12922]
66983         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
66984         but no long options are defined, just return 'W'.
66986 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
66988         [BZ #9696]
66989         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
66991 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
66993         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
66994         netgroups to read.
66995         (innetgr): Likewise.
66997 2011-07-05  Roland McGrath  <roland@hack.frob.com>
66999         * config.make.in (install_root): Default to $(DESTDIR).
67001 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
67003         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
67005 2011-07-02  Roland McGrath  <roland@hack.frob.com>
67007         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
67009         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
67010         containing directory rather than embedding absolute directory names.
67012         * scripts/check-local-headers.sh: Rewritten using awk.
67013         Match by word, not by line.  Print error messages for matches.
67014         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
67016         * Makerules [shlib-lds-flags empty]:
67017         ($(common-objpfx)libc_pic.opts): New target.
67018         ($(common-objpfx)libc_pic.os.clean): New target.
67019         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
67021         * config.make.in (OBJCOPY): New variable.
67022         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
67023         * configure: Regenerated.
67025         * config.make.in (use-default-link): New variable.
67026         * configure.in (use_default_link): Grok --with-default-link to set it.
67027         * configure: Regenerated.
67028         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
67029         (shlib-lds, shlib-lds-flags): Define to empty.
67031         * Makerules (shlib-lds): New variable.
67032         (shlib-lds-flags): New variable.
67033         (build-shlib, build-moduile, build-module-asneeded): Use it.
67034         ($(common-objpfx)libc.so): Use $(shlib-lds).
67035         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
67036         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
67038         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
67039         DT_FLAGS/DT_FLAGS_1 with zero flags.
67041         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
67042         linker script munging.
67044 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
67046         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
67047         as 128-bit value.
67048         * crypt/sha512.c (sha512_process_block): Perform total addition using
67049         128-bit if possible.
67050         (__sha512_finish_ctx): Likewise.
67051         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
67052         as 64-bit value.
67053         * crypt/sha256.c (SWAP64): Define.
67054         (sha256_process_block): Perform total addition using 64-bit if
67055         possible.
67056         (__sha256_finish_ctx): Likewise.
67058 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
67060         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
67061         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67062         * nscd/hstcache.c (cache_addhst): Likewise.
67063         * nscd/grpcache.c (cache_addgr): Likewise.
67064         * nscd/aicache.c (addhstaiX): Likewise
67065         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
67067 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
67069         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
67070         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67071         * nscd/hstcache.c (cache_addhst): Likewise.
67072         * nscd/grpcache.c (cache_addgr): Likewise.
67073         * nscd/aicache.c (addhstaiX): Likewise
67075 2011-07-01  Andreas Schwab  <schwab@redhat.com>
67077         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
67078         domain only when needed.
67080 2011-06-30  Andreas Schwab  <schwab@redhat.com>
67082         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
67083         is always restored.
67085 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
67087         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
67088         are re-adding the entry.
67089         * nscd/servicescache.c (cache_addserv): Likewise.
67091 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
67093         * sysdeps/generic/dl-irel.h: fix protection against multiple
67094         inclusions.
67095         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
67097 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
67099         [BZ #12935]
67100         * malloc/memusage.sh: Fix quoting in message.
67101         * debug/xtrace.sh: Likewise.
67103         * configure.in: Remove support for --experimental-malloc option, make
67104         it the default.
67105         * config.make.in: Likewise.
67106         * malloc/Makefile: Likewise.
67108 2011-06-27  Andreas Schwab  <schwab@redhat.com>
67110         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
67111         two-byte characters.
67113 2011-06-27  Roland McGrath  <roland@hack.frob.com>
67115         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
67116         AC_CACHE_CHECK invocation.
67117         * configure: Regenerated.
67119         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
67121 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
67123         [BZ #12350]
67124         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
67125         bit from old_res_options.
67127         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
67129         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
67130         value type for setfct.
67132 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
67134         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
67135         __gettimeofday instead of gettimeofday.
67137 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
67139         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
67141 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
67143         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
67145         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
67146         info.
67148 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
67150         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67151         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
67152         strcpy-sse2-unaligned strncpy-sse2-unaligned
67153         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
67154         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
67155         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
67156         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
67157         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
67158         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
67159         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
67160         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
67161         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
67162         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
67163         (STRCPY): Support SSE2 and SSSE3 versions.
67165 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
67167         [BZ #12874]
67168         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
67169         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
67170         kernels which artificially limit size of requests.
67172 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
67174         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67175         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
67176         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
67177         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
67178         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
67179         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
67180         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
67181         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
67182         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
67183         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
67184         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
67185         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
67186         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
67187         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
67188         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
67189         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67190         Enable unaligned load optimization for Intel Core i3, i5 and i7
67191         processors.
67192         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
67193         Define.
67194         (index_Fast_Unaligned_Load): Define.
67195         (HAS_FAST_UNALIGNED_LOAD): Define.
67197 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
67199         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
67201 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
67203         [BZ #12907]
67204         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
67205         until it is clear that the information is realy needed.
67206         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
67208 2011-06-22  Andreas Schwab  <schwab@redhat.com>
67210         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
67212 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
67214         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
67215         /sys/devices/system/cpu/online if it is usable.
67217         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
67218         reading the information from the /proc filesystem to once a second.
67220 2011-06-21  Andreas Jaeger  <aj@suse.de>
67222         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
67223         NULL after inclusion of kernel headers.
67225 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
67227         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
67228         calls to internal_setent.
67230         [BZ #12885]
67231         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
67232         addresses using gethostbyname4_r ignore IPv4 addresses.
67234         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
67235         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
67237         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
67239 2011-06-20  David S. Miller  <davem@davemloft.net>
67241         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
67242         inclusions.
67243         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
67245         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
67246         (elf_irel): Use it.
67247         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
67248         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
67249         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
67250         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
67251         * sysdeps/x86_64/dl-irel.h: Likewise.
67253         * elf/dl-runtime.c: Use elf_ifunc_invoke.
67254         * elf/dl-sym.c: Likewise.
67256 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
67258         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
67259         need to dereference resplen2.
67261 2011-06-14  Andreas Schwab  <schwab@redhat.com>
67263         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
67265 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
67267         * Makeconfig: Define vardbdir and inst_vardbdir.
67268         * nss/Makefile: Add rules to install db-Makefile.
67270         * nss/nss_db/db-XXX.c: Cleanup.
67272         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
67273         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
67274         GLIBC_PRIVATE.
67275         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
67276         * nss/makedb.c: Implement -g option to specify that value strings
67277         are generated and should not be added to table iterated over for
67278         get*ent calls.
67279         * nss/nss_db/db-initgroups.c: New file.
67281         * nss/getent.c: Add support for initgroups lookups through getgrouplist
67282         interface.
67284         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
67285         (internal_getgrouplist): Adjust to name change.
67286         Update use_initgroups_entry if this is not the first call.
67287         * nss/databases.def: Add initgroups entry.
67289         * nss/makedb.c (compute_tables): Check result of multiple hash table
67290         sizes to minimize maximum chain length.
67292 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
67294         * Versions.def: Add entry for libnss_db.
67295         * shlib-versions: Likewise.
67296         * nss/Makefile: Add rules to build libnss_db.
67297         * nss/Versions: Add libnss_db information.  Organize libnss_files
67298         entries better.
67299         * nss/db-Makefile: Add gshadow support.  Change rules for the new
67300         makedb progra.  Some minor improvements to generate smaller files.
67301         * nss/nss_db/nss_db.h: Move NSS database header data structures to
67302         here from...
67303         * nss/makedb.c: ...here.
67304         Improve database format to be smaller and require less memory at
67305         runtime.
67306         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
67307         db anymore.
67308         * nss/nss_db/db-netgrp.c: Likewise.
67309         * nss/nss_db/db-open.c: Likewise.
67310         * nss/nss_files/flies-XXX.x: Adjust comments.
67311         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
67312         * nss/nss_files/files-grp.c: Likewise.
67313         * nss/nss_files/files-hosts.c: Likewise.
67314         * nss/nss_files/files-network.c: Likewise.
67315         * nss/nss_files/files-proto.c: Likewise.
67316         * nss/nss_files/files-pwd.c: Likewise.
67317         * nss/nss_files/files-rpc.c: Likewise.
67318         * nss/nss_files/files-service.c: Likewise.
67319         * nss/nss_files/files-sgrp.c: Likewise.
67320         * nss/nss_files/files-spwd.c: Likewise.
67321         * nss/nss_db/db-alias.c: Removed.
67322         * nss/nss_db/dummy-db.h: Removed.
67324 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
67326         * nss/makedb.c: Rewritten to not use database library.
67327         * nss/Makefile: Update to build new makedb program.
67329 2011-06-14  Andreas Jaeger  <aj@suse.de>
67331         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
67332         memset declaration.
67334 2011-06-10  Andreas Schwab  <schwab@redhat.com>
67336         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
67337         tmpbuf.
67339 2011-06-10  Roland McGrath  <roland@hack.frob.com>
67341         * Makerules (shlib.lds): Fail if the linker script comes out empty.
67342         * elf/Makefile ($(objpfx)ld.so): Likewise.
67344         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
67345         Don't list ld.so twice in dependencies.
67347         * posix/bug-regex31.c: Include <stdlib.h>.
67349         * nscd/hstcache.c (cache_addhst): Remove unused variable.
67351         * nis/nss_compat/compat-spwd.c
67352         (getspent_next_nss_netgr): Remove unused variable.
67353         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
67355         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
67356         nonmembers" output to use the right array.
67358         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
67360         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
67362         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
67363         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
67364         * catgets/gencat.c (read_input_file): Likewise.
67365         * locale/programs/locarchive.c (enlarge_archive): Likewise.
67367         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
67368         variable definition inside #if's controlling its use.
67370         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
67372         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
67374         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
67376         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
67377         unreachable code.
67379         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
67381         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
67382         * configure: Regenerated.
67384         * Makerules: Revert last change.
67385         * elf/Makefile: Likewise.
67387 2011-06-09  Roland McGrath  <roland@hack.frob.com>
67389         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
67390         * elf/Makefile ($(objpfx)librtld.os): Likewise.
67391         (reloc-link): Likewise.
67393 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
67395         * elf/Makefile: Add rules to build pldd.
67396         * elf/pldd.c: New file.
67397         * elf/pldd-xx.c: New file.
67399 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
67401         * version.h: Update for 2.15 development version.
67403 2011-06-07  David S. Miller  <davem@davemloft.net>
67405         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
67406         ifuncs.
67407         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
67408         elf_machine_lazy_rel): Likewise.
67409         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
67410         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
67411         elf_machine_lazy_rel): Likewise.
67412         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
67413         dl_hwcap via passed in argument.
67414         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
67415         Likewise.
67417 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67419         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
67421 2011-06-06  Roland McGrath  <roland@hack.frob.com>
67423         [BZ #12849]
67424         * manual/fdl-1.1.texi: New file, verbatim from:
67425         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
67426         * manual/lgpl-2.1.texi: New file, verbatim from:
67427         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
67428         * manual/Makefile (licenses): New variable, list those new file names.
67429         (texis): Use it.
67430         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
67432         * manual/fdl.texi: File removed.
67433         * manual/lesser.texi: File removed.
67434         * manual/libc.texinfo (Copying, Documentation License):
67435         Use new @include file names, put @appendix directive before @include.
67437 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
67439         [BZ #12841]
67440         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
67441         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
67442         (mq_open): Add __NTH.
67444 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
67446         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67447         Assume Intel Core i3/i5/i7 processor if AVX is available.
67449 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
67451         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
67452         typo.
67454 2011-05-31  Andreas Schwab  <schwab@redhat.com>
67456         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
67457         memory.  Use alloca_account.  Fix memory leak when retrying.
67459 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
67461         * version.h (RELEASE): Bump for 2.14 release.
67462         * include/features.h (__GLIBC_MINOR__): Bump to 14.
67464         * config.make.in (RANLIB): Remove entry.
67466 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
67468         * po/Makefile (po-sed-cmd): Add ksh to extensions.
67469         (libc.pot): Work around missing support for .ksh extension in xgettext.
67471         [BZ #12684]
67472         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
67473         if both request failed.
67474         (send_dg): In case of server errors clear resplen or *resplen2.
67476         [BZ #12454]
67477         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
67478         when there are multiple maps.
67479         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
67480         (_dl_fini): Remove test here.
67482         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
67484 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
67486         [BZ #12350]
67487         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
67488         bit from old_res_options.
67489         (gaih_inet): Likewise.
67491         [BZ #11099]
67492         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
67493         as signed.
67495         * resolv/res_init.c (res_setoptions): Make the code more compact.
67497         [BZ #11558]
67498         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
67499         set RES_USEVC.
67501         [BZ #11634]
67502         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
67504         * malloc/malloc.h: Mark malloc hook variables as deprecated.
67506         [BZ #11781]
67507         * malloc/malloc.h: Declare malloc hook variables as volatile.
67509         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
67510         in last patch.
67512         [BZ #11799]
67513         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
67514         raise in the comment.
67515         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
67516         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
67517         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
67519 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
67521         [BZ #12811]
67522         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
67523         grow the buffers more if it already has to be sufficient.
67524         (build_wcs_upper_buffer): Likewise.
67525         * posix/regexec.c (check_matching): Likewise.
67526         (clean_state_log_if_needed): Likewise.
67527         (extend_buffers): Don't enlarge buffers beyond size of the input
67528         buffer.
67529         Patches mostly by Emil Wojak <emil@wojak.eu>.
67530         * posix/bug-regex32.c: New file.
67531         * posix/Makefile (tests): Add bug-regex32.
67533         * locale/findlocale.c (_nl_find_locale): Return right away if
67534         _nl_explode_name failed.
67535         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
67537         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
67539         * debug/xtrace.sh: Unify messages.
67540         * malloc/memusage.sh: Likewise.
67542         [BZ #12813]
67543         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
67544         time symbol from vDSO.  Substitute with vsyscall if not available.
67545         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
67546         __vdso_time.
67548         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
67549         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
67550         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
67551         Add sendmmsg and internal_sendmmsg.
67552         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
67553         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
67554         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
67556         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
67557         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
67558         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
67560 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
67562         [BZ #12813]
67563         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
67564         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
67565         available.
67566         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
67567         __vdso_getcpu.
67569         [BZ #12814]
67570         * iconvdata/Makefile (tests): Add bug-iconv9.
67571         * iconvdata/bug-iconv9.c: New file.
67573 2011-05-27  Andreas Schwab  <schwab@redhat.com>
67575         [BZ #12814]
67576         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
67578 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
67580         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
67581         (struct user_regs_struct): Change intcs field back to cs.
67583 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
67585         * po/ja.po: Update from translation team.
67587 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
67589         [BZ #12795]
67590         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
67591         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
67593 2011-05-20  Andreas Schwab  <schwab@redhat.com>
67595         * stdlib/longlong.h: Update from GCC.
67597 2011-05-23  Andreas Schwab  <schwab@redhat.com>
67599         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
67600         parameter name.
67601         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
67602         Add parameter name.
67603         (__sysconf): Pass it down.
67605 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
67607         [BZ #12671]
67608         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
67609         some situations.
67610         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
67611         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
67612         add in in __libc_use_alloca calls.  Adjust callers.
67613         (glob): Use malloc in some situations.
67615         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
67616         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
67617         pltexit.
67619 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
67621         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
67622         and CLOCK_BOOTTIME_ALARM.
67624         [BZ #12782]
67625         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
67626         is returned.
67628         * string/_strerror.c (__strerror_r): Print negative errors as signed
67629         numbers.
67631         [BZ #12777]
67632         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
67633         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
67634         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
67636         * configure.in: Fix typo in redirection and correct removal of test
67637         files in two cases.
67639         [BZ #12788]
67640         * locale/setlocale.c (new_composite_name): Fix test to check for
67641         identical name of all categories.
67643         [BZ #12792]
67644         * libio/filedoalloc.c (local_isatty): New function.
67645         (_IO_file_doallocate): Use local_isatty.
67646         * stdio-common/perror.c (perror): In case a new stream is used
67647         forward the stream error.
67648         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
67649         error flag.
67651 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
67653         [BZ #11869]
67654         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
67655         alloca.
67656         * include/alloca.h (extend_alloca_account): Define.
67658         [BZ #11857]
67659         * posix/regex.h: Fix comments with documentation of user-accessible
67660         fields after compilation and describe correct free'ing of pattern
67661         after re_compile_pattern.
67662         Patch by Reuben Thomas <rrt@sc3d.org>.
67664 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
67666         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
67667         and -mno-altivec to prevent the compiler from using Altivec and/or
67668         VSX instructions when the corresponding registers are not available.
67670 2011-05-19  Andreas Schwab  <schwab@redhat.com>
67672         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
67674 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
67676         * libio/freopen.c (freopen): Use __dup2, not dup2.
67677         * libio/freopen64.c (freopen64): Likewise.
67679 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67681         [BZ #12775]
67682         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
67683         * math/Makefile (tests): Add test-powl.
67684         (CFLAGS-test-powl.c): Define.
67685         * math/test-powl.c: New file.
67687 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67689         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
67691 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
67693         [BZ #11837]
67694         * iconvdata/gb18030.c: Update to GB18020-2005.
67696 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
67698         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
67699         RE_SYNTAX_POSIX_AWK): Update to match recent development.
67700         Patch by Aharon Robbins <arnold@skeeve.com>.
67702         [BZ #11892]
67703         * stdlib/putenv.c (putenv): Don't always create copy of the variable
67704         on the stack.
67706         [BZ #11895]
67707         * misc/pselect.c (__pselect): Handle timeout value errors hidden
67708         through underflows.
67710         [BZ #12766]
67711         * misc/error.c (error_at_line): Ensure file_name and old_file_name
67712         point to strings before performing equality test for error_one_per_line
67713         mode.
67715         [BZ #11697]
67716         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
67718         [BZ #11820]
67719         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
67720         (struct user_fpregs_struct): Avoid __uint*_t types.
67722         [BZ #6420]
67723         * malloc/mtrace.c (tr_where): Add additional parameter to point to
67724         symbol info.  Use it instead of calling _dl_addr locally.
67725         (lock_and_info): New function.
67726         (tr_freehook): Call lock_and_info and pass symbol info as additional
67727         parameter to tr_where.
67728         (tr_mallochook): Likewise.
67729         (tr_reallochook): Likewise.
67730         (tr_memalignhook): Likewise.
67732         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
67733         used and couldn't be at all thread-safe.
67735 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
67737         * libio/freopen.c (freopen): Don't close old file descriptor
67738         before the new one is opened.  Instead dup the new file descriptor
67739         to the old one after the new stream is created.
67740         * libio/freopen64.c (freopen64): Likewise.
67741         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
67742         * libio/fileops.c (_IO_new_file_close_it): Handle new
67743         _IO_FLAGS2_NOCLOSE flag.
67744         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
67745         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
67746         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
67747         _IO_FLAGS2_NOCLOSE flag.
67748         * include/unistd.h: Add hidden_proto for dup3.
67749         Define __have_dup3.
67750         * io/dup3.c: Define hidden symbol.
67751         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
67753         [BZ #7101]
67754         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
67755         when an incomplete long option is used.
67756         * posix/tst-getopt_long1.c: New file.
67757         * posix/Makefile (tests): Add tst-getopt_long1.
67759         [BZ #10138]
67760         * scripts/config.guess: Update from autoconf-2.68.
67761         * scripts/config.sub: Likewise.
67763         [BZ #10157]
67764         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
67765         tests into ...
67766         (has_cpuclock): ...this.  New function.
67767         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
67768         macro here based on has_cpuclock code.
67770         [BZ #10149]
67771         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67772         First byte (not low byte) is now always NUL.
67773         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
67775         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67776         Use non-cancelable interfaces.
67778         [BZ #9809]
67779         * locale/iso-639.def: Add entry for Sorani.
67781         [BZ #11901]
67782         * include/stdlib.h: Move include protection to the right place.
67783         Define abort_msg_s.  Declare __abort_msg with it.
67784         * stdlib/abort.c (__abort_msg): Adjust type.
67785         * assert/assert.c (__assert_fail_base): New function.  Majority
67786         of code from __assert_fail.  Allocate memory for __abort_msg with
67787         mmap.
67788         (__assert_fail): Now call __assert_fail_base.
67789         * assert/assert-perr.c: Remove bulk of implementation.  Use
67790         __assert_fail_base.
67791         * include/assert.hL Declare __assert_fail_base.
67792         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
67793         mmap.
67794         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
67796 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
67798         [BZ #11952]
67799         [BZ #12453]
67800         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
67801         until all modules are registered in the DTV.
67802         * elf/Makefile: Add rules to build and run tst-tls19.
67803         * elf/tst-tls19.c: New file.
67804         * elf/tst-tls19mod1.c: New file.
67805         * elf/tst-tls19mod2.c: New file.
67806         * elf/tst-tls19mod3.c: New file.
67807         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
67809         [BZ #12083]
67810         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
67811         correctly.
67813         [BZ #12601]
67814         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
67815         two-byte sequence errors.
67816         * iconvdata/Makefile (tests): Add bug-iconv8.
67817         * iconvdata/bug-iconv8.c: New file.
67819         [BZ #12626]
67820         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
67821         buf2 definition.
67823         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
67825         [BZ #12432]
67826         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
67827         (dummy_getcfa): New function.
67828         (init): Get _Unwind_GetCFA address, use dummy if not found.
67829         (backtrace_helper): In recursion check, also check whether CFA changes.
67830         (__backtrace): Completely initialize arg.
67832         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
67833         storing incomplete byte sequence in state object.  Avoid testing for
67834         guaranteed too small input if we know there is enough data available.
67836 2011-05-11  Andreas Schwab  <schwab@redhat.com>
67838         * Makeconfig (+link-pie): Indent.
67839         * Rules (binaries-pie): Define if $(have-fpie) and
67840         $(build-shared).
67841         (binaries-shared): Also filter out $(binaries-pie).
67842         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
67843         * nscd/Makefile (others-pie): Add nscd.
67844         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
67845         ($(objpfx)nscd): Remove command override.
67846         * login/Makefile (others-pie): Add pt_chown.
67847         ($(objpfx)pt_chown): Remove command override.
67848         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
67849         remove command overrides.
67851 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
67853         * libio/tst_putwc.c: Fix error messages.
67855         [BZ #12724]
67856         * libio/fileops.c (_IO_new_file_close_it): Always flush when
67857         currently writing and seek to current position when not.
67858         * libio/Makefile (tests): Add bug-fclose1.
67859         * libio/bug-fclose1.c: New file.
67861 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
67863         [BZ #12511]
67864         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
67865         don't set DF_1_NODELETE here.
67866         (do_lookup_x): When entering new entry test for copy relocation
67867         and if necessary set DF_1_NODELETE flag.
67868         * elf/tst-unique4.cc: New file.
67869         * elf/tst-unique4.h: New file.
67870         * elf/tst-unique4lib.cc: New file.
67871         * elf/Makefile: Add rules to build and run tst-unique4.
67872         Patch by Piotr Bury <pbury@goahead.com>.
67874 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
67876         [BZ #12052]
67877         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
67879         [BZ #12625]
67880         * misc/mntent_r.c (addmntent): Flush the stream after the output
67882         [BZ #12393]
67883         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
67884         (is_trusted_path_normalize): Skip initial colon.  Append slash
67885         to empty buffer.  Duplicate is_trusted_path code but allow
67886         constructed patch to be prefix.
67887         (is_dst): Allow $ORIGIN followed by /.
67888         (_dl_dst_substitute): Correct clearing of check_for_trusted.
67889         Correct testing of result of is_trusted_path_normalize
67890         (decompose_rpath): Fix warning.
67892 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
67894         [BZ #11257]
67895         * grp/initgroups.c (internal_getgrouplist): When we found the service
67896         list through the initgroups entry in nsswitch.conf do not always
67897         continue on a successful lookup.  Don't always use the
67898         __nss_group_database value if it is set.
67899         * nss/nsswitch.conf (initgroups): Change action for successful db
67900         lookup to continue for compatibility.
67902 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
67904         [BZ #11532]
67905         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
67906         and CP774 modules.
67907         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
67908         and CP774 modules.
67909         * iconvdata/tst-tables.sh: Likewise.
67910         * iconvdata/cp770.c: New file.
67911         * iconvdata/cp771.c: New file.
67912         * iconvdata/cp772.c: New file.
67913         * iconvdata/cp773.c: New file.
67914         * iconvdata/cp774.c: New file.
67915         * iconvdata/testdata/CP770: New file.
67916         * iconvdata/testdata/CP770..UTF8: New file.
67917         * iconvdata/testdata/CP771: New file.
67918         * iconvdata/testdata/CP771..UTF8: New file.
67919         * iconvdata/testdata/CP772: New file.
67920         * iconvdata/testdata/CP772..UTF8: New file.
67921         * iconvdata/testdata/CP773: New file.
67922         * iconvdata/testdata/CP773..UTF8: New file.
67923         * iconvdata/testdata/CP774: New file.
67924         * iconvdata/testdata/CP774..UTF8: New file.
67926         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
67927         END CHARMAP line.
67928         * iconvdata/gen-8bit-gap.sh: Likewise.
67929         * iconvdata/gen-8bit.sh: Likewise.
67931         * locale/iso-639.def: Add ary entry.
67933         [BZ #11258]
67934         * locale/C-translit.h.in: Add U20A1 transliteration.
67936         [BZ #12178]
67937         * locale/iso-639.def: Add wae entry.
67938         Patch by Kevin Bortis <bortis@translate-wae.ch>.
67940         [BZ #12545]
67941         * locale/programs/localedef.c (construct_output_path): Use ssize_t
67942         for n.
67944         [BZ #12711]
67945         * locale/C-translit.h.in: Add entry for U20B9.
67946         Patch by pravin.d.s@gmail.com.
67948 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
67950         [BZ #12713]
67951         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
67952         ENAMETOOLONG use generic getcwd.
67953         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
67954         in rtld.  Use *stat64.
67955         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
67956         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
67957         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
67958         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
67959         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
67960         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
67961         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
67962         __fstatat64 macros.
67963         * include/dirent.h: Add libc_hidden_proto for rewinddir.
67964         * dirent/rewinddir.c: Add libc_hidden_def.
67965         * sysdeps/mach/hurd/rewinddir.c: Likewise.
67966         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
67968         * include/dirent.h (__alloc_dir): Add flags parameter.
67969         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
67970         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
67971         __alloc_dir.
67972         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
67973         from fdopendir if O_CLOEXEC is already set.
67975 2011-03-15  Alan Modra  <amodra@gmail.com>
67977         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
67978         l_tls_firstbyte_offset non-zero.  Save padding offset in
67979         l_tls_firstbyte_offset for later use.
67980         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
67981         freeing static tls block.
67983 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
67985         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
67986         where #ifdef was intended.  The intent is to prevent ARG_MAX from
67987         being defined by the kernel headers.
67989 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
67991         [BZ #12734]
67992         * resolv/resolv.h: Define RES_NOTLDQUERY.
67993         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
67994         no-tld-query and set RES_NOTLDQUERY.
67995         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
67996         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
67997         modern BIND to search name as TLD unless forbidden.
67999 2011-05-07  Petr Baudis  <pasky@suse.cz>
68000             Ulrich Drepper  <drepper@gmail.com>
68002         [BZ #12393]
68003         * elf/dl-load.c (fillin_rpath): Move trusted path check...
68004         (is_trusted_path): ...to here.
68005         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
68006         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
68007         using is_trusted_path_normalize() in setuid scripts.
68009 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68011         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
68012         __BEGIN/__END_DECLS.
68014 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
68016         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
68017         NSS_STATUS_NOTFOUND if no record was found.
68019 2011-05-05  Andreas Schwab  <schwab@redhat.com>
68021         * sunrpc/Makefile (headers): Add rpc/netdb.h.
68022         (headers-not-in-tirpc): Remove rpc/netdb.h
68023         * resolv/netdb.h: Revert last change.
68025 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
68027         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
68028         circular dependency between libgcc.a and libc.a.
68030 2011-05-05  Andreas Schwab  <schwab@redhat.com>
68032         * resolv/netdb.h: Don't include <rpc/netdb.h>.
68033         * nis/Makefile: Don't install rpcsvc/*.
68034         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
68035         instead of <rpc/types.h>.
68036         (MAXHOSTNAMELEN): Define.
68038 2011-05-03  Andreas Schwab  <schwab@redhat.com>
68040         * elf/ldconfig.c (add_dir): Don't crash on empty path.
68042 2011-04-28  Maciej Babinski  <mbabinski@google.com>
68044         [BZ #12714]
68045         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
68046         gethostbyname4_r when IPv6 results are possible.
68048 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
68050         [BZ #12723]
68051         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
68052         _PC_PIPE_BUF handling.
68054 2011-04-30  Bruno Haible  <bruno@clisp.org>
68056         [BZ #12717]
68057         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
68058         * resolv/netdb.h (getnameinfo): Change type of flags parameter
68059         to 'int'.
68060         * inet/getnameinfo.c (getnameinfo): Likewise.
68062 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
68064         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
68065         to groups setting in database lookup.
68066         * nss/nsswitch.conf: Add initgroups entry.
68068 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
68070         [BZ #12685]
68071         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
68072         mode string.
68073         Patch by Eric Blake <eblake@redhat.com>.
68075 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
68077         * sunrpc/Makefile (need-export-routines): Add svc_run.
68078         (routines): Remove svc_run.
68079         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
68080         * sunrpc/clnt_perr.c (clnt_perrno): Export.
68081         * sunrpc/svc_run.c (svc_run): Likewise.
68082         * sunrpc/svc_udp.c (svcudp_create): Likewise.
68084 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
68086         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
68087         problem in reallocation in last patch.
68089 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
68091         * sunrpc/Makefile: Move inclusion of Rules.
68093 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
68095         * nss/nss_files/files-initgroups.c: New file.
68096         * nss/Makefile (libnss_files-routines): Add files-initgroups.
68097         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
68098         _nss_files_initgroups_dyn.
68100 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
68102         * elf/elf.h (R_ARM_IRELATIVE): Define.
68104 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
68106         * po/ru.po: Update from translation team.
68108 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
68110         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
68111         dependencies.
68113 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
68115         [BZ #12653]
68116         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
68117         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
68118         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
68119         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
68120         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
68122 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
68124         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
68125         differing bytes.
68126         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
68127         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
68128         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
68130 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
68132         [BZ #12420]
68133         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
68134         storing it.
68135         * stdlib/bug-getcontext.c: New file.
68136         * stdlib/Makefile: Add rules to build and run bug-getcontext.
68138 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68140         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
68141         instructions into .machine "z9-109".
68142         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
68143         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
68145 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68147         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
68148         between environment variables and auxiliary vector.
68150 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
68152         * Makefile: Add rules to build linkobj/libc.so.
68153         * include/libc-symbols.h: Define libc_hidden_nolink.
68154         * include/rpc/auth.h: Mark functions which are to be hidden.
68155         * include/rpc/auth_des.h: Likewise.
68156         * include/rpc/auth_unix.h: Likewise.
68157         * include/rpc/clnt.h: Likewise.
68158         * include/rpc/des_crypt.h: Likewise.
68159         * include/rpc/key_prot.h: Likewise.
68160         * include/rpc/pmap_clnt.h: Likewise.
68161         * include/rpc/pmap_prot.h: Likewise.
68162         * include/rpc/pmap_rmt.h: Likewise.
68163         * include/rpc/rpc_msg.h: Likewise.
68164         * include/rpc/svc.h: Likewise.
68165         * include/rpc/svc_auth.h: Likewise.
68166         * include/rpc/xdr.h: Likewise.
68167         * nis/Makefile: Link all DSOs against linkobj/libc.so.
68168         * nss/Makefile: Likewise.
68169         * sunrpc/Makefile: Don't install headers.  Build library with normal
68170         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
68171         * sunrpc/auth_des.c: Hide exported symbols by default, export some
68172         for the compat linking library.  Remove use of INTDEF/INTUSE.
68173         * sunrpc/auth_none.c: Likewise.
68174         * sunrpc/auth_unix.c: Likewise.
68175         * sunrpc/authdes_prot.c: Likewise.
68176         * sunrpc/authuxprot.c: Likewise.
68177         * sunrpc/clnt_gen.c: Likewise.
68178         * sunrpc/clnt_perr.c: Likewise.
68179         * sunrpc/clnt_raw.c: Likewise.
68180         * sunrpc/clnt_simp.c: Likewise.
68181         * sunrpc/clnt_tcp.c: Likewise.
68182         * sunrpc/clnt_udp.c: Likewise.
68183         * sunrpc/clnt_unix.c: Likewise.
68184         * sunrpc/des_crypt.c: Likewise.
68185         * sunrpc/des_soft.c: Likewise.
68186         * sunrpc/get_myaddr.c: Likewise.
68187         * sunrpc/key_call.c: Likewise.
68188         * sunrpc/key_prot.c: Likewise.
68189         * sunrpc/netname.c: Likewise.
68190         * sunrpc/pm_getmaps.c: Likewise.
68191         * sunrpc/pm_getport.c: Likewise.
68192         * sunrpc/pmap_clnt.c: Likewise.
68193         * sunrpc/pmap_prot.c: Likewise.
68194         * sunrpc/pmap_prot2.c: Likewise.
68195         * sunrpc/pmap_rmt.c: Likewise.
68196         * sunrpc/publickey.c: Likewise.
68197         * sunrpc/rpc_cmsg.c: Likewise.
68198         * sunrpc/rpc_common.c: Likewise.
68199         * sunrpc/rpc_dtable.c: Likewise.
68200         * sunrpc/rpc_prot.c: Likewise.
68201         * sunrpc/rpc_thread.c: Likewise.
68202         * sunrpc/rtime.c: Likewise.
68203         * sunrpc/svc.c: Likewise.
68204         * sunrpc/svc_auth.c: Likewise.
68205         * sunrpc/svc_authux.c: Likewise.
68206         * sunrpc/svc_raw.c: Likewise.
68207         * sunrpc/svc_run.c: Likewise.
68208         * sunrpc/svc_simple.c: Likewise.
68209         * sunrpc/svc_tcp.c: Likewise.
68210         * sunrpc/svc_udp.c: Likewise.
68211         * sunrpc/svc_unix.c: Likewise.
68212         * sunrpc/svcauth_des.c: Likewise.
68213         * sunrpc/xcrypt.c: Likewise.
68214         * sunrpc/xdr.c: Likewise.
68215         * sunrpc/xdr_array.c: Likewise.
68216         * sunrpc/xdr_float.c: Likewise.
68217         * sunrpc/xdr_intXX_t.c: Likewise.
68218         * sunrpc/xdr_mem.c: Likewise.
68219         * sunrpc/xdr_rec.c: Likewise.
68220         * sunrpc/xdr_ref.c: Likewise.
68221         * sunrpc/xdr_sizeof.c: Likewise.
68222         * sunrpc/xdr_stdio.c: Likewise.
68224 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
68226         [BZ #12650]
68227         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
68228         * sysdeps/ia64/dl-tls.h: Likewise.
68229         * sysdeps/powerpc/dl-tls.h: Likewise.
68230         * sysdeps/s390/dl-tls.h: Likewise.
68231         * sysdeps/sh/dl-tls.h: Likewise.
68232         * sysdeps/sparc/dl-tls.h: Likewise.
68233         * sysdeps/x86_64/dl-tls.h: Likewise.
68234         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
68236 2011-03-14  Andreas Schwab  <schwab@redhat.com>
68238         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
68239         rpath element also skip the following colon.
68240         (expand_dynamic_string_token): Add is_path parameter and pass
68241         down to DL_DST_REQUIRED and _dl_dst_substitute.
68242         (decompose_rpath): Call expand_dynamic_string_token with
68243         non-zero is_path.  Ignore empty rpaths.
68244         (_dl_map_object_from_fd): Call expand_dynamic_string_token
68245         with zero is_path.
68247 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
68249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
68250         Make cancelable.
68252 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
68254         [BZ #12655]
68255         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
68256         Patch by Filipe David Manana <fdmanana@apache.org>.
68258 2011-04-07  Andreas Schwab  <schwab@redhat.com>
68260         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
68261         Maintain aligned stack.
68262         (CHECK_RSP): Remove unused macro.
68264 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
68266         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
68267         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
68269 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
68271         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
68273         * include/features.h: Mention __USE_XOPEN2K8 in comment.
68275 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
68277         [BZ #12518]
68278         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
68279         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
68280         * sysdeps/x86_64/memmove.c: New file.
68281         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
68282         (memcpy): Renamed to ...
68283         (__new_memcpy): This.
68284         (memcpy): Provide GLIBC_2_14 memcpy.
68285         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
68286         (memcpy): Provide GLIBC_2_2_5 memcpy.
68288 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
68290         [BZ #12631]
68291         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
68293 2011-03-30  Andreas Schwab  <schwab@redhat.com>
68295         * misc/syncfs.c: New file.
68296         * misc/Makefile (routines): Add syncfs.
68297         * posix/unistd.h: Declare syncfs.
68298         * sysdeps/unix/syscalls.list: Add syncfs.
68300 2011-04-01  Andreas Schwab  <schwab@redhat.com>
68302         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
68303         open_by_handle_at.
68304         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
68305         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
68306         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68307         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68308         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68309         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
68310         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68312 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
68314         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
68315         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
68316         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
68317         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68318         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68319         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68320         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68322         * io/Makefile: Compile fallocate.c, fallocate64.c, and
68323         sync_file_range.c with -fexceptions.
68324         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
68325         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
68326         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
68327         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
68328         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
68329         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
68330         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
68331         sync_file_range as cancellation point
68332         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
68333         now a wrapper around __call_sync_file_range with cancellation handling.
68334         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
68335         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
68336         function name to __call_sync_file_range.
68337         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
68338         Add call_sync_file_range.
68340 2011-04-01  Andreas Schwab  <schwab@redhat.com>
68342         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68343         bits/timex.h.
68345 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
68347         * iconv/iconv.h: Fix typo in comment.
68348         * io/fcntl.h: Likewise.
68349         * libio/stdio.h: Likewise.
68350         * posix/spawn.h: Likewise.
68351         * posix/unistd.h: Likewise.
68352         * stdlib/stdlib.h: Likewise.
68353         * time/time.h: Likewise.
68354         * wcsmbs/wchar.h: Likewise.
68356         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
68357         open_by_handle): Add.
68358         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
68359         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
68360         Augment a few comments.
68361         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
68362         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68363         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68364         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68365         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68366         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
68367         open_by_handle.
68369         * io/fcntl.h (AT_EMPTY_PATH): Define.
68371 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
68373         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
68374         * sysdeps/unix/sysv/linux/bits/time.h: New file.
68375         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
68376         to...
68377         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
68378         * Versions.def: Add GLIBC_2.14.
68379         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
68380         Export.
68382 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
68384         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
68385         round counter.
68386         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
68388 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68390         [BZ #12597]
68391         * string/test-strncmp.c (do_page_test): New function.
68392         (check2): Likewise.
68393         (test_main): Call check2.
68394         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
68396 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
68398         [BZ #12587]
68399         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
68400         Handle cache information in CPU leaf 4.
68401         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
68403 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
68405         [BZ #12583]
68406         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
68407         character representation.
68408         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
68410 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
68412         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
68413         END(__isnan) to END(__isnanf) to match function entry point/label
68414         EALIGN(__isnanf,...).
68416 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
68418         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
68420 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
68422         [BZ #12510]
68423         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
68424         copy from the symbol referenced in the relocation to initialize the
68425         used variable.
68426         Patch by Piotr Bury <pbury@goahead.com>.
68427         * elf/Makefile: Add rules to build and tst-unique3.
68428         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
68429         * elf/tst-unique3.cc: New file.
68430         * elf/tst-unique3.h: New file.
68431         * elf/tst-unique3lib.cc: New file.
68432         * elf/tst-unique3lib2.cc: New file.
68434         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
68436 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
68438         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
68439         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
68440         to _start.
68442 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
68444         * elf/dl-load.c (_dl_map_object): If we are looking for the first
68445         to-be-loaded object along a path to loader is ld.so.
68447 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
68448             Ulrich Drepper  <drepper@gmail.com>
68450         * sysdeps/x86_64/memset.S: After aligning destination, code
68451         branches to different locations depending on the value of
68452         misalignment, when multiarch is enabled. Fix this.
68454 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
68456         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
68457         Set _x86_64_preferred_memory_instruction for AMD processsors.
68458         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68459         Set bit_Prefer_SSE_for_memop for AMD processors.
68461 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
68463         * libio/fmemopen.c (fmemopen): Optimize a bit.
68465 2011-03-03  Andreas Schwab  <schwab@redhat.com>
68467         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
68469 2011-03-03  Roland McGrath  <roland@redhat.com>
68471         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
68473 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
68475         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
68476         __bzero_ultra1 instead of __memset_ultra1.
68478 2011-02-23  Andreas Schwab  <schwab@redhat.com>
68479             Ulrich Drepper  <drepper@gmail.com>
68481         [BZ #12509]
68482         * include/link.h (struct link_map): Add l_orig_initfini.
68483         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
68484         returning unsuccessfully.
68485         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
68486         close of a file loaded at startup, restore the original l_initfini
68487         list.
68488         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
68489         list, store the pointer.
68490         * elf/Makefile ($(objpfx)noload-mem): New rule.
68491         (noload-ENV): Define.
68492         (tests): Add $(objpfx)noload-mem.
68493         * elf/noload.c: Include <memcheck.h>.
68494         (main): Call mtrace.  Close all opened handles.
68496 2011-02-17  Andreas Schwab  <schwab@redhat.com>
68498         [BZ #12454]
68499         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
68500         dependencies are missing.
68502 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68504         Fix __if_freereq crash: Unlike the generic version which uses free,
68505         Hurd needs munmap.
68506         * sysdeps/mach/hurd/ifreq.h: New file.
68508 2011-01-27  Petr Baudis  <pasky@suse.cz>
68509             Ulrich Drepper  <drepper@gmail.com>
68511         [BZ 12445]#
68512         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
68513         to extend_alloca().
68514         * stdio-common/bug23.c: New file.
68515         * stdio-common/Makefile (tests): Add bug23.
68517 2010-09-28  Andreas Schwab  <schwab@redhat.com>
68518             Ulrich Drepper  <drepper@gmail.com>
68520         [BZ #12489]
68521         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
68522         before performing relro protection.  At old place add assertion
68523         to make sure nothing changed.
68525 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
68526             Glauber de Oliveira Costa  <glommer@gmail.com>
68528         * elf/elf.h: Add new ARM TLS relocs.
68530 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
68532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
68533         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
68534         cast from r3.
68535         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
68536         'tests' variable.
68537         * sysdeps/wordsize-64/tst-writev.c: New file.
68539 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
68541         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
68542         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
68543         insns in _dl_start to prevent a TOC reference before relocs are
68544         resolved.
68546 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
68548         [BZ #12469]
68549         * Makeconfig: Remove RANLIB definition.
68550         * Makerules: Don't use RANLIB.
68551         * aclocal.m4: Remove ranlib test.
68552         * configure.in: No need to check for ranlib.
68553         * elf/rtld-Rules: Don't use RANLIB.
68555 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68557         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
68558         protection macro.
68559         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
68560         inclusion protection macro.
68562         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
68563         SIGRTMIN and SIGRTMAX and print information in that case only when
68564         SIGRTMIN is defined.
68566 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
68568         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
68569         arginfo fn returning -1.
68571         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
68572         and thousands string is zero terminated.
68574 2011-02-03  Andreas Schwab  <schwab@redhat.com>
68576         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
68577         sysdeps/unix/sysv/linux/bits/socket.h.
68579 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68581         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
68582         (__CPU_COUNT): Remove old macros.
68583         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
68584         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
68585         (__CPU_ALLOC, __CPU_FREE): Add macros.
68586         (__sched_cpualloc, __sched_cpufree): Add declarations.
68588 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
68590         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
68591         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
68592         * nscd/aicache.c (addhstaiX): Return timeout of added value.
68593         (readdhstai): Return value of addhstaiX call.
68594         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
68595         (addgrbyX): Return value returned by cache_addgr.
68596         (readdgrbyname): Return value returned by addgrbyX.
68597         (readdgrbygid): Likewise.
68598         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
68599         (addpwbyX): Return value returned by cache_addpw.
68600         (readdpwbyname): Return value returned by addhstbyX.
68601         (readdpwbyuid): Likewise.
68602         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
68603         (addservbyX): Return value returned by cache_addserv.
68604         (readdservbyname): Return value returned by addservbyX:
68605         (readdservbyport): Likewise.
68606         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
68607         (addhstbyX): Return value returned by cache_addhst.
68608         (readdhstbyname): Return value returned by addhstbyX.
68609         (readdhstbyaddr): Likewise.
68610         (readdhstbynamev6): Likewise.
68611         (readdhstbyaddrv6): Likewise.
68612         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
68613         (readdinitgroups): Return value returned by addinitgroupsX.
68614         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
68615         (prune_cache): Keep track of timeout value of re-added entries.
68616         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
68617         * nscd/nscd.h: Adjust prototypes of readd* functions.
68619 2011-02-04  Roland McGrath  <roland@redhat.com>
68621         * nis/nis_server.c (nis_servstate): Use the right name for 0.
68622         (nis_stats): Likewise.
68623         * nis/nis_modify.c (nis_modify): Likewise.
68624         * nis/nis_remove.c (nis_remove): Likewise.
68625         * nis/nis_add.c (nis_add): Likewise.
68627         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
68629         * posix/fnmatch_loop.c: Add some consts.
68631         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
68633 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
68635         [BZ #12460]
68636         * config.make.in (config-cflags-novzeroupper): Define.
68637         * configure.in: Substitute libc_cv_cc_novzeroupper.
68638         * elf/Makefile (AVX-CFLAGS): Define.
68639         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
68640         (CFLAGS-tst-auditmod4a.c): Likewise.
68641         (CFLAGS-tst-auditmod4b.c): Likewise.
68642         (CFLAGS-tst-auditmod6b.c): Likewise.
68643         (CFLAGS-tst-auditmod6c.c): Likewise.
68644         (CFLAGS-tst-auditmod7b.c): Likewise.
68645         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
68647 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
68649         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
68650         function to the callback.
68651         Patch partly by Jiri Olsa <jolsa@redhat.com>.
68653 2011-02-02  Andreas Schwab  <schwab@redhat.com>
68655         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
68656         of errno.
68658 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
68660         [BZ #11724]
68661         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
68662         of constructors.
68663         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
68664         of destructors.
68665         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
68667         [BZ #11724]
68668         * elf/Makefile: Add rules to build and run new test.
68669         * elf/tst-initorder.c: New file.
68670         * elf/tst-initorder.exp: New file.
68671         * elf/tst-initordera1.c: New file.
68672         * elf/tst-initordera2.c: New file.
68673         * elf/tst-initordera3.c: New file.
68674         * elf/tst-initordera4.c: New file.
68675         * elf/tst-initorderb1.c: New file.
68676         * elf/tst-initorderb2.c: New file.
68677         * elf/tst-order-a1.c: New file.
68678         * elf/tst-order-a2.c: New file.
68679         * elf/tst-order-a3.c: New file.
68680         * elf/tst-order-a4.c: New file.
68681         * elf/tst-order-b1.c: New file.
68682         * elf/tst-order-b2.c: New file.
68683         * elf/tst-order-main.c: New file.
68684         New test case by George Gensure <werkt0@gmail.com>.
68686 2010-10-01  Andreas Schwab  <schwab@redhat.com>
68688         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
68689         decoding ACE if AI_CANONIDN.
68691 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
68693         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
68695 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
68697         * version.h (RELEASE): Bump for 2.13 release.
68698         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
68700         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
68702         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
68703         MADV_NOHUGEPAGE.
68704         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
68705         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
68706         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
68707         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
68708         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
68709         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
68711         * posix/getconf.c: Update copyright year.
68712         * catgets/gencat.c: Likewise.
68713         * csu/version.c: Likewise.
68714         * debug/catchsegv.sh: Likewise.
68715         * debug/xtrace.sh: Likewise.
68716         * elf/ldconfig.c: Likewise.
68717         * elf/ldd.bash.in: Likewise.
68718         * elf/sprof.c (print_version): Likewise.
68719         * iconv/iconv_prog.c: Likewise.
68720         * iconv/iconvconfig.c: Likewise.
68721         * locale/programs/locale.c: Likewise.
68722         * locale/programs/localedef.c: Likewise.
68723         * malloc/memusage.sh: Likewise.
68724         * malloc/mtrace.pl: Likewise.
68725         * nscd/nscd.c (print_version): Likewise.
68726         * nss/getent.c: Likewise.
68728         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
68729         PF_CAIF, and PF_ALG.
68730         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68732 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
68734         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
68735         (modules-names): Use them.
68736         (ifunc-test-modules, ifunc-pie-tests): Define.
68737         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
68738         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
68739         (test-extras): Likewise.
68740         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
68741         $(compile-command.c).
68742         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
68743         (all-built-dso): Define.
68744         (check-textrel.out, check-execstack.out): Depend on it.
68746         * configure.in: Don't override --enable-multi-arch.
68748 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
68750         [BZ #6812]
68751         * nscd/hstcache.c (tryagain): Define.
68752         (cache_addhst): Return tryagain not notfound for temporary errors.
68753         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
68754         failed.
68756 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
68758         [BZ #10563]
68759         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
68760         to make the syscall.
68761         * sysdeps/unix/sysv/linux/setgroups.c: New file.
68763         [BZ #12378]
68764         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
68765         and fall back to matching as normal character if the string ends before
68766         the matching ']' is found.  This is what POSIX requires.
68767         * posix/testfnm.c: Adjust test result.
68768         * posix/globtest.sh: Adjust test result.  Add new test.
68769         * posix/tst-fnmatch.input: Likewise.
68770         * posix/tst-fnmatch2.c: Add new test.
68772 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
68774         * elf/Makefile (check-execstack): Revert last change.  Depend on
68775         check-execstack.h.
68776         (check-execstack.h): New target.
68777         (generated): Add check-execstack.h.
68778         * elf/check-execstack.c: Include "check-execstack.h".
68779         (main): Revert last change.
68780         (handle_file): Return zero if GNU_STACK is absent and
68781         DEFAULT_STACK_PERMS doesn't include PF_X.
68783 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
68785         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
68786         in child fails because the descriptor is already closed.
68787         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
68788         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
68789         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
68791         [BZ #12397]
68792         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
68793         syscall.
68795         [BZ #10484]
68796         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
68797         temporary buffer used to handle multi lookups locally.
68798         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
68800 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
68802         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
68803         loader is ld.so.
68805 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
68807         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
68808         alignment for SSE2.
68810 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
68812         [BZ #12394]
68813         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
68814         characters.  When rounding increased number of integer digits recompute
68815         number of groups.
68816         * stdio-common/tst-grouping.c: New file.
68817         * stdio-common/Makefile: Add rules to build and run tst-grouping.
68819 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
68821         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
68822         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
68824         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
68825         void.
68826         * bits/select.h: Likewise.
68828 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
68830         * po/ja.po: Update from translation team.
68832 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
68834         [BZ #11155]
68835         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
68836         implementation just like for lxstat, fxstatat, et al.
68838 2010-12-27  Jim Meyering  <meyering@redhat.com>
68840         [BZ #12348]
68841         * posix/regexec.c (build_trtable): Return failure indication upon
68842         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
68844 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
68846         [BZ #12201]
68847         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
68848         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
68849         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
68850         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
68852         [BZ #12207]
68853         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
68855         [BZ #12204]
68856         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
68857         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
68859 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
68861         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
68862         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
68863         script has SORT_BY_INIT_PRIORITY.
68864         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
68865         NO_CTORS_DTORS_SECTIONS is defined.
68866         * elf/soinit.c: Likewise.
68867         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
68868         NO_CTORS_DTORS_SECTIONS is defined.
68869         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
68870         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
68871         * sysdeps/sh/init-first.c: Likewise.
68872         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
68874 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
68876         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
68877         always use the slow path.
68879 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
68881         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
68882         similar rule which adds the sysdep directories to the header search in
68883         order to pick up the correct platform stackinfo.h.
68884         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
68885         perform test if it is, otherwise return successfully without testing.
68886         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
68887         DEFAULT_STACK_PERMS define in stackinfo.h.
68888         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
68889         defined in stackinfo.h.
68890         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
68891         DEFAULT_STACK_PERMS defined in stackinfo.h.
68892         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
68893         * sysdeps/ia64/stackinfo.h: Likewise.
68894         * sysdeps/s390/stackinfo.h: Likewise.
68895         * sysdeps/sh/stackinfo.h: Likewise.
68896         * sysdeps/sparc/stackinfo.h: Likewise.
68897         * sysdeps/x86_64/stackinfo.h: Likewise.
68898         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
68899         PF_X for powerpc64.  Retain PF_X for powerpc32.
68901 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
68903         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
68904         accurately.
68905         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
68906         GETDENTS_64BIT_ALIGNED.
68908 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
68910         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
68912 2010-12-10  Andreas Schwab  <schwab@redhat.com>
68914         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
68915         _GNU_SOURCE.
68917         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
68918         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
68919         Remove __restrict.
68920         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
68921         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
68923 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
68925         [BZ #11655]
68926         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
68927         are initialized.
68929 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
68931         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
68933 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
68935         * po/it.po: Update from translation team.
68937 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
68939         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
68940         unused codes.
68942 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
68944         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
68946 2010-11-24  Andreas Schwab  <schwab@redhat.com>
68948         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
68949         specially.
68950         (gaih_getanswer_slice): Likewise.
68952 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
68954         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
68956 2010-05-31  Petr Baudis  <pasky@suse.cz>
68958         [BZ #11149]
68959         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
68960         silently even in the chroot mode.
68962 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
68964         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
68965         last patch a bit.  Pretty printing
68967 2010-05-31  Petr Baudis <pasky@suse.cz>
68969         [BZ #10085]
68970         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
68971         initialization of skip_initgroups_dyn.
68973 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
68975         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
68976         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
68978 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
68980         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
68982 2010-11-11  Andreas Schwab  <schwab@redhat.com>
68984         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
68985         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
68986         (tst-fnmatch-ENV): Set MALLOC_TRACE.
68987         ($(objpfx)tst-fnmatch-mem): New rule.
68988         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
68989         * posix/tst-fnmatch.c (main): Call mtrace.
68991 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
68993         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68994         Support Intel processor model 6 and model 0x2c.
68996 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
68998         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
68999           signed comparison.
69001 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
69003         [BZ #12205]
69004         * string/test-strncasecmp.c (check_result): New function.
69005         (do_one_test): Use it.
69006         (check1): New function.
69007         (test_main): Use it.
69008         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
69009         Support strcasecmp and strncasecmp.
69011 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
69013         [BZ #12194]
69014         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
69015         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69017 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
69019         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
69020         IFUNC support.
69021         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69022         memset-x86-64.
69023         * sysdeps/x86_64/multiarch/bzero.S: New file.
69024         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
69025         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
69026         * sysdeps/x86_64/multiarch/memset.S: New file.
69027         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
69028         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69029         Set bit_Prefer_SSE_for_memop for Intel processors.
69030         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
69031         Define.
69032         (index_Prefer_SSE_for_memop): Define.
69033         (HAS_PREFER_SSE_FOR_MEMOP): Define.
69035 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
69037         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
69038         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
69040 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
69042         [BZ #12191]
69043         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
69044         (__x86_64_raw_data_cache_size_half): Likewise.
69045         (__x86_64_raw_shared_cache_size): Likewise.
69046         (__x86_64_raw_shared_cache_size_half): Likewise.
69048         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
69049         (__x86_64_raw_data_cache_size_half): Likewise.
69050         (__x86_64_raw_shared_cache_size): Likewise.
69051         (__x86_64_raw_shared_cache_size_half): Likewise.
69052         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
69053         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
69054         and __x86_64_raw_shared_cache_size_half.  Round
69055         __x86_64_data_cache_size_half, __x86_64_data_cache_size
69056         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
69057         to multiple of 256 bytes.
69059 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
69061         [BZ #12167]
69062         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
69063         of inacessible symlinks.  Verify result of symlink before returning it.
69064         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
69065         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
69067 2010-10-28  Erich Ritz  <erichritz@gmail.com>
69069         * math/math.h (isinf): Fix typo in comment.
69071 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
69073         * po/da.po: Update from translation team.
69075 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
69077         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
69078         is added to the list.
69080 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69081             Ulrich Drepper  <drepper@gmail.com>
69083         * elf/dl-object.c (_dl_new_object): Don't append the new object to
69084         the global list here.  Move code to...
69085         (_dl_add_to_namespace_list): ...here.  New function.
69086         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
69087         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
69088         * elf/dl-load.c (lose): Don't remove the element from the list.
69089         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
69090         (_dl_map_object): Likewise.
69092 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
69094         [BZ #12159]
69095         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
69096         into all bytes of SSE register.
69097         Patch by Richard Li <richardpku@gmail.com>.
69099 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
69101         [BZ #12140]
69102         * malloc/malloc.c (_int_free): Fill correct number of bytes when
69103         perturbing.
69105 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
69107         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
69108         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
69109         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
69110         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
69111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
69112         submachine.
69113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
69115 2010-10-22  Andreas Schwab  <schwab@redhat.com>
69117         * include/dlfcn.h (__RTLD_SECURE): Define.
69118         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
69119         mode & __RTLD_SECURE instead.
69120         (open_path): Rename preloaded parameter to secure.
69121         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
69122         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
69123         * elf/dl-deps.c (openaux): Likewise.
69124         * elf/rtld.c (struct map_args): Remove is_preloaded.
69125         (map_doit): Don't use it.
69126         (dl_main): Likewise.
69127         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
69128         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
69130 2010-09-09  Andreas Schwab  <schwab@redhat.com>
69132         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
69133         (sysd-rules-targets): Remove duplicates.
69134         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
69135         rtld-%.$o dependency.
69137 2010-10-18  Andreas Schwab  <schwab@redhat.com>
69139         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
69140         _dl_map_object do it.
69142 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
69144         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
69145         fast fma builtins, define the macros in the C99 standard.
69146         (FP_FAST_FMAF): Likewise.
69147         (FP_FAST_FMAL): Likewise.
69148         * sysdeps/x86_64/bits/mathdef.h: Likewise.
69150         * bits/mathdef.h: Update copyright year.
69151         * sysdeps/powerpc/bits/mathdef.h: Likewise.
69153 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
69155         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
69156         builtins, define the macros in the C99 standard.
69157         (FP_FAST_FMAF): Likewise.
69158         (FP_FAST_FMAL): Likewise.
69159         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
69160         multiply/add.
69161         (FP_FAST_FMAF): Likewise.
69163 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
69165         [BZ #3268]
69166         * math/libm-test.inc (fma_test): Some new testcases.
69167         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
69168         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
69169         y and infinite z.  Do multiplication by C already in long double.
69170         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
69171         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
69172         y and infinite z.  Do bitwise or of inexact bit into u.d.
69173         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
69174         * sysdeps/i386/fpu/s_fmaf.S: Removed.
69175         * sysdeps/i386/fpu/s_fma.S: Removed.
69176         * sysdeps/i386/fpu/s_fmal.S: Removed.
69178 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
69180         [BZ #3268]
69181         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
69182         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
69183         computation is not scheduled after fetestexcept.  Fix value
69184         of minimum denormal long double.
69186 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
69188         [BZ #3268]
69189         * math/libm-test.inc (fma_test): Add some more tests.
69190         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
69191         correctly.
69193 2010-10-15  Andreas Schwab  <schwab@redhat.com>
69195         * scripts/data/localplt-s390-linux-gnu.data: New file.
69196         * scripts/data/localplt-s390x-linux-gnu.data: New file.
69198 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
69200         [BZ #3268]
69201         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
69202         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
69203         instead of dbl-64.
69204         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
69205         inlines.
69206         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
69207         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
69208         if one of x and y is very large and the other is subnormal.
69209         * sysdeps/s390/fpu/s_fmaf.c: New file.
69210         * sysdeps/s390/fpu/s_fma.c: New file.
69211         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
69212         * sysdeps/powerpc/fpu/s_fma.S: New file.
69213         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
69214         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
69215         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
69217 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
69219         [BZ #3268]
69220         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
69221         fma tests.
69222         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
69223         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
69224         * sysdeps/i386/i686/multiarch/s_fma.c: Include
69225         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
69226         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
69227         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
69228         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
69230 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
69232         [BZ #12078]
69233         * posix/regcomp.c (parse_branch): One more memory leak plugged.
69234         * posix/bug-regex31.input: Add test case.
69236 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
69238         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
69239         * posix/bug-regex31.input: New file.
69241         [BZ #12078]
69242         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
69243         (parse_sub_exp): Fix last change, use postorder.
69245         * posix/bug-regex31.c: New file.
69246         * posix/Makefile: Add rules to build and run bug-regex31.
69248         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
69250         [BZ #12078]
69251         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
69253         [BZ #12108]
69254         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
69255         to have entries in sys_siglist.
69257         [BZ #12093]
69258         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
69259         be NULL.
69261 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
69263         [BZ #3268]
69264         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
69265         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
69266         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
69267         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
69268         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
69269         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
69270         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
69271         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
69272         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
69273         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
69274         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
69275         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
69276         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
69277         * math/ftestexcept.c (fetestexcept): Likewise.
69278         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
69279         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
69280         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
69281         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
69282         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
69283         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
69284         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69286 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
69288         [BZ #12107]
69289         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
69290         newline.
69292 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
69294         * string/bug-strstr1.c: New file.
69295         * string/Makefile: Add rules to build and run bug-strstr1.
69297 2010-10-05  Eric Blake  <eblake@redhat.com>
69299         [BZ #12092]
69300         * string/str-two-way.h (two_way_long_needle): Always clear memory
69301         when skipping input due to the shift table.
69303 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
69305         [BZ #12005]
69306         * malloc/mcheck.c: Handle large requests.
69308         [BZ #12077]
69309         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
69310         for strncmp and strncasecmp.
69311         * string/stratcliff.c: Add tests for strcmp and strncmp.
69312         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
69314 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69316         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
69317         __set_fpscr.
69319 2010-09-30  Andreas Jaeger  <aj@suse.de>
69321         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
69322         (CGROUP_SUPER_MAGIC): Define.
69323         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69324         Handle btrfs and cgroup file systems.
69325         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
69326         Likewise.
69328 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
69330         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
69331         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
69333 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69335         [BZ #12067]
69336         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
69337         trying to locate the ELF header.
69339 2010-09-27  Andreas Schwab  <schwab@redhat.com>
69341         [BZ #11611]
69342         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
69343         Mask out sign-bit copies when constructing f_fsid.
69345 2010-09-24  Petr Baudis <pasky@suse.cz>
69347         * debug/stack_chk_fail_local.c: Add missing licence exception.
69348         * debug/warning-nop.c: Likewise.
69350 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
69352         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
69353         implementing getdents64 using getdents syscall, set d_type if
69354         __ASSUME_GETDENTS32_D_TYPE.
69356 2010-09-16  Andreas Schwab  <schwab@redhat.com>
69358         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
69359         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
69361 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
69363         [BZ #12037]
69364         * posix/unistd.h: Undo change of feature selection for ftruncate from
69365         2010-01-11.
69367 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
69369         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
69370         detection.
69372 2010-09-20  Andreas Schwab  <schwab@redhat.com>
69374         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
69375         fanotify_mark.
69376         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
69378 2010-09-14  Andreas Schwab  <schwab@redhat.com>
69380         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
69381         variables after CHECK_SP call.
69382         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
69384 2010-09-13  Andreas Schwab  <schwab@redhat.com>
69385             Ulrich Drepper  <drepper@redhat.com>
69387         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
69388         re-relocationg ld.so.
69389         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
69390         _dl_init_paths call.
69391         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
69392         here anymore.
69394 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
69396         * resolv/res_init.c (__res_vinit): Count the default server we added.
69398 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
69399             Ulrich Drepper  <drepper@redhat.com>
69401         [BZ #11968]
69402         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
69403         (____longjmp_chk): Use %ebx for saving value across system call.
69404         Add unwind info.
69406 2010-09-06  Andreas Schwab  <schwab@redhat.com>
69408         * manual/Makefile: Don't mix pattern rules with normal rules.
69410 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
69412         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
69413         operation.
69414         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
69415         * libio/iofopncook.c (_IO_cookie_init): Likewise.
69416         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
69417         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
69418         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
69419         Likewise.
69421 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
69423         [BZ #11979]
69424         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
69425         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
69427 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
69429         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
69430         * sysdeps/x86_64/addmul_1.S: Likewise.
69431         * sysdeps/x86_64/lshift.S: Likewise.
69432         * sysdeps/x86_64/mul_1.S: Likewise.
69433         * sysdeps/x86_64/rshift.S: Likewise.
69434         * sysdeps/x86_64/sub_n.S: Likewise.
69435         * sysdeps/x86_64/submul_1.S: Likewise.
69437 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69439         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
69440         Define __sched_param instead of SCHED_* and sched_param when
69441         <bits/sched.h> is included with __need_schedparam defined.
69442         * bits/sched.h [__need_schedparam]
69443         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
69444         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
69445         (__defined_schedparam): Define to 1.
69446         (__sched_param): New structure, identical to sched_param.
69447         (__need_schedparam): Undefine.
69449 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
69451         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
69452         (epoll_create1): Declare.
69454         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
69456 2010-08-31  Andreas Schwab  <schwab@redhat.com>
69458         [BZ #7066]
69459         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
69460         shifting retval into place.
69462 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
69464         * nis/rpcsvc/nis.h: Update copyright notice.
69465         * nis/rpcsvc/nis.x: Likewise.
69466         * nis/rpcsvc/nis_callback.h: Likewise.
69467         * nis/rpcsvc/nis_callback.x: Likewise.
69468         * nis/rpcsvc/nis_object.x: Likewise.
69469         * nis/rpcsvc/nis_tags.h: Likewise.
69470         * nis/rpcsvc/yp.h: Likewise.
69471         * nis/rpcsvc/yp.x: Likewise.
69472         * nis/rpcsvc/ypupd.h: Likewise.
69473         * nis/yp_xdr.c: Likewise.
69474         * nis/ypupdate_xdr.c: Likewise.
69476         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
69477         mainly the body of pmap_getport.  Add parameters to specify timeouts.
69478         (pmap_getport): Use __libc_rpc_getport.
69479         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
69480         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
69481         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
69483 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
69485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
69486         fanotify_mark.
69488 2010-08-27  Roland McGrath  <roland@redhat.com>
69490         * sysdeps/i386/i686/multiarch/Makefile
69491         (CFLAGS-varshift.c): New variable.
69493 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
69495         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
69496         * sysdeps/i386/i686/multiarch/varshift.c: New file.
69498         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
69500         * sysdeps/x86_64/strlen.S: Minimal code improvement.
69502 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
69504         * sysdeps/x86_64/strlen.S: Unroll the loop.
69505         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69506         strlen-sse2 strlen-sse2-bsf.
69507         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
69508         __strlen_no_bsf if bit_Slow_BSF is set.
69509         (__strlen_sse42): Removed.
69510         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
69511         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
69513 2010-08-25  Roland McGrath  <roland@redhat.com>
69515         * sysdeps/x86_64/multiarch/varshift.S: File removed.
69516         * sysdeps/x86_64/multiarch/varshift.c: New file.
69517         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
69518         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
69519         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
69520         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
69522 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
69524         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69525         strlen-sse2 strlen-sse2-bsf.
69526         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
69527         __strlen_sse2_bsf if bit_Slow_BSF is unset.
69528         (__strlen_sse2): Removed.
69529         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
69530         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
69531         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
69532         bit_Slow_BSF for Atom.
69533         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
69534         (index_Slow_BSF): Define.
69535         (HAS_SLOW_BSF): Define.
69537 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
69539         [BZ #10851]
69540         * resolv/res_init.c (__res_vinit): When no server address at all
69541         is given default to loopback.
69543 2010-08-24  Roland McGrath  <roland@redhat.com>
69545         * configure.in: Remove config-name.h generation.
69546         * configure: Regenerated.
69547         * config-name.in: File removed.
69548         * scripts/config-uname.sh: New file.
69549         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
69550         ($(objdir)config-name.h): New target.
69552         * sunrpc/rpc_parse.h: Avoid nested comment.
69554 2010-08-24  Richard Henderson  <rth@redhat.com>
69555             Ulrich Drepper  <drepper@redhat.com>
69556             H.J. Lu  <hongjiu.lu@intel.com>
69558         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
69559         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
69560         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
69561         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
69562         _mm_alignr_epi8 with _mm_loadu_si128.
69563         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
69564         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
69565         (__m128i_shift_right): Removed.
69566         * sysdeps/i386/i686/multiarch/varshift.h: New file.
69567         * sysdeps/i386/i686/multiarch/varshift.S: New file.
69568         * sysdeps/x86_64/multiarch/varshift.h: New file.
69569         * sysdeps/x86_64/multiarch/varshift.S: New file.
69571 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
69573         * configure.in: Move assembler checks to before sysdep dir checking.
69575 2010-08-20  Petr Baudis  <pasky@suse.cz>
69577         * LICENSES: Sync the sunrpc license.
69579 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
69581         * sunrpc/auth_des.c: Update copyright notice once again.
69582         * sunrpc/auth_none.c: Likewise.
69583         * sunrpc/auth_unix.c: Likewise.
69584         * sunrpc/authdes_prot.c: Likewise.
69585         * sunrpc/authuxprot.c: Likewise.
69586         * sunrpc/bindrsvprt.c: Likewise.
69587         * sunrpc/clnt_gen.c: Likewise.
69588         * sunrpc/clnt_perr.c: Likewise.
69589         * sunrpc/clnt_raw.c: Likewise.
69590         * sunrpc/clnt_simp.c: Likewise.
69591         * sunrpc/clnt_tcp.c: Likewise.
69592         * sunrpc/clnt_udp.c: Likewise.
69593         * sunrpc/clnt_unix.c: Likewise.
69594         * sunrpc/des_crypt.c: Likewise.
69595         * sunrpc/des_soft.c: Likewise.
69596         * sunrpc/get_myaddr.c: Likewise.
69597         * sunrpc/getrpcport.c: Likewise.
69598         * sunrpc/key_call.c: Likewise.
69599         * sunrpc/key_prot.c: Likewise.
69600         * sunrpc/openchild.c: Likewise.
69601         * sunrpc/pm_getmaps.c: Likewise.
69602         * sunrpc/pm_getport.c: Likewise.
69603         * sunrpc/pmap_clnt.c: Likewise.
69604         * sunrpc/pmap_prot.c: Likewise.
69605         * sunrpc/pmap_prot2.c: Likewise.
69606         * sunrpc/pmap_rmt.c: Likewise.
69607         * sunrpc/rpc/auth.h: Likewise.
69608         * sunrpc/rpc/auth_unix.h: Likewise.
69609         * sunrpc/rpc/clnt.h: Likewise.
69610         * sunrpc/rpc/des_crypt.h: Likewise.
69611         * sunrpc/rpc/key_prot.h: Likewise.
69612         * sunrpc/rpc/netdb.h: Likewise.
69613         * sunrpc/rpc/pmap_clnt.h: Likewise.
69614         * sunrpc/rpc/pmap_prot.h: Likewise.
69615         * sunrpc/rpc/pmap_rmt.h: Likewise.
69616         * sunrpc/rpc/rpc.h: Likewise.
69617         * sunrpc/rpc/rpc_des.h: Likewise.
69618         * sunrpc/rpc/rpc_msg.h: Likewise.
69619         * sunrpc/rpc/svc.h: Likewise.
69620         * sunrpc/rpc/svc_auth.h: Likewise.
69621         * sunrpc/rpc/types.h: Likewise.
69622         * sunrpc/rpc/xdr.h: Likewise.
69623         * sunrpc/rpc_clntout.c: Likewise.
69624         * sunrpc/rpc_cmsg.c: Likewise.
69625         * sunrpc/rpc_common.c: Likewise.
69626         * sunrpc/rpc_cout.c: Likewise.
69627         * sunrpc/rpc_dtable.c: Likewise.
69628         * sunrpc/rpc_hout.c: Likewise.
69629         * sunrpc/rpc_main.c: Likewise.
69630         * sunrpc/rpc_parse.c: Likewise.
69631         * sunrpc/rpc_parse.h: Likewise.
69632         * sunrpc/rpc_prot.c: Likewise.
69633         * sunrpc/rpc_sample.c: Likewise.
69634         * sunrpc/rpc_scan.c: Likewise.
69635         * sunrpc/rpc_scan.h: Likewise.
69636         * sunrpc/rpc_svcout.c: Likewise.
69637         * sunrpc/rpc_tblout.c: Likewise.
69638         * sunrpc/rpc_util.c: Likewise.
69639         * sunrpc/rpc_util.h: Likewise.
69640         * sunrpc/rpcinfo.c: Likewise.
69641         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
69642         * sunrpc/rpcsvc/key_prot.x: Likewise.
69643         * sunrpc/rpcsvc/klm_prot.x: Likewise.
69644         * sunrpc/rpcsvc/mount.x: Likewise.
69645         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
69646         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
69647         * sunrpc/rpcsvc/rex.x: Likewise.
69648         * sunrpc/rpcsvc/rstat.x: Likewise.
69649         * sunrpc/rpcsvc/rusers.x: Likewise.
69650         * sunrpc/rpcsvc/sm_inter.x: Likewise.
69651         * sunrpc/rpcsvc/spray.x: Likewise.
69652         * sunrpc/rpcsvc/yppasswd.x: Likewise.
69653         * sunrpc/rtime.c: Likewise.
69654         * sunrpc/svc.c: Likewise.
69655         * sunrpc/svc_auth.c: Likewise.
69656         * sunrpc/svc_authux.c: Likewise.
69657         * sunrpc/svc_raw.c: Likewise.
69658         * sunrpc/svc_run.c: Likewise.
69659         * sunrpc/svc_simple.c: Likewise.
69660         * sunrpc/svc_tcp.c: Likewise.
69661         * sunrpc/svc_udp.c: Likewise.
69662         * sunrpc/svc_unix.c: Likewise.
69663         * sunrpc/svcauth_des.c: Likewise.
69664         * sunrpc/xcrypt.c: Likewise.
69665         * sunrpc/xdr.c: Likewise.
69666         * sunrpc/xdr_array.c: Likewise.
69667         * sunrpc/xdr_float.c: Likewise.
69668         * sunrpc/xdr_mem.c: Likewise.
69669         * sunrpc/xdr_rec.c: Likewise.
69670         * sunrpc/xdr_ref.c: Likewise.
69671         * sunrpc/xdr_sizeof.c: Likewise.
69672         * sunrpc/xdr_stdio.c: Likewise.
69674         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
69675         handling.
69677 2010-08-19  Andreas Schwab  <schwab@redhat.com>
69679         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
69681 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
69683         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
69684         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
69685         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
69686         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
69687         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
69688         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
69689         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
69690         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
69691         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
69692         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
69693         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
69694         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
69695         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
69696         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
69698 2010-07-26  Anton Blanchard  <anton@samba.org>
69700         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
69701         * malloc/arena.c (heap_trim): Likewise.
69703 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
69705         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
69706         here.  Not...
69707         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
69708         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
69710 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
69712         * sysdeps/i386/elf/Makefile: New file.
69714 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
69716         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
69717         from fanotify_init.
69718         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
69719         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
69721 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
69723         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
69724         of strncasecmp_l.
69725         * sysdeps/multiarch/strcmp.S: Likewise.
69727 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
69729         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
69730         strncase_l-nonascii.
69731         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
69732         Add strncase_l-ssse3.
69733         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
69734         * sysdeps/x86_64/strcmp.S: Likewise.
69735         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
69736         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
69737         * sysdeps/x86_64/strncase.S: New file.
69738         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
69739         * sysdeps/x86_64/strncase_l.S: New file.
69740         * string/Makefile (strop-tests): Add strncasecmp.
69741         * string/test-strncasecmp.c: New file.
69743         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
69744         warning.
69746         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
69747         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
69749 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
69751         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
69753 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
69755         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
69756         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
69757         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
69759 2010-05-01  Alan Modra  <amodra@gmail.com>
69761         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
69762         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
69763         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
69764         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
69765         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
69766         tidying.  Don't tail-call __sigjmp_save for static lib.
69767         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
69768         save location.
69769         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
69770         (CALL_MCOUNT): Add eh info, and nop after bl.
69771         (TAIL_CALL_SYSCALL_ERROR): New macro.
69772         (PSEUDO_RET): Use it.
69773         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
69774         Correct save location of integer regs and cr.
69775         (_dl_profile_resolve): Correct cr save location.  Delete nops
69776         after bl when SHARED.  Reduce cfi size a little by better
69777         placement of cfi directives.
69778         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
69779         make a stack frame.  Instead use parm save area as a temp.
69780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
69781         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
69782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
69783         Don't make a stack frame for parent, use parm save area.
69784         Increase child stack frame to 112 bytes.  Don't save unused reg,
69785         and adjust reg usage.  Set up cfi on error recovery and
69786         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
69787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
69788         (__makecontext): Add dummy nop after jump to exit.
69789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
69790         Use correct parm save area and cr save, reduce stack frame.
69791         Correct cfi for possible PSEUDO_RET frame setup.
69792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
69793         Branch to local label emitted by PSEUDO_RET rather than
69794         __syscall_error.
69796 2010-08-12  Andreas Schwab  <schwab@redhat.com>
69798         [BZ #11904]
69799         * locale/programs/locale.c (print_assignment): New function.
69800         (show_locale_vars): Use it.
69802 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
69804         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
69805         field.
69806         (struct statfs64): Likewise.
69807         (_STATFS_F_FLAGS): Define.
69808         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
69809         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69810         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
69811         (ST_VALID): Define locally.
69812         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
69813         __statvfs_getflags, use the provided value.
69814         * sysdeps/unix/sysv/linux/kernel-features.h: Define
69815         __ASSUME_STATFS_F_FLAGS.
69817         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
69819         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
69820         Add sys/fanotify.h.
69821         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
69822         fanotify_mask for GLIBC_2.13.
69823         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
69824         fanotify_init and fanotify_mark.
69825         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
69826         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
69828         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
69829         Add prlimit.
69830         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
69831         prlimit64 for GLIBC_2.13.
69832         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
69833         prlimit64.
69834         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
69835         syscall.
69836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
69837         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
69838         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
69839         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
69840         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
69841         add prlimit alias.
69842         * sysdeps/unix/sysv/linux/prlimit.c: New file.
69844         [BZ #11903]
69845         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
69846         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
69848         * nss/Makefile: Add rules to build and run tst-nss-test1.
69849         * shlib-versions: Add entry for libnss_test1.
69850         * nss/nss_test1.c: New file.
69851         * nss/tst-nss-test1.c: New file.
69853         * nss/nsswitch.c (__nss_database_custom): Define new variable.
69854         (__nss_configure_lookup): Set appropriate entry in
69855         __nss_configure_lookup to true.
69856         * nss/nsswitch.h: Define enum with indeces of databases in
69857         databases and __nss_database_custom arrays.  Declare
69858         __nss_database_custom.
69859         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
69860         to avoid using nscd when custom rules are installed.
69861         * nss/getXXbyYY_r.c: Likewise.
69862         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
69864         * nss/nss_files/files-parse.c: Whitespace fixes.
69866 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
69868         [BZ #11883]
69869         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
69870         * posix/fnmatch_loop.c: Likewise.
69872 2010-07-17  Andi Kleen  <ak@linux.intel.com>
69874         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
69875         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
69876         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
69877         * Versions.def [GLIBC_2.13]: Add.
69879 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
69881         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
69882         Also fail if tpwd after pwuid call is NULL.
69884 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69886         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
69887         when converting to ms.
69889 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69891         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
69892         EOPNOTSUPP errors with ENOTTY.
69893         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
69894         EOPNOTSUPP errors with ENOTTY.
69896 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
69898         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
69899         Add strcasecmp_l-ssse3.
69900         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
69901         strcasecmp.
69902         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
69903         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
69904         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
69906 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
69908         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
69910         * string/Makefile (strop-tests): Add strcasecmp.
69911         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
69912         strcasecmp_l-nonascii.
69913         (gen-as-const-headers): Add locale-defines.sym.
69914         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
69915         * sysdeps/x86_64/strcasecmp.S: New file.
69916         * sysdeps/x86_64/strcasecmp_l.S: New file.
69917         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
69918         * sysdeps/x86_64/locale-defines.sym: New file.
69919         * string/test-strcasecmp.c: New file.
69921         * string/test-strcasestr.c: Test both ends of the range of characters.
69922         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
69924 2010-07-29  Roland McGrath  <roland@redhat.com>
69926         [BZ #11856]
69927         * manual/locale.texi (Yes-or-No Questions): Fix example code.
69929 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
69931         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
69932         for ld.so.
69934 2010-07-27  Andreas Schwab  <schwab@redhat.com>
69936         * manual/memory.texi (Malloc Tunable Parameters): Document
69937         M_PERTURB.
69939 2010-07-26  Roland McGrath  <roland@redhat.com>
69941         [BZ #11840]
69942         * configure.in (-fgnu89-inline check): Set and substitute
69943         gnu89_inline, not libc_cv_gnu89_inline.
69944         * configure: Regenerated.
69945         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
69947 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
69949         * string/test-strnlen.c: New file.
69950         * string/Makefile (strop-tests): Add strnlen.
69951         * string/tester.c (test_strnlen): Add a few more test cases.
69952         * string/tst-strlen.c: Better error reporting.
69954         * sysdeps/x86_64/strnlen.S: New file.
69956 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
69958         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
69959         lower-latency instructions.
69961 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
69963         * string/test-strcasestr.c: New file.
69964         * string/test-strstr.c: New file.
69965         * string/Makefile (strop-tests): Add strstr and strcasestr.
69966         * string/str-two-way.h: Don't undefine MAX.
69967         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
69969 2010-07-21  Andreas Schwab  <schwab@redhat.com>
69971         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69972         strcasestr-nonascii.
69973         (CFLAGS-strcasestr-nonascii.c): Define.
69974         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
69975         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
69976         Remove unused attribute.
69978 2010-07-20  Roland McGrath  <roland@redhat.com>
69980         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
69981         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
69982         ld.so.cache was broken.  With it, there is no way to disable dsocaps
69983         like LD_HWCAP_MASK can disable hwcaps.
69985 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
69987         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
69989 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
69991         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
69992         call in strcasestr.
69993         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
69994         __strcasestr_sse42_nonascii.
69995         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
69996         strcasestr-nonascii.c.
69997         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
69999 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
70001         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
70002         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
70003         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
70004         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
70006 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
70008         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
70009         fcntl.
70011 2010-07-06  Andreas Schwab  <schwab@redhat.com>
70013         [BZ #11577]
70014         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
70015         dl_signal_cerror.
70017 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
70019         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
70020         _PC_PIPE_BUF using F_GETPIPE_SZ.
70022 2010-07-05  Roland McGrath  <roland@redhat.com>
70024         * manual/arith.texi (Rounding Functions): Fix rint description
70025         implicit in round description.
70027 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
70029         * elf/Makefile: Fix linking for a few tests to make recent linker
70030         happy.
70032 2010-06-30  Andreas Schwab  <schwab@redhat.com>
70034         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
70035         $(common-objpfx)libc_nonshared.a.
70037 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
70039         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
70040         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
70041         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
70042         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
70043         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
70044         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
70045         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
70046         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
70047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
70048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
70049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
70050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
70051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
70052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
70053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
70054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
70055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
70056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
70057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
70058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
70059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
70060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
70061         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
70062         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
70063         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
70064         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
70065         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
70066         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
70067         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
70068         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
70069         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
70070         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
70071         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
70072         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
70073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
70074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
70075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
70076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
70077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
70078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
70079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
70080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
70081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
70082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
70083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
70084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
70085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
70086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
70088 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
70090         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
70091         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
70092         * string/memmove.c (memmove): Renamed to ...
70093         (MEMMOVE): ...this.  Default to memmove.
70094         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
70095         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
70096         (END_CHK): Define.
70097         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70098         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
70099         mempcpy-ssse3-back memmove-ssse3-back.
70100         * sysdeps/x86_64/multiarch/bcopy.S: New file .
70101         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
70102         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
70103         * sysdeps/x86_64/multiarch/memcpy.S: New file.
70104         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
70105         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
70106         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
70107         * sysdeps/x86_64/multiarch/memmove.c: New file.
70108         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
70109         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
70110         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
70111         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
70112         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
70113         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
70114         Define.
70115         (index_Fast_Copy_Backward): Define.
70116         (HAS_ARCH_FEATURE): Define.
70117         (HAS_FAST_REP_STRING): Define.
70118         (HAS_FAST_COPY_BACKWARD): Define.
70120 2010-06-21  Andreas Schwab  <schwab@redhat.com>
70122         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
70123         Restore proper fallback handling.
70125 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
70127         [BZ #11701]
70128         * posix/group_member.c (__group_member): Correct checking loop.
70130         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
70131         OOM in getpwuid_r correctly.  Return error number when the caller
70132         should return, otherwise -1.
70133         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
70134         call returning > 0 value.
70135         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
70137 2010-06-07  Andreas Schwab  <schwab@redhat.com>
70139         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
70140         libc_nonshared.a from targets in modules-names.
70142 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
70144         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
70145         requires it.
70147 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
70149         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
70150         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
70151         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
70152         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
70154 2010-06-02  Andreas Schwab  <schwab@redhat.com>
70156         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
70158 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
70160         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
70161         and F_GETPIPE_SZ.
70162         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
70163         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70164         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70165         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70166         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70167         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
70169 2010-06-14  Roland McGrath  <roland@redhat.com>
70171         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
70173 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
70175         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
70176         __REDIRECT followed by __THROW.
70177         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
70178         * posix/getopt.h (getopt): Likewise.
70180 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
70182         * hurd/lookup-at.c (__file_name_lookup_at): Accept
70183         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
70184         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
70185         in AT_FLAGS.
70186         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
70187         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
70189 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
70191         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
70193 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
70195         [BZ #11640]
70196         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70197         Properly check family and model.
70199 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
70201         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
70203 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
70205         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
70207 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
70209         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
70210         symbol reference.
70212 2010-05-19  Andreas Schwab  <schwab@redhat.com>
70214         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
70215         symbol reference.
70217 2010-05-21  Andreas Schwab  <schwab@redhat.com>
70219         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
70220         and internal_recvmmsg.
70221         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
70222         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
70223         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
70224         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
70226         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
70227         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
70228         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
70230 2010-05-20  Andreas Schwab  <schwab@redhat.com>
70232         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
70234 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
70236         POWER7 optimizations.
70237         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
70238         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
70240 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
70242         * version.h: Update for 2.13 development version.
70244 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
70246         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
70247         exceptions.  Return 0.
70249 2010-05-07  Roland McGrath  <roland@redhat.com>
70251         * elf/ldconfig.c (main): Add a const.
70253 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
70255         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
70256         (args_options): Add no-idn option.
70257         (ahosts_keys_int): Add idn_flags to ai_flags.
70258         (parse_option): Handle 'i' option to clear idn_flags.
70260         * malloc/malloc.c (_int_free): Possible race in the most recently
70261         added check.  Only act on the data if no current modification
70262         happened.
70264 See ChangeLog.17 for earlier changes.